(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"+2+e":function(e,t,i){"use strict";var n=i("/WK6");function s(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var i=e.Set;if(i&&"function"==typeof(new i)["@@iterator"])return"@@iterator";var n=e.Map;if(n)for(var s=Object.getOwnPropertyNames(n.prototype),r=0;r<s.length;++r){var o=s[r];if("entries"!==o&&"size"!==o&&n.prototype[o]===n.prototype.entries)return o}return"@@iterator"}t.symbolIteratorPonyfill=s,t.iterator=s(n.root),t.$$iterator=t.iterator},"+924":function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"c",(function(){return r})),i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return a}));var n=i("9AQC");function s(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t?e:e.length<=t?e:e.substr(0,t)+"..."}function r(e,t){var i=e,n=i.length;if(n<=150)return i;t>n&&(t=n);var s=Math.max(t-60,0);s<5&&(s=0);var r=Math.min(s+140,n);return r>n-5&&(r=n),r===n&&(s=Math.max(r-140,0)),i=i.slice(s,r),s>0&&(i="'{snip} "+i),r<n&&(i+=" {snip}"),i}function o(e,t){if(!Array.isArray(e))return"";for(var i=[],n=0;n<e.length;n++){var s=e[n];try{i.push(String(s))}catch(r){i.push("[value cannot be serialized]")}}return i.join(t)}function a(e,t){return Object(n.j)(t)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t)}},"+Cnu":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return c}));var n=i("R0Ic"),s=i("fXoL");const r=[Object(n.j)({height:0,visibility:"hidden"}),Object(n.e)("400ms cubic-bezier(0.4,0.0,0.2,1)",Object(n.j)({height:"*",visibility:"visible"}))],o=[Object(n.j)({height:"*",visibility:"visible"}),Object(n.e)("400ms cubic-bezier(0.4,0.0,0.2,1)",Object(n.j)({height:0,visibility:"hidden"}))];let a=(()=>{class e{constructor(e,t,i){this._el=e,this._renderer=t,this.collapsed=new s.n,this.collapses=new s.n,this.expanded=new s.n,this.expands=new s.n,this.isExpanded=!0,this.collapseNewValue=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1,this.isAnimated=!1,this._display="block",this._stylesLoaded=!1,this._COLLAPSE_ACTION_NAME="collapse",this._EXPAND_ACTION_NAME="expand",this._factoryCollapseAnimation=i.build(o),this._factoryExpandAnimation=i.build(r)}set display(e){this.isAnimated?(this._display=e,"none"!==e?this.show():this.hide()):this._renderer.setStyle(this._el.nativeElement,"display",e)}set collapse(e){this.collapseNewValue=e,this._player&&!this._isAnimationDone||(this.isExpanded=e,this.toggle())}get collapse(){return this.isExpanded}ngAfterViewChecked(){this._stylesLoaded=!0,this._player&&this._isAnimationDone&&(this._player.reset(),this._renderer.setStyle(this._el.nativeElement,"height","*"))}toggle(){this.isExpanded?this.hide():this.show()}hide(){this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapsing=!1,this.collapses.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._COLLAPSE_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.show():(this.collapsed.emit(this),this._renderer.setStyle(this._el.nativeElement,"display","none"))})}show(){this._renderer.setStyle(this._el.nativeElement,"display",this._display),this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapsing=!1,this.expands.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._EXPAND_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.hide():(this.expanded.emit(this),this._renderer.removeStyle(this._el.nativeElement,"overflow"))})}animationRun(e,t){if(!e||!this._stylesLoaded)return e=>e();this._renderer.setStyle(this._el.nativeElement,"overflow","hidden"),this._renderer.addClass(this._el.nativeElement,"collapse");const i=t===this._EXPAND_ACTION_NAME?this._factoryExpandAnimation:this._factoryCollapseAnimation;return this._player&&this._player.destroy(),this._player=i.create(this._el.nativeElement),this._player.play(),e=>this._player.onDone(e)}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(s.l),s.Vb(s.F),s.Vb(n.b))},e.\u0275dir=s.Qb({type:e,selectors:[["","collapse",""]],hostVars:10,hostBindings:function(e,t){2&e&&(s.Ib("aria-expanded",t.isExpanded)("aria-hidden",t.isCollapsed),s.Mb("collapse",t.isCollapse)("in",t.isExpanded)("show",t.isExpanded)("collapsing",t.isCollapsing))},inputs:{isAnimated:"isAnimated",display:"display",collapse:"collapse"},outputs:{collapsed:"collapsed",collapses:"collapses",expanded:"expanded",expands:"expands"},exportAs:["bs-collapse"]}),e})(),c=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)}}),e})()},"+PC9":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("36rE");t.repeat=function(e){return void 0===e&&(e=-1),function(t){return 0===e?new r.EmptyObservable:t.lift(new o(e<0?-1:e-1,t))}};var o=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.count,this.source))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.count=i,this.source=n}return n(t,e),t.prototype.complete=function(){if(!this.isStopped){var t=this.source,i=this.count;if(0===i)return e.prototype.complete.call(this);i>-1&&(this.count=i-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(s.Subscriber)},"+WiC":function(e,t,i){"use strict";var n=i("lf2g");t.concatMap=function(e,t){return n.mergeMap(e,t,1)}},"+djB":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("zKHA"),o=i("AJP0"),a=i("9jZZ"),c=i("Irel");t.windowWhen=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.closingSelector))},e}(),u=function(e){function t(t,i){e.call(this,t),this.destination=t,this.closingSelector=i,this.openWindow()}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.openWindow(s)},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this.openWindow(e)},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},t.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},t.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},t.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var i=this.window=new s.Subject;this.destination.next(i);var n=r.tryCatch(this.closingSelector)();if(n===o.errorObject){var a=o.errorObject.e;this.destination.error(a),this.window.error(a)}else this.add(this.closingNotification=c.subscribeToResult(this,n))},t}(a.OuterSubscriber)},"+fDQ":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("G2HO"),r=i("foHw"),o=i("RGvf"),a=i("r2oo"),c=i("m+NU"),l=i("rVFa"),u=i("04+N"),h=i("+2+e"),d=i("AZf1"),f=i("0zyO"),p=i("WU5C");t.FromObservable=function(e){function t(t,i){e.call(this,null),this.ish=t,this.scheduler=i}return n(t,e),t.create=function(e,i){if(null!=e){if("function"==typeof e[p.observable])return e instanceof d.Observable&&!i?e:new t(e,i);if(s.isArray(e))return new l.ArrayObservable(e,i);if(o.isPromise(e))return new a.PromiseObservable(e,i);if("function"==typeof e[h.iterator]||"string"==typeof e)return new c.IteratorObservable(e,i);if(r.isArrayLike(e))return new u.ArrayLikeObservable(e,i)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")},t.prototype._subscribe=function(e){var t=this.ish,i=this.scheduler;return null==i?t[p.observable]().subscribe(e):t[p.observable]().subscribe(new f.ObserveOnSubscriber(e,i,0))},t}(d.Observable)},"+s0g":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},"//9w":function(e,t,i){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"/WK6":function(e,t,i){"use strict";var n="undefined"!=typeof window&&window,s="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global,o=n||r||s;t.root=o,function(){if(!o)throw new Error("RxJS could not find any global context (window, self, global)")}()},"/X5v":function(e,t,i){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},"/mOC":function(e,t,i){"use strict";t.MapPolyfill=function(){function e(){this.size=0,this._values=[],this._keys=[]}return e.prototype.get=function(e){var t=this._keys.indexOf(e);return-1===t?void 0:this._values[t]},e.prototype.set=function(e,t){var i=this._keys.indexOf(e);return-1===i?(this._keys.push(e),this._values.push(t),this.size++):this._values[i]=t,this},e.prototype.delete=function(e){var t=this._keys.indexOf(e);return-1!==t&&(this._values.splice(t,1),this._keys.splice(t,1),this.size--,!0)},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},e.prototype.forEach=function(e,t){for(var i=0;i<this.size;i++)e.call(t,this._values[i],this._keys[i])},e}()},"/uUt":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(e,t){return i=>i.lift(new r(e,t))}class r{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new o(e,this.compare,this.keySelector))}}class o extends n.a{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:e}=this;i=e(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}},0:function(e,t,i){e.exports=i("zUnb")},"04+N":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("AZf1"),r=i("8x9D"),o=i("36rE");t.ArrayLikeObservable=function(e){function t(t,i){e.call(this),this.arrayLike=t,this.scheduler=i,i||1!==t.length||(this._isScalar=!0,this.value=t[0])}return n(t,e),t.create=function(e,i){var n=e.length;return 0===n?new o.EmptyObservable:1===n?new r.ScalarObservable(e[0],i):new t(e,i)},t.dispatch=function(e){var t=e.arrayLike,i=e.index,n=e.subscriber;n.closed||(i>=e.length?n.complete():(n.next(t[i]),e.index=i+1,this.schedule(e)))},t.prototype._subscribe=function(e){var i=this.arrayLike,n=this.scheduler,s=i.length;if(n)return n.schedule(t.dispatch,0,{arrayLike:i,index:0,length:s,subscriber:e});for(var r=0;r<s&&!e.closed;r++)e.next(i[r]);e.complete()},t}(s.Observable)},"04ZW":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("HDdC"),s=i("DH7j"),r=i("n6bG"),o=i("lJxs");function a(e,t,i){return i?a(e,t).pipe(Object(o.a)(e=>Object(s.a)(e)?i(...e):i(e))):new n.a(i=>{const n=(...e)=>i.next(1===e.length?e[0]:e);let s;try{s=e(n)}catch(o){return void i.error(o)}if(Object(r.a)(t))return()=>t(n,s)})}},"0EUg":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("bHdf");function s(){return Object(n.a)(1)}},"0Iwa":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("9jZZ"),o=i("Irel");t.window=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.windowBoundaries=e}return e.prototype.call=function(e,t){var i=new c(e),n=t.subscribe(i);return n.closed||i.add(o.subscribeToResult(i,this.windowBoundaries)),n},e}(),c=function(e){function t(t){e.call(this,t),this.window=new s.Subject,t.next(this.window)}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.openWindow()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this._complete()},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e)},t.prototype._complete=function(){this.window.complete(),this.destination.complete()},t.prototype._unsubscribe=function(){this.window=null},t.prototype.openWindow=function(){var e=this.window;e&&e.complete();var t=this.destination,i=this.window=new s.Subject;t.next(i)},t}(r.OuterSubscriber)},"0Qin":function(e,t,i){"use strict";var n=i("BjeI");t.shareReplay=function(e,t,i){return function(s){return s.lift(function(e,t,i){var s,r,o=0,a=!1,c=!1;return function(l){o++,s&&!a||(a=!1,s=new n.ReplaySubject(e,t,i),r=l.subscribe({next:function(e){s.next(e)},error:function(e){a=!0,s.error(e)},complete:function(){c=!0,s.complete()}}));var u=s.subscribe(this);return function(){o--,u.unsubscribe(),r&&0===o&&c&&r.unsubscribe()}}}(e,t,i))}}},"0Tit":function(e,t){var i="function"==typeof Float32Array;function n(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function r(e){return 3*e}function o(e,t,i){return((n(t,i)*e+s(t,i))*e+r(t))*e}function a(e,t,i){return 3*n(t,i)*e*e+2*s(t,i)*e+r(t)}function c(e){return e}e.exports=function(e,t,n,s){if(!(0<=e&&e<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===t&&n===s)return c;for(var r=i?new Float32Array(11):new Array(11),l=0;l<11;++l)r[l]=o(.1*l,e,n);return function(i){return 0===i?0:1===i?1:o(function(t){for(var i=0,s=1;10!==s&&r[s]<=t;++s)i+=.1;--s;var c=i+(t-r[s])/(r[s+1]-r[s])*.1,l=a(c,e,n);return l>=.001?function(e,t,i,n){for(var s=0;s<4;++s){var r=a(t,i,n);if(0===r)return t;t-=(o(t,i,n)-e)/r}return t}(t,c,e,n):0===l?c:function(e,t,i,n,s){var r,a,c=0;do{(r=o(a=t+(i-t)/2,n,s)-e)>0?i=a:t=a}while(Math.abs(r)>1e-7&&++c<10);return a}(t,i,i+.1,e,n)}(i),t,s)}}},"0j0j":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("zKHA"),o=i("AJP0"),a=i("9jZZ"),c=i("Irel");t.repeatWhen=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier,t))},e}(),u=function(e){function t(t,i,n){e.call(this,t),this.notifier=i,this.source=n,this.sourceIsBeingSubscribedTo=!0}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(t){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype._unsubscribeAndRecycle=function(){var t=this.notifications,i=this.retries,n=this.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,e.prototype._unsubscribeAndRecycle.call(this),this.notifications=t,this.retries=i,this.retriesSubscription=n,this},t.prototype.subscribeToRetries=function(){this.notifications=new s.Subject;var t=r.tryCatch(this.notifier)(this.notifications);if(t===o.errorObject)return e.prototype.complete.call(this);this.retries=t,this.retriesSubscription=c.subscribeToResult(this,t)},t}(a.OuterSubscriber)},"0mo+":function(e,t,i){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},i={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i("wd/R"))},"0p2S":function(e,t,i){"use strict";var n=i("lf2g"),s=i("LAU0");t.mergeAll=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),n.mergeMap(s.identity,null,e)}},"0tRk":function(e,t,i){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(i("wd/R"))},"0zyO":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("9x29");t.observeOn=function(e,t){return void 0===t&&(t=0),function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.scheduler,this.delay))},e}();t.ObserveOnOperator=o;var a=function(e){function t(t,i,n){void 0===n&&(n=0),e.call(this,t),this.scheduler=i,this.delay=n}return n(t,e),t.dispatch=function(e){e.notification.observe(e.destination),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.add(this.scheduler.schedule(t.dispatch,this.delay,new c(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(r.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(r.Notification.createError(e))},t.prototype._complete=function(){this.scheduleMessage(r.Notification.createComplete())},t}(s.Subscriber);t.ObserveOnSubscriber=a;var c=function(){return function(e,t){this.notification=e,this.destination=t}}();t.ObserveOnMessage=c},"16yF":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.bufferCount=function(e,t){return void 0===t&&(t=null),function(i){return i.lift(new r(e,t))}};var r=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?a:o}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),o=function(e){function t(t,i){e.call(this,t),this.bufferSize=i,this.buffer=[]}return n(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(s.Subscriber),a=function(e){function t(t,i,n){e.call(this,t),this.bufferSize=i,this.startBufferEvery=n,this.buffers=[],this.count=0}return n(t,e),t.prototype._next=function(e){var t=this.bufferSize,i=this.startBufferEvery,n=this.buffers,s=this.count;this.count++,s%i==0&&n.push([]);for(var r=n.length;r--;){var o=n[r];o.push(e),o.length===t&&(n.splice(r,1),this.destination.next(o))}},t.prototype._complete=function(){for(var t=this.buffers,i=this.destination;t.length>0;){var n=t.shift();n.length>0&&i.next(n)}e.prototype._complete.call(this)},t}(s.Subscriber)},"1DV/":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.skip=function(e){return function(t){return t.lift(new r(e))}};var r=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.total))},e}(),o=function(e){function t(t,i){e.call(this,t),this.total=i,this.count=0}return n(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(s.Subscriber)},"1G5W":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("l7GE"),s=i("ZUHj");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const i=new a(e),n=Object(s.a)(i,this.notifier);return n&&!i.seenValue?(i.add(n),t.subscribe(i)):i}}class a extends n.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1pIY":function(e,t,i){"use strict";var n=i("2tF/");t.async=new(i("NTcF").AsyncScheduler)(n.AsyncAction)},"1rYy":function(e,t,i){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},"1uGz":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("PFc+"),r=i("y2i3"),o=i("yz70"),a=i("nkkL"),c=function(e){function t(t,i,n){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o.empty;break;case 1:if(!t){this.destination=o.empty;break}if("object"==typeof t){if(u(t)){var s=t[a.rxSubscriber]();this.syncErrorThrowable=s.syncErrorThrowable,this.destination=s,s.add(this)}else this.syncErrorThrowable=!0,this.destination=new l(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,i,n)}}return n(t,e),t.prototype[a.rxSubscriber]=function(){return this},t.create=function(e,i,n){var s=new t(e,i,n);return s.syncErrorThrowable=!1,s},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(r.Subscription);t.Subscriber=c;var l=function(e){function t(t,i,n,r){var a;e.call(this),this._parentSubscriber=t;var c=this;s.isFunction(i)?a=i:i&&(a=i.next,n=i.error,r=i.complete,i!==o.empty&&(c=Object.create(i),s.isFunction(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=a,this._error=n,this._complete=r}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var i=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,i),this.unsubscribe()):(this.__tryOrUnsub(i),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(i){throw this.unsubscribe(),i}},t.prototype.__tryOrSetError=function(e,t,i){try{t.call(this._context,i)}catch(n){return e.syncErrorValue=n,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(c);function u(e){return e instanceof c||"syncErrorThrowable"in e&&e[a.rxSubscriber]}},"1uah":function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("yCtX"),s=i("DH7j"),r=i("7o/Q"),o=i("l7GE"),a=i("ZUHj"),c=i("Lhse");function l(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),Object(n.a)(e,void 0).lift(new u(t))}class u{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new h(e,this.resultSelector))}}class h extends r.a{constructor(e,t,i=Object.create(null)){super(e),this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:null,this.values=i}_next(e){const t=this.iterators;Object(s.a)(e)?t.push(new f(e)):t.push("function"==typeof e[c.a]?new d(e[c.a]()):new p(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let i=0;i<t;i++){let t=e[i];t.stillUnsubscribed?this.destination.add(t.subscribe(t,i)):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,i=this.destination;for(let r=0;r<t;r++){let t=e[r];if("function"==typeof t.hasValue&&!t.hasValue())return}let n=!1;const s=[];for(let r=0;r<t;r++){let t=e[r],o=t.next();if(t.hasCompleted()&&(n=!0),o.done)return void i.complete();s.push(o.value)}this.resultSelector?this._tryresultSelector(s):i.next(s),n&&i.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}class d{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return e&&e.done}}class f{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[c.a](){return this}next(e){const t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class p extends o.a{constructor(e,t,i){super(e),this.parent=t,this.observable=i,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[c.a](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e,t,i,n,s){this.buffer.push(t),this.parent.checkIterators()}subscribe(e,t){return Object(a.a)(this,this.observable,this,t)}}},"1xZ4":function(e,t,i){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i("wd/R"))},"2Cx2":function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("r4Kj"),s=i("tyNb"),r=i("pLZG"),o=i("Zy1z"),a=i("fXoL"),c=i("IKD2");let l=(()=>{class e{constructor(e,t,i,n,s){this.cfgJson=e,this.http=t,this.router=i,this.authService=n,this.userService=s}get nativeWindow(){return window}initialize(){this.cfgJson.config.GAID&&(this.setAuthData(),this.initialized=!0,this.subrscibeUrlNavigation(),this.authSubscription=this.authService.loggedIn$.subscribe(e=>{e?(this.getUserData(!0),this.msgSubscribtionCheck(),this.msgSubscription=this.userService.messageReceived.subscribe(e=>{e&&(e.Deleted||-1==e.Seen.indexOf("0001-01-01T00:00:00")||"DEPOSIT_TRANSACTION_COMPLETED"==e.Type&&this.getUserData())})):(this.msgSubscribtionCheck(),this.userData=null,this.authData=null)}))}subrscibeUrlNavigation(){this.initialized&&this.router.events.pipe(Object(r.a)(e=>e instanceof s.c),Object(o.a)()).subscribe(e=>{this.onNavigationEnd(e)})}onNavigationEnd(e){const t=e[0].urlAfterRedirects,i=e[1].urlAfterRedirects,n={page_path:i,page_title:document.title,previous_page:t!==i?t:""};this.pushEvent("user_navigation",n)}msgSubscribtionCheck(){this.msgSubscription&&(this.msgSubscription.unsubscribe(),this.msgSubscription=null)}pushEvent(e,t){if(this.initialized&&this.nativeWindow.dataLayer){let i={event:e,eventModel:Object.assign(Object.assign({},this.userData),{timestamp:(new Date).toISOString()})};t&&(i.eventModel=Object.assign({},i.eventModel,t)),this.nativeWindow.dataLayer.push(i)}}getUserData(e=!1){this.initialized&&this.userService.getUserSettings().subscribe(t=>{var i,n,s;this.userData=null===(i=t)||void 0===i?void 0:i.userAnalyticsResult,e&&(null===(n=this.authData)||void 0===n?void 0:n.username)!==(null===(s=this.authService.auth)||void 0===s?void 0:s.username)&&(this.pushEvent("login",{login_method:"password"}),this.setAuthData())})}refreshUserData(){}setAuthData(){if(this.cfgJson.config.GAID){const e=localStorage.getItem("app:auth:Auth");this.authData=e?JSON.parse(e):null}}}return e.\u0275fac=function(t){return new(t||e)(a.fc(n.a),a.fc(c.o),a.fc(s.e),a.fc(c.b),a.fc(c.L))},e.\u0275prov=a.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"2QA8":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Tbn":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.defaultIfEmpty=function(e){return void 0===e&&(e=null),function(t){return t.lift(new r(e))}};var r=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.defaultValue))},e}(),o=function(e){function t(t,i){e.call(this,t),this.defaultValue=i,this.isEmpty=!0}return n(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(s.Subscriber)},"2Vo4":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("XNiG"),s=i("9ppp");class r extends n.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 s.a;return this._value}next(e){super.next(this._value=e)}}},"2Wg+":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){var i;return"function"==typeof e[e.length-1]&&(i=e.pop()),t.lift(new o(e,i))}};var o=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.observables,this.project))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.observables=i,this.project=n,this.toRespond=[];var s=i.length;this.values=new Array(s);for(var o=0;o<s;o++)this.toRespond.push(o);for(o=0;o<s;o++){var a=i[o];this.add(r.subscribeToResult(this,a,a,o))}}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.values[i]=t;var r=this.toRespond;if(r.length>0){var o=r.indexOf(i);-1!==o&&r.splice(o,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(i){return void this.destination.error(i)}this.destination.next(t)},t}(s.OuterSubscriber)},"2fFW":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));let n=!1;const s={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 n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},"2fIB":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=function(e){function t(){var t=e.call(this,"no elements in sequence");this.name=t.name="EmptyError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);t.EmptyError=s},"2fjn":function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(i("wd/R"))},"2oBD":function(e,t,i){"use strict";i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return h}));var n=i("2Vo4"),s=i("qgXg"),r=i("HDdC"),o=i("pxpQ"),a=i("Kqap"),c=i("lJxs"),l=i("/uUt");class u extends n.a{constructor(e,t,i){super(e),t.pipe(Object(o.b)(s.a)).pipe(Object(a.a)((e,t)=>t?i(e,t):e,e)).subscribe(e=>this.next(e))}}class h extends r.a{constructor(e,t,i){super(),this._dispatcher=e,this._reducer=t,this.source=i}select(e){return this.source.pipe(Object(c.a)(e)).pipe(Object(l.a)())}lift(e){const t=new h(this._dispatcher,this._reducer,this);return t.operator=e,t}dispatch(e){this._dispatcher.next(e)}next(e){this._dispatcher.next(e)}error(e){this._dispatcher.error(e)}complete(){}}},"2tF/":function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();t.AsyncAction=function(e){function t(t,i){var n=e.call(this,t,i)||this;return n.scheduler=t,n.work=i,n.pending=!1,n}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,i){return void 0===i&&(i=0),setInterval(e.flush.bind(e,this),i)},t.prototype.recycleAsyncId=function(e,t,i){if(void 0===i&&(i=0),null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var i=!1,n=void 0;try{this.work(e)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(i("Dz+M").Action)},"2ykv":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},"36rE":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("AZf1");t.EmptyObservable=function(e){function t(t){e.call(this),this.scheduler=t}return n(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(s.Observable)},"3E1r":function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i("wd/R"))},"3Ind":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("zKHA"),o=i("AJP0");t.sequenceEqual=function(e,t){return function(i){return i.lift(new a(e,t))}};var a=function(){function e(e,t){this.compareTo=e,this.comparor=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compareTo,this.comparor))},e}();t.SequenceEqualOperator=a;var c=function(e){function t(t,i,n){e.call(this,t),this.compareTo=i,this.comparor=n,this._a=[],this._b=[],this._oneComplete=!1,this.add(i.subscribe(new l(t,this)))}return n(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t.prototype.checkValues=function(){for(var e=this._a,t=this._b,i=this.comparor;e.length>0&&t.length>0;){var n=e.shift(),s=t.shift(),a=!1;i?(a=r.tryCatch(i)(n,s))===o.errorObject&&this.destination.error(o.errorObject.e):a=n===s,a||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t}(s.Subscriber);t.SequenceEqualSubscriber=c;var l=function(e){function t(t,i){e.call(this,t),this.parent=i}return n(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e)},t.prototype._complete=function(){this.parent._complete()},t}(s.Subscriber)},"3N8a":function(e,t,i){"use strict";var n=i("quSY");class s extends n.a{constructor(e,t){super()}schedule(e,t=0){return this}}i.d(t,"a",(function(){return r}));class r extends s{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 i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n=void 0;try{this.work(e)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3Pt+":function(e,t,i){"use strict";i.d(t,"a",(function(){return f})),i.d(t,"b",(function(){return Ye})),i.d(t,"c",(function(){return ue})),i.d(t,"d",(function(){return Ie})),i.d(t,"e",(function(){return Ee})),i.d(t,"f",(function(){return Ce})),i.d(t,"g",(function(){return He})),i.d(t,"h",(function(){return Pe})),i.d(t,"i",(function(){return w})),i.d(t,"j",(function(){return c})),i.d(t,"k",(function(){return v})),i.d(t,"l",(function(){return F})),i.d(t,"m",(function(){return me})),i.d(t,"n",(function(){return we})),i.d(t,"o",(function(){return j})),i.d(t,"p",(function(){return Ve})),i.d(t,"q",(function(){return Ne})),i.d(t,"r",(function(){return D})),i.d(t,"s",(function(){return Se}));var n=i("fXoL"),s=i("ofXK"),r=i("cp0P"),o=i("Cfvw"),a=i("lJxs");const c=new n.q("NgValueAccessor"),l={provide:c,useExisting:Object(n.V)(()=>u),multi:!0};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)(n.Vb(n.F),n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(e){return t.onTouched()}))},features:[n.Gb([l])]}),e})();const h={provide:c,useExisting:Object(n.V)(()=>f),multi:!0},d=new n.q("CompositionEventMode");let f=(()=>{class e{constructor(e,t,i){this._renderer=e,this._elementRef=t,this._compositionMode=i,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(s.M)()?Object(s.M)().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)(n.Vb(n.F),n.Vb(n.l),n.Vb(d,8))},e.\u0275dir=n.Qb({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&&n.jc("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(e){return t.onTouched()}))("compositionstart",(function(e){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[n.Gb([h])]}),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=n.Qb({type:e}),e})(),m=(()=>{class e extends p{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return g(t||e)},e.\u0275dir=n.Qb({type:e,features:[n.Eb]}),e})();const g=n.dc(m);function _(){throw new Error("unimplemented")}class b extends p{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return _()}get asyncValidator(){return _()}}class y{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}}let v=(()=>{class e extends y{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(b,2))},e.\u0275dir=n.Qb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&n.Mb("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:[n.Eb]}),e})(),F=(()=>{class e extends y{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(m,2))},e.\u0275dir=n.Qb({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&n.Mb("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:[n.Eb]}),e})();function k(e){return null==e||0===e.length}const w=new n.q("NgValidators"),S=new n.q("NgAsyncValidators"),T=/^(?=.{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 D{static min(e){return t=>{if(k(t.value)||k(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(k(t.value)||k(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i>e?{max:{max:e,actual:t.value}}:null}}static required(e){return k(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return k(e.value)?null:T.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(k(t.value))return null;const i=t.value?t.value.length:0;return i<e?{minlength:{requiredLength:e,actualLength:i}}:null}}static maxLength(e){return t=>{const i=t.value?t.value.length:0;return i>e?{maxlength:{requiredLength:e,actualLength:i}}:null}}static pattern(e){if(!e)return D.nullValidator;let t,i;return"string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),t=new RegExp(i)):(i=e.toString(),t=e),e=>{if(k(e.value))return null;const n=e.value;return t.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(E);return 0==t.length?null:function(e){return C(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(E);return 0==t.length?null:function(e){const i=function(e,t){return t.map(t=>t(e))}(e,t).map(M);return Object(r.a)(i).pipe(Object(a.a)(C))}}}function E(e){return null!=e}function M(e){const t=Object(n.yb)(e)?Object(o.a)(e):e;if(!Object(n.xb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function C(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 O(e){return e.validate?t=>e.validate(t):e}function x(e){return e.validate?t=>e.validate(t):e}const L={provide:c,useExisting:Object(n.V)(()=>j),multi:!0};let j=(()=>{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)(n.Vb(n.F),n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(e){return t.onTouched()}))},features:[n.Gb([L])]}),e})();const I={provide:c,useExisting:Object(n.V)(()=>N),multi:!0};let A=(()=>{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=n.Rb({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{constructor(e,t,i,n){this._renderer=e,this._elementRef=t,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(b),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&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.F),n.Vb(n.l),n.Vb(A),n.Vb(n.r))},e.\u0275dir=n.Qb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange()}))("blur",(function(e){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.Gb([I])]}),e})();const R={provide:c,useExisting:Object(n.V)(()=>P),multi:!0};let P=(()=>{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)(n.Vb(n.F),n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(e){return t.onTouched()}))},features:[n.Gb([R])]}),e})();const B='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',Y='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',H='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';class V{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      ${B}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        ${Y}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${H}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       ${B}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      ${Y}`)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}static disabledAttrWarning(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}static ngModelWarning(e){console.warn(`\n    It looks like you're using ngModel on the same form field as ${e}. \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}const U={provide:c,useExisting:Object(n.V)(()=>W),multi:!0};let W=(()=>{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=n.zb}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(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 i=function(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}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)(n.Vb(n.F),n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(e){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[n.Gb([U])]}),e})();const z={provide:c,useExisting:Object(n.V)(()=>$),multi:!0};let $=(()=>{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=n.zb}set compareWith(e){if("function"!=typeof e)throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const i=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(i.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const i=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const n=e.item(t),s=this._getOptionValue(n.value);i.push(s)}}else{const e=t.options;for(let t=0;t<e.length;t++){const n=e.item(t);if(n.selected){const e=this._getOptionValue(n.value);i.push(e)}}}this.value=i,e(i)}}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)(n.Vb(n.F),n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e.target)}))("blur",(function(e){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[n.Gb([z])]}),e})();function G(e,t){return[...t.path,e]}function q(e,t){e||X(t,"Cannot find control with"),t.valueAccessor||X(t,"No value accessor for form control with"),e.validator=D.compose([e.validator,t.validator]),e.asyncValidator=D.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(i=>{e._pendingValue=i,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&K(e,t)})}(e,t),function(e,t){e.registerOnChange((e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&K(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function K(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function J(e,t){null==e&&X(t,"Cannot find control with"),e.validator=D.compose([e.validator,t.validator]),e.asyncValidator=D.composeAsync([e.asyncValidator,t.asyncValidator])}function Z(e){return X(e,"There is no FormControl instance attached to form control element with")}function X(e,t){let i;throw i=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${i}`)}function Q(e){return null!=e?D.compose(e.map(O)):null}function ee(e){return null!=e?D.composeAsync(e.map(x)):null}function te(e,t){if(!e.hasOwnProperty("model"))return!1;const i=e.model;return!!i.isFirstChange()||!Object(n.zb)(t,i.currentValue)}const ie=[u,P,j,W,$,N];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 se(e,t){if(!t)return null;Array.isArray(t)||X(e,"Value accessor was not provided as an array for form control with");let i=void 0,n=void 0,s=void 0;return t.forEach(t=>{var r;t.constructor===f?i=t:(r=t,ie.some(e=>r.constructor===e)?(n&&X(e,"More than one built-in value accessor matches form control with"),n=t):(s&&X(e,"More than one custom value accessor matches form control with"),s=t))}),s||n||i||(X(e,"No valid value accessor for form control with"),null)}function re(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function oe(e){const t=ce(e)?e.validators:e;return Array.isArray(t)?Q(t):t||null}function ae(e,t){const i=ce(t)?t.asyncValidators:e;return Array.isArray(i)?ee(i):i||null}function ce(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class le{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}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.validator=oe(e)}setAsyncValidators(e){this.asyncValidator=ae(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)}markAsDirty(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";const t=M(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,i){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let n=e;return t.forEach(e=>{n=n instanceof he?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof de&&n.at(e)||null}),n}(this,e)}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new n.n,this.statusChanges=new n.n}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":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){ce(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ue extends le{constructor(e=null,t,i){super(oe(t),ae(i,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 he extends le{constructor(e,t,i){super(oe(t),ae(i,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(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t instanceof ue?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){let t=!1;return this._forEachChild((i,n)=>{t=t||this.contains(n)&&e(i)}),t}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((e,n)=>{i=t(i,e,n)}),i}_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,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class de extends le{constructor(e,t,i){super(oe(t),ae(i,t)),this.controls=e,this._initObservables(),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,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,i)=>{this.at(i)&&this.at(i).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof ue?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,i)=>{e(t,i)})}_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,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_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)}}const fe={provide:m,useExisting:Object(n.V)(()=>me)},pe=(()=>Promise.resolve(null))();let me=(()=>{class e extends m{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.n,this.form=new he({},Q(e),ee(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){pe.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),q(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){pe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),re(this._directives,e)})}addFormGroup(e){pe.then(()=>{const t=this._findContainer(e.path),i=new he({});J(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){pe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){pe.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)(n.Vb(w,10),n.Vb(S,10))},e.\u0275dir=n.Qb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&n.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(e){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Gb([fe]),n.Eb]}),e})(),ge=(()=>{class e extends m{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return G(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 ee(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return _e(t||e)},e.\u0275dir=n.Qb({type:e,features:[n.Eb]}),e})();const _e=n.dc(ge);class be{static modelParentException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup's partner directive "formControlName" instead.  Example:\n\n      ${B}\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  `)}static formGroupNameException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      ${Y}\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ${H}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      ${Y}\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ${H}`)}}const ye={provide:m,useExisting:Object(n.V)(()=>ve)};let ve=(()=>{class e extends ge{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}_checkParentType(){this._parent instanceof e||this._parent instanceof me||be.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(m,5),n.Vb(w,10),n.Vb(S,10))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.Gb([ye]),n.Eb]}),e})();const Fe={provide:b,useExisting:Object(n.V)(()=>we)},ke=(()=>Promise.resolve(null))();let we=(()=>{class e extends b{constructor(e,t,i,s){super(),this.control=new ue,this._registered=!1,this.update=new n.n,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=i||[],this.valueAccessor=se(this,s)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),te(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?G(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Q(this._rawValidators)}get asyncValidator(){return ee(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(){q(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof ve)&&this._parent instanceof ge?be.formGroupNameException():this._parent instanceof ve||this._parent instanceof me||be.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||be.missingNameException()}_updateValue(e){ke.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,i=""===t||t&&"false"!==t;ke.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(m,9),n.Vb(w,10),n.Vb(S,10),n.Vb(c,10))},e.\u0275dir=n.Qb({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:[n.Gb([Fe]),n.Eb,n.Fb()]}),e})(),Se=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Qb({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const Te=new n.q("NgModelWithFormControlWarning"),De={provide:m,useExisting:Object(n.V)(()=>Ee)};let Ee=(()=>{class e extends m{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new n.n}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 q(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){re(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){t.valueAccessor.registerOnChange(()=>Z(t)),t.valueAccessor.registerOnTouched(()=>Z(t)),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&&q(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=D.compose([this.form.validator,e]);const t=ee(this._asyncValidators);this.form.asyncValidator=D.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||V.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(w,10),n.Vb(S,10))},e.\u0275dir=n.Qb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&n.jc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(e){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Gb([De]),n.Eb,n.Fb()]}),e})();const Me={provide:m,useExisting:Object(n.V)(()=>Ce)};let Ce=(()=>{class e extends ge{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}_checkParentType(){Le(this._parent)&&V.groupParentException()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(m,13),n.Vb(w,10),n.Vb(S,10))},e.\u0275dir=n.Qb({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.Gb([Me]),n.Eb]}),e})();const Oe={provide:m,useExisting:Object(n.V)(()=>xe)};let xe=(()=>{class e extends m{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}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 G(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return Q(this._validators)}get asyncValidator(){return ee(this._asyncValidators)}_checkParentType(){Le(this._parent)&&V.arrayParentException()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(m,13),n.Vb(w,10),n.Vb(S,10))},e.\u0275dir=n.Qb({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.Gb([Oe]),n.Eb]}),e})();function Le(e){return!(e instanceof Ce||e instanceof Ee||e instanceof xe)}const je={provide:b,useExisting:Object(n.V)(()=>Ie)};let Ie=(()=>{class e extends b{constructor(e,t,i,s,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new n.n,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=i||[],this.valueAccessor=se(this,s)}set isDisabled(e){V.disabledAttrWarning()}ngOnChanges(t){var i,s;this._added||this._setUpControl(),te(t,this.viewModel)&&("formControlName",i=e,this,s=this._ngModelWarningConfig,Object(n.X)()&&"never"!==s&&((null!==s&&"once"!==s||i._ngModelWarningSentOnce)&&("always"!==s||this._ngModelWarningSent)||(V.ngModelWarning("formControlName"),i._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),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 G(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 ee(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof Ce)&&this._parent instanceof ge?V.ngModelGroupException():this._parent instanceof Ce||this._parent instanceof Ee||this._parent instanceof xe||V.controlParentException()}_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)(n.Vb(m,13),n.Vb(w,10),n.Vb(S,10),n.Vb(c,10),n.Vb(Te,8))},e.\u0275dir=n.Qb({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.Gb([je]),n.Eb,n.Fb()]}),e._ngModelWarningSentOnce=!1,e})();const Ae={provide:w,useExisting:Object(n.V)(()=>Ne),multi:!0};let Ne=(()=>{class e{get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!==`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?D.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Qb({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&&n.Ib("required",t.required?"":null)},inputs:{required:"required"},features:[n.Gb([Ae])]}),e})();const Re={provide:w,useExisting:Object(n.V)(()=>Pe),multi:!0};let Pe=(()=>{class e{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=D.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=n.Qb({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&n.Ib("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.Gb([Re]),n.Fb()]}),e})(),Be=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)}}),e})(),Ye=(()=>{class e{group(e,t=null){const i=this._reduceControls(e);let n=null,s=null,r=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(n=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(n=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new he(i,{asyncValidators:s,updateOn:r,validators:n})}control(e,t,i){return new ue(e,t,i)}array(e,t,i){const n=e.map(e=>this._createControl(e));return new de(n,t,i)}_reduceControls(e){const t={};return Object.keys(e).forEach(i=>{t[i]=this._createControl(e[i])}),t}_createControl(e){return e instanceof ue||e instanceof he||e instanceof de?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=n.Rb({token:e,factory:e.\u0275fac}),e})(),He=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[A],imports:[Be]}),e})(),Ve=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Te,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[Ye,A],imports:[Be]}),e})()},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3UWI":function(e,t,i){"use strict";var n=i("D0XW"),s=i("l7GE"),r=i("ZUHj");class o{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new a(e,this.durationSelector))}}class a extends s.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:t}=this;i=t(e)}catch(t){return this.destination.error(t)}const n=Object(r.a)(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var c=i("PqYM");function l(e,t=n.a){return i=()=>Object(c.a)(e,t),function(e){return e.lift(new o(i))};var i}i.d(t,"a",(function(){return l}))},"3VCA":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("AZf1"),o=(i("1uGz"),i("y2i3")),a=i("pk/4"),c=function(e){function t(t,i){e.call(this),this.source=t,this.subjectFactory=i,this._refCount=0,this._isComplete=!1}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new o.Subscription).add(this.source.subscribe(new u(this.getSubject(),this))),e.closed?(this._connection=null,e=o.Subscription.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return a.refCount()(this)},t}(r.Observable);t.ConnectableObservable=c;var l=c.prototype;t.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}};var u=function(e){function t(t,i){e.call(this,t),this.connectable=i}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(s.SubjectSubscriber)},"3WZS":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("Re0n"),o=i("1uGz"),a=i("zZI/"),c=i("NwwV");t.windowTime=function(e){var t=r.async,i=null,n=Number.POSITIVE_INFINITY;return c.isScheduler(arguments[3])&&(t=arguments[3]),c.isScheduler(arguments[2])?t=arguments[2]:a.isNumeric(arguments[2])&&(n=arguments[2]),c.isScheduler(arguments[1])?t=arguments[1]:a.isNumeric(arguments[1])&&(i=arguments[1]),function(s){return s.lift(new l(e,i,n,t))}};var l=function(){function e(e,t,i,n){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=i,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),u=function(e){function t(){e.apply(this,arguments),this._numberOfNextedValues=0}return n(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(s.Subject),h=function(e){function t(t,i,n,s,r){e.call(this,t),this.destination=t,this.windowTimeSpan=i,this.windowCreationInterval=n,this.maxWindowSize=s,this.scheduler=r,this.windows=[];var o=this.openWindow();if(null!==n&&n>=0){var a={windowTimeSpan:i,windowCreationInterval:n,subscriber:this,scheduler:r};this.add(r.schedule(p,i,{subscriber:this,window:o,context:null})),this.add(r.schedule(f,n,a))}else this.add(r.schedule(d,i,{subscriber:this,window:o,windowTimeSpan:i}))}return n(t,e),t.prototype._next=function(e){for(var t=this.windows,i=t.length,n=0;n<i;n++){var s=t[n];s.closed||(s.next(e),s.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(s))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new u;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(o.Subscriber);function d(e){var t=e.subscriber,i=e.windowTimeSpan,n=e.window;n&&t.closeWindow(n),e.window=t.openWindow(),this.schedule(e,i)}function f(e){var t=e.windowTimeSpan,i=e.subscriber,n=e.scheduler,s=e.windowCreationInterval,r=i.openWindow(),o={action:this,subscription:null};o.subscription=n.schedule(p,t,{subscriber:i,window:r,context:o}),this.add(o.subscription),this.schedule(e,s)}function p(e){var t=e.subscriber,i=e.window,n=e.context;n&&n.action&&n.subscription&&n.action.remove(n.subscription),t.closeWindow(i)}},"3XJ7":function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i("fXoL"),s=i("lUod"),r=i("WyaX");class o{constructor(e,t,i){this.nodes=e,this.viewRef=t,this.componentRef=i}}class a{constructor(e,t,i,s,r,o,a,c){this._viewContainerRef=e,this._renderer=t,this._elementRef=i,this._injector=s,this._componentFactoryResolver=r,this._ngZone=o,this._applicationRef=a,this._posService=c,this.onBeforeShow=new n.n,this.onShown=new n.n,this.onBeforeHide=new n.n,this.onHidden=new n.n,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}to(e){return this.container=e||this.container,this}position(e){return this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this}provide(e){return this._providers.push(e),this}show(e={}){if(this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);const t=n.r.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(t,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof n.l&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(e.id?{id:e.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(e){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(e?{id:e}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(e){this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||this._elementRef.nativeElement;const t=this._listenOpts.hide=()=>e.hide?e.hide():void this.hide(),i=this._listenOpts.show=t=>{e.show?e.show(t):this.show(t),t()};return this._unregisterListenersFn=Object(s.e)(this._renderer,{target:e.target,triggers:e.triggers,show:i,hide:t,toggle:e=>{this.isShown?t():i(e)}}),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=null)}attachInline(e,t){return this._inlineViewRef=e.createEmbeddedView(t),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const e=this._componentRef.location.nativeElement;setTimeout(()=>{this._globalListener=Object(s.h)(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide()})})}if(this._listenOpts.outsideEsc){const e=this._componentRef.location.nativeElement;this._globalListener=Object(s.g)(this._renderer,{targets:[e,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide()})}}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)}_getContentRef(e,t,i){if(!e)return new o([]);if(e instanceof n.M){if(this._viewContainerRef){const i=this._viewContainerRef.createEmbeddedView(e,t);return i.markForCheck(),new o([i.rootNodes],i)}const i=e.createEmbeddedView({});return this._applicationRef.attachView(i),new o([i.rootNodes],i)}if("function"==typeof e){const t=this._componentFactoryResolver.resolveComponentFactory(e),s=n.r.create({providers:this._providers,parent:this._injector}),r=t.create(s);return Object.assign(r.instance,i),this._applicationRef.attachView(r.hostView),new o([[r.location.nativeElement]],r.hostView,r)}return new o([[this._renderer.createText(`${e}`)]])}}let c=(()=>{class e{constructor(e,t,i,n,s){this._componentFactoryResolver=e,this._ngZone=t,this._injector=i,this._posService=n,this._applicationRef=s}createLoader(e,t,i){return new a(t,i,e,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.j),n.fc(n.A),n.fc(n.r),n.fc(r.a),n.fc(n.g))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})()},"3hIw":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("8kg7"),o=i("36rE");t.take=function(e){return function(t){return 0===e?new o.EmptyObservable:t.lift(new a(e))}};var a=function(){function e(e){if(this.total=e,this.total<0)throw new r.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,i){e.call(this,t),this.total=i,this.count=0}return n(t,e),t.prototype._next=function(e){var t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))},t}(s.Subscriber)},"3jsl":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.takeWhile=function(e){return function(t){return t.lift(new r(e))}};var r=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate))},e}(),o=function(e){function t(t,i){e.call(this,t),this.predicate=i,this.index=0}return n(t,e),t.prototype._next=function(e){var t,i=this.destination;try{t=this.predicate(e,this.index++)}catch(n){return void i.error(n)}this.nextOrComplete(e,t)},t.prototype.nextOrComplete=function(e,t){var i=this.destination;Boolean(t)?i.next(e):i.complete()},t}(s.Subscriber)},"3n9G":function(e,t,i){"use strict";var n=i("1pIY"),s=i("zk/k"),r=i("Vf9T"),o=i("vLqr");t.timeout=function(e,t){return void 0===t&&(t=n.async),r.timeoutWith(e,o.throwError(new s.TimeoutError),t)}},"4GoQ":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("AZf1"),o=i("9jZZ"),a=i("Irel");t.delayWhen=function(e,t){return t?function(i){return new u(i,t).lift(new c(e))}:function(t){return t.lift(new c(e))}};var c=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.delayDurationSelector))},e}(),l=function(e){function t(t,i){e.call(this,t),this.delayDurationSelector=i,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.destination.next(e),this.removeSubscription(s),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){try{var t=this.delayDurationSelector(e);t&&this.tryDelay(t,e)}catch(i){this.destination.error(i)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e),i=null;return-1!==t&&(i=this.values[t],this.delayNotifierSubscriptions.splice(t,1),this.values.splice(t,1)),i},t.prototype.tryDelay=function(e,t){var i=a.subscribeToResult(this,e,t);i&&!i.closed&&(this.add(i),this.delayNotifierSubscriptions.push(i)),this.values.push(t)},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(o.OuterSubscriber),u=function(e){function t(t,i){e.call(this),this.source=t,this.subscriptionDelay=i}return n(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new h(e,this.source))},t}(r.Observable),h=function(e){function t(t,i){e.call(this),this.parent=t,this.source=i,this.sourceSubscribed=!1}return n(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(s.Subscriber)},"4I5i":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4MV3":function(e,t,i){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},i={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i("wd/R"))},"4WIM":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("AZf1"),r=i("1uGz"),o=i("y2i3"),a=i("PCq3"),c=i("NNAl"),l=i("nkkL"),u=function(e){function t(t){e.call(this,t),this.destination=t}return n(t,e),t}(r.Subscriber);t.SubjectSubscriber=u;var h=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(t,e),t.prototype[l.rxSubscriber]=function(){return new u(this)},t.prototype.lift=function(e){var t=new d(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,i=t.length,n=t.slice(),s=0;s<i;s++)n[s].next(e)},t.prototype.error=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,i=t.length,n=t.slice(),s=0;s<i;s++)n[s].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,i=e.slice(),n=0;n<t;n++)i[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.isStopped?(e.complete(),o.Subscription.EMPTY):(this.observers.push(e),new c.SubjectSubscription(this,e))},t.prototype.asObservable=function(){var e=new s.Observable;return e.source=this,e},t.create=function(e,t){return new d(e,t)},t}(s.Observable);t.Subject=h;var d=function(e){function t(t,i){e.call(this),this.destination=t,this.source=i}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):o.Subscription.EMPTY},t}(h);t.AnonymousSubject=d},"4dOw":function(e,t,i){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},"4qOA":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=function(e){function t(){var t=e.call(this,"Timeout has occurred");this.name=t.name="TimeoutError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);t.TimeoutError=s},"5+tZ":function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i("ZUHj"),s=i("l7GE"),r=i("51Dv"),o=i("lJxs"),a=i("Cfvw");function c(e,t,i=Number.POSITIVE_INFINITY){return"function"==typeof t?n=>n.pipe(c((i,n)=>Object(a.a)(e(i,n)).pipe(Object(o.a)((e,s)=>t(i,e,n,s))),i)):("number"==typeof t&&(i=t),t=>t.lift(new l(e,i)))}class l{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends s.a{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,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 i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(t,e,i)}_innerSub(e,t,i){const s=new r.a(this,t,i),o=this.destination;o.add(s);const a=Object(n.a)(this,e,void 0,void 0,s);a!==s&&o.add(a)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,i,n,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");class s extends n.a{constructor(e,t,i){super(),this.parent=e,this.outerValue=t,this.outerIndex=i,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()}}},"5aaB":function(e,t,i){"use strict";var n=i("6fvh");t.max=function(e){return n.reduce("function"==typeof e?function(t,i){return e(t,i)>0?t:i}:function(e,t){return e>t?e:t})}},"5egi":function(e,t,i){"use strict";var n=i("IKD2");let s,r,o=()=>{s.defaultStack.context=document.body,window.addEventListener("resize",()=>{r&&clearTimeout(r),r=setTimeout(()=>{s.positionAll()},10)})},a=e=>{e.overlay.parentNode&&e.overlay.parentNode.removeChild(e.overlay)};const c=(e,t)=>("object"!=typeof e&&(e={text:e}),t&&(e.type=t),{target:document.body,data:e});var l={runModules(e){if("init"===e){for(let e in s.modules)if(s.modules.hasOwnProperty(e)&&"function"==typeof s.modules[e].init){const t=s.modules[e].init(this);this.initModule(t)}}else{const{_modules:t}=this.get();for(let i in t){if(!t.hasOwnProperty(i))continue;const n=Object.assign({_notice:this,_options:this.get()},this.get().modules[i]);t[i].set(n),"function"==typeof t[i][e]&&t[i][e]()}}},initModule(e){const{modules:t}=this.get();t.hasOwnProperty(e.constructor.key)||(t[e.constructor.key]={});const i=Object.assign({_notice:this,_options:this.get()},t[e.constructor.key]);e.initModule(i);const{_modules:n}=this.get();n[e.constructor.key]=e},update(e){const t=this.get().hide,i=this.get().icon;this.set(e),this.runModules("update"),this.get().hide?t||this.queueClose():this.cancelClose(),this.queuePosition();const{icon:n}=this.get();return n!==i&&(!0===n&&"fontawesome5"===this.get().icons||"string"==typeof n&&n.match(/(^| )fa[srlb]($| )/))&&(this.set({icon:!1}),this.set({icon:n})),this},open(){const{_state:e,hide:t}=this.get();if("opening"===e)return;if("open"===e)return void(t&&this.queueClose());this.set({_state:"opening",_animatingClass:"ui-pnotify-initial-hidden"}),this.runModules("beforeOpen");let{stack:i}=this.get();if(!this.refs.elem.parentNode||i&&i.context&&i.context!==this.refs.elem.parentNode)if(i&&i.context)i.context.appendChild(this.refs.elem);else{if(!document.body)throw new Error("No context to open this notice in.");document.body.appendChild(this.refs.elem)}return setTimeout(()=>{i&&(i.animation=!1,s.positionAll(),i.animation=!0),this.animateIn(()=>{this.get().hide&&this.queueClose(),this.set({_state:"open"}),this.runModules("afterOpen")})},0),this},remove(e){return this.close(e)},close(e){const{_state:t}=this.get();if("closing"===t||"closed"===t)return;this.set({_state:"closing",_timerHide:!!e}),this.runModules("beforeClose");const{_timer:i}=this.get();return i&&clearTimeout&&(clearTimeout(i),this.set({_timer:null})),this.animateOut(()=>{if(this.set({_state:"closed"}),this.runModules("afterClose"),this.queuePosition(),this.get().remove&&this.refs.elem.parentNode.removeChild(this.refs.elem),this.runModules("beforeDestroy"),this.get().destroy&&null!==s.notices){const e=s.notices.indexOf(this);-1!==e&&s.notices.splice(e,1)}this.runModules("afterDestroy")}),this},animateIn(e){this.set({_animating:"in"});const t=()=>{this.refs.elem.removeEventListener("transitionend",t);const{_animTimer:i,_animating:n,_moduleIsNoticeOpen:s}=this.get();if(i&&clearTimeout(i),"in"!==n)return;let r=s;if(!r){const e=this.refs.elem.getBoundingClientRect();for(let t in e)if(e[t]>0){r=!0;break}}r?(e&&e.call(),this.set({_animating:!1})):this.set({_animTimer:setTimeout(t,40)})};"fade"===this.get().animation?(this.refs.elem.addEventListener("transitionend",t),this.set({_animatingClass:"ui-pnotify-in"}),this.set({_animatingClass:"ui-pnotify-in ui-pnotify-fade-in"}),this.set({_animTimer:setTimeout(t,650)})):(this.set({_animatingClass:"ui-pnotify-in"}),t())},animateOut(e){this.set({_animating:"out"});const t=()=>{this.refs.elem.removeEventListener("transitionend",t);const{_animTimer:i,_animating:n,_moduleIsNoticeOpen:r}=this.get();if(i&&clearTimeout(i),"out"!==n)return;let o=r;if(!o){const e=this.refs.elem.getBoundingClientRect();for(let t in e)if(e[t]>0){o=!0;break}}if(this.refs.elem.style.opacity&&"0"!==this.refs.elem.style.opacity&&o)this.set({_animTimer:setTimeout(t,40)});else{this.set({_animatingClass:""});const{stack:t}=this.get();if(t&&t.overlay){let e=!1;for(let i=0;i<s.notices.length;i++){const n=s.notices[i];if(n!==this&&n.get().stack===t&&"closed"!==n.get()._state){e=!0;break}}e||a(t)}e&&e.call(),this.set({_animating:!1})}};"fade"===this.get().animation?(this.refs.elem.addEventListener("transitionend",t),this.set({_animatingClass:"ui-pnotify-in"}),this.set({_animTimer:setTimeout(t,650)})):(this.set({_animatingClass:""}),t())},position(){let{stack:e}=this.get(),t=this.refs.elem;if(!e)return;if(e.context||(e.context=document.body),"number"!=typeof e.nextpos1&&(e.nextpos1=e.firstpos1),"number"!=typeof e.nextpos2&&(e.nextpos2=e.firstpos2),"number"!=typeof e.addpos2&&(e.addpos2=0),!t.classList.contains("ui-pnotify-in")&&!t.classList.contains("ui-pnotify-initial-hidden"))return this;e.modal&&(e.overlay||(e=>{const t=document.createElement("div");t.classList.add("ui-pnotify-modal-overlay"),e.context!==document.body&&(t.style.height=e.context.scrollHeight+"px",t.style.width=e.context.scrollWidth+"px"),t.addEventListener("click",()=>{e.overlayClose&&s.closeStack(e)}),e.overlay=t})(e),(e=>{e.overlay.parentNode!==e.context&&(e.overlay=e.context.insertBefore(e.overlay,e.context.firstChild))})(e)),t.getBoundingClientRect(),e.animation&&this.set({_moveClass:"ui-pnotify-move"});let i,n=e.context===document.body?window.innerHeight:e.context.scrollHeight,r=e.context===document.body?window.innerWidth:e.context.scrollWidth;if(e.dir1){let s;switch(i={down:"top",up:"bottom",left:"right",right:"left"}[e.dir1],e.dir1){case"down":s=t.offsetTop;break;case"up":s=n-t.scrollHeight-t.offsetTop;break;case"left":s=r-t.scrollWidth-t.offsetLeft;break;case"right":s=t.offsetLeft}void 0===e.firstpos1&&(e.firstpos1=s,e.nextpos1=e.firstpos1)}if(e.dir1&&e.dir2){let i,s={down:"top",up:"bottom",left:"right",right:"left"}[e.dir2];switch(e.dir2){case"down":i=t.offsetTop;break;case"up":i=n-t.scrollHeight-t.offsetTop;break;case"left":i=r-t.scrollWidth-t.offsetLeft;break;case"right":i=t.offsetLeft}void 0===e.firstpos2&&(e.firstpos2=i,e.nextpos2=e.firstpos2);const o=e.nextpos1+t.offsetHeight+(void 0===e.spacing1?25:e.spacing1),a=e.nextpos1+t.offsetWidth+(void 0===e.spacing1?25:e.spacing1);switch((("down"===e.dir1||"up"===e.dir1)&&o>n||("left"===e.dir1||"right"===e.dir1)&&a>r)&&(e.nextpos1=e.firstpos1,e.nextpos2+=e.addpos2+(void 0===e.spacing2?25:e.spacing2),e.addpos2=0),"number"==typeof e.nextpos2&&(t.style[s]=e.nextpos2+"px"),e.dir2){case"down":case"up":t.offsetHeight+(parseFloat(t.style.marginTop,10)||0)+(parseFloat(t.style.marginBottom,10)||0)>e.addpos2&&(e.addpos2=t.offsetHeight);break;case"left":case"right":t.offsetWidth+(parseFloat(t.style.marginLeft,10)||0)+(parseFloat(t.style.marginRight,10)||0)>e.addpos2&&(e.addpos2=t.offsetWidth)}}else if(e.dir1){let i,s;switch(e.dir1){case"down":case"up":s=["left","right"],i=e.context.scrollWidth/2-t.offsetWidth/2;break;case"left":case"right":s=["top","bottom"],i=n/2-t.offsetHeight/2}t.style[s[0]]=i+"px",t.style[s[1]]="auto"}if(e.dir1)switch("number"==typeof e.nextpos1&&(t.style[i]=e.nextpos1+"px"),e.dir1){case"down":case"up":e.nextpos1+=t.offsetHeight+(void 0===e.spacing1?25:e.spacing1);break;case"left":case"right":e.nextpos1+=t.offsetWidth+(void 0===e.spacing1?25:e.spacing1)}else{let e=n/2-t.offsetHeight/2;t.style.left=r/2-t.offsetWidth/2+"px",t.style.top=e+"px"}return this},queuePosition(e){return r&&clearTimeout(r),e||(e=10),r=setTimeout(()=>{s.positionAll()},e),this},cancelRemove(){return this.cancelClose()},cancelClose(){const{_timer:e,_animTimer:t,_state:i,animation:n}=this.get();return e&&clearTimeout(e),t&&clearTimeout(t),"closing"===i&&this.set({_state:"open",_animating:!1,_animatingClass:"fade"===n?"ui-pnotify-in ui-pnotify-fade-in":"ui-pnotify-in"}),this},queueRemove(){return this.queueClose()},queueClose(){return this.cancelClose(),this.set({_timer:setTimeout(()=>this.close(!0),isNaN(this.get().delay)?0:this.get().delay)}),this},addModuleClass(...e){const{_moduleClasses:t}=this.get();for(let i=0;i<e.length;i++){let n=e[i];-1===t.indexOf(n)&&t.push(n)}this.set({_moduleClasses:t})},removeModuleClass(...e){const{_moduleClasses:t}=this.get();for(let i=0;i<e.length;i++){const n=t.indexOf(e[i]);-1!==n&&t.splice(n,1)}this.set({_moduleClasses:t})},hasModuleClass(...e){const{_moduleClasses:t}=this.get();for(let i=0;i<e.length;i++)if(-1===t.indexOf(e[i]))return!1;return!0}};function u(){this.on("mouseenter",e=>{if(this.get().mouseReset&&"out"===this.get()._animating){if(!this.get()._timerHide)return;this.cancelClose()}this.get().hide&&this.get().mouseReset&&this.cancelClose()}),this.on("mouseleave",e=>{this.get().hide&&this.get().mouseReset&&"out"!==this.get()._animating&&this.queueClose(),s.positionAll()});let{stack:e}=this.get();e&&"top"===e.push?s.notices.splice(0,0,this):s.notices.push(this),this.runModules("init"),this.set({_state:"closed"}),this.get().autoDisplay&&this.open()}function h(e,t,i){const n=Object.create(e);return n.module=t[i],n}function d(e,t,i){const n=Object.create(e);return n.module=t[i],n}function f(e,t,i){var n,s,r=i.module;function o(t){return{root:e.root,store:e.store}}if(r)var a=new r(o());function c(t){e.initModule(t.module)}return a&&a.on("init",c),{key:t,first:null,c(){n=I(),a&&a._fragment.c(),s=I(),this.first=n},m(e,t){C(e,n,t),a&&a._mount(e,t),C(e,s,t)},p(e,t){r!==(r=t.module)&&(a&&a.destroy(),r?((a=new r(o()))._fragment.c(),a._mount(s.parentNode,s),a.on("init",c)):a=null)},d(e){e&&(L(n),L(s)),a&&a.destroy(e)}}}function p(e,t){var i,n,s,r;return{c(){i=w("div"),(n=w("span")).className=s=!0===t.icon?t._icons[t.type]?t._icons[t.type]:"":t.icon,i.className=r="ui-pnotify-icon "+(t._styles.icon?t._styles.icon:"")},m(t,s){C(t,i,s),S(i,n),e.refs.iconContainer=i},p(e,t){(e.icon||e._icons||e.type)&&s!==(s=!0===t.icon?t._icons[t.type]?t._icons[t.type]:"":t.icon)&&(n.className=s),e._styles&&r!==(r="ui-pnotify-icon "+(t._styles.icon?t._styles.icon:""))&&(i.className=r)},d(t){t&&L(i),e.refs.iconContainer===i&&(e.refs.iconContainer=null)}}}function m(e,t){var i,n;function s(e){return e.titleTrusted?_:g}var r=s(t),o=r(e,t);return{c(){i=w("h4"),o.c(),i.className=n="ui-pnotify-title "+(t._styles.title?t._styles.title:"")},m(t,n){C(t,i,n),o.m(i,null),e.refs.titleContainer=i},p(t,a){r===(r=s(a))&&o?o.p(t,a):(o.d(1),(o=r(e,a)).c(),o.m(i,null)),t._styles&&n!==(n="ui-pnotify-title "+(a._styles.title?a._styles.title:""))&&(i.className=n)},d(t){t&&L(i),o.d(),e.refs.titleContainer===i&&(e.refs.titleContainer=null)}}}function g(e,t){var i;return{c(){i=D(t.title)},m(e,t){C(e,i,t)},p(e,t){e.title&&A(i,t.title)},d(e){e&&L(i)}}}function _(e,t){var i,n;return{c(){i=w("noscript"),n=w("noscript")},m(e,s){C(e,i,s),i.insertAdjacentHTML("afterend",t.title),C(e,n,s)},p(e,t){e.title&&(N(i,n),i.insertAdjacentHTML("afterend",t.title))},d(e){e&&(N(i,n),L(i),L(n))}}}function b(e,t){var i,n;function s(e){return e.textTrusted?v:y}var r=s(t),o=r(e,t);return{c(){i=w("div"),o.c(),i.className=n="ui-pnotify-text "+(t._styles.text?t._styles.text:""),E(i,"role","alert")},m(t,n){C(t,i,n),o.m(i,null),e.refs.textContainer=i},p(t,a){r===(r=s(a))&&o?o.p(t,a):(o.d(1),(o=r(e,a)).c(),o.m(i,null)),t._styles&&n!==(n="ui-pnotify-text "+(a._styles.text?a._styles.text:""))&&(i.className=n)},d(t){t&&L(i),o.d(),e.refs.textContainer===i&&(e.refs.textContainer=null)}}}function y(e,t){var i;return{c(){i=D(t.text)},m(e,t){C(e,i,t)},p(e,t){e.text&&A(i,t.text)},d(e){e&&L(i)}}}function v(e,t){var i,n;return{c(){i=w("noscript"),n=w("noscript")},m(e,s){C(e,i,s),i.insertAdjacentHTML("afterend",t.text),C(e,n,s)},p(e,t){e.text&&(N(i,n),i.insertAdjacentHTML("afterend",t.text))},d(e){e&&(N(i,n),L(i),L(n))}}}function F(e,t,i){var n,s,r=i.module;function o(t){return{root:e.root,store:e.store}}if(r)var a=new r(o());function c(t){e.initModule(t.module)}return a&&a.on("init",c),{key:t,first:null,c(){n=I(),a&&a._fragment.c(),s=I(),this.first=n},m(e,t){C(e,n,t),a&&a._mount(e,t),C(e,s,t)},p(e,t){r!==(r=t.module)&&(a&&a.destroy(),r?((a=new r(o()))._fragment.c(),a._mount(s.parentNode,s),a.on("init",c)):a=null)},d(e){e&&(L(n),L(s)),a&&a.destroy(e)}}}function k(e){(function(e,t){e._handlers=T(),e._slots=T(),e._bind=t._bind,e._staged={},e.options=t,e.root=t.root||e,e.store=t.store||e.root.store,t.root||(e._beforecreate=[],e._oncreate=[],e._aftercreate=[])})(this,e),this.refs={},this._state=R(function(){const e=Object.assign({_state:"initializing",_timer:null,_animTimer:null,_animating:!1,_animatingClass:"",_moveClass:"",_timerHide:!1,_moduleClasses:[],_moduleIsNoticeOpen:!1,_modules:{},_modulesPrependContainer:s.modulesPrependContainer,_modulesAppendContainer:s.modulesAppendContainer},s.defaults);return e.modules=Object.assign({},s.defaults.modules),e}(),e.data),this._recompute({styling:1,icons:1,width:1,minHeight:1},this._state),this._intro=!0,document.getElementById("svelte-1eldsjg-style")||function(){var e=w("style");e.id="svelte-1eldsjg-style",e.textContent='body > .ui-pnotify{position:fixed;z-index:100040}body > .ui-pnotify.ui-pnotify-modal{z-index:100042}.ui-pnotify{position:absolute;height:auto;z-index:1;display:none}.ui-pnotify.ui-pnotify-modal{z-index:3}.ui-pnotify.ui-pnotify-in{display:block}.ui-pnotify.ui-pnotify-initial-hidden{display:block;visibility:hidden}.ui-pnotify.ui-pnotify-move{transition:left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .25s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .25s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .1s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .1s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);-moz-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:" ";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;white-space:pre-line;margin-bottom:.4em;margin-top:0}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-right:24px;margin-left:0}.ui-pnotify-title-bs4{font-size:1.2rem}.ui-pnotify-text{display:block;white-space:pre-line}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left}[dir=rtl] .ui-pnotify-icon,[dir=rtl] .ui-pnotify-icon span{float:right}.ui-pnotify-icon-bs3 > span{position:relative;top:2px}.ui-pnotify-icon-bs4 > span{position:relative;top:4px}.ui-pnotify-modal-overlay{background-color:rgba(0, 0, 0, .4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:2}body > .ui-pnotify-modal-overlay{position:fixed;z-index:100041}',S(document.head,e)}(),this._fragment=function(e,t){var i,n,s,r,o,a,c,l,u,g=[],_=T(),y=[],v=T(),k=t._modulesPrependContainer;const I=e=>e.module.key;for(var A=0;A<k.length;A+=1){let i=d(t,k,A),n=I(i);g[A]=_[n]=f(e,n,i)}var N=!1!==t.icon&&p(e,t),R=!1!==t.title&&m(e,t),P=!1!==t.text&&b(e,t),B=t._modulesAppendContainer;const Y=e=>e.module.key;for(A=0;A<B.length;A+=1){let i=h(t,B,A),n=Y(i);y[A]=v[n]=F(e,n,i)}function H(t){e.fire("mouseover",t)}function V(t){e.fire("mouseout",t)}function U(t){e.fire("mouseenter",t)}function W(t){e.fire("mouseleave",t)}function z(t){e.fire("mousemove",t)}function $(t){e.fire("mousedown",t)}function G(t){e.fire("mouseup",t)}function q(t){e.fire("click",t)}function K(t){e.fire("dblclick",t)}function J(t){e.fire("focus",t)}function Z(t){e.fire("blur",t)}function X(t){e.fire("touchstart",t)}function Q(t){e.fire("touchmove",t)}function ee(t){e.fire("touchend",t)}function te(t){e.fire("touchcancel",t)}return{c(){for(i=w("div"),n=w("div"),A=0;A<g.length;A+=1)g[A].c();for(s=D("\n    "),N&&N.c(),r=D("\n    "),R&&R.c(),o=D("\n    "),P&&P.c(),a=D("\n    "),A=0;A<y.length;A+=1)y[A].c();n.className=c="\n        ui-pnotify-container\n        "+(t._styles.container?t._styles.container:"")+"\n        "+(t._styles[t.type]?t._styles[t.type]:"")+"\n        "+t.cornerClass+"\n        "+(t.shadow?"ui-pnotify-shadow":"")+"\n      ",n.style.cssText=l=t._widthStyle+" "+t._minHeightStyle,E(n,"role","alert"),M(i,"mouseover",H),M(i,"mouseout",V),M(i,"mouseenter",U),M(i,"mouseleave",W),M(i,"mousemove",z),M(i,"mousedown",$),M(i,"mouseup",G),M(i,"click",q),M(i,"dblclick",K),M(i,"focus",J),M(i,"blur",Z),M(i,"touchstart",X),M(i,"touchmove",Q),M(i,"touchend",ee),M(i,"touchcancel",te),i.className=u="\n      ui-pnotify\n      "+(!1!==t.icon?"ui-pnotify-with-icon":"")+"\n      "+(t._styles.element?t._styles.element:"")+"\n      "+t.addClass+"\n      "+t._animatingClass+"\n      "+t._moveClass+"\n      "+("fade"===t.animation?"ui-pnotify-fade-"+t.animateSpeed:"")+"\n      "+(t.stack&&t.stack.modal?"ui-pnotify-modal":"")+"\n      "+t._moduleClasses.join(" ")+"\n    ",E(i,"aria-live","assertive"),E(i,"role","alertdialog"),E(i,"ui-pnotify",!0)},m(t,c){for(C(t,i,c),S(i,n),A=0;A<g.length;A+=1)g[A].m(n,null);for(S(n,s),N&&N.m(n,null),S(n,r),R&&R.m(n,null),S(n,o),P&&P.m(n,null),S(n,a),A=0;A<y.length;A+=1)y[A].m(n,null);e.refs.container=n,e.refs.elem=i},p(t,k){g=O(g,e,t,I,1,k,k._modulesPrependContainer,_,n,x,f,"m",s,d),!1!==k.icon?N?N.p(t,k):((N=p(e,k)).c(),N.m(n,r)):N&&(N.d(1),N=null),!1!==k.title?R?R.p(t,k):((R=m(e,k)).c(),R.m(n,o)):R&&(R.d(1),R=null),!1!==k.text?P?P.p(t,k):((P=b(e,k)).c(),P.m(n,a)):P&&(P.d(1),P=null),y=O(y,e,t,Y,1,k,k._modulesAppendContainer,v,n,x,F,"m",null,h),(t._styles||t.type||t.cornerClass||t.shadow)&&c!==(c="\n        ui-pnotify-container\n        "+(k._styles.container?k._styles.container:"")+"\n        "+(k._styles[k.type]?k._styles[k.type]:"")+"\n        "+k.cornerClass+"\n        "+(k.shadow?"ui-pnotify-shadow":"")+"\n      ")&&(n.className=c),(t._widthStyle||t._minHeightStyle)&&l!==(l=k._widthStyle+" "+k._minHeightStyle)&&(n.style.cssText=l),(t.icon||t._styles||t.addClass||t._animatingClass||t._moveClass||t.animation||t.animateSpeed||t.stack||t._moduleClasses)&&u!==(u="\n      ui-pnotify\n      "+(!1!==k.icon?"ui-pnotify-with-icon":"")+"\n      "+(k._styles.element?k._styles.element:"")+"\n      "+k.addClass+"\n      "+k._animatingClass+"\n      "+k._moveClass+"\n      "+("fade"===k.animation?"ui-pnotify-fade-"+k.animateSpeed:"")+"\n      "+(k.stack&&k.stack.modal?"ui-pnotify-modal":"")+"\n      "+k._moduleClasses.join(" ")+"\n    ")&&(i.className=u)},d(t){for(t&&L(i),A=0;A<g.length;A+=1)g[A].d();for(N&&N.d(),R&&R.d(),P&&P.d(),A=0;A<y.length;A+=1)y[A].d();e.refs.container===n&&(e.refs.container=null),j(i,"mouseover",H),j(i,"mouseout",V),j(i,"mouseenter",U),j(i,"mouseleave",W),j(i,"mousemove",z),j(i,"mousedown",$),j(i,"mouseup",G),j(i,"click",q),j(i,"dblclick",K),j(i,"focus",J),j(i,"blur",Z),j(i,"touchstart",X),j(i,"touchmove",Q),j(i,"touchend",ee),j(i,"touchcancel",te),e.refs.elem===i&&(e.refs.elem=null)}}}(this,this._state),this.root._oncreate.push(()=>{u.call(this),this.fire("update",{changed:P({},this._state),current:this._state})}),e.target&&(this._fragment.c(),this._mount(e.target,e.anchor),B(this))}function w(e){return document.createElement(e)}function S(e,t){e.appendChild(t)}function T(){return Object.create(null)}function D(e){return document.createTextNode(e)}function E(e,t,i){null==i?e.removeAttribute(t):e.setAttribute(t,i)}function M(e,t,i,n){e.addEventListener(t,i,n)}function C(e,t,i){e.insertBefore(t,i)}function O(e,t,i,n,s,r,o,a,c,l,u,h,d,f){for(var p=e.length,m=o.length,g=p,_={};g--;)_[e[g].key]=g;var b=[],y={},v={};for(g=m;g--;){var F=f(r,o,g),k=n(F),w=a[k];w?s&&w.p(i,F):(w=u(t,k,F)).c(),b[g]=y[k]=w,k in _&&(v[k]=Math.abs(g-_[k]))}var S={},T={};function D(e){e[h](c,d),a[e.key]=e,d=e.first,m--}for(;p&&m;){var E=b[m-1],M=e[p-1],C=E.key,O=M.key;E===M?(d=E.first,p--,m--):y[O]?!a[C]||S[C]?D(E):T[O]?p--:v[C]>v[O]?(T[C]=!0,D(E)):(S[O]=!0,p--):(l(M,a),p--)}for(;p--;)y[(M=e[p]).key]||l(M,a);for(;m;)D(b[m-1]);return b}function x(e,t){e.d(1),t[e.key]=null}function L(e){e.parentNode.removeChild(e)}function j(e,t,i,n){e.removeEventListener(t,i,n)}function I(){return document.createComment("")}function A(e,t){e.data=""+t}function N(e,t){for(;e.nextSibling&&e.nextSibling!==t;)e.parentNode.removeChild(e.nextSibling)}function R(e,t){for(var i in t)e[i]=t[i];return e}function P(e,t){for(var i in t)e[i]=1;return e}function B(e){e._lock=!0,Y(e._beforecreate),Y(e._oncreate),Y(e._aftercreate),e._lock=!1}function Y(e){for(;e&&e.length;)e.shift()()}function H(){}R(k.prototype,{destroy:function(e){this.destroy=H,this.fire("destroy"),this.set=H,this._fragment.d(!1!==e),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(e,t){var i=e in this._handlers&&this._handlers[e].slice();if(i)for(var n=0;n<i.length;n+=1){var s=i[n];if(!s.__calling)try{s.__calling=!0,s.call(this,t)}finally{s.__calling=!1}}},on:function(e,t){var i=this._handlers[e]||(this._handlers[e]=[]);return i.push(t),{cancel:function(){var e=i.indexOf(t);~e&&i.splice(e,1)}}},set:function(e){this._set(R({},e)),this.root._lock||B(this.root)},_set:function(e){var t=this._state,i={},n=!1;for(var s in e=R(this._staged,e),this._staged={},e)this._differs(e[s],t[s])&&(i[s]=n=!0);n&&(this._state=R(R({},t),e),this._recompute(i,this._state),this._bind&&this._bind(i,this._state),this._fragment&&(this.fire("state",{changed:i,current:this._state,previous:t}),this._fragment.p(i,this._state),this.fire("update",{changed:i,current:this._state,previous:t})))},_stage:function(e){R(this._staged,e)},_mount:function(e,t){this._fragment[this._fragment.i?"i":"m"](e,t||null)},_differs:function(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}}),R(k.prototype,l),k.prototype._recompute=function(e,t){e.styling&&this._differs(t._styles,t._styles=function({styling:e}){return"object"==typeof e?e:s.styling[e]}(t))&&(e._styles=!0),e.icons&&this._differs(t._icons,t._icons=function({icons:e}){return"object"==typeof e?e:s.icons[e]}(t))&&(e._icons=!0),e.width&&this._differs(t._widthStyle,t._widthStyle=function({width:e}){return"string"==typeof e?"width: "+e+";":""}(t))&&(e._widthStyle=!0),e.minHeight&&this._differs(t._minHeightStyle,t._minHeightStyle=function({minHeight:e}){return"string"==typeof e?"min-height: "+e+";":""}(t))&&(e._minHeightStyle=!0)},(s=k).VERSION="4.0.0",s.defaultStack={dir1:"down",dir2:"left",firstpos1:25,firstpos2:25,spacing1:36,spacing2:36,push:"bottom",context:window&&document.body},s.defaults={title:!1,titleTrusted:!1,text:!1,textTrusted:!1,styling:"brighttheme",icons:"brighttheme",addClass:"",cornerClass:"",autoDisplay:!0,width:"360px",minHeight:"16px",type:"notice",icon:!0,animation:"fade",animateSpeed:"normal",shadow:!0,hide:!0,delay:8e3,mouseReset:!0,remove:!0,destroy:!0,stack:s.defaultStack,modules:{}},s.notices=[],s.modules={},s.modulesPrependContainer=[],s.modulesAppendContainer=[],s.alert=e=>new s(c(e)),s.notice=e=>new s(c(e,"notice")),s.info=e=>new s(c(e,"info")),s.success=e=>new s(c(e,"success")),s.error=e=>new s(c(e,"error")),s.removeAll=()=>{s.closeAll()},s.closeAll=()=>{for(let e=0;e<s.notices.length;e++)s.notices[e].close&&s.notices[e].close(!1)},s.removeStack=e=>{s.closeStack(e)},s.closeStack=e=>{if(!1!==e)for(let t=0;t<s.notices.length;t++)s.notices[t].close&&s.notices[t].get().stack===e&&s.notices[t].close(!1)},s.positionAll=()=>{if(r&&clearTimeout(r),r=null,s.notices.length>0){for(let e=0;e<s.notices.length;e++){let t=s.notices[e],{stack:i}=t.get();i&&(i.overlay&&a(i),i.nextpos1=i.firstpos1,i.nextpos2=i.firstpos2,i.addpos2=0)}for(let e=0;e<s.notices.length;e++)s.notices[e].position()}else delete s.defaultStack.nextpos1,delete s.defaultStack.nextpos2},s.styling={brighttheme:{container:"brighttheme",notice:"brighttheme-notice",info:"brighttheme-info",success:"brighttheme-success",error:"brighttheme-error"},bootstrap3:{container:"alert",notice:"alert-warning",info:"alert-info",success:"alert-success",error:"alert-danger",icon:"ui-pnotify-icon-bs3"},bootstrap4:{container:"alert",notice:"alert-warning",info:"alert-info",success:"alert-success",error:"alert-danger",icon:"ui-pnotify-icon-bs4",title:"ui-pnotify-title-bs4"}},s.icons={brighttheme:{notice:"brighttheme-icon-notice",info:"brighttheme-icon-info",success:"brighttheme-icon-success",error:"brighttheme-icon-error"},bootstrap3:{notice:"glyphicon glyphicon-exclamation-sign",info:"glyphicon glyphicon-info-sign",success:"glyphicon glyphicon-ok-sign",error:"glyphicon glyphicon-warning-sign"},fontawesome4:{notice:"fa fa-exclamation-circle",info:"fa fa-info-circle",success:"fa fa-check-circle",error:"fa fa-exclamation-triangle"},fontawesome5:{notice:"fas fa-exclamation-circle",info:"fas fa-info-circle",success:"fas fa-check-circle",error:"fas fa-exclamation-triangle"}},window&&document.body?o():document.addEventListener("DOMContentLoaded",o);var V,U=k,W={initModule(e){this.set(e);const{_notice:t}=this.get();t.on("mouseenter",()=>this.set({_mouseIsIn:!0})),t.on("mouseleave",()=>this.set({_mouseIsIn:!1})),t.on("state",({changed:e,current:t})=>{if(!e.hide)return;const{sticker:i}=this.get();if(!i)return;const n=t.hide?this.get().classes.pinUp:this.get().classes.pinDown;("fontawesome5"===this.get()._notice.get().icons||"string"==typeof n&&n.match(/(^| )fa[srlb]($| )/))&&(this.set({sticker:!1}),this.set({sticker:!0}))})},handleStickerClick(){const{_notice:e}=this.get();e.update({hide:!e.get().hide})},handleCloserClick(){this.get()._notice.close(!1),this.set({_mouseIsIn:!1})}};function z(){this.fire("init",{module:this})}function $(e,t){var i,n,s,r;function o(t){e.handleCloserClick()}return{c(){i=K("div"),(n=K("span")).className=t._closerClass+" svelte-1yjle82",Q(i,"click",o),i.className=s="ui-pnotify-closer "+(!t.closerHover||t._mouseIsIn?"":"ui-pnotify-buttons-hidden")+" svelte-1yjle82",ee(i,"role","button"),i.tabIndex="0",i.title=r=t.labels.close},m(e,t){Z(e,i,t),J(i,n)},p(e,t){e._closerClass&&(n.className=t._closerClass+" svelte-1yjle82"),(e.closerHover||e._mouseIsIn)&&s!==(s="ui-pnotify-closer "+(!t.closerHover||t._mouseIsIn?"":"ui-pnotify-buttons-hidden")+" svelte-1yjle82")&&(i.className=s),e.labels&&r!==(r=t.labels.close)&&(i.title=r)},d(e){e&&X(i),te(i,"click",o)}}}function G(e,t){var i,n,s,r,o,a;function c(t){e.handleStickerClick()}return{c(){i=K("div"),(n=K("span")).className=s=(t._options.hide?t._pinUpClass:t._pinDownClass)+" svelte-1yjle82",Q(i,"click",c),i.className=r="ui-pnotify-sticker "+(!t.stickerHover||t._mouseIsIn?"":"ui-pnotify-buttons-hidden")+" svelte-1yjle82",ee(i,"role","button"),ee(i,"aria-pressed",o=t._options.hide),i.tabIndex="0",i.title=a=t._options.hide?t.labels.stick:t.labels.unstick},m(e,t){Z(e,i,t),J(i,n)},p(e,t){(e._options||e._pinUpClass||e._pinDownClass)&&s!==(s=(t._options.hide?t._pinUpClass:t._pinDownClass)+" svelte-1yjle82")&&(n.className=s),(e.stickerHover||e._mouseIsIn)&&r!==(r="ui-pnotify-sticker "+(!t.stickerHover||t._mouseIsIn?"":"ui-pnotify-buttons-hidden")+" svelte-1yjle82")&&(i.className=r),e._options&&o!==(o=t._options.hide)&&ee(i,"aria-pressed",o),(e._options||e.labels)&&a!==(a=t._options.hide?t.labels.stick:t.labels.unstick)&&(i.title=a)},d(e){e&&X(i),te(i,"click",c)}}}function q(e){(function(e,t){e._handlers=re(),e._slots=re(),e._bind=t._bind,e._staged={},e.options=t,e.root=t.root||e,e.store=t.store||e.root.store,t.root||(e._beforecreate=[],e._oncreate=[],e._aftercreate=[])})(this,e),this._state=ie(Object.assign({_notice:null,_options:{},_mouseIsIn:!1},U.modules.Buttons.defaults),e.data),this._recompute({sticker:1,_notice:1,closer:1,classes:1},this._state),this._intro=!0,document.getElementById("svelte-1yjle82-style")||function(){var e=K("style");e.id="svelte-1yjle82-style",e.textContent=".ui-pnotify-closer.svelte-1yjle82,.ui-pnotify-sticker.svelte-1yjle82{float:right;margin-left:.5em;cursor:pointer}[dir=rtl] .ui-pnotify-closer.svelte-1yjle82,[dir=rtl] .ui-pnotify-sticker.svelte-1yjle82{float:left;margin-right:.5em;margin-left:0}.ui-pnotify-buttons-hidden.svelte-1yjle82{visibility:hidden}",J(document.head,e)}(),this._fragment=function(e,t){var i,n,s=t._showCloser&&$(e,t),r=t._showSticker&&G(e,t);return{c(){s&&s.c(),i=document.createTextNode("\n"),r&&r.c(),n=document.createComment("")},m(e,t){s&&s.m(e,t),Z(e,i,t),r&&r.m(e,t),Z(e,n,t)},p(t,o){o._showCloser?s?s.p(t,o):((s=$(e,o)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null),o._showSticker?r?r.p(t,o):((r=G(e,o)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){s&&s.d(e),e&&X(i),r&&r.d(e),e&&X(n)}}}(this,this._state),this.root._oncreate.push(()=>{z.call(this),this.fire("update",{changed:ne({},this._state),current:this._state})}),e.target&&(this._fragment.c(),this._mount(e.target,e.anchor),se(this))}function K(e){return document.createElement(e)}function J(e,t){e.appendChild(t)}function Z(e,t,i){e.insertBefore(t,i)}function X(e){e.parentNode.removeChild(e)}function Q(e,t,i,n){e.addEventListener(t,i,n)}function ee(e,t,i){null==i?e.removeAttribute(t):e.setAttribute(t,i)}function te(e,t,i,n){e.removeEventListener(t,i,n)}function ie(e,t){for(var i in t)e[i]=t[i];return e}function ne(e,t){for(var i in t)e[i]=1;return e}function se(e){e._lock=!0,oe(e._beforecreate),oe(e._oncreate),oe(e._aftercreate),e._lock=!1}function re(){return Object.create(null)}function oe(e){for(;e&&e.length;)e.shift()()}function ae(){}ie(q.prototype,{destroy:function(e){this.destroy=ae,this.fire("destroy"),this.set=ae,this._fragment.d(!1!==e),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(e,t){var i=e in this._handlers&&this._handlers[e].slice();if(i)for(var n=0;n<i.length;n+=1){var s=i[n];if(!s.__calling)try{s.__calling=!0,s.call(this,t)}finally{s.__calling=!1}}},on:function(e,t){var i=this._handlers[e]||(this._handlers[e]=[]);return i.push(t),{cancel:function(){var e=i.indexOf(t);~e&&i.splice(e,1)}}},set:function(e){this._set(ie({},e)),this.root._lock||se(this.root)},_set:function(e){var t=this._state,i={},n=!1;for(var s in e=ie(this._staged,e),this._staged={},e)this._differs(e[s],t[s])&&(i[s]=n=!0);n&&(this._state=ie(ie({},t),e),this._recompute(i,this._state),this._bind&&this._bind(i,this._state),this._fragment&&(this.fire("state",{changed:i,current:this._state,previous:t}),this._fragment.p(i,this._state),this.fire("update",{changed:i,current:this._state,previous:t})))},_stage:function(e){ie(this._staged,e)},_mount:function(e,t){this._fragment[this._fragment.i?"i":"m"](e,t||null)},_differs:function(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}}),ie(q.prototype,W),q.prototype._recompute=function(e,t){(e.sticker||e._notice)&&this._differs(t._showSticker,t._showSticker=function({sticker:e,_notice:t}){return e&&!(t&&t.refs.elem.classList.contains("nonblock"))}(t))&&(e._showSticker=!0),(e.closer||e._notice)&&this._differs(t._showCloser,t._showCloser=function({closer:e,_notice:t}){return e&&!(t&&t.refs.elem.classList.contains("nonblock"))}(t))&&(e._showCloser=!0),(e.classes||e._notice)&&(this._differs(t._pinUpClass,t._pinUpClass=function({classes:e,_notice:t}){return t?null===e.pinUp?t.get()._icons.pinUp:e.pinUp:""}(t))&&(e._pinUpClass=!0),this._differs(t._pinDownClass,t._pinDownClass=function({classes:e,_notice:t}){return t?null===e.pinDown?t.get()._icons.pinDown:e.pinDown:""}(t))&&(e._pinDownClass=!0),this._differs(t._closerClass,t._closerClass=function({classes:e,_notice:t}){return t?null===e.closer?t.get()._icons.closer:e.closer:""}(t))&&(e._closerClass=!0))},(V=q).key="Buttons",V.defaults={closer:!0,closerHover:!0,sticker:!0,stickerHover:!0,labels:{close:"Close",stick:"Stick",unstick:"Unstick"},classes:{closer:null,pinUp:null,pinDown:null}},U.modules.Buttons=V,U.modulesPrependContainer.push(V),Object.assign(U.icons.brighttheme,{closer:"brighttheme-icon-closer",pinUp:"brighttheme-icon-sticker",pinDown:"brighttheme-icon-sticker brighttheme-icon-stuck"}),Object.assign(U.icons.bootstrap3,{closer:"glyphicon glyphicon-remove",pinUp:"glyphicon glyphicon-pause",pinDown:"glyphicon glyphicon-play"}),Object.assign(U.icons.fontawesome4,{closer:"fa fa-times",pinUp:"fa fa-pause",pinDown:"fa fa-play"}),Object.assign(U.icons.fontawesome5,{closer:"fas fa-times",pinUp:"fas fa-pause",pinDown:"fas fa-play"});var ce=i("2Vo4"),le=i("K3ix"),ue=i("Z1bl"),he=i("fXoL");i.d(t,"a",(function(){return de}));let de=(()=>{class e extends n.w{constructor(e,t,i,n){super(),this.translationService=e,this.modalService=t,this.camelCaseService=i,this.emitter=n,this.status=new ce.a(!1),this.modalConfig={ignoreBackdropClick:!0,keyboard:!1},this.modalRefs=[],U.defaults.delay=3e3,this.modalService.onHidden.subscribe(e=>{"esc"==e&&this.emitter.modalEscaped()},e=>{console.log("error",e)})}getMsgType(e){var t;return e.messages&&e.messages.length>0||e.data&&e.data.messages&&e.data.messages.length>0?0:e.validationResults&&e.validationResults.length>0||e.data&&e.data.validationResults&&e.data.validationResults.length>0?1:e.modelState&&e.modelState.errors.$values.length>0||e.data&&e.data.modelState&&e.data.modelState.errors.$values.length>0?2:e.errors&&e.errors.length>0||e.data&&e.data.errors&&e.data.errors.length>0?3:e.error&&e.error.modelState&&e.error.modelState.errors.length>0||e.data&&e.data.error.modelState&&e.data.error.modelState.errors.length>0?9:e.error&&e.error.modelState&&void 0===e.error.modelState.length||e.data&&e.data.error.modelState&&void 0===e.data.error.modelState.length?10:e.error&&e.error.message||e.data&&e.data.error&&e.data.error.message?5:e.error&&e.error.modelState&&e.error.modelState.errors&&e.error.modelState.errors.$values||e.data&&e.data.error.modelState&&e.data.error.modelState.errors&&e.data.error.modelState.errors.$values?6:e.error&&e.error.ModelState&&e.error.ModelState.Errors||e.data&&e.data.error.ModelState&&e.data.error.ModelState.Errors?7:e.error&&e.error.error?8:e.error&&(null===(t=e.error.validationResults)||void 0===t?void 0:t.length)?11:e.statusText&&""!==e.statusText?4:99}handleResponseMessages(e){var t;if(429!=e.status)if(null!=e&&""!==e){let n,s;e=this.camelCaseService.camelCaseObject(e);const r=this.getMsgType(e);switch((r<3||11==r)&&(n=[]),r){case 0:s=e.messages?e.messages:e.data.messages;break;case 1:s=e.validationResults?e.validationResults:e.data.validationResults;break;case 2:s=e.modelState?e.modelState.errors:e.data.modelState.errors;break;case 3:s=e.errors?e.errors:e.data.errors;break;case 4:n=e.error&&(null===(t=e.error.messages)||void 0===t?void 0:t.length)?e.error.messages[0]:this.isString(e.error)?e.error:e.statusText;break;case 5:n=e.error.message;break;case 6:n=e.error.modelState.errors.$values;break;case 7:n=e.error.ModelState.Errors;break;case 8:n=e.error.error;break;case 9:n=e.error.modelState.errors;break;case 10:n=e.error.modelState;break;case 11:s=e.error.validationResults;break;default:n=null!=e.message?e.message:e}if(s&&s.$values&&(s=s.$values),null!=s&&s.forEach(e=>{let t="";if(null==e.errorMessage)t+=e;else{let i="";e.propertyName&&(i=this.translationService.translate(e.propertyName.toUpperCase())+" - "),t+=i+this.translationService.translate(e.errorMessage)}n.push(t)}),n instanceof Array)return void this.showToastMessages(n);if(n instanceof Object){let e=[];for(var i in n)e.push(`${i}: ${n[i]}`);n=e,this.showToastMessages(n)}else this.info(n)}else this.error("INTERNAL_SERVER_ERROR")}isString(e){return"string"==typeof e||e instanceof String}error(e){this.removeMessages(),U.error({delay:1e4,text:this.translationService.translate(e)})}warning(e){this.removeMessages(),U.notice({delay:1e4,text:this.translationService.translate(e)})}info(e,t){this.removeMessages(),U.notice({delay:t||1e4,text:this.translationService.translate(e)})}success(e){this.removeMessages(),U.success({delay:1e4,text:this.translationService.translate(e)})}removeMessages(){U.removeAll()}showToastMessages(e){this.removeMessages(),e.forEach(e=>{U.notice({delay:1e4,text:this.translationService.translate(e)})})}openModal(e,t=null,i=null){t=null!=t?t:{class:"pt-2"},(i=null!=i?i:this.modalConfig).id=this.modalRefs.length+1;const n=this.modalService.show(e,Object.assign(i,t));return this.modalRefs.push(n),n}closeModals(){if(this.modalRefs.forEach(e=>e.hide()),!this.modalsBusy){let e=this.modalService.getModalsCount();this.modalsBusy=e>0,setTimeout(()=>{for(let t=0;t<e;t++)document.getElementsByClassName("attendant-terminals-modal").length&&this.emitter.modalEscaped(),this.modalService.hide(t),t==e-1&&setTimeout(()=>{this.checkModalElements(),this.modalsBusy=!1},100)},500)}}checkModalElements(){setTimeout(()=>{let e=document.getElementsByClassName("modal"),t=document.getElementsByClassName("modal-backdrop");if(e.length)for(let i=0;i<e.length;i++)e[i]&&e[i].remove();if(t.length)for(let i=0;i<t.length;i++)t[i]&&t[i].remove()},300)}}return e.\u0275fac=function(t){return new(t||e)(he.fc(n.s),he.fc(le.b),he.fc(n.f),he.fc(ue.a))},e.\u0275prov=he.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"6+QB":function(e,t,i){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},"6B0Y":function(e,t,i){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,i){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wd/R"))},"6VCA":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("G2HO"),r=i("rVFa"),o=i("9jZZ"),a=i("Irel");t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];if(1===e.length){if(!s.isArray(e[0]))return e[0];e=e[0]}return new r.ArrayObservable(e).lift(new c)};var c=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new l(e))},e}();t.RaceOperator=c;var l=function(e){function t(t){e.call(this,t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return n(t,e),t.prototype._next=function(e){this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var i=0;i<t&&!this.hasFirst;i++){var n=e[i],s=a.subscribeToResult(this,n,n,i);this.subscriptions&&this.subscriptions.push(s),this.add(s)}this.observables=null}},t.prototype.notifyNext=function(e,t,i,n,s){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==i){var o=this.subscriptions[r];o.unsubscribe(),this.remove(o)}this.subscriptions=null}this.destination.next(t)},t}(o.OuterSubscriber);t.RaceSubscriber=l},"6fvh":function(e,t,i){"use strict";var n=i("n8Qg"),s=i("WO4J"),r=i("2Tbn"),o=i("GyLc");t.reduce=function(e,t){return arguments.length>=2?function(i){return o.pipe(n.scan(e,t),s.takeLast(1),r.defaultIfEmpty(t))(i)}:function(t){return o.pipe(n.scan((function(t,i,n){return e(t,i,n+1)})),s.takeLast(1))(t)}}},"6oB3":function(e,t,i){"use strict";var n=i("NwwV"),s=i("tHdp"),r=i("9Kp9"),o=i("A0iX");t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 1===e.length||2===e.length&&n.isScheduler(e[1])?r.from(e[0]):o.concatAll()(s.of.apply(void 0,e))}},"6qA3":function(e,t,i){"use strict";var n=i("OAkW"),s=i("Z5tI"),r=i("poJ0"),o=i("ozli"),a=i("yRPT"),c=i("90cg"),l=i("GMZp"),u=i("VKeD"),h=i("zfKp");t.subscribeTo=function(e){if(e&&"function"==typeof e[h.observable])return o.subscribeToObservable(e);if(a.isArrayLike(e))return n.subscribeToArray(e);if(c.isPromise(e))return s.subscribeToPromise(e);if(e&&"function"==typeof e[u.iterator])return r.subscribeToIterable(e);var t=l.isObject(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.")}},"7BjC":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?s[i][2]?s[i][2]:s[i][1]:n?s[i][0]:s[i][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"7Hc7":function(e,t,i){"use strict";let n=1;const s=(()=>Promise.resolve())(),r={};function o(e){return e in r&&(delete r[e],!0)}const a={setImmediate(e){const t=n++;return r[t]=!0,s.then(()=>o(t)&&e()),t},clearImmediate(e){o(e)}};var c=i("3N8a");class l extends c.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var u=i("IjjT");class h extends u.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,n=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++n<s&&(e=t.shift()));if(this.active=!1,i){for(;++n<s&&(e=t.shift());)e.unsubscribe();throw i}}}i.d(t,"a",(function(){return d}));const d=new h(l)},"7LGj":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("Re0n");t.sampleTime=function(e,t){return void 0===t&&(t=r.async),function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.period,this.scheduler))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.period=i,this.scheduler=n,this.hasValue=!1,this.add(n.schedule(c,i,{subscriber:this,period:i}))}return n(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(s.Subscriber);function c(e){var t=e.period;e.subscriber.notifyNext(),this.schedule(e,t)}},"7Nkz":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("8kg7");t.skipLast=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new r.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(0===this._skipCount?new s.Subscriber(e):new a(e,this._skipCount))},e}(),a=function(e){function t(t,i){e.call(this,t),this._skipCount=i,this._count=0,this._ring=new Array(i)}return n(t,e),t.prototype._next=function(e){var t=this._skipCount,i=this._count++;if(i<t)this._ring[i]=e;else{var n=i%t,s=this._ring,r=s[n];s[n]=e,this.destination.next(r)}},t}(s.Subscriber)},"7aV9":function(e,t,i){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,i){return e>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i("wd/R"))},"7c4m":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.retry=function(e){return void 0===e&&(e=-1),function(t){return t.lift(new r(e,t))}};var r=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.count,this.source))},e}(),o=function(e){function t(t,i,n){e.call(this,t),this.count=i,this.source=n}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var i=this.source,n=this.count;if(0===n)return e.prototype.error.call(this,t);n>-1&&(this.count=n-1),i.subscribe(this._unsubscribeAndRecycle())}},t}(s.Subscriber)},"7f6I":function(e,t,i){"use strict";var n=i("Bx9r"),s=i("cf1P");t.publishBehavior=function(e){return function(t){return s.multicast(new n.BehaviorSubject(e))(t)}}},"7o/Q":function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("n6bG"),s=i("gRHU"),r=i("quSY"),o=i("2QA8"),a=i("2fFW"),c=i("NJ4a");class l extends r.a{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!e){this.destination=s.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,i)}}[o.a](){return this}static create(e,t,i){const n=new l(e,t,i);return n.syncErrorThrowable=!1,n}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,i,r){let o;super(),this._parentSubscriber=e;let a=this;Object(n.a)(t)?o=t:t&&(o=t.next,i=t.error,r=t.complete,t!==s.a&&(a=Object.create(t),Object(n.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=i,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.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:i}=a.a;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;Object(c.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.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(i){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw i;Object(c.a)(i)}}__tryOrSetError(e,t,i){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(n){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(Object(c.a)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"7zfz":function(e,t,i){"use strict";i.d(t,"a",(function(){return c})),i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"d",(function(){return u}));var n=i("fXoL"),s=(i("XNiG"),i("ofXK"));const r=["*"];var o=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};let a=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["p-header"]],ngContentSelectors:r,decls:1,vars:0,template:function(e,t){1&e&&(n.vc(),n.uc(0))},encapsulation:2}),e})(),c=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["p-footer"]],ngContentSelectors:r,decls:1,vars:0,template:function(e,t){1&e&&(n.vc(),n.uc(0))},encapsulation:2}),e})(),l=(()=>{let e=class{constructor(e){this.template=e}getType(){return this.name}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),o([Object(n.s)()],e.prototype,"type",void 0),o([Object(n.s)("pTemplate")],e.prototype,"name",void 0),e})(),u=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[s.c]]}),e})()},"8/+R":function(e,t,i){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i("wd/R"))},"8G9e":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("y2i3");t.AsyncSubject=function(e){function t(){e.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return n(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),r.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),r.Subscription.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(s.Subject)},"8JYq":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("y2i3");t.Action=function(e){function t(t,i){e.call(this)}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(s.Subscription)},"8LbN":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("9/Zf"),s=Object(n.g)(),r="Sentry Logger ",o=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(n.c)((function(){s.console.log(r+"[Log]: "+e.join(" "))}))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(n.c)((function(){s.console.warn(r+"[Warn]: "+e.join(" "))}))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(n.c)((function(){s.console.error(r+"[Error]: "+e.join(" "))}))},e}();s.__SENTRY__=s.__SENTRY__||{};var a=s.__SENTRY__.logger||(s.__SENTRY__.logger=new o)},"8Qeq":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(e){for(;e;){const{closed:t,destination:i,isStopped:s}=e;if(t||s)return!1;e=i&&i instanceof n.a?i:null}return!0}},"8kg7":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);t.ArgumentOutOfRangeError=s},"8mBD":function(e,t,i){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},"8pnh":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("y2i3"),o=i("zKHA"),a=i("AJP0"),c=i("9jZZ"),l=i("Irel");t.windowToggle=function(e,t){return function(i){return i.lift(new u(e,t))}};var u=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.openings,this.closingSelector))},e}(),h=function(e){function t(t,i,n){e.call(this,t),this.openings=i,this.closingSelector=n,this.contexts=[],this.add(this.openSubscription=l.subscribeToResult(this,i,i))}return n(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var i=t.length,n=0;n<i;n++)t[n].window.next(e)},t.prototype._error=function(t){var i=this.contexts;if(this.contexts=null,i)for(var n=i.length,s=-1;++s<n;){var r=i[s];r.window.error(t),r.subscription.unsubscribe()}e.prototype._error.call(this,t)},t.prototype._complete=function(){var t=this.contexts;if(this.contexts=null,t)for(var i=t.length,n=-1;++n<i;){var s=t[n];s.window.complete(),s.subscription.unsubscribe()}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,i=-1;++i<t;){var n=e[i];n.window.unsubscribe(),n.subscription.unsubscribe()}},t.prototype.notifyNext=function(e,t,i,n,c){if(e===this.openings){var u=o.tryCatch(this.closingSelector)(t);if(u===a.errorObject)return this.error(a.errorObject.e);var h=new s.Subject,d=new r.Subscription,f={window:h,subscription:d};this.contexts.push(f);var p=l.subscribeToResult(this,u,f);p.closed?this.closeWindow(this.contexts.length-1):(p.context=f,d.add(p)),this.destination.next(h)}else this.closeWindow(this.contexts.indexOf(e))},t.prototype.notifyError=function(e){this.error(e)},t.prototype.notifyComplete=function(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))},t.prototype.closeWindow=function(e){if(-1!==e){var t=this.contexts,i=t[e],n=i.window,s=i.subscription;t.splice(e,1),n.complete(),s.unsubscribe()}},t}(c.OuterSubscriber)},"8qff":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("g2Fv");t.QueueAction=function(e){function t(t,i){e.call(this,t,i),this.scheduler=t,this.work=i}return n(t,e),t.prototype.schedule=function(t,i){return void 0===i&&(i=0),i>0?e.prototype.schedule.call(this,t,i):(this.delay=i,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,i){return i>0||this.closed?e.prototype.execute.call(this,t,i):this._execute(t,i)},t.prototype.requestAsyncId=function(t,i,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,i,n):t.flush(this)},t}(s.AsyncAction)},"8x9D":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("AZf1");t.ScalarObservable=function(e){function t(t,i){e.call(this),this.value=t,this.scheduler=i,this._isScalar=!0,i&&(this._isScalar=!1)}return n(t,e),t.create=function(e,i){return new t(e,i)},t.dispatch=function(e){var t=e.value,i=e.subscriber;e.done?i.complete():(i.next(t),i.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var i=this.value,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{done:!1,value:i,subscriber:e});e.next(i),e.closed||e.complete()},t}(s.Observable)},"9/Zf":function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"j",(function(){return r})),i.d(t,"g",(function(){return a})),i.d(t,"n",(function(){return c})),i.d(t,"l",(function(){return l})),i.d(t,"e",(function(){return u})),i.d(t,"c",(function(){return h})),i.d(t,"b",(function(){return d})),i.d(t,"a",(function(){return f})),i.d(t,"h",(function(){return p})),i.d(t,"i",(function(){return m})),i.d(t,"m",(function(){return _})),i.d(t,"k",(function(){return b})),i.d(t,"f",(function(){return y}));var n=i("9AQC");function s(e,t){return e.require(t)}function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}i("+924");var o={};function a(){return r()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function c(){var e=a(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var i=new Uint16Array(8);t.getRandomValues(i),i[3]=4095&i[3]|16384,i[4]=16383&i[4]|32768;var n=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return n(i[0])+n(i[1])+n(i[2])+n(i[3])+n(i[4])+n(i[5])+n(i[6])+n(i[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function l(e){if(!e)return{};var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return t?{host:t[4],path:t[5],protocol:t[2],relative:t[5]+(t[6]||"")+(t[8]||"")}:{}}function u(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"}function h(e){var t=a();if(!("console"in t))return e();var i=t.console,n={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&i[e].__sentry_original__&&(n[e]=i[e],i[e]=i[e].__sentry_original__)}));var s=e();return Object.keys(n).forEach((function(e){i[e]=n[e]})),s}function d(e,t,i){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||i||"Error"}function f(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach((function(i){e.exception.values[0].mechanism[i]=t[i]}))}catch(i){}}function p(){try{return document.location.href}catch(e){return""}}function m(e){try{for(var t=e,i=[],n=0,s=0,r=" > ".length,o=void 0;t&&n++<5&&!("html"===(o=g(t))||n>1&&s+i.length*r+o.length>=80);)i.push(o),s+=o.length,t=t.parentNode;return i.reverse().join(" > ")}catch(a){return"<unknown>"}}function g(e){var t,i,s,r,o,a=e,c=[];if(!a||!a.tagName)return"";if(c.push(a.tagName.toLowerCase()),a.id&&c.push("#"+a.id),(t=a.className)&&Object(n.k)(t))for(i=t.split(/\s+/),o=0;o<i.length;o++)c.push("."+i[o]);var l=["type","name","title","alt"];for(o=0;o<l.length;o++)(r=a.getAttribute(s=l[o]))&&c.push("["+s+'="'+r+'"]');return c.join("")}function _(){return(new Date).getTime()/1e3}function b(e,t){if(!t)return 6e4;var i=parseInt(""+t,10);if(!isNaN(i))return 1e3*i;var n=Date.parse(""+t);return isNaN(n)?6e4:n-e}function y(e){try{return e&&"function"==typeof e&&e.name||"<anonymous>"}catch(t){return"<anonymous>"}}},"90cg":function(e,t,i){"use strict";t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},"9AGB":function(e,t,i){"use strict";var n=i("w5QO");function s(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:n.noop}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)},t.pipeFromArray=s},"9AQC":function(e,t,i){"use strict";function n(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m(e,Error)}}function s(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)}function r(e){return"[object DOMError]"===Object.prototype.toString.call(e)}function o(e){return"[object DOMException]"===Object.prototype.toString.call(e)}function a(e){return"[object String]"===Object.prototype.toString.call(e)}function c(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return"undefined"!=typeof Event&&m(e,Event)}function h(e){return"undefined"!=typeof Element&&m(e,Element)}function d(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function f(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function p(e){return l(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function m(e,t){try{return e instanceof t}catch(i){return!1}}i.d(t,"d",(function(){return n})),i.d(t,"e",(function(){return s})),i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return o})),i.d(t,"k",(function(){return a})),i.d(t,"i",(function(){return c})),i.d(t,"h",(function(){return l})),i.d(t,"f",(function(){return u})),i.d(t,"c",(function(){return h})),i.d(t,"j",(function(){return d})),i.d(t,"m",(function(){return f})),i.d(t,"l",(function(){return p})),i.d(t,"g",(function(){return m}))},"9BwH":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("Re0n"),r=i("hut+"),o=i("1uGz"),a=i("4qOA");t.timeout=function(e,t){void 0===t&&(t=s.async);var i=r.isDate(e),n=i?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(n,i,t,new a.TimeoutError))}};var c=function(){function e(e,t,i,n){this.waitFor=e,this.absoluteTimeout=t,this.scheduler=i,this.errorInstance=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},e}(),l=function(e){function t(t,i,n,s,r){e.call(this,t),this.absoluteTimeout=i,this.waitFor=n,this.scheduler=s,this.errorInstance=r,this.action=null,this.scheduleTimeout()}return n(t,e),t.dispatchTimeout=function(e){e.error(e.errorInstance)},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.errorInstance=null},t}(o.Subscriber)},"9Kp9":function(e,t,i){"use strict";var n=i("+fDQ");t.from=n.FromObservable.create},"9jZZ":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.OuterSubscriber=function(e){function t(){e.apply(this,arguments)}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(s.Subscriber)},"9ppp":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rRi":function(e,t,i){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wd/R"))},"9x29":function(e,t,i){"use strict";var n=i("AZf1");t.Notification=function(){function e(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}},e.prototype.accept=function(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)},e.prototype.toObservable=function(){switch(this.kind){case"N":return n.Observable.of(this.value);case"E":return n.Observable.throw(this.error);case"C":return n.Observable.empty()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"A+xa":function(e,t,i){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i("wd/R"))},"A/ap":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),i=function(){};window.addEventListener("testPassiveEventSupport",i,t),window.removeEventListener("testPassiveEventSupport",i,t),n.hasSupport=e}}};n.update(),t.default=n},A0iX:function(e,t,i){"use strict";var n=i("0p2S");t.concatAll=function(){return n.mergeAll(1)}},ABAE:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.pairwise=function(){return function(e){return e.lift(new r)}};var r=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new o(e))},e}(),o=function(e){function t(t){e.call(this,t),this.hasPrev=!1}return n(t,e),t.prototype._next=function(e){this.hasPrev?this.destination.next([this.prev,e]):this.hasPrev=!0,this.prev=e},t}(s.Subscriber)},AJP0:function(e,t,i){"use strict";t.errorObject={e:{}}},AQ68:function(e,t,i){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i("wd/R"))},AZf1:function(e,t,i){"use strict";var n=i("/WK6"),s=i("wR93"),r=i("WU5C"),o=i("GyLc");t.Observable=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n=this.operator,r=s.toSubscriber(e,t,i);if(n?n.call(r,this.source):r.add(this.source||!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var i=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t((function(t,n){var s;s=i.subscribe((function(t){if(s)try{e(t)}catch(i){n(i),s.unsubscribe()}else e(t)}),n,t)}))},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[r.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 0===e.length?this:o.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}()},AvvY:function(e,t,i){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i("wd/R"))},AytR:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n={production:!0,sentry:{enabled:!1,dsn:""},hotjar:{enabled:!1,trackingCode:"1631861"},googleMapsKey:"AIzaSyAGP4QrDj2K5UC_xCJ5kHXHoccd6EfHwHk",monri:{url:"",auth:""}}},AzqM:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("Re0n");t.debounceTime=function(e,t){return void 0===t&&(t=r.async),function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.dueTime=i,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return n(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(s.Subscriber);function c(e){e.debouncedNext()}},B55N:function(e,t,i){!function(e){"use strict";e.defineLocale("ja",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,i){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()<this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()<e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(i("wd/R"))},BOF4:function(e,t,i){"use strict";var n=i("evrj");function s(e){this.message=e}(s.prototype=new Error).name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new s("Invalid token specified");var i=!0===(t=t||{}).header?0:1;try{return JSON.parse(n(e.split(".")[i]))}catch(r){throw new s("Invalid token specified: "+r.message)}},e.exports.InvalidTokenError=s},BTim:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("Re0n");t.timeInterval=function(e){return void 0===e&&(e=r.async),function(t){return t.lift(new a(e))}};var o=function(){return function(e,t){this.value=e,this.interval=t}}();t.TimeInterval=o;var a=function(){function e(e){this.scheduler=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.scheduler))},e}(),c=function(e){function t(t,i){e.call(this,t),this.scheduler=i,this.lastTime=0,this.lastTime=i.now()}return n(t,e),t.prototype._next=function(e){var t=this.scheduler.now(),i=t-this.lastTime;this.lastTime=t,this.destination.next(new o(e,i))},t}(s.Subscriber)},BVg3:function(e,t,i){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function i(e,i,n,s){var r=e+" ";switch(n){case"s":return i||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?r+(i||s?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?r+(i||s?"m\xedn\xfatur":"m\xedn\xfatum"):i?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return t(e)?r+(i||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return i?"dagur":s?"dag":"degi";case"dd":return t(e)?i?r+"dagar":r+(s?"daga":"d\xf6gum"):i?r+"dagur":r+(s?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?i?r+"m\xe1nu\xf0ir":r+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?r+"m\xe1nu\xf0ur":r+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||s?"\xe1r":"\xe1ri";case"yy":return t(e)?r+(i||s?"\xe1r":"\xe1rum"):r+(i||s?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:i,ss:i,m:i,mm:i,h:"klukkustund",hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},BjeI:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("VZMG"),o=i("y2i3"),a=i("0zyO"),c=i("PCq3"),l=i("NNAl");t.ReplaySubject=function(e){function t(t,i,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===i&&(i=Number.POSITIVE_INFINITY),e.call(this),this.scheduler=n,this._events=[],this._bufferSize=t<1?1:t,this._windowTime=i<1?1:i}return n(t,e),t.prototype.next=function(t){var i=this._getNow();this._events.push(new u(i,t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,i=this._trimBufferThenGetEvents(),n=this.scheduler;if(this.closed)throw new c.ObjectUnsubscribedError;this.hasError?t=o.Subscription.EMPTY:this.isStopped?t=o.Subscription.EMPTY:(this.observers.push(e),t=new l.SubjectSubscription(this,e)),n&&e.add(e=new a.ObserveOnSubscriber(e,n));for(var s=i.length,r=0;r<s&&!e.closed;r++)e.next(i[r].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||r.queue).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,i=this._windowTime,n=this._events,s=n.length,r=0;r<s&&!(e-n[r].time<i);)r++;return s>t&&(r=Math.max(r,s-t)),r>0&&n.splice(0,r),n},t}(s.Subject);var u=function(){return function(e,t){this.time=e,this.value=t}}()},BnoD:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("Re0n"),o=i("o6MN");t.throttleTime=function(e,t,i){return void 0===t&&(t=r.async),void 0===i&&(i=o.defaultThrottleConfig),function(n){return n.lift(new a(e,t,i.leading,i.trailing))}};var a=function(){function e(e,t,i,n){this.duration=e,this.scheduler=t,this.leading=i,this.trailing=n}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),c=function(e){function t(t,i,n,s,r){e.call(this,t),this.duration=i,this.scheduler=n,this.leading=s,this.trailing=r,this._hasTrailingValue=!1,this._trailingValue=null}return n(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(l,this.duration,{subscriber:this})),this.leading&&this.destination.next(e))},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(s.Subscriber);function l(e){e.subscriber.clearThrottle()}},Bx9r:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("PCq3");t.BehaviorSubject=function(e){function t(t){e.call(this),this._value=t}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var i=e.prototype._subscribe.call(this,t);return i&&!i.closed&&t.next(this._value),i},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(s.Subject)},ByF4:function(e,t,i){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},C8RJ:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("4WIM"),r=i("zKHA"),o=i("AJP0"),a=i("9jZZ"),c=i("Irel");t.retryWhen=function(e){return function(t){return t.lift(new l(e,t))}};var l=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier,this.source))},e}(),u=function(e){function t(t,i,n){e.call(this,t),this.notifier=i,this.source=n}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var i=this.errors,n=this.retries,a=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{if(i=new s.Subject,(n=r.tryCatch(this.notifier)(i))===o.errorObject)return e.prototype.error.call(this,o.errorObject.e);a=c.subscribeToResult(this,n)}this._unsubscribeAndRecycle(),this.errors=i,this.retries=n,this.retriesSubscription=a,i.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.errors,o=this.retries,a=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=r,this.retries=o,this.retriesSubscription=a,this.source.subscribe(this)},t}(a.OuterSubscriber)},Cfvw:function(e,t,i){"use strict";var n=i("HDdC"),s=i("SeVD"),r=i("quSY"),o=i("kJWO"),a=i("jZKg"),c=i("Lhse"),l=i("c2HN"),u=i("I55L");function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new n.a(i=>{const n=new r.a;return n.add(t.schedule(()=>{const s=e[o.a]();n.add(s.subscribe({next(e){n.add(t.schedule(()=>i.next(e)))},error(e){n.add(t.schedule(()=>i.error(e)))},complete(){n.add(t.schedule(()=>i.complete()))}}))})),n})}(e,t);if(Object(l.a)(e))return function(e,t){return new n.a(i=>{const n=new r.a;return n.add(t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{i.next(e),n.add(t.schedule(()=>i.complete()))}))},e=>{n.add(t.schedule(()=>i.error(e)))}))),n})}(e,t);if(Object(u.a)(e))return Object(a.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 n.a(i=>{const n=new r.a;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(t.schedule(()=>{s=e[c.a](),n.add(t.schedule((function(){if(i.closed)return;let e,t;try{const i=s.next();e=i.value,t=i.done}catch(n){return void i.error(n)}t?i.complete():(i.next(e),this.schedule())})))})),n})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof n.a?e:new n.a(Object(s.a)(e))}i.d(t,"a",(function(){return h}))},CjzT:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},CoRJ:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(i("wd/R"))},CwEU:function(e,t,i){"use strict";var n=i("fXoL"),s=i("ofXK"),r=i("YyRF"),o=i("3Pt+");let a=(()=>{let e=class{constructor(e,t){this.el=e,this.ngModel=t}ngDoCheck(){this.updateFilledState()}onInput(e){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(o.n,8))},e.\u0275dir=n.Qb({type:e,selectors:[["","pInputText",""]],hostVars:10,hostBindings:function(e,t){1&e&&n.jc("input",(function(e){return t.onInput(e)})),2&e&&n.Mb("ui-inputtext",!0)("ui-corner-all",!0)("ui-state-default",!0)("ui-widget",!0)("ui-state-filled",t.filled)}}),e})(),c=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[s.c]]}),e})();i.d(t,"a",(function(){return h})),i.d(t,"b",(function(){return d}));const l=["input"],u={provide:o.j,useExisting:Object(n.V)(()=>h),multi:!0};let h=(()=>{let e=class{constructor(e){this.el=e,this.type="text",this.slotChar="_",this.autoClear=!0,this.characterPattern="[A-Za-z]",this.onComplete=new n.n,this.onFocus=new n.n,this.onBlur=new n.n,this.onInput=new n.n,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){let e=r.a.getUserAgent();this.androidChrome=/chrome/i.test(e)&&/android/i.test(e),this.initMask()}get mask(){return this._mask}set mask(e){this._mask=e,this.initMask(),this.writeValue(""),this.onModelChange(this.value)}initMask(){this.tests=[],this.partialPosition=this.mask.length,this.len=this.mask.length,this.firstNonMaskPos=null,this.defs={9:"[0-9]",a:this.characterPattern,"*":`${this.characterPattern}|[0-9]`};let e=this.mask.split("");for(let t=0;t<e.length;t++){let i=e[t];"?"==i?(this.len--,this.partialPosition=t):this.defs[i]?(this.tests.push(new RegExp(this.defs[i])),null===this.firstNonMaskPos&&(this.firstNonMaskPos=this.tests.length-1),t<this.partialPosition&&(this.lastRequiredNonMaskPos=this.tests.length-1)):this.tests.push(null)}this.buffer=[];for(let t=0;t<e.length;t++){let i=e[t];"?"!=i&&this.buffer.push(this.defs[i]?this.getPlaceholder(t):i)}this.defaultBuffer=this.buffer.join("")}writeValue(e){this.value=e,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.value=null==this.value||null==this.value?"":this.value,this.checkVal(),this.focusText=this.inputViewChild.nativeElement.value,this.updateFilledState())}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}caret(e,t){let i,n,s;if(this.inputViewChild.nativeElement.offsetParent&&this.inputViewChild.nativeElement===document.activeElement)return"number"!=typeof e?(this.inputViewChild.nativeElement.setSelectionRange?(n=this.inputViewChild.nativeElement.selectionStart,s=this.inputViewChild.nativeElement.selectionEnd):document.selection&&document.selection.createRange&&(i=document.selection.createRange(),n=0-i.duplicate().moveStart("character",-1e5),s=n+i.text.length),{begin:n,end:s}):(n=e,s="number"==typeof t?t:n,void(this.inputViewChild.nativeElement.setSelectionRange?this.inputViewChild.nativeElement.setSelectionRange(n,s):this.inputViewChild.nativeElement.createTextRange&&(i=this.inputViewChild.nativeElement.createTextRange(),i.collapse(!0),i.moveEnd("character",s),i.moveStart("character",n),i.select())))}isCompleted(){for(let e=this.firstNonMaskPos;e<=this.lastRequiredNonMaskPos;e++)if(this.tests[e]&&this.buffer[e]===this.getPlaceholder(e))return!1;return!0}getPlaceholder(e){return this.slotChar.charAt(e<this.slotChar.length?e:0)}seekNext(e){for(;++e<this.len&&!this.tests[e];);return e}seekPrev(e){for(;--e>=0&&!this.tests[e];);return e}shiftL(e,t){let i,n;if(!(e<0)){for(i=e,n=this.seekNext(t);i<this.len;i++)if(this.tests[i]){if(!(n<this.len&&this.tests[i].test(this.buffer[n])))break;this.buffer[i]=this.buffer[n],this.buffer[n]=this.getPlaceholder(n),n=this.seekNext(n)}this.writeBuffer(),this.caret(Math.max(this.firstNonMaskPos,e))}}shiftR(e){let t,i,n,s;for(t=e,i=this.getPlaceholder(e);t<this.len;t++)if(this.tests[t]){if(n=this.seekNext(t),s=this.buffer[t],this.buffer[t]=i,!(n<this.len&&this.tests[n].test(s)))break;i=s}}handleAndroidInput(e){var t=this.inputViewChild.nativeElement.value,i=this.caret();if(this.oldVal&&this.oldVal.length&&this.oldVal.length>t.length){for(this.checkVal(!0);i.begin>0&&!this.tests[i.begin-1];)i.begin--;if(0===i.begin)for(;i.begin<this.firstNonMaskPos&&!this.tests[i.begin];)i.begin++;setTimeout(()=>{this.caret(i.begin,i.begin),this.updateModel(e),this.isCompleted()&&this.onComplete.emit()},0)}else{for(this.checkVal(!0);i.begin<this.len&&!this.tests[i.begin];)i.begin++;setTimeout(()=>{this.caret(i.begin,i.begin),this.updateModel(e),this.isCompleted()&&this.onComplete.emit()},0)}}onInputBlur(e){if(this.focused=!1,this.onModelTouched(),this.checkVal(),this.updateFilledState(),this.onBlur.emit(e),this.inputViewChild.nativeElement.value!=this.focusText||this.inputViewChild.nativeElement.value!=this.value){this.updateModel(e);let t=document.createEvent("HTMLEvents");t.initEvent("change",!0,!1),this.inputViewChild.nativeElement.dispatchEvent(t)}}onKeyDown(e){if(this.readonly)return;let t,i,n,s=e.which||e.keyCode,o=/iphone/i.test(r.a.getUserAgent());this.oldVal=this.inputViewChild.nativeElement.value,8===s||46===s||o&&127===s?(t=this.caret(),i=t.begin,n=t.end,n-i==0&&(i=46!==s?this.seekPrev(i):n=this.seekNext(i-1),n=46===s?this.seekNext(n):n),this.clearBuffer(i,n),this.shiftL(i,n-1),this.updateModel(e),this.onInput.emit(e),e.preventDefault()):13===s?(this.onInputBlur(e),this.updateModel(e)):27===s&&(this.inputViewChild.nativeElement.value=this.focusText,this.caret(0,this.checkVal()),this.updateModel(e),e.preventDefault())}onKeyPress(e){if(!this.readonly){var t,i,n,s,o=e.which||e.keyCode,a=this.caret();e.ctrlKey||e.altKey||e.metaKey||o<32||o>34&&o<41||(o&&13!==o&&(a.end-a.begin!=0&&(this.clearBuffer(a.begin,a.end),this.shiftL(a.begin,a.end-1)),(t=this.seekNext(a.begin-1))<this.len&&(i=String.fromCharCode(o),this.tests[t].test(i))&&(this.shiftR(t),this.buffer[t]=i,this.writeBuffer(),n=this.seekNext(t),/android/i.test(r.a.getUserAgent())?setTimeout(()=>{this.caret(n)},0):this.caret(n),a.begin<=this.lastRequiredNonMaskPos&&(s=this.isCompleted()),this.onInput.emit(e)),e.preventDefault()),this.updateModel(e),this.updateFilledState(),s&&this.onComplete.emit())}}clearBuffer(e,t){let i;for(i=e;i<t&&i<this.len;i++)this.tests[i]&&(this.buffer[i]=this.getPlaceholder(i))}writeBuffer(){this.inputViewChild.nativeElement.value=this.buffer.join("")}checkVal(e){let t,i,n,s=this.inputViewChild.nativeElement.value,r=-1;for(t=0,n=0;t<this.len;t++)if(this.tests[t]){for(this.buffer[t]=this.getPlaceholder(t);n++<s.length;)if(i=s.charAt(n-1),this.tests[t].test(i)){this.buffer[t]=i,r=t;break}if(n>s.length){this.clearBuffer(t+1,this.len);break}}else this.buffer[t]===s.charAt(n)&&n++,t<this.partialPosition&&(r=t);return e?this.writeBuffer():r+1<this.partialPosition?this.autoClear||this.buffer.join("")===this.defaultBuffer?(this.inputViewChild.nativeElement.value&&(this.inputViewChild.nativeElement.value=""),this.clearBuffer(0,this.len)):this.writeBuffer():(this.writeBuffer(),this.inputViewChild.nativeElement.value=this.inputViewChild.nativeElement.value.substring(0,r+1)),this.partialPosition?t:this.firstNonMaskPos}onInputFocus(e){if(this.readonly)return;let t;this.focused=!0,clearTimeout(this.caretTimeoutId),this.focusText=this.inputViewChild.nativeElement.value,t=this.checkVal(),this.caretTimeoutId=setTimeout(()=>{this.inputViewChild.nativeElement===document.activeElement&&(this.writeBuffer(),t==this.mask.replace("?","").length?this.caret(0,t):this.caret(t))},10),this.onFocus.emit(e)}onInputChange(e){this.androidChrome?this.handleAndroidInput(e):this.handleInputChange(e),this.onInput.emit(e)}handleInputChange(e){this.readonly||setTimeout(()=>{var t=this.checkVal(!0);this.caret(t),this.updateModel(e),this.isCompleted()&&this.onComplete.emit()},0)}getUnmaskedValue(){let e=[];for(let t=0;t<this.buffer.length;t++){let i=this.buffer[t];this.tests[t]&&i!=this.getPlaceholder(t)&&e.push(i)}return e.join("")}updateModel(e){const t=this.unmask?this.getUnmaskedValue():e.target.value;null===t&&void 0===t||(this.value=t,this.onModelChange(this.value))}updateFilledState(){this.filled=this.inputViewChild.nativeElement&&""!=this.inputViewChild.nativeElement.value}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l))},e.\u0275cmp=n.Pb({type:e,selectors:[["p-inputMask"]],viewQuery:function(e,t){var i;1&e&&n.Tc(l,!0),2&e&&n.Ic(i=n.kc())&&(t.inputViewChild=i.first)},hostVars:4,hostBindings:function(e,t){2&e&&n.Mb("ui-inputwrapper-filled",t.filled)("ui-inputwrapper-focus",t.focused)},inputs:{type:"type",slotChar:"slotChar",autoClear:"autoClear",characterPattern:"characterPattern",mask:"mask",disabled:"disabled",style:"style",inputId:"inputId",styleClass:"styleClass",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",readonly:"readonly",unmask:"unmask",name:"name",required:"required",autoFocus:"autoFocus",autocomplete:"autocomplete"},outputs:{onComplete:"onComplete",onFocus:"onFocus",onBlur:"onBlur",onInput:"onInput"},features:[n.Gb([u])],decls:2,vars:17,consts:[["pInputText","",3,"ngStyle","ngClass","disabled","readonly","focus","blur","keydown","keypress","input","paste"],["input",""]],template:function(e,t){1&e&&(n.bc(0,"input",0,1),n.jc("focus",(function(e){return t.onInputFocus(e)}))("blur",(function(e){return t.onInputBlur(e)}))("keydown",(function(e){return t.onKeyDown(e)}))("keypress",(function(e){return t.onKeyPress(e)}))("input",(function(e){return t.onInputChange(e)}))("paste",(function(e){return t.handleInputChange(e)})),n.ac()),2&e&&(n.wc("ngStyle",t.style)("ngClass",t.styleClass)("disabled",t.disabled)("readonly",t.readonly),n.Ib("id",t.inputId)("type",t.type)("name",t.name)("placeholder",t.placeholder)("title",t.title)("size",t.size)("autocomplete",t.autocomplete)("maxlength",t.maxlength)("tabindex",t.tabindex)("aria-label",t.ariaLabel)("aria-required",t.ariaRequired)("required",t.required)("autofocus",t.autoFocus))},directives:[a,s.r,s.o],encapsulation:2}),e})(),d=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[s.c,c]]}),e})()},CxhQ:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.catchError=function(e){return function(t){var i=new o(e),n=t.lift(i);return i.caught=n}};var o=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.selector,this.caught))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.selector=i,this.caught=n}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var i=void 0;try{i=this.selector(t,this.caught)}catch(n){return void e.prototype.error.call(this,n)}this._unsubscribeAndRecycle(),this.add(r.subscribeToResult(this,i))}},t}(s.OuterSubscriber)},"D/JM":function(e,t,i){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},D0XW:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("3N8a");const s=new(i("IjjT").a)(n.a)},D2MY:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.InnerSubscriber=function(e){function t(t,i,n){e.call(this),this.parent=t,this.outerValue=i,this.outerIndex=n,this.index=0}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(s.Subscriber)},DFxj:function(e,t,i){"use strict";var n=i("rVFa"),s=i("8x9D"),r=i("36rE"),o=i("6oB3"),a=i("NwwV");t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){var i=e[e.length-1];a.isScheduler(i)?e.pop():i=null;var c=e.length;return o.concat(1===c?new s.ScalarObservable(e[0],i):c>1?new n.ArrayObservable(e,i):new r.EmptyObservable(i),t)}}},DH7j:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DKXc:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.find=function(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(i){return i.lift(new r(e,i,!1,t))}};var r=function(){function e(e,t,i,n){this.predicate=e,this.source=t,this.yieldIndex=i,this.thisArg=n}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}();t.FindValueOperator=r;var o=function(e){function t(t,i,n,s,r){e.call(this,t),this.predicate=i,this.source=n,this.yieldIndex=s,this.thisArg=r,this.index=0}return n(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){var t=this.predicate,i=this.thisArg,n=this.index++;try{t.call(i||this,e,n,this.source)&&this.notifyComplete(this.yieldIndex?n:e)}catch(s){this.destination.error(s)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(s.Subscriber);t.FindValueSubscriber=o},"DKr+":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?s[i][0]:s[i][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(i("wd/R"))},Dkky:function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i("wd/R"))},Dmvi:function(e,t,i){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},DoHr:function(e,t,i){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(i("wd/R"))},Dvla:function(e,t,i){"use strict";var n=i("ofXK"),s=i("fXoL");const r=new s.q("WindowToken","undefined"!=typeof window&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});var o=i("XNiG");i.d(t,"a",(function(){return c})),i.d(t,"b",(function(){return a}));let a=(()=>{class e{constructor(e,t,i){this.ngZone=e,this.document=t,this.window=i,this.copySubject=new o.a,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(e){this.config=e}copy(e){if(!this.isSupported||!e)return this.pushCopyResponse({isSuccess:!1,content:e});const t=this.copyFromContent(e);return this.pushCopyResponse(t?{content:e,isSuccess:t}:{isSuccess:!1,content:e})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){if(e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(e,t=!0){try{this.selectTarget(e);const i=this.copyText();return this.clearSelection(t?e:void 0,this.window),i&&this.isCopySuccessInIE11()}catch(i){return!1}}isCopySuccessInIE11(){const e=this.window.clipboardData;return!(e&&e.getData&&!e.getData("Text"))}copyFromContent(e,t=this.document.body){if(this.tempTextArea&&!t.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{t.appendChild(this.tempTextArea)}catch(n){throw new Error("Container should be a Dom element")}}this.tempTextArea.value=e;const i=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),i}destroy(e=this.document.body){this.tempTextArea&&(e.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(e){return e.select(),e.setSelectionRange(0,e.value.length),e.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(e,t){var i;e&&e.focus(),null===(i=t.getSelection())||void 0===i||i.removeAllRanges()}createTempTextArea(e,t){const i="rtl"===e.documentElement.getAttribute("dir");let n;return n=e.createElement("textarea"),n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[i?"right":"left"]="-9999px",n.style.top=(t.pageYOffset||e.documentElement.scrollTop)+"px",n.setAttribute("readonly",""),n}pushCopyResponse(e){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(e)})}pushCopyReponse(e){this.pushCopyResponse(e)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(s.A),s.fc(n.d),s.fc(r,8))},e.\u0275prov=Object(s.Rb)({factory:function(){return new e(Object(s.fc)(s.A),Object(s.fc)(n.d),Object(s.fc)(r,8))},token:e,providedIn:"root"}),e})(),c=(()=>{class e{}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},imports:[[n.c]]}),e})()},DxQv:function(e,t,i){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"Dz+M":function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();t.Action=function(e){function t(t,i){return e.call(this)||this}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(i("zB/H").Subscription)},Dzi0:function(e,t,i){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wd/R"))},"E+lV":function(e,t,i){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var s=t.words[n];return 1===n.length?i?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},EOgW:function(e,t,i){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,i){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i("wd/R"))},ER9c:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.every=function(e,t){return function(i){return i.lift(new r(e,t,i))}};var r=function(){function e(e,t,i){this.predicate=e,this.thisArg=t,this.source=i}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg,this.source))},e}(),o=function(e){function t(t,i,n,s){e.call(this,t),this.predicate=i,this.thisArg=n,this.source=s,this.index=0,this.thisArg=n||this}return n(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(i){return void this.destination.error(i)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(s.Subscriber)},EWnR:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("JPLv"),s=i("fXoL"),r=i("IKD2");let o=(()=>{class e{constructor(e,t,i,n){this.authService=e,this.storage=t,this.configService=i,this.userService=n,this.authService.loggedIn$.subscribe(e=>{var t,i;e?(this.permissions=this.configService.configTerminal.UserMenu,this.isAdmin&&(this.userSettingsPermissions=null===(t=this.userService.userSettings)||void 0===t?void 0:t.permissions,this.checkAccountingPermissions()),this.permissions.UserMenuTransferEnabled&&(this.permissions.UserMenuTransferEnabled=null===(i=this.userService.userSettings)||void 0===i?void 0:i.haveLinkedUser)):(this.permissions=void 0,this.userSettingsPermissions=[],localStorage.removeItem("app:auth:Permissions"))})}hasPermission(e){if(this.authService.loggedIn&&this.permissions){const t=this.permissions[e.Permission],i=e.Roles.includes(this.authService.getAuth.role)||0==e.Roles.length;return t&&i}return this.removePermissions(),!1}hasUserSettingsPermission(e){return!(!this.authService.loggedIn||!this.userSettingsPermissions)&&-1!==this.userSettingsPermissions.findIndex(t=>t===e.Permission)}hasRoles(e){return!!this.authService.loggedIn&&e.includes(this.authService.getAuth.role)}setPermissions(){var e;this.permissions=this.configService.configTerminal.UserMenu,this.permissions.UserMenuTransferEnabled&&(this.permissions.UserMenuTransferEnabled=null===(e=this.userService.userSettings)||void 0===e?void 0:e.haveLinkedUser)}removePermissions(){this.permissions=void 0}extendAccountingPermissions(e){this.permissions=Object.assign(this.permissions,e),this.storage.set("app:auth:Permissions",this.permissions)}checkDepositPermissions(){let e=0;return[{Permission:"UserMenuDepositEnabled",Roles:["WebUser"]},{Permission:"UserMenuTicketDepositEnabled",Roles:["WebUser"]}].forEach(t=>{this.hasPermission(t)&&e++}),e}checkWithdrawPermissions(){let e=0;return[{Permission:"UserMenuPayoutEnabled",Roles:["WebUser"]},{Permission:"UserMenuPayoutRequestEnabled",Roles:["WebUser"]}].forEach(t=>{this.hasPermission(t)&&e++}),e}checkAccountingPermissions(){var e={UserMenuBookKeepingEnabled:!1,UserMenuShiftStateEnabled:!1,UserMenuEndShiftEnabled:!1,UserMenuHandpaysEnabled:!1,UserMenuPartnerAccountingEnabled:!1,UserMenuGameStatsEnabled:!1,UserMenuPayinOverviewEnabled:!1,UserMenuAttendantParticipationEnabled:!1,UserMenuGameStatsWebEnabled:!1,UserMenuWebAccountEnabled:!1,UserMenuSellerOverviewEnabled:!1};let t=localStorage.getItem("app:auth:Permissions");if(t){t=JSON.parse(t);for(const i in t)void 0!==e[i]&&(e[i]=t[i])}this.extendAccountingPermissions(e)}get authData(){return this.authService.getAuth}get isAdmin(){return"1"===this.authData.membershipType||"9"===this.authData.membershipType}}return e.\u0275fac=function(t){return new(t||e)(s.fc(r.b),s.fc(r.H),s.fc(n.a),s.fc(r.L))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},EY2u:function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r}));var n=i("HDdC");const s=new n.a(e=>e.complete());function r(e){return e?function(e){return new n.a(t=>e.schedule(()=>t.complete()))}(e):s}},EsRS:function(e,t,i){"use strict";var n=i("XNiG"),s=i("fXoL"),r=i("f0q5"),o=i("A/ap"),a=i.n(o),c=i("3Pt+"),l=i("ofXK");i.d(t,"a",(function(){return Z})),i.d(t,"b",(function(){return K}));const u=["tooltipTemplate"],h=["leftOuterSelectionBar"],d=["rightOuterSelectionBar"],f=["fullBar"],p=["selectionBar"],m=["minHandle"],g=["maxHandle"],_=["floorLabel"],b=["ceilLabel"],y=["minHandleLabel"],v=["maxHandleLabel"],F=["combinedLabel"],k=["ticksElement"];function w(e,t){if(1&e&&s.Wb(0,"ng5-slider-tooltip-wrapper",31),2&e){const e=s.nc().$implicit,t=s.nc();s.wc("template",t.tooltipTemplate)("tooltip",e.valueTooltip)("placement",e.valueTooltipPlacement)("content",e.value)}}function S(e,t){if(1&e&&s.Wb(0,"span",32),2&e){const e=s.nc().$implicit;s.wc("innerHTML",e.legend,s.Nc)}}const T=function(e){return{"ng5-slider-selected":e}};function D(e,t){if(1&e&&(s.bc(0,"span",27),s.Wb(1,"ng5-slider-tooltip-wrapper",28),s.Wc(2,w,1,4,"ng5-slider-tooltip-wrapper",29),s.Wc(3,S,1,1,"span",30),s.ac()),2&e){const e=t.$implicit,i=s.nc();s.wc("ngClass",s.Bc(7,T,e.selected))("ngStyle",e.style),s.Hb(1),s.wc("template",i.tooltipTemplate)("tooltip",e.tooltip)("placement",e.tooltipPlacement),s.Hb(1),s.wc("ngIf",null!=e.value),s.Hb(1),s.wc("ngIf",null!=e.legend)}}function E(e,t){}function M(e,t){1&e&&s.Wc(0,E,0,0,"ng-template")}const C=function(e,t,i){return{tooltip:e,placement:t,content:i}};function O(e,t){if(1&e&&(s.Zb(0),s.Wc(1,M,1,0,void 0,1),s.Yb()),2&e){const e=s.nc();s.Hb(1),s.wc("ngTemplateOutlet",e.template)("ngTemplateOutletContext",s.Dc(2,C,e.tooltip,e.placement,e.content))}}function x(e,t){if(1&e&&(s.Zb(0),s.bc(1,"div",2),s.Yc(2),s.ac(),s.Yb()),2&e){const e=s.nc();s.Hb(1),s.Ib("title",e.tooltip)("data-tooltip-placement",e.placement),s.Hb(1),s.ad(" ",e.content," ")}}const L=function(){var e={Min:0,Max:1};return e[e.Min]="Min",e[e.Max]="Max",e}(),j=function(){var e={Low:0,High:1,Floor:2,Ceil:3,TickValue:4};return e[e.Low]="Low",e[e.High]="High",e[e.Floor]="Floor",e[e.Ceil]="Ceil",e[e.TickValue]="TickValue",e}();class I{constructor(){this.floor=0,this.ceil=null,this.step=1,this.minRange=null,this.maxRange=null,this.pushRange=!1,this.minLimit=null,this.maxLimit=null,this.translate=null,this.combineLabels=null,this.getLegend=null,this.stepsArray=null,this.bindIndexForStepsArray=!1,this.draggableRange=!1,this.draggableRangeOnly=!1,this.showSelectionBar=!1,this.showSelectionBarEnd=!1,this.showSelectionBarFromValue=null,this.showOuterSelectionBars=!1,this.hidePointerLabels=!1,this.hideLimitLabels=!1,this.autoHideLimitLabels=!0,this.readOnly=!1,this.disabled=!1,this.mouseEventsInterval=50,this.touchEventsInterval=50,this.inputEventsInterval=100,this.outputEventsInterval=100,this.showTicks=!1,this.showTicksValues=!1,this.tickStep=null,this.tickValueStep=1,this.ticksArray=null,this.ticksTooltip=null,this.ticksValuesTooltip=null,this.vertical=!1,this.getSelectionBarColor=null,this.getTickColor=null,this.getPointerColor=null,this.keyboardSupport=!0,this.scale=1,this.enforceStep=!0,this.enforceRange=!0,this.noSwitching=!1,this.onlyBindHandles=!1,this.rightToLeft=!1,this.reversedControls=!1,this.boundPointerLabels=!0,this.logScale=!1,this.customValueToPosition=null,this.customPositionToValue=null,this.precisionLimit=12,this.selectionBarGradient=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaLabelHigh=null,this.ariaLabelledByHigh=null,this.handleDimension=null,this.barDimension=null,this.animate=!0}}class A{}class N{static isNullOrUndefined(e){return null==e}static linearValueToPosition(e,t,i){return(e-t)/(i-t)}static logValueToPosition(e,t,i){return((e=Math.log(e))-(t=Math.log(t)))/((i=Math.log(i))-t)}static linearPositionToValue(e,t,i){return e*(i-t)+t}static logPositionToValue(e,t,i){return t=Math.log(t),i=Math.log(i),Math.exp(e*(i-t)+t)}static findStepIndex(e,t){const i=t.map(t=>Math.abs(e-t.value));let n=0;for(let s=0;s<t.length;s++)i[s]!==i[n]&&i[s]<i[n]&&(n=s);return n}}class R{static isTouchEvent(e){return void 0!==window.TouchEvent?e instanceof TouchEvent:void 0!==e.touches}static isResizeObserverAvailable(){return void 0!==window.ResizeObserver}}class P{static roundToPrecisionLimit(e,t){return+e.toPrecision(t)}static clampToRange(e,t,i){return Math.min(Math.max(e,t),i)}}class B{constructor(){this.eventName=null,this.events=null,this.eventsSubscription=null,this.teardownCallback=null}}class Y{constructor(e){this.renderer=e}attachPassiveEventListener(e,t,i,s){if(!0!==a.a.hasSupport)return this.attachEventListener(e,t,i,s);const o=new B;o.eventName=t,o.events=new n.a;const c=e=>{o.events.next(e)};return e.addEventListener(t,c,{passive:!0,capture:!1}),o.teardownCallback=()=>{e.removeEventListener(t,c,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(N.isNullOrUndefined(s)?Object(r.tap)(()=>{}):Object(r.throttleTime)(s,void 0,{leading:!0,trailing:!0})).subscribe(e=>{i(e)}),o}detachEventListener(e){N.isNullOrUndefined(e.eventsSubscription)||(e.eventsSubscription.unsubscribe(),e.eventsSubscription=null),N.isNullOrUndefined(e.events)||(e.events.complete(),e.events=null),N.isNullOrUndefined(e.teardownCallback)||(e.teardownCallback(),e.teardownCallback=null)}attachEventListener(e,t,i,s){const o=new B;return o.eventName=t,o.events=new n.a,o.teardownCallback=this.renderer.listen(e,t,e=>{o.events.next(e)}),o.eventsSubscription=o.events.pipe(N.isNullOrUndefined(s)?Object(r.tap)(()=>{}):Object(r.throttleTime)(s,void 0,{leading:!0,trailing:!0})).subscribe(e=>{i(e)}),o}}let H=(()=>{class e{constructor(e,t){this.elemRef=e,this.renderer=t,this._position=0,this._dimension=0,this._alwaysHide=!1,this._vertical=!1,this._scale=1,this.opacity=1,this.visibility="visible",this.left="",this.bottom="",this.height="",this.width="",this.eventListeners=[],this.eventListenerHelper=new Y(this.renderer)}get position(){return this._position}get dimension(){return this._dimension}get alwaysHide(){return this._alwaysHide}get vertical(){return this._vertical}get scale(){return this._scale}setAlwaysHide(e){this._alwaysHide=e,this.visibility=e?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(e){this._vertical=e,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(e){this._scale=e}setPosition(e){this._position=e,this._vertical?this.bottom=Math.round(e)+"px":this.left=Math.round(e)+"px"}calculateDimension(){const e=this.getBoundingClientRect();this._dimension=this.vertical?(e.bottom-e.top)*this.scale:(e.right-e.left)*this.scale}setDimension(e){this._dimension=e,this._vertical?this.height=Math.round(e)+"px":this.width=Math.round(e)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(e,t,i){const n=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,e,t,i);this.eventListeners.push(n)}onPassive(e,t,i){const n=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,e,t,i);this.eventListeners.push(n)}off(e){let t,i;N.isNullOrUndefined(e)?(t=[],i=this.eventListeners):(t=this.eventListeners.filter(t=>t.eventName!==e),i=this.eventListeners.filter(t=>t.eventName===e));for(const n of i)this.eventListenerHelper.detachEventListener(n);this.eventListeners=t}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(s.l),s.Vb(s.F))},e.\u0275dir=s.Qb({type:e,selectors:[["","ng5SliderElement",""]],hostVars:12,hostBindings:function(e,t){2&e&&s.Vc("opacity",t.opacity)("visibility",t.visibility)("left",t.left)("bottom",t.bottom)("height",t.height)("width",t.width)}}),e})(),V=(()=>{class e extends H{constructor(e,t){super(e,t),this.active=!1,this.role="",this.tabindex="",this.ariaOrientation="",this.ariaLabel="",this.ariaLabelledBy="",this.ariaValueNow="",this.ariaValueText="",this.ariaValueMin="",this.ariaValueMax=""}focus(){this.elemRef.nativeElement.focus()}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(s.l),s.Vb(s.F))},e.\u0275dir=s.Qb({type:e,selectors:[["","ng5SliderHandle",""]],hostVars:11,hostBindings:function(e,t){2&e&&(s.Ib("role",t.role)("tabindex",t.tabindex)("aria-orientation",t.ariaOrientation)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledBy)("aria-valuenow",t.ariaValueNow)("aria-valuetext",t.ariaValueText)("aria-valuemin",t.ariaValueMin)("aria-valuemax",t.ariaValueMax),s.Mb("ng5-slider-active",t.active))},features:[s.Eb]}),e})(),U=(()=>{class e extends H{constructor(e,t){super(e,t),this._value=null}get value(){return this._value}setValue(e){let t=!1;!this.alwaysHide&&(N.isNullOrUndefined(this.value)||this.value.length!==e.length||this.value.length>0&&0===this.dimension)&&(t=!0),this._value=e,this.elemRef.nativeElement.innerHTML=e,t&&this.calculateDimension()}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(s.l),s.Vb(s.F))},e.\u0275dir=s.Qb({type:e,selectors:[["","ng5SliderLabel",""]],features:[s.Eb]}),e})();class W{constructor(){this.selected=!1,this.style={},this.tooltip=null,this.tooltipPlacement=null,this.value=null,this.valueTooltip=null,this.valueTooltipPlacement=null,this.legend=null}}class z{constructor(){this.active=!1,this.value=0,this.difference=0,this.position=0,this.lowLimit=0,this.highLimit=0}}class ${static compare(e,t){return!(N.isNullOrUndefined(e)&&N.isNullOrUndefined(t)||N.isNullOrUndefined(e)!==N.isNullOrUndefined(t)||e.value!==t.value||e.highValue!==t.highValue)}}class G extends ${static compare(e,t){return!(N.isNullOrUndefined(e)&&N.isNullOrUndefined(t)||N.isNullOrUndefined(e)!==N.isNullOrUndefined(t)||e.value!==t.value||e.highValue!==t.highValue||e.forceChange!==t.forceChange)}}const q={provide:c.j,useExisting:Object(s.V)(()=>K),multi:!0};let K=(()=>{class e{constructor(e,t,i,r){this.renderer=e,this.elementRef=t,this.changeDetectionRef=i,this.zone=r,this.value=null,this.valueChange=new s.n,this.highValue=null,this.highValueChange=new s.n,this.options=new I,this.userChangeStart=new s.n,this.userChange=new s.n,this.userChangeEnd=new s.n,this.initHasRun=!1,this.inputModelChangeSubject=new n.a,this.inputModelChangeSubscription=null,this.outputModelChangeSubject=new n.a,this.outputModelChangeSubscription=null,this.viewLowValue=null,this.viewHighValue=null,this.viewOptions=new I,this.handleHalfDimension=0,this.maxHandlePosition=0,this.currentTrackingPointer=null,this.currentFocusPointer=null,this.firstKeyDown=!1,this.touchId=null,this.dragging=new z,this.sliderElementVerticalClass=!1,this.sliderElementAnimateClass=!1,this.sliderElementDisabledAttr=null,this.barStyle={},this.minPointerStyle={},this.maxPointerStyle={},this.fullBarTransparentClass=!1,this.selectionBarDraggableClass=!1,this.ticksUnderValuesClass=!1,this.intermediateTicks=!1,this.ticks=[],this.eventListenerHelper=null,this.onMoveEventListener=null,this.onEndEventListener=null,this.resizeObserver=null,this.onTouchedCallback=null,this.onChangeCallback=null,this.eventListenerHelper=new Y(this.renderer)}set manualRefresh(e){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=e.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}set triggerFocus(e){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=e.subscribe(e=>{this.focusPointer(e)})}get range(){return!N.isNullOrUndefined(this.value)&&!N.isNullOrUndefined(this.highValue)}get showTicks(){return this.viewOptions.showTicks}ngOnInit(){this.viewOptions=new I,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(this.viewOptions.inputEventsInterval),this.subscribeOutputModelChangeSubject(this.viewOptions.outputEventsInterval),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.subscribeResizeObserver(),this.initHasRun=!0,this.changeDetectionRef.detectChanges()}ngOnChanges(e){N.isNullOrUndefined(e.options)||this.onChangeOptions(),N.isNullOrUndefined(e.value)&&N.isNullOrUndefined(e.highValue)||this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(e){e instanceof Array?(this.value=e[0],this.highValue=e[1]):this.value=e,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}setDisabledState(e){this.viewOptions.disabled=e,this.updateDisabledState()}onResize(e){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(e){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(Object(r.distinctUntilChanged)(G.compare),Object(r.filter)(e=>!e.forceChange&&!e.internalChange),N.isNullOrUndefined(e)?Object(r.tap)(()=>{}):Object(r.throttleTime)(e,void 0,{leading:!0,trailing:!0})).subscribe(e=>this.applyInputModelChange(e))}subscribeOutputModelChangeSubject(e){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(Object(r.distinctUntilChanged)(G.compare),N.isNullOrUndefined(e)?Object(r.tap)(()=>{}):Object(r.throttleTime)(e,void 0,{leading:!0,trailing:!0})).subscribe(e=>this.publishOutputModelChange(e))}subscribeResizeObserver(){R.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){R.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){N.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){N.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){N.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){N.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){N.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){N.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(e){return e===L.Min?this.minHandleElement:e===L.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===L.Min?this.viewLowValue:this.currentTrackingPointer===L.Max?this.viewHighValue:null}modelValueToViewValue(e){return N.isNullOrUndefined(e)?NaN:N.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+e:N.findStepIndex(+e,this.viewOptions.stepsArray)}viewValueToModelValue(e){return N.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?e:this.getStepValue(e)}getStepValue(e){const t=this.viewOptions.stepsArray[e];return N.isNullOrUndefined(t)?NaN:t.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(e){const t=this.normaliseModelValues(e),i=!$.compare(e,t);i&&(this.value=t.value,this.highValue=t.highValue),this.viewLowValue=this.modelValueToViewValue(t.value),this.viewHighValue=this.range?this.modelValueToViewValue(t.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:t.value,highValue:t.highValue,forceChange:i,userEventInitiated:!1})}publishOutputModelChange(e){const t=()=>{this.valueChange.emit(e.value),this.range&&this.highValueChange.emit(e.highValue),N.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[e.value,e.highValue]:e.value),N.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[e.value,e.highValue]:e.value)};e.userEventInitiated?(t(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{t()})}normaliseModelValues(e){const t=new $;if(t.value=e.value,t.highValue=e.highValue,this.viewOptions.enforceStep&&(t.value=this.roundStep(t.value),this.range&&(t.highValue=this.roundStep(t.highValue))),!N.isNullOrUndefined(this.viewOptions.stepsArray)||!this.viewOptions.enforceRange)return t;if(t.value=P.clampToRange(t.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(t.highValue=P.clampToRange(t.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&e.value>e.highValue)if(this.viewOptions.noSwitching)t.value=t.highValue;else{const i=e.value;t.value=e.highValue,t.highValue=i}return t}renormaliseModelValues(){const e={value:this.value,highValue:this.highValue},t=this.normaliseModelValues(e);$.compare(t,e)||(this.value=t.value,this.highValue=t.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const e=this.viewOptions.inputEventsInterval,t=this.viewOptions.outputEventsInterval;this.applyOptions(),e!==this.viewOptions.inputEventsInterval&&(this.unsubscribeInputModelChangeSubject(),this.subscribeInputModelChangeSubject(this.viewOptions.inputEventsInterval)),t!==this.viewOptions.outputEventsInterval&&(this.unsubscribeInputModelChangeSubject(),this.subscribeInputModelChangeSubject(this.viewOptions.outputEventsInterval)),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider()}applyOptions(){if(this.viewOptions=new I,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!N.isNullOrUndefined(this.viewOptions.ticksArray),!this.viewOptions.showTicks||N.isNullOrUndefined(this.viewOptions.tickStep)&&N.isNullOrUndefined(this.viewOptions.ticksArray)||(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!N.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),N.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),N.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(e,t)=>e+" - "+t),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,N.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=e=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(e):e)),this.viewOptions.getLegend=e=>this.viewOptions.stepsArray[e].legend}applyFloorCeilOptions(){if(N.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),N.isNullOrUndefined(this.viewOptions.ceil)||N.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,N.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=e=>String(e))}resetSlider(){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.unbindEvents(),this.manageEventsBindings(),this.updateDisabledState(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(e){e!==L.Min&&e!==L.Max&&(e=L.Min),e===L.Min?this.minHandleElement.focus():this.range&&e===L.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){N.isNullOrUndefined(this.currentFocusPointer)||(this.onPointerFocus(this.currentFocusPointer),this.getPointerElement(this.currentFocusPointer).focus())}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const e=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(e||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(e||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(e||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate})}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const e of this.getAllSliderElements())N.isNullOrUndefined(e)||e.setVertical(this.viewOptions.vertical)}updateScale(){for(const e of this.getAllSliderElements())e.setScale(this.viewOptions.scale)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.viewOptions.vertical&&(this.minHandleElement.ariaOrientation="vertical"),N.isNullOrUndefined(this.viewOptions.ariaLabel)?N.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical?"vertical":"horizontal",N.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?N.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,j.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,j.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){N.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const e=this.minHandleElement.dimension;this.handleHalfDimension=e/2,N.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-e,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.changeDetectionRef.detectChanges()}updateTicksScale(){if(!this.viewOptions.showTicks)return;const e=N.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,t=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&e.reverse();const i=e.map(e=>{let i=this.valueToPosition(e);this.viewOptions.vertical&&(i=this.maxHandlePosition-i);const n=t+"("+Math.round(i)+"px)",s=new W;if(s.selected=this.isTickSelected(e),s.style={"-webkit-transform":n,"-moz-transform":n,"-o-transform":n,"-ms-transform":n,transform:n},s.selected&&!N.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(s.style["background-color"]=this.getSelectionBarColor()),s.selected||N.isNullOrUndefined(this.viewOptions.getTickColor)||(s.style["background-color"]=this.getTickColor(e)),N.isNullOrUndefined(this.viewOptions.ticksTooltip)||(s.tooltip=this.viewOptions.ticksTooltip(e),s.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&e%this.viewOptions.tickValueStep==0&&(s.value=this.getDisplayValue(e,j.TickValue),N.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(s.valueTooltip=this.viewOptions.ticksValuesTooltip(e),s.valueTooltipPlacement=this.viewOptions.vertical?"right":"top")),!N.isNullOrUndefined(this.viewOptions.getLegend)){const t=this.viewOptions.getLegend(e);N.isNullOrUndefined(t)||(s.legend=t)}return s});if(N.isNullOrUndefined(this.ticks)||this.ticks.length!==i.length)this.ticks=i;else for(let n=0;n<i.length;++n)Object.assign(this.ticks[n],i[n]);this.changeDetectionRef.detectChanges()}getTicksArray(){const e=N.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,t=[];for(let i=this.viewOptions.floor;i<=this.viewOptions.ceil;i+=e)t.push(i);return t}isTickSelected(e){if(!this.range)if(N.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if(e>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&e<=this.viewLowValue)return!0}else{const t=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>t&&e>=t&&e<=this.viewLowValue)return!0;if(this.viewLowValue<t&&e<=t&&e>=this.viewLowValue)return!0}return!!(this.range&&e>=this.viewLowValue&&e<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,j.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,j.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(e,t){e===L.Min?this.updateLowHandle(t):e===L.Max&&this.updateHighHandle(t),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(e,t){const i=e===L.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,n=t-i/2+this.handleHalfDimension,s=this.fullBarElement.dimension-i;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&e===L.Min||!this.viewOptions.rightToLeft&&e===L.Max?Math.min(n,s):Math.min(Math.max(n,0),s):n}updateLowHandle(e){this.minHandleElement.setPosition(e),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,j.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(L.Min,e)),N.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(L.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(e){this.maxHandleElement.setPosition(e),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,j.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(L.Max,e)),N.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(L.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let e=!1,t=!1;const i=this.isLabelBelowFloorLabel(this.minHandleLabelElement),n=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),r=this.isLabelBelowFloorLabel(this.combinedLabelElement),o=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(i?(e=!0,this.floorLabelElement.hide()):(e=!1,this.floorLabelElement.show()),n?(t=!0,this.ceilLabelElement.hide()):(t=!1,this.ceilLabelElement.show()),this.range){const n=this.combinedLabelElement.isVisible()?o:s,a=this.combinedLabelElement.isVisible()?r:i;n?this.ceilLabelElement.hide():t||this.ceilLabelElement.show(),a?this.floorLabelElement.hide():e||this.floorLabelElement.show()}}isLabelBelowFloorLabel(e){const t=e.position,i=this.floorLabelElement.position;return this.viewOptions.rightToLeft?t+e.dimension>=i-2:t<=i+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(e){const t=e.position,i=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?t<=i+this.ceilLabelElement.dimension+2:t+e.dimension>=i-2}updateSelectionBar(){let e=0,t=0;const i=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,n=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)t=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),e=n;else if(N.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))i?(t=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),e=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(t=this.minHandleElement.position+this.handleHalfDimension,e=0);else{const i=this.viewOptions.showSelectionBarFromValue,n=this.valueToPosition(i);(this.viewOptions.rightToLeft?this.viewLowValue<=i:this.viewLowValue>i)?(t=this.minHandleElement.position-n,e=n+this.handleHalfDimension):(t=n-this.minHandleElement.position,e=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(t),this.selectionBarElement.setPosition(e),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(e),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(e+t)),this.leftOuterSelectionBarElement.setPosition(e+t)):(this.leftOuterSelectionBarElement.setDimension(e),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(e+t)),this.rightOuterSelectionBarElement.setPosition(e+t))),N.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!N.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const n=N.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),s=n-e>0&&!i||n-e<=0&&i;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?s?"bottom":"top":s?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(n+t+e+(s?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=n-e+(s?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const e=this.getSelectionBarColor();this.barStyle={backgroundColor:e}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(e){return this.viewOptions.getPointerColor(e===L.Max?this.highValue:this.value,e)}getTickColor(e){return this.viewOptions.getTickColor(e)}updateCombinedLabel(){let e=null;if(e=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,e){const e=this.getDisplayValue(this.viewLowValue,j.Low),t=this.getDisplayValue(this.viewHighValue,j.High),i=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(t,e):this.viewOptions.combineLabels(e,t);this.combinedLabelElement.setValue(i);const n=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(n),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(e,t){return N.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray||(e=this.getStepValue(e)),this.viewOptions.translate(e,t)}roundStep(e,t){const i=N.isNullOrUndefined(t)?this.viewOptions.step:t;let n=P.roundToPrecisionLimit((e-this.viewOptions.floor)/i,this.viewOptions.precisionLimit);return n=Math.round(n)*i,P.roundToPrecisionLimit(this.viewOptions.floor+n,this.viewOptions.precisionLimit)}valueToPosition(e){let t=N.linearValueToPosition;N.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(t=N.logValueToPosition):t=this.viewOptions.customValueToPosition;let i=t(e=P.clampToRange(e,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return N.isNullOrUndefined(i)&&(i=0),this.viewOptions.rightToLeft&&(i=1-i),i*this.maxHandlePosition}positionToValue(e){let t=e/this.maxHandlePosition;this.viewOptions.rightToLeft&&(t=1-t);let i=N.linearPositionToValue;N.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(i=N.logPositionToValue):i=this.viewOptions.customPositionToValue;const n=i(t,this.viewOptions.floor,this.viewOptions.ceil);return N.isNullOrUndefined(n)?0:n}getEventXY(e,t){if(e instanceof MouseEvent)return this.viewOptions.vertical?e.clientY:e.clientX;let i=0;const n=e.touches;if(!N.isNullOrUndefined(t))for(let s=0;s<n.length;s++)if(n[s].identifier===t){i=s;break}return this.viewOptions.vertical?n[i].clientY:n[i].clientX}getEventPosition(e,t){const i=this.elementRef.nativeElement.getBoundingClientRect(),n=this.viewOptions.vertical?i.bottom:i.left;let s=0;return s=this.viewOptions.vertical?-this.getEventXY(e,t)+n:this.getEventXY(e,t)-n,s*this.viewOptions.scale-this.handleHalfDimension}getNearestHandle(e){if(!this.range)return L.Min;const t=this.getEventPosition(e),i=Math.abs(t-this.minHandleElement.position),n=Math.abs(t-this.maxHandleElement.position);return i<n?L.Min:i>n?L.Max:this.viewOptions.rightToLeft?t>this.minHandleElement.position?L.Min:L.Max:t<this.minHandleElement.position?L.Min:L.Max}bindEvents(){const e=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",t=>this.onBarStart(null,e,t,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",t=>this.onBarStart(L.Min,e,t,!0,!0)),this.maxHandleElement.on("mousedown",t=>this.onBarStart(L.Max,e,t,!0,!0))):(this.minHandleElement.on("mousedown",e=>this.onStart(L.Min,e,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",e=>this.onStart(L.Max,e,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",e=>this.onStart(null,e,!0,!0,!0)),this.ticksElement.on("mousedown",e=>this.onStart(null,e,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",t=>this.onBarStart(null,e,t,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",t=>this.onBarStart(L.Min,e,t,!0,!0)),this.maxHandleElement.onPassive("touchstart",t=>this.onBarStart(L.Max,e,t,!0,!0))):(this.minHandleElement.onPassive("touchstart",e=>this.onStart(L.Min,e,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",e=>this.onStart(L.Max,e,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",e=>this.onStart(null,e,!0,!0,!0)),this.ticksElement.onPassive("touchstart",e=>this.onStart(null,e,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(L.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(L.Max)))}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const e of this.getAllSliderElements())e.off()}onBarStart(e,t,i,n,s,r,o){t?this.onDragStart(e,i,n,s):this.onStart(e,i,n,s,r,o)}onStart(e,t,i,n,s,r){t.stopPropagation(),R.isTouchEvent(t)&&a.a.hasSupport||t.preventDefault(),this.calculateViewDimensions(),N.isNullOrUndefined(e)&&(e=this.getNearestHandle(t)),this.currentTrackingPointer=e;const o=this.getPointerElement(e);if(o.active=!0,this.viewOptions.keyboardSupport&&o.focus(),i){this.unsubscribeOnMove();const e=e=>this.dragging.active?this.onDragMove(e):this.onMove(e);this.onMoveEventListener=R.isTouchEvent(t)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",e,this.viewOptions.touchEventsInterval):this.eventListenerHelper.attachEventListener(document,"mousemove",e,this.viewOptions.mouseEventsInterval)}if(n){this.unsubscribeOnEnd();const e=e=>this.onEnd(e);this.onEndEventListener=R.isTouchEvent(t)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",e):this.eventListenerHelper.attachEventListener(document,"mouseup",e)}this.userChangeStart.emit(this.getChangeContext()),R.isTouchEvent(t)&&!N.isNullOrUndefined(t.changedTouches)&&N.isNullOrUndefined(this.touchId)&&(this.touchId=t.changedTouches[0].identifier),s&&this.onMove(t,!0),r&&this.onEnd(t)}onMove(e,t){let i=null;if(R.isTouchEvent(e)){const t=e.changedTouches;for(let e=0;e<t.length;e++)if(t[e].identifier===this.touchId){i=t[e];break}if(N.isNullOrUndefined(i))return}const n=N.isNullOrUndefined(i)?this.getEventPosition(e):this.getEventPosition(e,i.identifier);let s;n<=0?s=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor:n>=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(n),s=t&&!N.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(e){R.isTouchEvent(e)&&e.changedTouches[0].identifier!==this.touchId||(this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(e){const t=this.getPointerElement(e);t.on("blur",()=>this.onPointerBlur(t)),t.on("keydown",e=>this.onKeyboardEvent(e)),t.on("keyup",()=>this.onKeyUp()),t.active=!0,this.currentTrackingPointer=e,this.currentFocusPointer=e,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(e){e.off("blur"),e.off("keydown"),e.off("keyup"),e.active=!1,N.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(e){const t=this.viewOptions.ceil-this.viewOptions.floor;let i=e+this.viewOptions.step,n=e-this.viewOptions.step,s=e+t/10,r=e-t/10;this.viewOptions.reversedControls&&(i=e-this.viewOptions.step,n=e+this.viewOptions.step,s=e-t/10,r=e+t/10);const o={UP:i,DOWN:n,LEFT:n,RIGHT:i,PAGEUP:s,PAGEDOWN:r,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(o.LEFT=i,o.RIGHT=n,this.viewOptions.vertical&&(o.UP=n,o.DOWN=i)),o}onKeyboardEvent(e){const t=this.getCurrentTrackingValue(),i=N.isNullOrUndefined(e.keyCode)?e.which:e.keyCode,n=this.getKeyActions(t)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[i]];if(N.isNullOrUndefined(n)||N.isNullOrUndefined(this.currentTrackingPointer))return;e.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const s=P.clampToRange(n,this.viewOptions.floor,this.viewOptions.ceil),r=this.roundStep(s);if(this.viewOptions.draggableRangeOnly){const e=this.viewHighValue-this.viewLowValue;let t,i;this.currentTrackingPointer===L.Min?(t=r,i=r+e,i>this.viewOptions.ceil&&(i=this.viewOptions.ceil,t=i-e)):this.currentTrackingPointer===L.Max&&(i=r,t=r-e,t<this.viewOptions.floor&&(t=this.viewOptions.floor,i=t+e)),this.positionTrackingBar(t,i)}else this.positionTrackingHandle(r)}onDragStart(e,t,i,n){const s=this.getEventPosition(t);this.dragging=new z,this.dragging.active=!0,this.dragging.value=this.positionToValue(s),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-s:s-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?s-this.maxHandleElement.position:this.maxHandleElement.position-s,this.onStart(e,t,i,n)}getMinValue(e,t,i){const n=this.viewOptions.rightToLeft;let s=null;return s=t?i?n?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:n?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:this.positionToValue(n?e+this.dragging.lowLimit:e-this.dragging.lowLimit),this.roundStep(s)}getMaxValue(e,t,i){const n=this.viewOptions.rightToLeft;let s=null;return s=t?i?n?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:n?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:n?this.positionToValue(e+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(e-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(s)}onDragMove(e){const t=this.getEventPosition(e);let i,n,s,r;this.viewOptions.rightToLeft?(i=this.dragging.lowLimit,n=this.dragging.highLimit,s=this.maxHandleElement,r=this.minHandleElement):(i=this.dragging.highLimit,n=this.dragging.lowLimit,s=this.minHandleElement,r=this.maxHandleElement);const o=t>=this.maxHandlePosition-i;let a,c;if(t<=n){if(0===s.position)return;a=this.getMinValue(t,!0,!1),c=this.getMaxValue(t,!0,!1)}else if(o){if(r.position===this.maxHandlePosition)return;c=this.getMaxValue(t,!0,!0),a=this.getMinValue(t,!0,!0)}else a=this.getMinValue(t,!1,!1),c=this.getMaxValue(t,!1,!1);this.positionTrackingBar(a,c)}positionTrackingBar(e,t){!N.isNullOrUndefined(this.viewOptions.minLimit)&&e<this.viewOptions.minLimit&&(t=P.roundToPrecisionLimit((e=this.viewOptions.minLimit)+this.dragging.difference,this.viewOptions.precisionLimit)),!N.isNullOrUndefined(this.viewOptions.maxLimit)&&t>this.viewOptions.maxLimit&&(e=P.roundToPrecisionLimit((t=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=e,this.viewHighValue=t,this.applyViewChange(),this.updateHandles(L.Min,this.valueToPosition(e)),this.updateHandles(L.Max,this.valueToPosition(t))}positionTrackingHandle(e){e=this.applyMinMaxLimit(e),this.range&&(this.viewOptions.pushRange?e=this.applyPushRange(e):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===L.Min&&e>this.viewHighValue?e=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===L.Max&&e<this.viewLowValue&&(e=this.applyMinMaxRange(this.viewLowValue))),e=this.applyMinMaxRange(e),this.currentTrackingPointer===L.Min&&e>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(L.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=L.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===L.Max&&e<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(L.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=L.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==e&&(this.currentTrackingPointer===L.Min?(this.viewLowValue=e,this.applyViewChange()):this.currentTrackingPointer===L.Max&&(this.viewHighValue=e,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(e)),this.updateAriaAttributes())}applyMinMaxLimit(e){return!N.isNullOrUndefined(this.viewOptions.minLimit)&&e<this.viewOptions.minLimit?this.viewOptions.minLimit:!N.isNullOrUndefined(this.viewOptions.maxLimit)&&e>this.viewOptions.maxLimit?this.viewOptions.maxLimit:e}applyMinMaxRange(e){const t=Math.abs(e-(this.currentTrackingPointer===L.Min?this.viewHighValue:this.viewLowValue));if(!N.isNullOrUndefined(this.viewOptions.minRange)&&t<this.viewOptions.minRange){if(this.currentTrackingPointer===L.Min)return P.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===L.Max)return P.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!N.isNullOrUndefined(this.viewOptions.maxRange)&&t>this.viewOptions.maxRange){if(this.currentTrackingPointer===L.Min)return P.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===L.Max)return P.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return e}applyPushRange(e){const t=this.currentTrackingPointer===L.Min?this.viewHighValue-e:e-this.viewLowValue,i=N.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,n=this.viewOptions.maxRange;return t<i?(this.currentTrackingPointer===L.Min?(this.viewHighValue=P.roundToPrecisionLimit(Math.min(e+i,this.viewOptions.ceil),this.viewOptions.precisionLimit),e=P.roundToPrecisionLimit(this.viewHighValue-i,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(L.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===L.Max&&(this.viewLowValue=P.roundToPrecisionLimit(Math.max(e-i,this.viewOptions.floor),this.viewOptions.precisionLimit),e=P.roundToPrecisionLimit(this.viewLowValue+i,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(L.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!N.isNullOrUndefined(n)&&t>n&&(this.currentTrackingPointer===L.Min?(this.viewHighValue=P.roundToPrecisionLimit(e+n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(L.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===L.Max&&(this.viewLowValue=P.roundToPrecisionLimit(e-n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(L.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),e}getChangeContext(){const e=new A;return e.pointerType=this.currentTrackingPointer,e.value=+this.value,this.range&&(e.highValue=+this.highValue),e}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(s.F),s.Vb(s.l),s.Vb(s.h),s.Vb(s.A))},e.\u0275cmp=s.Pb({type:e,selectors:[["ng5-slider"]],contentQueries:function(e,t,i){var n;1&e&&s.Nb(i,u,!0),2&e&&s.Ic(n=s.kc())&&(t.tooltipTemplate=n.first)},viewQuery:function(e,t){var i;1&e&&(s.fd(h,!0,H),s.fd(d,!0,H),s.fd(f,!0,H),s.fd(p,!0,H),s.fd(m,!0,V),s.fd(g,!0,V),s.fd(_,!0,U),s.fd(b,!0,U),s.fd(y,!0,U),s.fd(v,!0,U),s.fd(F,!0,U),s.fd(k,!0,H)),2&e&&(s.Ic(i=s.kc())&&(t.leftOuterSelectionBarElement=i.first),s.Ic(i=s.kc())&&(t.rightOuterSelectionBarElement=i.first),s.Ic(i=s.kc())&&(t.fullBarElement=i.first),s.Ic(i=s.kc())&&(t.selectionBarElement=i.first),s.Ic(i=s.kc())&&(t.minHandleElement=i.first),s.Ic(i=s.kc())&&(t.maxHandleElement=i.first),s.Ic(i=s.kc())&&(t.floorLabelElement=i.first),s.Ic(i=s.kc())&&(t.ceilLabelElement=i.first),s.Ic(i=s.kc())&&(t.minHandleLabelElement=i.first),s.Ic(i=s.kc())&&(t.maxHandleLabelElement=i.first),s.Ic(i=s.kc())&&(t.combinedLabelElement=i.first),s.Ic(i=s.kc())&&(t.ticksElement=i.first))},hostAttrs:[1,"ng5-slider"],hostVars:5,hostBindings:function(e,t){1&e&&s.jc("resize",(function(e){return t.onResize(e)}),!1,s.Lc),2&e&&(s.Ib("disabled",t.sliderElementDisabledAttr),s.Mb("vertical",t.sliderElementVerticalClass)("animate",t.sliderElementAnimateClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[s.Gb([q]),s.Fb()],decls:29,vars:13,consts:[["ng5SliderElement","",1,"ng5-slider-span","ng5-slider-bar-wrapper","ng5-slider-left-out-selection"],["leftOuterSelectionBar",""],[1,"ng5-slider-span","ng5-slider-bar"],["ng5SliderElement","",1,"ng5-slider-span","ng5-slider-bar-wrapper","ng5-slider-right-out-selection"],["rightOuterSelectionBar",""],["ng5SliderElement","",1,"ng5-slider-span","ng5-slider-bar-wrapper","ng5-slider-full-bar"],["fullBar",""],["ng5SliderElement","",1,"ng5-slider-span","ng5-slider-bar-wrapper","ng5-slider-selection-bar"],["selectionBar",""],[1,"ng5-slider-span","ng5-slider-bar","ng5-slider-selection",3,"ngStyle"],["ng5SliderHandle","",1,"ng5-slider-span","ng5-slider-pointer","ng5-slider-pointer-min",3,"ngStyle"],["minHandle",""],["ng5SliderHandle","",1,"ng5-slider-span","ng5-slider-pointer","ng5-slider-pointer-max",3,"ngStyle"],["maxHandle",""],["ng5SliderLabel","",1,"ng5-slider-span","ng5-slider-bubble","ng5-slider-limit","ng5-slider-floor"],["floorLabel",""],["ng5SliderLabel","",1,"ng5-slider-span","ng5-slider-bubble","ng5-slider-limit","ng5-slider-ceil"],["ceilLabel",""],["ng5SliderLabel","",1,"ng5-slider-span","ng5-slider-bubble","ng5-slider-model-value"],["minHandleLabel",""],["ng5SliderLabel","",1,"ng5-slider-span","ng5-slider-bubble","ng5-slider-model-high"],["maxHandleLabel",""],["ng5SliderLabel","",1,"ng5-slider-span","ng5-slider-bubble","ng5-slider-combined"],["combinedLabel",""],["ng5SliderElement","",1,"ng5-slider-ticks",3,"hidden"],["ticksElement",""],["class","ng5-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ng5-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ng5-slider-span ng5-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ng5-slider-span ng5-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ng5-slider-span","ng5-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ng5-slider-span","ng5-slider-tick-legend",3,"innerHTML"]],template:function(e,t){1&e&&(s.bc(0,"span",0,1),s.Wb(2,"span",2),s.ac(),s.bc(3,"span",3,4),s.Wb(5,"span",2),s.ac(),s.bc(6,"span",5,6),s.Wb(8,"span",2),s.ac(),s.bc(9,"span",7,8),s.Wb(11,"span",9),s.ac(),s.Wb(12,"span",10,11),s.Wb(14,"span",12,13),s.Wb(16,"span",14,15),s.Wb(18,"span",16,17),s.Wb(20,"span",18,19),s.Wb(22,"span",20,21),s.Wb(24,"span",22,23),s.bc(26,"span",24,25),s.Wc(28,D,4,9,"span",26),s.ac()),2&e&&(s.Hb(6),s.Mb("ng5-slider-transparent",t.fullBarTransparentClass),s.Hb(3),s.Mb("ng5-slider-draggable",t.selectionBarDraggableClass),s.Hb(2),s.wc("ngStyle",t.barStyle),s.Hb(1),s.wc("ngStyle",t.minPointerStyle),s.Hb(2),s.Vc("display",t.range?"inherit":"none"),s.wc("ngStyle",t.maxPointerStyle),s.Hb(12),s.Mb("ng5-slider-ticks-values-under",t.ticksUnderValuesClass),s.wc("hidden",!t.showTicks),s.Hb(2),s.wc("ngForOf",t.ticks))},directives:function(){return[H,l.r,V,U,l.p,l.o,J,l.q]},styles:[".ng5-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-touch-action:pan-y;touch-action:pan-y}  .ng5-slider.with-legend{margin-bottom:40px}  .ng5-slider[disabled]{cursor:not-allowed}  .ng5-slider[disabled] .ng5-slider-pointer{cursor:not-allowed;background-color:#d8e0f3}  .ng5-slider[disabled] .ng5-slider-draggable{cursor:not-allowed}  .ng5-slider[disabled] .ng5-slider-selection{background:#8b91a2}  .ng5-slider[disabled] .ng5-slider-tick{cursor:not-allowed}  .ng5-slider[disabled] .ng5-slider-tick.ng5-slider-selected{background:#8b91a2}  .ng5-slider .ng5-slider-span{white-space:nowrap;position:absolute;display:inline-block}  .ng5-slider .ng5-slider-base{width:100%;height:100%;padding:0}  .ng5-slider .ng5-slider-bar-wrapper{left:0;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1}  .ng5-slider .ng5-slider-draggable{cursor:move}  .ng5-slider .ng5-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;border-radius:2px}  .ng5-slider .ng5-slider-bar-wrapper.ng5-slider-transparent .ng5-slider-bar{background:0 0}  .ng5-slider .ng5-slider-bar-wrapper.ng5-slider-left-out-selection .ng5-slider-bar{background:#df002d}  .ng5-slider .ng5-slider-bar-wrapper.ng5-slider-right-out-selection .ng5-slider-bar{background:#03a688}  .ng5-slider .ng5-slider-selection{z-index:2;background:#0db9f0;border-radius:2px}  .ng5-slider .ng5-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;border-radius:16px}  .ng5-slider .ng5-slider-pointer:after{content:'';width:8px;height:8px;position:absolute;top:12px;left:12px;border-radius:4px;background:#fff}  .ng5-slider .ng5-slider-pointer:hover:after{background-color:#fff}  .ng5-slider .ng5-slider-pointer.ng5-slider-active{z-index:4}  .ng5-slider .ng5-slider-pointer.ng5-slider-active:after{background-color:#451aff}  .ng5-slider .ng5-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px}  .ng5-slider .ng5-slider-bubble.ng5-slider-limit{color:#55637d}  .ng5-slider .ng5-slider-ticks{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none}  .ng5-slider .ng5-slider-ticks-values-under .ng5-slider-tick-value{top:auto;bottom:-36px}  .ng5-slider .ng5-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px}  .ng5-slider .ng5-slider-tick.ng5-slider-selected{background:#0db9f0}  .ng5-slider .ng5-slider-tick-value{position:absolute;top:-34px;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}  .ng5-slider .ng5-slider-tick-legend{position:absolute;top:24px;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);max-width:50px;white-space:normal}  .ng5-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;-ms-touch-action:pan-x;touch-action:pan-x}  .ng5-slider.vertical .ng5-slider-base{width:100%;height:100%;padding:0}  .ng5-slider.vertical .ng5-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px}  .ng5-slider.vertical .ng5-slider-bar{bottom:0;left:auto;width:4px;height:100%}  .ng5-slider.vertical .ng5-slider-pointer{left:-14px!important;top:auto;bottom:0}  .ng5-slider.vertical .ng5-slider-bubble{left:16px!important;bottom:0}  .ng5-slider.vertical .ng5-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1}  .ng5-slider.vertical .ng5-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px}  .ng5-slider.vertical .ng5-slider-tick-value{left:24px;top:auto;-webkit-transform:translate(0,-28%);transform:translate(0,-28%)}  .ng5-slider.vertical .ng5-slider-tick-legend{top:auto;right:24px;-webkit-transform:translate(0,-28%);transform:translate(0,-28%);max-width:none;white-space:nowrap}  .ng5-slider.vertical .ng5-slider-ticks-values-under .ng5-slider-tick-value{bottom:auto;left:auto;right:24px}  .ng5-slider *{-webkit-transition:none;transition:none}  .ng5-slider.animate .ng5-slider-bar-wrapper{-webkit-transition:all linear .3s;transition:all linear .3s}  .ng5-slider.animate .ng5-slider-selection{-webkit-transition:background-color linear .3s;transition:background-color linear .3s}  .ng5-slider.animate .ng5-slider-pointer{-webkit-transition:all linear .3s;transition:all linear .3s}  .ng5-slider.animate .ng5-slider-bubble{-webkit-transition:all linear .3s;transition:all linear .3s}  .ng5-slider.animate .ng5-slider-bubble.ng5-slider-limit{-webkit-transition:opacity linear .3s;transition:opacity linear .3s}  .ng5-slider.animate .ng5-slider-bubble.ng5-slider-combined{-webkit-transition:opacity linear .3s;transition:opacity linear .3s}  .ng5-slider.animate .ng5-slider-tick{-webkit-transition:background-color linear .3s;transition:background-color linear .3s}"]}),e})(),J=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Pb({type:e,selectors:[["ng5-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng5-slider-inner-tooltip"]],template:function(e,t){1&e&&(s.Wc(0,O,2,6,"ng-container",0),s.Wc(1,x,3,3,"ng-container",0)),2&e&&(s.wc("ngIf",t.template),s.Hb(1),s.wc("ngIf",!t.template))},directives:[l.q,l.u],styles:[".ng5-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]}),e})(),Z=(()=>{class e{}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},imports:[[l.c]]}),e})()},FBtj:function(e,t,i){"use strict";var n=i("oQYR");t.zipAll=function(e){return function(t){return t.lift(new n.ZipOperator(e))}}},FWf1:function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i("pshJ"),r=i("GiSu"),o=i("zB/H"),a=i("p//D"),c=i("n3uD"),l=i("MkmW"),u=function(e){function t(i,n,s){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=r.empty;break;case 1:if(!i){o.destination=r.empty;break}if("object"==typeof i){i instanceof t?(o.syncErrorThrowable=i.syncErrorThrowable,o.destination=i,i.add(o)):(o.syncErrorThrowable=!0,o.destination=new h(o,i));break}default:o.syncErrorThrowable=!0,o.destination=new h(o,i,n,s)}return o}return n(t,e),t.prototype[a.rxSubscriber]=function(){return this},t.create=function(e,i,n){var s=new t(e,i,n);return s.syncErrorThrowable=!1,s},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(o.Subscription);t.Subscriber=u;var h=function(e){function t(t,i,n,o){var a,c=e.call(this)||this;c._parentSubscriber=t;var l=c;return s.isFunction(i)?a=i:i&&(a=i.next,n=i.error,o=i.complete,i!==r.empty&&(l=Object.create(i),s.isFunction(l.unsubscribe)&&c.add(l.unsubscribe.bind(l)),l.unsubscribe=c.unsubscribe.bind(c))),c._context=l,c._next=a,c._error=n,c._complete=o,c}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,i=c.config.useDeprecatedSynchronousErrorHandling;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):l.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;l.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var i=function(){return e._complete.call(e._context)};c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,i),this.unsubscribe()):(this.__tryOrUnsub(i),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(i){if(this.unsubscribe(),c.config.useDeprecatedSynchronousErrorHandling)throw i;l.hostReportError(i)}},t.prototype.__tryOrSetError=function(e,t,i){if(!c.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(n){return c.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(l.hostReportError(n),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u);t.SafeSubscriber=h},FXL7:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("ZCeS");t.AsyncScheduler=function(e){function t(){e.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(t,e),t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}},t}(s.Scheduler)},FpXt:function(e,t,i){"use strict";var n=i("ofXK"),s=i("3Pt+"),r=i("dZIy"),o=i("+Cnu"),a=i("K3ix"),c=i("Lm2G"),l=i("Mfq2"),u=i("ZOsW"),h=i("hzby"),d=(i("mrSG"),i("fXoL"));let f=(()=>{class e{}return e.\u0275mod=d.Tb({type:e}),e.\u0275inj=d.Sb({factory:function(t){return new(t||e)}}),e})(),p=(()=>{class e{}return e.\u0275mod=d.Tb({type:e}),e.\u0275inj=d.Sb({factory:function(t){return new(t||e)}}),e})();var m=i("LSvS");i("dEu6"),i("XNiG"),i("VRyK"),i("xgIS"),i("HDdC"),i("eNwd"),i("LRne"),i("IzEk"),i("l7GE"),i("ZUHj"),i("GJmQ"),i("1G5W"),i("nYR2"),i("0Tit");let g=(()=>{let e=class{};return e.\u0275mod=d.Tb({type:e}),e.\u0275inj=d.Sb({factory:function(t){return new(t||e)}}),e})();i("2Vo4"),i("Cfvw"),i("EY2u"),i("D0XW"),i("vkgz"),i("lJxs"),i("eIep"),i("Kj3r"),i("/uUt"),i("Zy1z"),i("pLZG"),i("3UWI"),i("JIr8"),i("5+tZ"),i("jhN1");const _=new d.q("NG_SCROLLBAR_OPTIONS");var b;let y=(()=>{let e=b=class{static withConfig(e){return{ngModule:b,providers:[{provide:_,useValue:e}]}}};return e.\u0275mod=d.Tb({type:e}),e.\u0275inj=d.Sb({factory:function(t){return new(t||e)},imports:[[n.c,f,p,m.b,g]]}),e})();var v=i("EsRS"),F=i("JMRq"),k=i("IKD2"),w=i("qew9"),S=i("Kdsb"),T=i("3XJ7"),D=(i("lUod"),i("WyaX"));i("PqYM");let E=(()=>{class e{static forRoot(){return{ngModule:e,providers:[T.a,D.a]}}}return e.\u0275mod=d.Tb({type:e}),e.\u0275inj=d.Sb({factory:function(t){return new(t||e)},imports:[[n.c]]}),e})();var M=i("GPMA"),C=i("I5S5"),O=i("LwO5"),x=i("pxUr"),L=i("AytR"),j=i("jCJ1"),I=i("KN7V"),A=i("kUHs"),N=i("Dvla"),R=i("eO1q"),P=i("CwEU"),B=i("jLSX"),Y=i("wf0l"),H=i("mD6R");i.d(t,"a",(function(){return W}));const V={suppressScrollX:!0,wheelSpeed:.5};var U={theme:"dark"};let W=(()=>{class e{}return e.\u0275mod=d.Tb({type:e}),e.\u0275inj=d.Sb({factory:function(t){return new(t||e)},providers:[n.f,n.e,k.j,k.v,k.y,k.A,M.a,H.a,{provide:S.a,useValue:V},{provide:j.a,useValue:U}],imports:[[n.c,s.g,s.p,r.c.forRoot(),o.b.forRoot(),a.c.forRoot(),c.b.forRoot(),l.b.forRoot(),h.c.forRoot(),u.b,y,v.a,F.a,w.b,S.c,k.n,C.a,E.forRoot(),O.b,x.a.forRoot({apiKey:L.a.googleMapsKey,libraries:["places"]}),j.c,I.b,A.b.forRoot(),N.a,R.b,P.b,B.b,Y.a],s.g,s.p,r.c,o.b,a.c,c.b,l.b,h.c,A.b,u.b,y,v.a,F.a,w.b,F.a,S.c,C.a,E,O.b,x.a,R.b,P.b,B.b,Y.a]}),e})()},G0Uy:function(e,t,i){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},G2HO:function(e,t,i){"use strict";t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},GEfX:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.exhaustMap=function(e,t){return function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.resultSelector))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.project=i,this.resultSelector=n,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return n(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t=this.index++,i=this.destination;try{var n=this.project(e,t);this.hasSubscription=!0,this.add(r.subscribeToResult(this,n,e,t))}catch(s){i.error(s)}},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.destination;this.resultSelector?this.trySelectResult(e,t,i,n):r.next(t)},t.prototype.trySelectResult=function(e,t,i,n){var s=this.resultSelector,r=this.destination;try{var o=s(e,t,i,n);r.next(o)}catch(a){r.error(a)}},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(s.OuterSubscriber)},GJmQ:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(e,t=!1){return i=>i.lift(new r(e,t))}class r{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.inclusive))}}class o extends n.a{constructor(e,t,i){super(e),this.predicate=t,this.inclusive=i,this.index=0}_next(e){const t=this.destination;let i;try{i=this.predicate(e,this.index++)}catch(n){return void t.error(n)}this.nextOrComplete(e,i)}nextOrComplete(e,t){const i=this.destination;Boolean(t)?i.next(e):(this.inclusive&&i.next(e),i.complete())}}},GMZp:function(e,t,i){"use strict";t.isObject=function(e){return null!==e&&"object"==typeof e}},GPMA:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("fXoL"),s=i("jhN1");let r=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(s.b))},e.\u0275pipe=n.Ub({name:"safe",type:e,pure:!0}),e})()},GiSu:function(e,t,i){"use strict";var n=i("n3uD"),s=i("MkmW");t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;s.hostReportError(e)},complete:function(){}}},GyLc:function(e,t,i){"use strict";var n=i("gRDe");function s(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:n.noop}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return s(e)},t.pipeFromArray=s},H0zL:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.exhaust=function(){return function(e){return e.lift(new o)}};var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){e.call(this,t),this.hasCompleted=!1,this.hasSubscription=!1}return n(t,e),t.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(r.subscribeToResult(this,e)))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(s.OuterSubscriber)},H8ED:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,s;return"m"===i?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+e,s={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},HDdC:function(e,t,i){"use strict";var n=i("8Qeq"),s=i("7o/Q"),r=i("2QA8"),o=i("gRHU"),a=i("kJWO"),c=i("mCNh"),l=i("2fFW");i.d(t,"a",(function(){return u}));let u=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(e,t,i){const{operator:n}=this,a=function(e,t,i){if(e){if(e instanceof s.a)return e;if(e[r.a])return e[r.a]()}return e||t||i?new s.a(e,t,i):new s.a(o.a)}(e,t,i);if(a.add(n?n.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(n.a)(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=h(t))((t,i)=>{let n;n=this.subscribe(t=>{try{e(t)}catch(s){i(s),n&&n.unsubscribe()}},i,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.a](){return this}pipe(...e){return 0===e.length?this:Object(c.b)(e)(this)}toPromise(e){return new(e=h(e))((e,t)=>{let i;this.subscribe(e=>i=e,e=>t(e),()=>e(i))})}}return e.create=t=>new e(t),e})();function h(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HP3h:function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,s,r,o){var a=i(t),c=n[e][i(t)];return 2===a&&(c=c[s?0:1]),c.replace(/%d/i,t)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},HR75:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n,s=i("9AQC");!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(n||(n={}));var r=function(){function e(e){var t=this;this._state=n.PENDING,this._handlers=[],this._resolve=function(e){t._setResult(n.RESOLVED,e)},this._reject=function(e){t._setResult(n.REJECTED,e)},this._setResult=function(e,i){t._state===n.PENDING&&(Object(s.m)(i)?i.then(t._resolve,t._reject):(t._state=e,t._value=i,t._executeHandlers()))},this._attachHandler=function(e){t._handlers=t._handlers.concat(e),t._executeHandlers()},this._executeHandlers=function(){t._state!==n.PENDING&&(t._handlers.forEach(t._state===n.REJECTED?function(e){e.onrejected&&e.onrejected(t._value)}:function(e){e.onfulfilled&&e.onfulfilled(t._value)}),t._handlers=[])};try{e(this._resolve,this._reject)}catch(i){this._reject(i)}}return e.prototype.toString=function(){return"[object SyncPromise]"},e.resolve=function(t){return new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,i){i(t)}))},e.all=function(t){return new e((function(i,n){if(Array.isArray(t))if(0!==t.length){var s=t.length,r=[];t.forEach((function(t,o){e.resolve(t).then((function(e){r[o]=e,0==(s-=1)&&i(r)})).then(null,n)}))}else i([]);else n(new TypeError("Promise.all requires an array as input."))}))},e.prototype.then=function(t,i){var n=this;return new e((function(e,s){n._attachHandler({onfulfilled:function(i){if(t)try{return void e(t(i))}catch(n){return void s(n)}else e(i)},onrejected:function(t){if(i)try{return void e(i(t))}catch(n){return void s(n)}else s(t)}})}))},e.prototype.catch=function(e){return this.then((function(e){return e}),e)},e.prototype.finally=function(t){var i=this;return new e((function(e,n){var s,r;return i.then((function(e){r=!1,s=e,t&&t()}),(function(e){r=!0,s=e,t&&t()})).then((function(){r?n(s):e(s)}))}))},e}()},I55L:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=e=>e&&"number"==typeof e.length&&"function"!=typeof e},I5S5:function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return o}));var n=i("fXoL"),s=i("ofXK"),r=i("MO+k");let o=(()=>{let e=class{constructor(e){this.el=e,this.options={},this.plugins=[],this.responsive=!0,this.onDataSelect=new n.n}get data(){return this._data}set data(e){this._data=e,this.reinit()}ngAfterViewInit(){this.initChart(),this.initialized=!0}onCanvasClick(e){if(this.chart){let t=this.chart.getElementAtEvent(e),i=this.chart.getDatasetAtEvent(e);t&&t[0]&&i&&this.onDataSelect.emit({originalEvent:e,element:t[0],dataset:i})}}initChart(){let e=this.options||{};e.responsive=this.responsive,e.responsive&&(this.height||this.width)&&(e.maintainAspectRatio=!1),this.chart=new r(this.el.nativeElement.children[0].children[0],{type:this.type,data:this.data,options:this.options,plugins:this.plugins})}getCanvas(){return this.el.nativeElement.children[0].children[0]}getBase64Image(){return this.chart.toBase64Image()}generateLegend(){if(this.chart)return this.chart.generateLegend()}refresh(){this.chart&&this.chart.update()}reinit(){this.chart&&(this.chart.destroy(),this.initChart())}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.initialized=!1,this.chart=null)}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l))},e.\u0275cmp=n.Pb({type:e,selectors:[["p-chart"]],inputs:{options:"options",plugins:"plugins",responsive:"responsive",data:"data",type:"type",width:"width",height:"height"},outputs:{onDataSelect:"onDataSelect"},decls:2,vars:6,consts:[[2,"position","relative"],[3,"click"]],template:function(e,t){1&e&&(n.bc(0,"div",0),n.bc(1,"canvas",1),n.jc("click",(function(e){return t.onCanvasClick(e)})),n.ac(),n.ac()),2&e&&(n.Vc("width",t.responsive&&!t.width?null:t.width)("height",t.responsive&&!t.height?null:t.height),n.Hb(1),n.Ib("width",t.responsive&&!t.width?null:t.width)("height",t.responsive&&!t.height?null:t.height))},encapsulation:2}),e})(),a=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[s.c]]}),e})()},IBtZ:function(e,t,i){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(i("wd/R"))},IEtF:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("fXoL");let s=(()=>{class e{constructor(){}initialize(e){if(!this.initialized){const t=document.createElement("script");t.referrerPolicy="no-referrer-when-downgrade",t.type="text/javascript",t.async=!0,t.src=`https://t.goadservices.com/tags/${e}?+url='+${encodeURIComponent(location.href)}`,document.body.insertAdjacentElement("beforeend",t),this.goPlKey=e,this.initialized=!0}}registrationTracking(e){if(this.initialized){var t=t||[];try{t.push(["_LEAD","947aee45-20c8-46e3-9552-644bc89cbc6b",{identifier:e.registration_identifier}])}catch(i){}!function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=`https://t.goadservices.com/tags/${this.goPlKey}?+url='+${encodeURIComponent(location.href)}`,e.setAttribute("referrerpolicy","no-referrer-when-downgrade");var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}}depositTracking(e){if(this.initialized){var t=t||[];try{t.push(["_ORDER",{identifier:e.transaction_identifier,amount:e.amount},["deposit"]]),function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=`https://t.goadservices.com/engine/${this.goPlKey}${encodeURIComponent(location.href)}`,__goe.setAttribute("referrerpolicy","no-referrer-when-downgrade");var t=document.cookie.indexOf("__goadservices=");if(-1!=t){t+=15;var i=document.cookie.indexOf(";",t);-1==i&&(i=document.cookie.length),e.src+="?id="+document.cookie.substring(t,i)}var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)}()}catch(i){}}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},IKD2:function(e,t,i){"use strict";i.d(t,"a",(function(){return _e})),i.d(t,"b",(function(){return L})),i.d(t,"c",(function(){return ce})),i.d(t,"d",(function(){return J})),i.d(t,"e",(function(){return X})),i.d(t,"f",(function(){return M})),i.d(t,"g",(function(){return ve})),i.d(t,"h",(function(){return be})),i.d(t,"i",(function(){return ye})),i.d(t,"j",(function(){return w})),i.d(t,"k",(function(){return Fe})),i.d(t,"l",(function(){return S})),i.d(t,"m",(function(){return T})),i.d(t,"n",(function(){return W})),i.d(t,"o",(function(){return R})),i.d(t,"p",(function(){return ue})),i.d(t,"q",(function(){return he})),i.d(t,"r",(function(){return I})),i.d(t,"s",(function(){return F})),i.d(t,"t",(function(){return ke})),i.d(t,"u",(function(){return Te})),i.d(t,"v",(function(){return v})),i.d(t,"w",(function(){return N})),i.d(t,"x",(function(){return D})),i.d(t,"y",(function(){return H})),i.d(t,"z",(function(){return Z})),i.d(t,"A",(function(){return V})),i.d(t,"B",(function(){return Y})),i.d(t,"C",(function(){return se})),i.d(t,"D",(function(){return re})),i.d(t,"E",(function(){return ae})),i.d(t,"F",(function(){return oe})),i.d(t,"G",(function(){return B})),i.d(t,"H",(function(){return O})),i.d(t,"I",(function(){return U})),i.d(t,"J",(function(){return pe})),i.d(t,"K",(function(){return k})),i.d(t,"L",(function(){return de})),i.d(t,"M",(function(){return ie})),i.d(t,"N",(function(){return ne})),i.d(t,"O",(function(){return ge})),i.d(t,"P",(function(){return me}));var n=i("fXoL"),s=i("wd/R"),r=i("tk/3"),o=i("jtHE"),a=i("Cfvw"),c=i("XNiG"),l=i("1uah"),u=i("z6cu"),h=i("tS1D"),d=i("IzEk"),f=i("lJxs"),p=(i("Kj3r"),i("JIr8")),m=i("ofXK"),g=i("LvDl"),_=i("BOF4"),b=i("3n9G");const y=s;let v=(()=>{class e{transform(e,...t){return t&&t[0]?y(e).format(t[0]):y(e).calendar()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"moment",type:e,pure:!0}),e})(),F=(()=>{class e{constructor(e){this.http=e,this.translations={},this.sportTranslations={},this.bingoTranslations={},this.kenoTranslations={},this.vgTranslations={},this.casinoTranslations={},this.accountTranslations={},this.language=void 0,this.languageSubj=new o.a(1),this.language$=this.languageSubj.asObservable(),this.languages=[]}loadLocale(e){try{this.loadAngularLocale(e.Culture).then(e=>{this.localeDefault=e.default,Object(m.J)(e.default)})}catch(t){try{this.loadAngularLocale(e.id).then(e=>{this.localeDefault=e.default,Object(m.J)(e.default)})}catch(t){try{this.loadAngularLocale(e).then(e=>{this.localeDefault=e.default,Object(m.J)(e.default)})}catch(t){console.warn(`Unable to find angular locale for '${e}' loading 'en' as fallback. Please map it in localization.service.`),this.loadAngularLocale("en").then(e=>{this.localeDefault=e.default,Object(m.J)(e.default)})}}}}initialize(e,t){const i=new o.a(1);return this.config=e,this.languages=this.config.languages,this.language=void 0!==Object(g.find)(this.languages,e=>e.id===t)?t:this.config.defaultLanguageId,this.changeLanguage(Object(g.find)(this.languages,e=>e.id===this.language)).subscribe(()=>{i.next(),i.complete()},e=>{i.error(e),i.complete()}),i.asObservable()}changeLanguage(e){e||!(e=Object(g.find)(this.languages,e=>e.Id===this.config.defaultLanguageId))&&this.languages.length>0&&(e=this.languages[0]);const t=new o.a(1);return this.http.get(`${this.config.api.url}/translation/${e.id}/${this.config.clientId}`,{headers:{"Device-Type":`${this.config.api.headers.deviceType}`}}).pipe(Object(h.a)(1e5)).subscribe(i=>{this.language=e.id,this.languageSubj.next(this.language),this.momentLocale=this.getMomentLocale(e.id),Object(s.locale)(this.momentLocale),this.loadLocale(e),this.translations={},Object(g.each)(i,e=>{this.translations[e.tk]=e.t}),t.next(),t.complete()},e=>{t.error(e),t.complete(),console.error(e)}),t.asObservable()}loadModuleTranslations(e){const t=new o.a(1),i=this.getModuleObj(e);return Object.keys(i).length?(t.next(),t.complete()):this.http.get(`${this.config.api.url}/translation/${this.language}/${this.config.clientId}?modules=${e}`,{headers:{"Device-Type":`${this.config.api.headers.deviceType}`}}).pipe(Object(h.a)(1e5)).subscribe(i=>{let n={};Object(g.each)(i,e=>{n[e.tk]=e.t,this.translations[e.tk]=e.t}),this.setModuleObj(e,n),t.next(),t.complete()},e=>{t.error(e),t.complete(),console.error(e)}),t.asObservable()}getModuleObj(e){switch(e){case"sport":return this.sportTranslations;case"bingo":return this.bingoTranslations;case"keno":return this.kenoTranslations;case"vg":return this.vgTranslations;case"casino":return this.casinoTranslations;case"account":return this.accountTranslations;default:return this.translations}}setModuleObj(e,t){switch(e){case"sport":this.sportTranslations=t;break;case"bingo":this.bingoTranslations=t;break;case"keno":this.kenoTranslations=t;break;case"vg":this.vgTranslations=t;break;case"casino":this.casinoTranslations=t;break;case"account":this.accountTranslations=t}}translate(e){return this.translations[e]||e}getMomentLocale(e){switch(e.toLowerCase()){case"zht":return"zh-cn";case"es-co":return"es";case"se":return"sv";case"srl":return"sr";case"sr":return"sr-cyrl";default:return e}}loadAngularLocale(e){switch(e.toLowerCase()){case"en":return this.angularLocale=e,i.e(39).then(i.t.bind(null,"tAZD",7));case"fr":return this.angularLocale=e,i.e(42).then(i.t.bind(null,"Hfs6",7));case"zht":return this.angularLocale="zh",i.e(50).then(i.t.bind(null,"Kd/A",7));case"es-CO":return this.angularLocale=e,i.e(40).then(i.t.bind(null,"AQDP",7));case"es":return this.angularLocale=e,i.e(41).then(i.t.bind(null,"2Yyj",7));case"se":return this.angularLocale=e,i.e(49).then(i.t.bind(null,"RpMq",7));case"srl":return this.angularLocale="sr-Latn",i.e(48).then(i.t.bind(null,"CViI",7));case"bs":return this.angularLocale=e,i.e(37).then(i.t.bind(null,"B6Dc",7));case"hr":return this.angularLocale=e,i.e(43).then(i.t.bind(null,"Tt1O",7));case"pl":return this.angularLocale=e,i.e(44).then(i.t.bind(null,"BAOO",7));case"ro":return this.angularLocale=e,i.e(46).then(i.t.bind(null,"cGRD",7));case"cs":return this.angularLocale=e,i.e(38).then(i.t.bind(null,"4mcN",7));case"ru":return this.angularLocale=e,i.e(47).then(i.t.bind(null,"wq8c",7));case"pt":return this.angularLocale=e,i.e(45).then(i.t.bind(null,"vT00",7));case"ar":return this.angularLocale="ar-AE",i.e(36).then(i.t.bind(null,"8ND1",7));default:throw this.angularLocale="en",new Error(`Locale: ${e} not found`)}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(r.a))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(r.a))},token:e,providedIn:"root"}),e})(),k=(()=>{class e{constructor(e){this.localizationService=e}transform(e,...t){return(this.lastValue!==e||this.lastLanguage!==this.localizationService.language||this.lastArgs!==t||t&&this.lastArgs&&t[0]!==this.lastArgs[0])&&(this.lastValue=e,this.lastArgs=t,this.lastLanguage=this.localizationService.language,this.lastTranslate=t&&!0===t[0]?this.localizationService.translate(e).toUpperCase():this.localizationService.translate(e)),this.lastTranslate}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(F))},e.\u0275pipe=n.Ub({name:"translate",type:e,pure:!1}),e})(),w=(()=>{class e{constructor(e,t,i){this.locale=e,this.localizationService=t,this.decimalPipe=i}transform(e,...t){if("-"===e)return"-";const i=t[0]?t[0]:"EUR";let n=t[1]||0===t[1]?t[1]:2;const s=t[2]?t[2]:0,r=t[3]?t[3]:n;"string"!=typeof n&&(n=n.toString());const o=this.decimalPipe.transform(e,`1.${n}-${r}`,this.localizationService.angularLocale),a=this.currencyHelper(i);return 0==s?1===a.length?`${a}${o}`:`${a} ${o}`:1===a.length?`${o}${a}`:`${o} ${a}`}currencyHelper(e){return"lei"==e.toLowerCase()||"RON"===e?"RON":"LRD"==e?"LD$":Object(m.C)(e,"narrow")}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.v),n.Vb(F),n.Vb(m.f))},e.\u0275pipe=n.Ub({name:"currency",type:e,pure:!0}),e})(),S=(()=>{class e extends m.e{constructor(e,t){super(e),this.localizationService=t}transform(e,...t){return super.transform(e,t[0],t[1],this.localizationService.angularLocale)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.v),n.Vb(F))},e.\u0275pipe=n.Ub({name:"date",type:e,pure:!0}),e})(),T=(()=>{class e extends m.f{constructor(e,t){super(e),this.locale=e,this.localizationService=t}transform(e,...t){return super.transform(e,t[0],this.localizationService.angularLocale)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.v),n.Vb(F))},e.\u0275pipe=n.Ub({name:"decimal",type:e,pure:!0}),e})(),D=(()=>{class e{constructor(e,t){this.localizationService=e,this.decimalPipe=t}transform(e,...t){return this.formatOdd(e,t[0]?t[0]:"decimal",t[1]?t[1]:0,t[2]?t[2]:1,!!t[3]&&t[3])}formatOdd(e,t,i,n,s){let r=e;if(void 0!==i&&0!==i&&(r=this.calculateOdds(r,i)),r<=1||void 0===r||""===r||"-"===r||r<n||null==r)return"-";let o=r<10?2:r<100?1:0;if(s&&(o=s),void 0===t&&(t="decimal"),"decimal"===t)return this.decimalPipe.transform(r,`1.${o}-${o}`,this.localizationService.angularLocale);if("decimalv2"===t){let e=2;return this.decimalPipe.transform(r,`1.${e}-${e}`,this.localizationService.angularLocale)}if("hongkong"===t)return r-=1,this.decimalPipe.transform(r,"1.2-2",this.localizationService.angularLocale);if("indo"===t)return r-=1,r>=1?this.decimalPipe.transform(r,`1.${o}-${o}`,this.localizationService.angularLocale):(r=1/r*-1,this.decimalPipe.transform(r,`1.${o}-${o}`,this.localizationService.angularLocale));if("malay"===t){const e=r-1;return o=3,r>10?o=5:r>100?o=6:r>1e3?o=7:r>1e4&&(o=8),this.decimalPipe.transform(e<=1?e:1/e*-1,`1.${o}-${o}`,this.localizationService.angularLocale)}{const e=Number(r);if("american"===t)return e>=2?(100*(e-1)).toFixed(0):"-"+(100/(e-1)).toFixed(0);if("fractional"===t)return this.toFraction(e)}return"-"}calculateOdds(e,t){if(void 0!==e&&""!==e&&"-"!==e&&0!==t){const i=(e-1)*(1+t/100)+1,n=parseFloat(((i%.05+.05)%.05).toFixed(3));return n>.02?(i+(.05-n)).toFixed(2):(i-n).toFixed(2)}return e}toFraction(e){let t=1e4*((e=parseFloat(e).toFixed(2))-1),i=1e4;t=Math.round(t),i=Math.round(i);const n=this.reduce(t,i);return t=n[0],i=n[1],t+"/"+i}reduce(e,t){const i=new Array(2),n=this.GCD(e,t);return i[0]=e/n,i[1]=t/n,i}GCD(e,t){let i,n;if(e<t)i=t,n=e;else if(e>t)i=e,n=t;else if(e===t)return e;for(;;){if(0===n)return i;{const e=n;n=i%n,i=e}}}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(F),n.Vb(T))},e.\u0275pipe=n.Ub({name:"odd",type:e,pure:!0}),e})();class E{constructor(e,t,i,n,s,r){this._authRefreshInterval=0,this._autoRefresh=!1,this._updateInProgress=void 0,this._loadCallback=e,this._cacheValidCallback=t,this._duration=n,this._loadNotification=i,this._authRefreshInterval=r,this.autoRefresh=s}get cachedItem(){return this._cachedItem}get(){const e=new o.a(1);return!this._timestamp||this._timestamp&&this._timestamp.valueOf()+this._duration<(new Date).valueOf()||this._cachedItem&&!this._cacheValidCallback(this._cachedItem)?(this._updateInProgress||(this._updateInProgress=this.update().pipe(Object(d.a)(1))),this._updateInProgress.subscribe(t=>{this._updateInProgress=void 0,e.next(this._cachedItem),e.complete()},t=>{this._updateInProgress=void 0,e.error(t),e.complete()})):(e.next(this._cachedItem),e.complete()),e.asObservable()}update(){const e=new o.a(1);return this._loadCallback().subscribe(t=>{this._cachedItem=t,this._timestamp=new Date,this._loadNotification&&this._loadNotification.next(this._cachedItem),e.next(t),e.complete()},t=>{e.error(t),e.complete(),console.error(t)}),e.asObservable()}get autoRefresh(){return this._autoRefresh}set autoRefresh(e){e!==this.autoRefresh&&(this._autoRefresh=e,e?this._authRefreshInterval&&(this.intervalHandle=setInterval(()=>{this.update()},this._authRefreshInterval)):this.intervalHandle&&clearInterval(this.intervalHandle))}}let M=(()=>{class e{constructor(){}camelCaseObject(e){return"string"==typeof e?e:this.changeKeys(this.camelCase.bind(this),e)}changeKeys(e,t){let i;return Array.isArray(t)?t.map(t=>"string"==typeof t?t:this.changeKeys(e,t)):"object"==typeof t&&null!==t?(i=Object.keys(t),i.map(t=>e(t)).reduce((n,s,r)=>{const o=this.changeKeys(e,t[i[r]]);return n[s]=o,n},{})):t}preserveCamelCase(e){let t=!1,i=!1,n=!1;for(let s=0;s<e.length;s++){const r=e[s];t&&/[a-zA-Z]/.test(r)&&r.toUpperCase()===r?(e=e.slice(0,s)+"-"+e.slice(s),t=!1,n=i,i=!0,s++):i&&n&&/[a-zA-Z]/.test(r)&&r.toLowerCase()===r?(e=e.slice(0,s-1)+"-"+e.slice(s-1),n=i,i=!1,t=!0):(t=r.toLowerCase()===r&&r.toUpperCase()!==r,n=i,i=r.toUpperCase()===r&&r.toLowerCase()!==r)}return e}camelCase(e,t={}){if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");return t=Object.assign({pascalCase:!1},t),0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=this.preserveCamelCase(e)),i=e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(e,t)=>t.toUpperCase()).replace(/\d+(\w|$)/g,e=>e.toUpperCase()),t.pascalCase?i.charAt(0).toUpperCase()+i.slice(1):i);var i}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();class C{constructor(e,t){this.hubName=e,this.options=t,this.globalConnections=[],this.connection=this.getConnection(t),this.proxy=this.connection.createHubProxy(e),t&&t.listeners&&Object(g.each)(t.listeners,(e,t)=>{this.on(t,e)}),t&&t.methods&&Object(g.each)(t.methods,e=>{this[e]=function(){const t=$.makeArray(arguments);return t.unshift(e),this.invoke.apply(this,t)}}),t&&t.queryParams&&(this.connection.qs=t.queryParams),t&&t.errorHandler&&this.connection.error(t.errorHandler),t&&t.hubDisconnected&&this.connection.disconnected(t.hubDisconnected),t&&t.stateChanged&&this.connection.stateChanged(t.stateChanged),this.connect$=Object(a.a)(this.connect())}getConnectionReference(){return this.connection}on(e,t){this.proxy.on(e,t)}invoke(e,t){return this.proxy.invoke.apply(this.proxy,arguments)}disconnect(){this.connection.stop()}connect(){return this.connection.start(this.options.transport?{transport:this.options.transport}:null)}initNewConnection(e){let t=null;return t=e&&e.rootPath?$.hubConnection(e.rootPath,{useDefaultPath:!1}):$.hubConnection(),t.logging=!(!e||!e.logging),t}getConnection(e){return e&&!1===e.useSharedConnection?this.initNewConnection(e):void 0===this.globalConnections[e.rootPath]?this.globalConnections[e.rootPath]=this.initNewConnection(e):this.globalConnections[e.rootPath]}}let O=(()=>{class e{constructor(){}get(e){const t=new o.a(1),i=localStorage.getItem(e);return t.next(i?JSON.parse(i):void 0),t.complete(),t.asObservable()}set(e,t){const i=new o.a(1),n=JSON.stringify(t);return localStorage.setItem(e,n),i.next(t),i.complete(),i.asObservable()}remove(e){const t=new o.a(1);return localStorage.removeItem(e),t.next(void 0),t.complete(),t.asObservable()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const x=_;let L=(()=>{class e{constructor(e,t){this.http=e,this.storage=t,this.refreshTokenSubject=void 0,this.loggedInSubject=new o.a(1),this.authSubject=new c.a,this.logoutMembershipSubject=new c.a,this.refreshTokenErrorSubject=new c.a,this.loggedIn$=this.loggedInSubject.asObservable(),this.authorization$=this.authSubject.asObservable(),this.logoutMembership$=this.logoutMembershipSubject.asObservable(),this.refreshTokenError$=this.refreshTokenErrorSubject.asObservable()}initialize(e){const t=new o.a(1);this.config=e;let i=localStorage.getItem("app:auth:Auth");return i?(i=JSON.parse(i),this.auth=i,this.refreshToken().subscribe(e=>{e||this.refreshTokenErrorSubject.next(i.membershipType),t.next(!0),t.complete(),this.loggedInSubject.next(this.loggedIn)},e=>{t.next(!1),t.complete(),e.status&&-1==[404,500].indexOf(e.status)&&this.refreshTokenErrorSubject.next(this.auth.membershipType),this.loggedInSubject.next(this.loggedIn)})):(t.next(!1),t.complete(),this.loggedInSubject.next(this.loggedIn)),t.asObservable()}get authToken(){return this.auth?this.auth.token:""}get getAuth(){return this.auth}get loggedIn(){return null!=this.auth}login(e,t,i,n){this.storage.remove("app:auth:Auth"),this.logoutMembership();const s=new c.a;let r=`grant_type=password&username=${e}&password=${encodeURIComponent(t)}&client_id=${this.config.api.clientId}&terminal_type=${i}`,o=this.prepareHeaders(n);return null!==n?r+=`&terminal_id=${n}`:delete o.TerminalId,this.http.post(`${this.config.api.url}token`,r,{headers:o}).subscribe(e=>{this.auth=this.createAuth(e),"1"!=i&&(this.storage.set("app:auth:Auth",this.auth),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in)),s.next(this.auth),s.complete(),this.loggedInSubject.next(!0),this.authSubject.next(e)},e=>{s.error(e),s.complete()}),s.asObservable()}loginPC(e){const t=new c.a;null==localStorage.getItem("app:auth:Auth")&&(t.error({err:"NOT_LOGGED_IN",status:401}),t.complete());let i=`grant_type=anonymous_pc&client_id=${this.config.api.anonymousClientId}&pc_id=${e}&terminal_id=${this.auth.terminalId}`,n=this.prepareHeaders(this.auth.terminalId);return this.http.post(`${this.config.api.url}token`,i,{headers:n}).subscribe(e=>{this.auth=this.createAuth(e),this.storage.set("app:auth:Auth",this.auth),t.next(this.auth),t.complete(),this.loggedInSubject.next(!0)},e=>{t.error(e),t.complete()}),t.asObservable()}loginWithPin(e,t,i){this.storage.remove("app:auth:Auth"),this.logoutMembership();const n=new c.a;let s=`grant_type=attendant_pin&user_pin=${e}&client_id=${this.config.api.clientId}&terminal_type=${t}`,r=this.prepareHeaders(i);return i?s+=`&terminal_id=${i}`:delete r.TerminalId,this.http.post(`${this.config.api.url}token`,s,{headers:r}).subscribe(e=>{this.auth=this.createAuth(e),this.storage.set("app:auth:Auth",this.auth),n.next(this.auth),n.complete(),this.loggedInSubject.next(!0),this.authSubject.next(e)},e=>{n.error(e),n.complete()}),n.asObservable()}loginWithPinCache(e,t,i){const n=new c.a;let s=`grant_type=attendant_pin&user_pin=${e}&client_id=${this.config.api.clientId}&terminal_type=${t}`,r=this.prepareHeaders(i);return i?s+=`&terminal_id=${i}`:delete r.TerminalId,this.http.post(`${this.config.api.url}token`,s,{headers:r}).subscribe(e=>{const t=this.createAuth(e);n.next(t),n.complete(),this.authSubject.next(e)},e=>{n.error(e),n.complete()}),n.asObservable()}loginAttendantWithCardCache(e,t,i){const n=new c.a;let s=`grant_type=sc&card_code=${e}&client_id=${this.config.api.clientId}&terminal_type=${t}`,r=this.prepareHeaders(i);return i?s+=`&terminal_id=${i}`:delete r.TerminalId,this.http.post(`${this.config.api.url}token`,s,{headers:r}).subscribe(e=>{const t=this.createAuth(e);n.next(t),n.complete(),this.authSubject.next(e)},e=>{n.error(e),n.complete()}),n.asObservable()}integrationLogin(e,t){this.storage.remove("app:auth:Auth"),this.logoutMembership();const i=new c.a;let n=`grant_type=integration_${t}&username=${e.username}&user_id=${e.userid}&utc_ticks=${e.utcticks}&currency_id=${e.currencyid}&signature=${encodeURIComponent(decodeURIComponent(e.signature))}&client_id=${this.config.api.clientId}`;return e.shopid&&(n=`${n}&shop_id=${e.shopid}`),this.http.post(`${this.config.api.url}token`,n,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).subscribe(t=>{this.auth=this.createAuth(t),this.isShop=e.shopid,this.storage.set("app:auth:Auth",this.auth),i.next(this.auth),i.complete(),this.loggedInSubject.next(!0)},e=>{i.error(e),i.complete()}),i.asObservable()}registrationLogin(e){this.storage.remove("app:auth:Auth");const t=new c.a;return this.http.post(`${this.config.api.url}token`,`grant_type=users_authorization_codes&code=${e}&client_id=${this.config.api.clientId}`,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).subscribe(e=>{this.auth=this.createAuth(e),this.storage.set("app:auth:Auth",this.auth),t.next(this.auth),t.complete(),this.loggedInSubject.next(!0)},e=>{t.error(e),t.complete()}),t.asObservable()}rfidLogin(e,t,i){this.storage.remove("app:auth:Auth"),this.logoutMembership();const n=new c.a;let s=`grant_type=rfid&rfid_code=${e}&client_id=${this.config.api.clientId}&terminal_type=${t}`;return i&&(s+=`&terminal_id=${i}`),this.http.post(`${this.config.api.url}token`,s,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).subscribe(e=>{this.auth=this.createAuth(e),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in),this.storage.set("app:auth:Auth",this.auth),n.next(this.auth),n.complete(),this.loggedInSubject.next(!0),this.authSubject.next(e)},e=>{n.error(e),n.complete()}),n.asObservable()}smartCardLogin(e,t,i){this.storage.remove("app:auth:Auth"),this.logoutMembership();const n=new c.a;let s=`grant_type=sc&card_code=${e.code}&client_id=${this.config.api.clientId}&terminal_type=${t}`;e.pin&&(s=`grant_type=sc_pin&card_code=${e.code}&user_pin=${e.pin}&client_id=${this.config.api.clientId}&terminal_type=${t}`);let r=this.prepareHeaders(i);return i&&(s+=`&terminal_id=${i}`),this.http.post(`${this.config.api.url}token`,s,{headers:r}).subscribe(e=>{this.auth=this.createAuth(e),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in),this.storage.set("app:auth:Auth",this.auth),n.next(this.auth),n.complete(),this.authSubject.next(e),this.loggedInSubject.next(!0)},e=>{n.error(e),n.complete()}),n.asObservable()}qrCodeLogin(e,t,i){this.storage.remove("app:auth:Auth"),this.logoutMembership();const n=new c.a;let s=`grant_type=casino_auth_token&auth_token=${encodeURIComponent(e)}&client_id=${this.config.api.clientId}&terminal_type=${t}`,r=this.prepareHeaders(i);return null!==i?s+=`&terminal_id=${i}`:delete r.TerminalId,this.http.post(`${this.config.api.url}token`,s,{headers:r}).subscribe(e=>{this.auth=this.createAuth(e,!0),"1"!=t&&(this.storage.set("app:auth:Auth",this.auth),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in)),n.next(this.auth),n.complete(),this.loggedInSubject.next(!0),this.authSubject.next(e)},e=>{n.error(e),n.complete()}),n.asObservable()}casinoIntegrationLogin(e,t,i,n,s=!1){this.storage.remove("app:auth:Auth"),this.logoutMembership();const r=new c.a;let o=`grant_type=integration_casino&${s?"card_id":"username"}=${encodeURIComponent(e)}&user_pin=${encodeURIComponent(t)}&client_id=${this.config.api.clientId}&terminal_type=${i}`,a={"Content-Type":"application/x-www-form-urlencoded",TerminalId:`${n}`};return null!==n?o+=`&terminal_id=${n}`:delete a.TerminalId,this.http.post(`${this.config.api.url}token`,o,{headers:a}).subscribe(e=>{this.auth=this.createAuth(e,!0),"1"!=i&&(this.storage.set("app:auth:Auth",this.auth),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in)),r.next(this.auth),r.complete(),this.loggedInSubject.next(!0),this.authSubject.next(e)},e=>{r.error(e),r.complete()}),r.asObservable()}pidLogin(e,t,i,n,s){this.storage.remove("app:auth:Auth"),this.logoutMembership();const r=new c.a;let o=`grant_type=pid_barcode&${e?"barcode":"user_pid"}=${e||t}&user_pin=${i}&client_id=${this.config.api.clientId}&terminal_type=${n}`,a=this.prepareHeaders(s);return null!==s?o+=`&terminal_id=${s}`:delete a.TerminalId,this.http.post(`${this.config.api.url}token`,o,{headers:a}).subscribe(e=>{this.auth=this.createAuth(e),"1"!=n&&(this.storage.set("app:auth:Auth",this.auth),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in)),r.next(this.auth),r.complete(),this.loggedInSubject.next(!0),this.authSubject.next(e)},e=>{r.error(e),r.complete()}),r.asObservable()}refreshToken(){let e;return this.refreshTokenSubject?e=this.refreshTokenSubject.asObservable():(this.refreshTokenSubject=new o.a(1),e=this.refreshTokenSubject.asObservable(),this.auth?this.http.post(`${this.config.api.url}token`,`grant_type=refresh_token&refresh_token=${this.auth.refreshToken}&client_id=${this.auth.clientId}&terminal_type=${this.auth.membershipType}`,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).subscribe(e=>{e||this.refreshTokenErrorSubject.next(this.auth?this.auth.membershipType:"8"),this.auth=this.createAuth(e),this.config.refreshTokenTimer&&this.listenRefreshToken(e.expires_in),this.storage.set("app:auth:Auth",this.auth),this.refreshTokenSubject.next(!0),this.refreshTokenSubject.complete(),this.refreshTokenSubject=void 0,this.authSubject.next(e)},e=>{e.status&&-1==[404,500].indexOf(e.status)&&this.refreshTokenErrorSubject.next(this.auth.membershipType),"8"!=this.auth.membershipType&&this.logout(),this.refreshTokenSubject.next(!1),this.refreshTokenSubject.complete(),this.refreshTokenSubject=void 0}):(this.logout(),this.refreshTokenSubject.next(!1),this.refreshTokenSubject.complete(),this.refreshTokenSubject=void 0)),e}refreshTerminalToken(e){const t=new o.a(1);return this.http.post(`${this.config.api.url}token`,`grant_type=refresh_token&refresh_token=${e.refreshToken}&client_id=${e.clientId}&terminal_type=${e.membershipType}`,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).subscribe(i=>{const n=x(i.access_token);t.next({token:i.access_token,role:n.role,refreshToken:i.refresh_token,terminalId:e.terminalId,clientId:e.clientId,username:e.username,userId:n.user_id,membershipType:e.membershipType,membershipTypeToken:e.membershipTypeToken,expiration:n.exp}),t.complete()},e=>{t.next(null),t.complete()}),t.asObservable()}logout(){this.logoutMembership(!0),this.auth=void 0,this.loggedInSubject.next(!1),this.storage.remove("app:auth:Auth"),this.clearRefreshInterval()}terminalAuthorization(e,t=!0,i=!1){this.storage.remove("app:auth:Auth"),this.auth=this.createAuth(e),(i||this.config&&this.config.refreshTokenTimer)&&this.listenRefreshToken(e.expires_in),this.storage.set("app:auth:Auth",this.auth),t&&this.refreshToken().subscribe(e=>{this.loggedInSubject.next(this.loggedIn)},e=>{this.loggedInSubject.next(this.loggedIn)})}logoutMembership(e){this.auth&&this.logoutMembershipSubject.next({membership:+this.auth.membershipType,clearTicketSelection:e})}get isAttendant(){return this.loggedIn&&(1==this.auth.membershipType||8==this.auth.membershipType||9==this.auth.membershipType)}clearRefreshInterval(){this.refreshTokenInterval&&(clearInterval(this.refreshTokenInterval),this.refreshTokenInterval=null)}listenRefreshToken(e){this.clearRefreshInterval(),setTimeout(()=>{this.refreshTokenInterval=setInterval(()=>{this.refreshToken()},1e3*e*.95)},0)}prepareHeaders(e){let t={"Content-Type":"application/x-www-form-urlencoded",TerminalId:`${e}`};return this.config.gaid&&(t=Object.assign({},t,{GAID:`${this.config.gaid}`})),t}createAuth(e,t=!1){const i=x(e.access_token);return{token:e.access_token,role:i.role,refreshToken:e.refresh_token,terminalId:e.terminal_id,clientId:e.client_id,username:i.unique_name,userId:i.user_id,membershipType:i.membership_type,membershipTypeToken:i.membership_type,expiration:i.exp,baumCasinoUser:t,externalUserId:i.external_user_id,integrationToken:i.integration_token}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(r.a),n.fc(O))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(r.a),Object(n.fc)(O))},token:e,providedIn:"root"}),e})(),j=(()=>{class e{constructor(e,t,i){this.localizationService=e,this.authService=t,this.camelcaseObjectService=i,this._registeredExtendedMatchIds=new Set,this._sportsUpdateSubject=new c.a,this.sportUpdate$=this._sportsUpdateSubject.asObservable(),this._matchesUpdateSubject=new c.a,this.matchesUpdate$=this._matchesUpdateSubject.asObservable(),this._matchExtendedUpdateSubject=new c.a,this.matchExtendedUpdate$=this._matchExtendedUpdateSubject.asObservable(),this._topMatchesUpdateSubject=new c.a,this.topMatchesUpdate$=this._topMatchesUpdateSubject.asObservable(),this._offersUpdateSubject=new c.a,this.offersUpdate$=this._offersUpdateSubject.asObservable(),this._matchesCountUpdateSubject=new c.a,this.matchesCountUpdate$=this._matchesCountUpdateSubject.asObservable(),this._liveStatusSubject=new c.a,this.liveStatus$=this._liveStatusSubject.asObservable(),this._connectedSubject=new c.a,this.connected$=this._connectedSubject.asObservable()}initialize(e){const t=new o.a;return this.config=e,t.next(),t.complete(),t.asObservable()}start(){const e=new c.a;if(this.running=!0,this._liveBettingHub&&this.disconnect(),this._liveBettingHub||(this._liveBettingHub=new C("notificationv3",{rootPath:`${this.config.api.url}signalr`,autoConnect:!1,listeners:{sportUpdated:this.callbackSportsUpdated.bind(this),liveUpdated:this.callbackMatchesUpdated.bind(this),liveExtendedUpdated:this.callbackMatchExtendedUpdated.bind(this),topLiveUpdated:this.callbackTopLiveMatchesUpdated.bind(this),liveOfferUpdated:this.callbackOffersUpdated.bind(this),liveMatchesCount:this.callbackMachesCountUpdated.bind(this),liveStatus:this.callbackLiveStatusUpdated.bind(this)},methods:["RegisterSports","RegisterMatches","RegisterForMatches","RegisterForExtended","RegisterTopMatches","RegisterForOffers","RegisterActiveMatchesCount","RegisterSportBetType","LiveStatus"],stateChanged:this.stateChanged.bind(this),queryParams:{TerminalId:this.config.terminalId,LanguageId:this.localizationService.language}})),this.connected)e.next(),e.complete();else{this.connect();const t=this.connected$.pipe(Object(d.a)(1)).subscribe(i=>{i?(e.next(),e.complete(),t.unsubscribe()):(e.error({description:"Live Betting Disconnected"}),e.complete(),t.unsubscribe())})}return e.asObservable()}stop(){this.running=!1,this.disconnect()}deinitialize(){this._liveBettingHub&&this.disconnect()}stateChanged(e){switch(e.newState){case $.signalR.connectionState.connecting:break;case $.signalR.connectionState.connected:this.connected=!0,this._connectedSubject.next(this.connected),this._registeredExtendedMatchIds&&this.registerForExtended([...this._registeredExtendedMatchIds.keys()]),this._registeredOfferIds&&this.registerForOffers(this._registeredOfferIds),this._registeredForSports&&this.registerForSports(),this._registeredForSportMatches&&this.registerForMatches(this._registeredForSportMatches),this._registeredForMatches&&this.registerMatches(this._registeredForMatches),this._registeredTopMatchesLimit&&this.registerForTopMatches(this._registeredTopMatchesLimit),this._registeredForMatchesCount&&this.registerForMatchesCount();break;case $.signalR.connectionState.reconnecting:break;case $.signalR.connectionState.disconnected:this.connected=!1,this._connectedSubject.next(this.connected),setTimeout(()=>{$.signalR.ajaxDefaults.headers=this.authService.auth?{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken}:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language},this.running&&this._reconnect&&this._liveBettingHub.connect()},1e3)}}disconnect(){this._reconnect=!1,this._liveBettingHub&&(this._liveBettingHub.disconnect(),this._liveBettingHub=void 0)}connect(){this._reconnect=!0,this._liveBettingHub&&($.signalR.ajaxDefaults.headers=this.authService.auth?{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken}:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language},this._liveBettingHub.connect())}registerForSports(){const e=new o.a(1);return this._registeredForSports=!0,this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterSports()).subscribe(()=>{e.next(!0),e.complete()},()=>{e.next(!1),e.complete()}):(e.next(!1),e.complete()),e.asObservable()}registerForMatches(e){const t=new o.a(1);return this._registeredForSportMatches=e,this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterMatches(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}registerMatches(e){const t=new o.a(1);return this._registeredForMatches=e,this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterForMatches(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}registerForTopMatches(e){const t=new o.a(1);return this._registeredTopMatchesLimit=e,this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterTopMatches(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}registerForExtended(e){const t=new o.a(1);return this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterForExtended(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}registerForOffers(e){const t=new o.a(1);return this._registeredOfferIds=e,this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterForOffers(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}registerForMatchesCount(){const e=new o.a(1);return this._registeredForMatchesCount=!0,this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterActiveMatchesCount()).subscribe(()=>{e.next(!0),e.complete()},()=>{e.next(!1),e.complete()}):(e.next(!1),e.complete()),e.asObservable()}registerForLiveBetType(e,t){let i=new o.a(1);return this._liveBettingHub&&this._liveBettingHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._liveBettingHub.RegisterSportBetType(e,t,!0)).subscribe(()=>{i.next(!0),i.complete()},()=>{i.next(!1),i.complete()}):(i.next(!1),i.complete()),i.asObservable()}callbackSportsUpdated(e){this._sportsUpdateSubject.next(e.map(e=>this.camelcaseObjectService.camelCaseObject(e)))}callbackMatchesUpdated(e){this._matchesUpdateSubject.next(e)}callbackMatchExtendedUpdated(e){this._matchExtendedUpdateSubject.next(e)}callbackTopLiveMatchesUpdated(e){this._topMatchesUpdateSubject.next(e)}callbackOffersUpdated(e){this._offersUpdateSubject.next(e)}callbackMachesCountUpdated(e){this._matchesCountUpdateSubject.next(e)}callbackLiveStatusUpdated(e){this._liveStatusSubject.next(0!=e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(F),n.fc(L),n.fc(M))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(M))},token:e,providedIn:"root"}),e})(),I=(()=>{class e{constructor(){this.delay=200,this.duration=1e3,this.loadingCnt=0,this.loadingSubj=new o.a(1),this.loading$=this.loadingSubj.asObservable()}show(){this.loading(!0)}hide(){this.loading(!1)}loading(e){const t=this.loadingCnt;if(e?this.loadingCnt++:this.loadingCnt--,this.loadingCnt<0&&(this.loadingCnt=0),this.loadingCnt>0&&(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.resetLoading()},1e4)),0===t&&this.loadingCnt>0)this.loadingStart=new Date,this.startTimeout=setTimeout(()=>{this.loadingSubj.next(!0)},this.delay);else if(t>0&&0===this.loadingCnt)if(this.loadingStart){const e=(new Date).valueOf()-this.loadingStart.valueOf();let t=this.duration+this.delay-e;t<0&&(t=0),e<this.delay?(this.loadingSubj.next(!1),this.startTimeout&&(clearTimeout(this.startTimeout),this.startTimeout=void 0)):setTimeout(()=>{this.loadingSubj.next(!1)},t)}else this.loadingSubj.next(!1)}resetLoading(){this.loadingCnt=0,this.loadingSubj.next(!1),this.startTimeout&&(clearTimeout(this.startTimeout),this.startTimeout=void 0)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const A=function(){var e={Info:0,Warning:1,Error:2};return e[e.Info]="Info",e[e.Warning]="Warning",e[e.Error]="Error",e}();let N=(()=>{class e{constructor(){this.notificationSubj=new c.a,this.notification$=this.notificationSubj.asObservable()}info(e){this.notificationSubj.next({msgKey:e,type:A.Info})}warning(e){this.notificationSubj.next({msgKey:e,type:A.Warning})}error(e){this.notificationSubj.next({msgKey:e,type:A.Error})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),R=(()=>{class e{constructor(e,t,i,n,s,r){this.camelCaseObjectService=e,this.http=t,this.authService=i,this.loaderService=n,this.localizationService=s,this.notificationsService=r}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}get(e,t){const i=new o.a;return this.loaderService.loading(!0),t||(t={headers:{}}),t=this.requestHeaders(t),this.http.get(e,t).subscribe(e=>{i.next(this.camelCaseObjectService.camelCaseObject(e)),i.complete(),this.loaderService.loading(!1)},n=>{this.getRetry(n,i,e,t)}),i.asObservable()}getRetry(e,t,i,n){401===e.status?this.authService.refreshToken().subscribe(e=>{e?(this.authService.authToken&&(n.headers.Authorization=`Bearer ${this.authService.authToken}`),this.http.get(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete(),this.loaderService.loading(!1)},e=>{401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)})):(this.notificationsService.warning("LOGIN_EXPIRED"),t.error({}),t.complete(),this.loaderService.loading(!1))},e=>{this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)},()=>{}):500===e.status?this.http.get(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete(),this.loaderService.loading(!1)},e=>{401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)}):(console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1))}post(e,t,i,n){let s=new c.a;return this.loaderService.loading(!0),i||(i={headers:{}}),i=this.requestHeaders(i,e.includes("submitanonymous")),this.http.post(e,t,i).subscribe(e=>{s.next(n?e:this.camelCaseObjectService.camelCaseObject(e)),s.complete(),this.loaderService.loading(!1)},n=>{this.postRetry(n,s,e,t,i)}),s.asObservable()}postRetry(e,t,i,n,s){401===e.status?this.authService.refreshToken().subscribe(e=>{e?(this.authService.authToken&&(s.headers.Authorization=`Bearer ${this.authService.authToken}`),this.http.post(i,n,s).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete(),this.loaderService.loading(!1)},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")})):(this.notificationsService.warning("LOGIN_EXPIRED"),t.error({}),t.complete(),this.loaderService.loading(!1))},e=>{this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)}):500===e.status?this.http.post(i,n,s).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete()},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")}):(console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1))}delete(e,t,i){let n=new c.a;return this.loaderService.loading(!0),t||(t={headers:{}}),t=this.requestHeaders(t),this.http.delete(e,t).subscribe(e=>{n.next(i?e:this.camelCaseObjectService.camelCaseObject(e)),n.complete(),this.loaderService.loading(!1)},i=>{this.deleteRetry(i,n,e,t)}),n.asObservable()}deleteRetry(e,t,i,n){401===e.status?this.authService.refreshToken().subscribe(e=>{e?(this.authService.authToken&&(n.headers.Authorization=`Bearer ${this.authService.authToken}`),this.http.delete(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete(),this.loaderService.loading(!1)},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")})):(this.notificationsService.warning("LOGIN_EXPIRED"),t.error({}),t.complete(),this.loaderService.loading(!1))},e=>{this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)}):500===e.status?this.http.delete(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete()},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")}):(console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1))}patch(e,t,i){let n=new c.a;return this.loaderService.loading(!0),t||(t={headers:{}}),t=this.requestHeaders(t),this.http.patch(e,t).subscribe(e=>{n.next(i?e:this.camelCaseObjectService.camelCaseObject(e)),n.complete(),this.loaderService.loading(!1)},i=>{this.patchRetry(i,n,e,t)}),n.asObservable()}patchRetry(e,t,i,n){401===e.status?this.authService.refreshToken().subscribe(e=>{e?(this.authService.authToken&&(n.headers.Authorization=`Bearer ${this.authService.authToken}`),this.http.patch(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete(),this.loaderService.loading(!1)},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")})):(this.notificationsService.warning("LOGIN_EXPIRED"),t.error({}),t.complete(),this.loaderService.loading(!1))},e=>{this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)}):500===e.status?this.http.patch(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete()},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")}):(console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1))}put(e,t,i){let n=new c.a;return this.loaderService.loading(!0),t||(t={headers:{}}),this.authService.authToken&&(t.headers=Object.assign({},t.headers,{Authorization:`Bearer ${this.authService.authToken}`})),t.headers=Object.assign(t.headers,{LanguageId:this.localizationService.language,TerminalId:this.authService.loggedIn?`${this.authService.auth.terminalId}`:`${this.config.terminalId}`,"Device-Type":`${this.config.deviceType}`,"Accept-Language":this.localizationService.language}),this.http.put(e,t).subscribe(e=>{n.next(i?e:this.camelCaseObjectService.camelCaseObject(e)),n.complete(),this.loaderService.loading(!1)},i=>{this.putRetry(i,n,e,t)}),n.asObservable()}putRetry(e,t,i,n){401===e.status?this.authService.refreshToken().subscribe(e=>{e?(this.authService.authToken&&(n.headers.Authorization=`Bearer ${this.authService.authToken}`),this.http.put(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete(),this.loaderService.loading(!1)},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")})):(this.notificationsService.warning("LOGIN_EXPIRED"),t.error({}),t.complete(),this.loaderService.loading(!1))},e=>{this.notificationsService.warning("LOGIN_EXPIRED"),console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1)}):500===e.status?this.http.put(i,n).subscribe(e=>{t.next(this.camelCaseObjectService.camelCaseObject(e)),t.complete()},e=>{console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1),401===e.status&&this.notificationsService.warning("LOGIN_EXPIRED")}):(console.error(e),t.error(e),t.complete(),this.loaderService.loading(!1))}requestHeaders(e,t=!1){return e.headers&&e.headers.Authorization||this.authService.authToken&&(e.headers=Object.assign({},e.headers,{Authorization:`Bearer ${this.authService.authToken}`})),e.headers=Object.assign(e.headers,{LanguageId:this.localizationService.language,TerminalId:this.authService.loggedIn&&this.authService.auth.terminalId?`${this.authService.auth.terminalId}`:this.getTerminalId(t),"Device-Type":`${this.config.deviceType}`,"Accept-Language":this.localizationService.language}),this.config.gaid&&(e.headers=Object.assign({},e.headers,{GAID:`${this.config.gaid}`})),e}getTerminalId(e){return e&&this.config.prepareTicketId?`${this.config.prepareTicketId}`:`${this.config.terminalId}`}}return e.\u0275fac=function(t){return new(t||e)(n.fc(M),n.fc(r.a),n.fc(L),n.fc(I),n.fc(F),n.fc(N))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(M),Object(n.fc)(r.a),Object(n.fc)(L),Object(n.fc)(I),Object(n.fc)(F),Object(n.fc)(N))},token:e,providedIn:"root"}),e})(),P=(()=>{class e{constructor(){this.mapping=new Map([[192,"A"],[193,"A"],[194,"A"],[195,"A"],[196,"A"],[197,"A"],[256,"A"],[258,"A"],[260,"A"],[399,"A"],[461,"A"],[478,"A"],[480,"A"],[506,"A"],[512,"A"],[514,"A"],[550,"A"],[570,"A"],[7424,"A"],[7680,"A"],[7840,"A"],[7842,"A"],[7844,"A"],[7846,"A"],[7848,"A"],[7850,"A"],[7852,"A"],[7854,"A"],[7856,"A"],[7858,"A"],[7860,"A"],[7862,"A"],[9398,"A"],[65313,"A"],[224,"a"],[225,"a"],[226,"a"],[227,"a"],[228,"a"],[229,"a"],[257,"a"],[259,"a"],[261,"a"],[462,"a"],[479,"a"],[481,"a"],[507,"a"],[513,"a"],[515,"a"],[551,"a"],[592,"a"],[601,"a"],[602,"a"],[7567,"a"],[7573,"a"],[7681,"a"],[7834,"a"],[7841,"a"],[7843,"a"],[7845,"a"],[7847,"a"],[7849,"a"],[7851,"a"],[7853,"a"],[7855,"a"],[7857,"a"],[7859,"a"],[7861,"a"],[7863,"a"],[8336,"a"],[8340,"a"],[9424,"a"],[11365,"a"],[11375,"a"],[65345,"a"],[42802,"AA"],[198,"AE"],[482,"AE"],[508,"AE"],[7425,"AE"],[42804,"AO"],[42806,"AU"],[42808,"AV"],[42810,"AV"],[42812,"AY"],[9372,"(a)"],[42803,"aa"],[230,"ae"],[483,"ae"],[509,"ae"],[7426,"ae"],[42805,"ao"],[42807,"au"],[42809,"av"],[42811,"av"],[42813,"ay"],[385,"B"],[386,"B"],[579,"B"],[665,"B"],[7427,"B"],[7682,"B"],[7684,"B"],[7686,"B"],[9399,"B"],[65314,"B"],[384,"b"],[387,"b"],[595,"b"],[7532,"b"],[7552,"b"],[7683,"b"],[7685,"b"],[7687,"b"],[9425,"b"],[65346,"b"],[9373,"(b)"],[199,"C"],[262,"C"],[264,"C"],[266,"C"],[268,"C"],[391,"C"],[571,"C"],[663,"C"],[7428,"C"],[7688,"C"],[9400,"C"],[65315,"C"],[231,"c"],[263,"c"],[265,"c"],[267,"c"],[269,"c"],[392,"c"],[572,"c"],[597,"c"],[7689,"c"],[8580,"c"],[9426,"c"],[42814,"c"],[42815,"c"],[65347,"c"],[9374,"(c)"],[208,"D"],[270,"D"],[272,"D"],[393,"D"],[394,"D"],[395,"D"],[7429,"D"],[7430,"D"],[7690,"D"],[7692,"D"],[7694,"D"],[7696,"D"],[7698,"D"],[9401,"D"],[42873,"D"],[65316,"D"],[240,"d"],[271,"d"],[273,"d"],[396,"d"],[545,"d"],[598,"d"],[599,"d"],[7533,"d"],[7553,"d"],[7569,"d"],[7691,"d"],[7693,"d"],[7695,"d"],[7697,"d"],[7699,"d"],[9427,"d"],[42874,"d"],[65348,"d"],[452,"DZ"],[497,"DZ"],[453,"Dz"],[498,"Dz"],[9375,"(d)"],[568,"db"],[454,"dz"],[499,"dz"],[675,"dz"],[677,"dz"],[200,"E"],[201,"E"],[202,"E"],[203,"E"],[274,"E"],[276,"E"],[278,"E"],[280,"E"],[282,"E"],[398,"E"],[400,"E"],[516,"E"],[518,"E"],[552,"E"],[582,"E"],[7431,"E"],[7700,"E"],[7702,"E"],[7704,"E"],[7706,"E"],[7708,"E"],[7864,"E"],[7866,"E"],[7868,"E"],[7870,"E"],[7872,"E"],[7874,"E"],[7876,"E"],[7878,"E"],[9402,"E"],[11387,"E"],[65317,"E"],[232,"e"],[233,"e"],[234,"e"],[235,"e"],[275,"e"],[277,"e"],[279,"e"],[281,"e"],[283,"e"],[477,"e"],[517,"e"],[519,"e"],[553,"e"],[583,"e"],[600,"e"],[603,"e"],[604,"e"],[605,"e"],[606,"e"],[666,"e"],[7432,"e"],[7570,"e"],[7571,"e"],[7572,"e"],[7701,"e"],[7703,"e"],[7705,"e"],[7707,"e"],[7709,"e"],[7865,"e"],[7867,"e"],[7869,"e"],[7871,"e"],[7873,"e"],[7875,"e"],[7877,"e"],[7879,"e"],[8337,"e"],[9428,"e"],[11384,"e"],[65349,"e"],[9376,"(e)"],[401,"F"],[7710,"F"],[9403,"F"],[42800,"F"],[42875,"F"],[43003,"F"],[65318,"F"],[402,"f"],[7534,"f"],[7554,"f"],[7711,"f"],[7835,"f"],[9429,"f"],[42876,"f"],[65350,"f"],[9377,"(f)"],[64256,"ff"],[64259,"ffi"],[64260,"ffl"],[64257,"fi"],[64258,"fl"],[284,"G"],[286,"G"],[288,"G"],[290,"G"],[403,"G"],[484,"G"],[485,"G"],[486,"G"],[487,"G"],[500,"G"],[610,"G"],[667,"G"],[7712,"G"],[9404,"G"],[42877,"G"],[42878,"G"],[65319,"G"],[285,"g"],[287,"g"],[289,"g"],[291,"g"],[501,"g"],[608,"g"],[609,"g"],[7543,"g"],[7545,"g"],[7555,"g"],[7713,"g"],[9430,"g"],[42879,"g"],[65351,"g"],[9378,"(g)"],[292,"H"],[294,"H"],[542,"H"],[668,"H"],[7714,"H"],[7716,"H"],[7718,"H"],[7720,"H"],[7722,"H"],[9405,"H"],[11367,"H"],[11381,"H"],[65320,"H"],[293,"h"],[295,"h"],[543,"h"],[613,"h"],[614,"h"],[686,"h"],[687,"h"],[7715,"h"],[7717,"h"],[7719,"h"],[7721,"h"],[7723,"h"],[7830,"h"],[9431,"h"],[11368,"h"],[11382,"h"],[65352,"h"],[502,"HV"],[9379,"(h)"],[405,"hv"],[204,"I"],[205,"I"],[206,"I"],[207,"I"],[296,"I"],[298,"I"],[300,"I"],[302,"I"],[304,"I"],[406,"I"],[407,"I"],[463,"I"],[520,"I"],[522,"I"],[618,"I"],[7547,"I"],[7724,"I"],[7726,"I"],[7880,"I"],[7882,"I"],[9406,"I"],[43006,"I"],[65321,"I"],[236,"i"],[237,"i"],[238,"i"],[239,"i"],[297,"i"],[299,"i"],[301,"i"],[303,"i"],[305,"i"],[464,"i"],[521,"i"],[523,"i"],[616,"i"],[7433,"i"],[7522,"i"],[7548,"i"],[7574,"i"],[7725,"i"],[7727,"i"],[7881,"i"],[7883,"i"],[8305,"i"],[9432,"i"],[65353,"i"],[306,"IJ"],[9380,"(i)"],[307,"ij"],[308,"J"],[584,"J"],[7434,"J"],[9407,"J"],[65322,"J"],[309,"j"],[496,"j"],[567,"j"],[585,"j"],[607,"j"],[644,"j"],[669,"j"],[9433,"j"],[11388,"j"],[65354,"j"],[9381,"(j)"],[310,"K"],[408,"K"],[488,"K"],[7435,"K"],[7728,"K"],[7730,"K"],[7732,"K"],[9408,"K"],[11369,"K"],[42816,"K"],[42818,"K"],[42820,"K"],[65323,"K"],[311,"k"],[409,"k"],[489,"k"],[670,"k"],[7556,"k"],[7729,"k"],[7731,"k"],[7733,"k"],[9434,"k"],[11370,"k"],[42817,"k"],[42819,"k"],[42821,"k"],[65355,"k"],[9382,"(k)"],[313,"L"],[315,"L"],[317,"L"],[319,"L"],[321,"L"],[573,"L"],[671,"L"],[7436,"L"],[7734,"L"],[7736,"L"],[7738,"L"],[7740,"L"],[9409,"L"],[11360,"L"],[11362,"L"],[42822,"L"],[42824,"L"],[42880,"L"],[65324,"L"],[314,"l"],[316,"l"],[318,"l"],[320,"l"],[322,"l"],[410,"l"],[564,"l"],[619,"l"],[620,"l"],[621,"l"],[7557,"l"],[7735,"l"],[7737,"l"],[7739,"l"],[7741,"l"],[9435,"l"],[11361,"l"],[42823,"l"],[42825,"l"],[42881,"l"],[65356,"l"],[455,"LJ"],[7930,"LL"],[456,"Lj"],[9383,"(l)"],[457,"lj"],[7931,"ll"],[682,"ls"],[683,"lz"],[412,"M"],[7437,"M"],[7742,"M"],[7744,"M"],[7746,"M"],[9410,"M"],[11374,"M"],[43005,"M"],[43007,"M"],[65325,"M"],[623,"m"],[624,"m"],[625,"m"],[7535,"m"],[7558,"m"],[7743,"m"],[7745,"m"],[7747,"m"],[9436,"m"],[65357,"m"],[9384,"(m)"],[209,"N"],[323,"N"],[325,"N"],[327,"N"],[330,"N"],[413,"N"],[504,"N"],[544,"N"],[628,"N"],[7438,"N"],[7748,"N"],[7750,"N"],[7752,"N"],[7754,"N"],[9411,"N"],[65326,"N"],[241,"n"],[324,"n"],[326,"n"],[328,"n"],[329,"n"],[331,"n"],[414,"n"],[505,"n"],[565,"n"],[626,"n"],[627,"n"],[7536,"n"],[7559,"n"],[7749,"n"],[7751,"n"],[7753,"n"],[7755,"n"],[8319,"n"],[9437,"n"],[65358,"n"],[458,"NJ"],[459,"Nj"],[9385,"(n)"],[460,"nj"],[210,"O"],[211,"O"],[212,"O"],[213,"O"],[214,"O"],[216,"O"],[332,"O"],[334,"O"],[336,"O"],[390,"O"],[415,"O"],[416,"O"],[465,"O"],[490,"O"],[492,"O"],[510,"O"],[524,"O"],[526,"O"],[554,"O"],[556,"O"],[558,"O"],[560,"O"],[7439,"O"],[7440,"O"],[7756,"O"],[7758,"O"],[7760,"O"],[7762,"O"],[7884,"O"],[7886,"O"],[7888,"O"],[7890,"O"],[7892,"O"],[7894,"O"],[7896,"O"],[7898,"O"],[7900,"O"],[7902,"O"],[7904,"O"],[7906,"O"],[9412,"O"],[42826,"O"],[42828,"O"],[65327,"O"],[242,"o"],[243,"o"],[244,"o"],[245,"o"],[246,"o"],[248,"o"],[333,"o"],[335,"o"],[337,"o"],[417,"o"],[466,"o"],[491,"o"],[493,"o"],[511,"o"],[525,"o"],[527,"o"],[555,"o"],[557,"o"],[559,"o"],[561,"o"],[596,"o"],[629,"o"],[7446,"o"],[7447,"o"],[7575,"o"],[7757,"o"],[7759,"o"],[7761,"o"],[7763,"o"],[7885,"o"],[7887,"o"],[7889,"o"],[7891,"o"],[7893,"o"],[7895,"o"],[7897,"o"],[7899,"o"],[7901,"o"],[7903,"o"],[7905,"o"],[7907,"o"],[8338,"o"],[9438,"o"],[11386,"o"],[42827,"o"],[42829,"o"],[65359,"o"],[338,"OE"],[630,"OE"],[42830,"OO"],[546,"OU"],[7445,"OU"],[9386,"(o)"],[339,"oe"],[7444,"oe"],[42831,"oo"],[547,"ou"],[420,"P"],[7448,"P"],[7764,"P"],[7766,"P"],[9413,"P"],[11363,"P"],[42832,"P"],[42834,"P"],[42836,"P"],[65328,"P"],[421,"p"],[7537,"p"],[7549,"p"],[7560,"p"],[7765,"p"],[7767,"p"],[9439,"p"],[42833,"p"],[42835,"p"],[42837,"p"],[43004,"p"],[65360,"p"],[9387,"(p)"],[586,"Q"],[9414,"Q"],[42838,"Q"],[42840,"Q"],[65329,"Q"],[312,"q"],[587,"q"],[672,"q"],[9440,"q"],[42839,"q"],[42841,"q"],[65361,"q"],[9388,"(q)"],[569,"qp"],[340,"R"],[342,"R"],[344,"R"],[528,"R"],[530,"R"],[588,"R"],[640,"R"],[641,"R"],[7449,"R"],[7450,"R"],[7768,"R"],[7770,"R"],[7772,"R"],[7774,"R"],[9415,"R"],[11364,"R"],[42842,"R"],[42882,"R"],[65330,"R"],[341,"r"],[343,"r"],[345,"r"],[529,"r"],[531,"r"],[589,"r"],[636,"r"],[637,"r"],[638,"r"],[639,"r"],[7523,"r"],[7538,"r"],[7539,"r"],[7561,"r"],[7769,"r"],[7771,"r"],[7773,"r"],[7775,"r"],[9441,"r"],[42843,"r"],[42883,"r"],[65362,"r"],[9389,"(r)"],[346,"S"],[348,"S"],[350,"S"],[352,"S"],[536,"S"],[7776,"S"],[7778,"S"],[7780,"S"],[7782,"S"],[7784,"S"],[9416,"S"],[42801,"S"],[42885,"S"],[65331,"S"],[347,"s"],[349,"s"],[351,"s"],[353,"s"],[383,"s"],[537,"s"],[575,"s"],[642,"s"],[7540,"s"],[7562,"s"],[7777,"s"],[7779,"s"],[7781,"s"],[7783,"s"],[7785,"s"],[7836,"s"],[7837,"s"],[9442,"s"],[42884,"s"],[65363,"s"],[7838,"SS"],[9390,"(s)"],[223,"ss"],[64262,"st"],[354,"T"],[356,"T"],[358,"T"],[428,"T"],[430,"T"],[538,"T"],[574,"T"],[7451,"T"],[7786,"T"],[7788,"T"],[7790,"T"],[7792,"T"],[9417,"T"],[42886,"T"],[65332,"T"],[355,"t"],[357,"t"],[359,"t"],[427,"t"],[429,"t"],[539,"t"],[566,"t"],[647,"t"],[648,"t"],[7541,"t"],[7787,"t"],[7789,"t"],[7791,"t"],[7793,"t"],[7831,"t"],[9443,"t"],[11366,"t"],[65364,"t"],[222,"TH"],[42854,"TH"],[42792,"TZ"],[9391,"(t)"],[680,"tc"],[254,"th"],[7546,"th"],[42855,"th"],[678,"ts"],[42793,"tz"],[217,"U"],[218,"U"],[219,"U"],[220,"U"],[360,"U"],[362,"U"],[364,"U"],[366,"U"],[368,"U"],[370,"U"],[431,"U"],[467,"U"],[469,"U"],[471,"U"],[473,"U"],[475,"U"],[532,"U"],[534,"U"],[580,"U"],[7452,"U"],[7550,"U"],[7794,"U"],[7796,"U"],[7798,"U"],[7800,"U"],[7802,"U"],[7908,"U"],[7910,"U"],[7912,"U"],[7914,"U"],[7916,"U"],[7918,"U"],[7920,"U"],[9418,"U"],[65333,"U"],[249,"u"],[250,"u"],[251,"u"],[252,"u"],[361,"u"],[363,"u"],[365,"u"],[367,"u"],[369,"u"],[371,"u"],[432,"u"],[468,"u"],[470,"u"],[472,"u"],[474,"u"],[476,"u"],[533,"u"],[535,"u"],[649,"u"],[7524,"u"],[7577,"u"],[7795,"u"],[7797,"u"],[7799,"u"],[7801,"u"],[7803,"u"],[7909,"u"],[7911,"u"],[7913,"u"],[7915,"u"],[7917,"u"],[7919,"u"],[7921,"u"],[9444,"u"],[65365,"u"],[9392,"(u)"],[7531,"ue"],[434,"V"],[581,"V"],[7456,"V"],[7804,"V"],[7806,"V"],[7932,"V"],[9419,"V"],[42846,"V"],[42856,"V"],[65334,"V"],[651,"v"],[652,"v"],[7525,"v"],[7564,"v"],[7805,"v"],[7807,"v"],[9445,"v"],[11377,"v"],[11380,"v"],[42847,"v"],[65366,"v"],[42848,"VY"],[9393,"(v)"],[42849,"vy"],[372,"W"],[503,"W"],[7457,"W"],[7808,"W"],[7810,"W"],[7812,"W"],[7814,"W"],[7816,"W"],[9420,"W"],[11378,"W"],[65335,"W"],[373,"w"],[447,"w"],[653,"w"],[7809,"w"],[7811,"w"],[7813,"w"],[7815,"w"],[7817,"w"],[7832,"w"],[9446,"w"],[11379,"w"],[65367,"w"],[9394,"(w)"],[7818,"X"],[7820,"X"],[9421,"X"],[65336,"X"],[7565,"x"],[7819,"x"],[7821,"x"],[8339,"x"],[9447,"x"],[65368,"x"],[9395,"(x)"],[221,"Y"],[374,"Y"],[376,"Y"],[435,"Y"],[562,"Y"],[590,"Y"],[655,"Y"],[7822,"Y"],[7922,"Y"],[7924,"Y"],[7926,"Y"],[7928,"Y"],[7934,"Y"],[9422,"Y"],[65337,"Y"],[253,"y"],[255,"y"],[375,"y"],[436,"y"],[563,"y"],[591,"y"],[654,"y"],[7823,"y"],[7833,"y"],[7923,"y"],[7925,"y"],[7927,"y"],[7929,"y"],[7935,"y"],[9448,"y"],[65369,"y"],[9396,"(y)"],[377,"Z"],[379,"Z"],[381,"Z"],[437,"Z"],[540,"Z"],[548,"Z"],[7458,"Z"],[7824,"Z"],[7826,"Z"],[7828,"Z"],[9423,"Z"],[11371,"Z"],[42850,"Z"],[65338,"Z"],[378,"z"],[380,"z"],[382,"z"],[438,"z"],[541,"z"],[549,"z"],[576,"z"],[656,"z"],[657,"z"],[7542,"z"],[7566,"z"],[7825,"z"],[7827,"z"],[7829,"z"],[9449,"z"],[11372,"z"],[42851,"z"],[65370,"z"],[9397,"(z)"],[8304,"0"],[8320,"0"],[9450,"0"],[9471,"0"],[65296,"0"],[185,"1"],[8321,"1"],[9312,"1"],[9461,"1"],[10102,"1"],[10112,"1"],[10122,"1"],[65297,"1"],[9352,"1."],[9332,"(1)"],[178,"2"],[8322,"2"],[9313,"2"],[9462,"2"],[10103,"2"],[10113,"2"],[10123,"2"],[65298,"2"],[9353,"2."],[9333,"(2)"],[179,"3"],[8323,"3"],[9314,"3"],[9463,"3"],[10104,"3"],[10114,"3"],[10124,"3"],[65299,"3"],[9354,"3."],[9334,"(3)"],[8308,"4"],[8324,"4"],[9315,"4"],[9464,"4"],[10105,"4"],[10115,"4"],[10125,"4"],[65300,"4"],[9355,"4."],[9335,"(4)"],[8309,"5"],[8325,"5"],[9316,"5"],[9465,"5"],[10106,"5"],[10116,"5"],[10126,"5"],[65301,"5"],[9356,"5."],[9336,"(5)"],[8310,"6"],[8326,"6"],[9317,"6"],[9466,"6"],[10107,"6"],[10117,"6"],[10127,"6"],[65302,"6"],[9357,"6."],[9337,"(6)"],[8311,"7"],[8327,"7"],[9318,"7"],[9467,"7"],[10108,"7"],[10118,"7"],[10128,"7"],[65303,"7"],[9358,"7."],[9338,"(7)"],[8312,"8"],[8328,"8"],[9319,"8"],[9468,"8"],[10109,"8"],[10119,"8"],[10129,"8"],[65304,"8"],[9359,"8."],[9339,"(8)"],[8313,"9"],[8329,"9"],[9320,"9"],[9469,"9"],[10110,"9"],[10120,"9"],[10130,"9"],[65305,"9"],[9360,"9."],[9340,"(9)"],[9321,"10"],[9470,"10"],[10111,"10"],[10121,"10"],[10131,"10"],[9361,"10."],[9341,"(10)"],[9322,"11"],[9451,"11"],[9362,"11."],[9342,"(11)"],[9323,"12"],[9452,"12"],[9363,"12."],[9343,"(12)"],[9324,"13"],[9453,"13"],[9364,"13."],[9344,"(13)"],[9325,"14"],[9454,"14"],[9365,"14."],[9345,"(14)"],[9326,"15"],[9455,"15"],[9366,"15."],[9346,"(15)"],[9327,"16"],[9456,"16"],[9367,"16."],[9347,"(16)"],[9328,"17"],[9457,"17"],[9368,"17."],[9348,"(17)"],[9329,"18"],[9458,"18"],[9369,"18."],[9349,"(18)"],[9330,"19"],[9459,"19"],[9370,"19."],[9350,"(19)"],[9331,"20"],[9460,"20"],[9371,"20."],[9351,"(20)"],[171,'"'],[187,'"'],[8220,'"'],[8221,'"'],[8222,'"'],[8243,'"'],[8246,'"'],[10077,'"'],[10078,'"'],[10094,'"'],[10095,'"'],[65282,'"'],[8216,"'"],[8217,"'"],[8218,"'"],[8219,"'"],[8242,"'"],[8245,"'"],[8249,"'"],[8250,"'"],[10075,"'"],[10076,"'"],[65287,"'"],[8208,"-"],[8209,"-"],[8210,"-"],[8211,"-"],[8212,"-"],[8315,"-"],[8331,"-"],[65293,"-"],[8261,"["],[10098,"["],[65339,"["],[8262,"]"],[10099,"]"],[65341,"]"],[8317,"("],[8333,"("],[10088,"("],[10090,"("],[65288,"("],[11816,"(("],[8318,")"],[8334,")"],[10089,")"],[10091,")"],[65289,")"],[11817,"))"],[10092,"<"],[10096,"<"],[65308,"<"],[10093,">"],[10097,">"],[65310,">"],[10100,"{"],[65371,"{"],[10101,"}"],[65373,"}"],[8314,"+"],[8330,"+"],[65291,"+"],[8316,"="],[8332,"="],[65309,"="],[65281,"!"],[8252,"!!"],[8265,"!?"],[65283,"#"],[65284,"$"],[8274,"%"],[65285,"%"],[65286,"&"],[8270,"*"],[65290,"*"],[65292,","],[65294,"."],[8260,"/"],[65295,"/"],[65306,":"],[8271,";"],[65307,";"],[65311,"?"],[8263,"??"],[8264,"?!"],[65312,"@"],[65340,"\\"],[8248,"^"],[65342,"^"],[65343,"_"],[8275,"~"],[65374,"~"]])}foldReplacing(e="",t=""){return this._fold(e,()=>t)}foldMaintaining(e=""){return this._fold(e,e=>e)}_fold(e,t){if(null===e)return"";if("number"==typeof e)return""+e;if("string"!=typeof e)throw new Error("Invalid input data type");return e.split("").map(e=>{if(e.charCodeAt(0)<128)return e;{const i=this.mapping.get(e.charCodeAt(0));return void 0===i?t(e):i}}).join("")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),B=(()=>{class e{constructor(e,t,i,n,s){this.decimalPipe=e,this.authProvider=t,this.localizationProvider=i,this.foldToAscii=n,this.oddPipe=s,this.config={specialSportBrandName:"",sportOfferBonusPercent:0,liveOfferBonusPercent:0,minOddsForShowing:1,oddRepresentation:"decimal"},this._momentPipe=new v}determineOfferOddChangeType(e,t){t&&e&&Object(g.each)(t.odds,t=>{const i=Object(g.find)(e.odds,e=>e.origName===t.origName);t.changeType=0,i&&(t.odd>i.odd?t.changeType=1:t.odd<i.odd&&(t.changeType=2))})}determineOddChangeType(e,t){e&&t&&(t.changeType=0,t.odd>e.odd?t.changeType=1:t.odd<e.odd&&(t.changeType=2))}flattenToMatches(e,t){Object(g.each)(e,e=>{Object(g.each)(e.categories,e=>{Object(g.each)(e.leagues,e=>{Object(g.each)(e.matches,e=>{this.formatData(e),t.push(Object.assign(e,{originSportName:this.betxToCompanyName(e.originSportName),additionalMatchData:this.betxToCompanyName(e.additionalMatchData)}))})})})})}flattenToMatchesUpToSport(e,t){Object(g.each)(e,e=>{const i={originSportName:this.betxToCompanyName(e.originName),sportName:this.betxToCompanyName(e.name),sportId:e.id,matches:[]};Object(g.each)(e.categories,e=>{Object(g.each)(e.leagues,e=>{Object(g.each)(e.matches,e=>{this.formatData(e),i.matches.push(Object.assign(e,{originSportName:this.betxToCompanyName(e.originSportName),additionalMatchData:this.betxToCompanyName(e.additionalMatchData)}))})})}),this.sortMatches(i.matches),t.push(i)})}flattenToLeaguesBySport(e,t){e.forEach((e,i)=>{t.push(e),t[i].leagues=[],this.sortCategories(e.categories),e.categories.forEach(e=>{this.sortLeagues(e.leagues),e.leagues.forEach(n=>{n.name=this.betxToCompanyName(n.name),t[i].leagues.push(Object.assign(n,{categoryId:e.id,category:e}))})})})}sortLeagues(e){e.sort((e,t)=>{let i=0;return t.ordering&&e.ordering&&(i=e.ordering-t.ordering),i}).sort((e,t)=>{let i=0;return e.isSpecial&&(t.ordering&&e.ordering&&(i=e.specialOrd-t.specialOrd),0==i&&(i=e.name.localeCompare(t.name))),i})}sortCategories(e){e.sort((e,t)=>{let i=0;return t.ordering&&e.ordering&&(i=e.ordering-t.ordering),i})}formatSports(e,t){if(e)for(const i of e)if(i.name=this.betxToCompanyName(i.name),i.originName=this.betxToCompanyName(i.originName),i.slug=this.generateSlug(i.name),i.categories){for(const e of i.categories)if(e.name=this.betxToCompanyName(e.name),e.slug=this.generateSlug(e.name),e.leagues){for(const i of e.leagues)if(i.name=this.betxToCompanyName(i.name),i.categoryName=this.betxToCompanyName(i.categoryName),i.sportName=this.betxToCompanyName(i.sportName),i.originSportName=this.betxToCompanyName(i.originSportName),i.slug=this.generateSlug(i.name),t&&i.matches&&(i.matches=i.matches.filter(e=>!e.isLiveMatchAvailable)),i.matches)for(const e of i.matches)this.formatData(e),e.originSportName=this.betxToCompanyName(e.originSportName),e.sportName=this.betxToCompanyName(e.sportName),e.leagueName=this.betxToCompanyName(e.leagueName),e.categoryName=this.betxToCompanyName(e.categoryName),e.additionalMatchData=this.betxToCompanyName(e.additionalMatchData);this.sortLeagues(e.leagues)}this.sortCategories(i.categories)}}generateSlug(e){let t=this.foldToAscii.foldReplacing(e);return t=t.trim(),t=t.toLowerCase(),t=t.replace(/[^A-Za-z0-9]+/g,"-"),t=t.replace(/[-]+/g,"-"),t}flattenToLeagues(e,t){Object(g.each)(e,e=>{Object(g.each)(e.categories,i=>{Object(g.each)(i.leagues,n=>{n.name=this.betxToCompanyName(n.name),t.push(Object.assign(n,{originSportName:this.betxToCompanyName(e.originName),sportName:this.betxToCompanyName(e.name),sportId:e.id,categoryName:this.betxToCompanyName(i.name),categoryId:i.id}))})})})}formatData(e){let t;if(e.leagueName=this.betxToCompanyName(e.leagueName),e.categoryName=this.betxToCompanyName(e.categoryName),e.sportName=this.betxToCompanyName(e.sportName),e.liveMatchScore&&(t=e.liveMatchScore.split(":"),e.liveHomeScore=t[0]?t[0].trim():"",e.liveAwayScore=t[1]?t[1].trim():""),e.liveGameScore&&(t=e.liveGameScore.split(":"),e.liveHomeGameScore=t[0]?t[0].trim():"",e.liveAwayGameScore=t[1]?t[1].trim():""),e.liveSetScore){e.periodResults=[];const t=e.liveSetScore.split("-");Object(g.each)(t,t=>{const i=t.split(":");e.periodResults.push({home:i[0]?i[0].trim():"",away:i[1]?i[1].trim():""})})}if(e.matchResults&&Object(g.each)(e.matchResults,e=>{t=e.score.split(":"),e.Home=t[0]?t[0].trim():"",e.Away=t[1]?t[1].trim():""}),e.timeOrPeriod=e.isLiveMatchAvailable?e.liveMatchTime&&""!==e.liveMatchTime?e.liveMatchTime+"'":e.liveMatchTimeState:this._momentPipe.transform(e.matchStartTime),e.basicOffer&&e.basicOffer.odds&&(e.basicOffer.oddsCount=e.basicOffer.odds.length,0===e.basicOffer.oddsCount&&(e.basicOffer=void 0)),e.offers)for(let i=0;i<e.offers.length;i++)this.formatOdds(e.offers[i]),0===e.offers[i].odds.length&&(e.offers.splice(i,1),i--)}formatOdds(e,t){if(e&&e.odds)for(let i=0;i<e.odds.length;i++){const n=e.odds[i];n.formatedOdd=this.oddPipe.transform(n.odd),t&&(n.betBuilderOdd=!0)}}sortMatches(e){e.sort((e,t)=>{const i=new Date(e.matchStartTime),n=new Date(t.matchStartTime);let s=i.getTime()-n.getTime();return 0===s&&(s=e.id-t.id),s})}getOffersMap(e){const t={};if(e)for(const i of e)t[i.id]=i;return t}getCommonOffersMap(e){const t={};if(e)for(const i of e)t[i.betTypeKey]=i;return t}getOffersFromMap(e){const t=[];for(const i in e)t.push(e[i]);return t}getMatchesMap(e){const t={};for(const i of e)for(const e of i.categories)for(const i of e.leagues)for(const e of i.matches)t[e.id]=e;return t}filterLiveSports(e){if(e)for(let t=0;t<e.length;t++){const i=e[t];for(let e=0;e<i.categories.length;e++){const t=i.categories[e];for(let e=0;e<t.leagues.length;e++){const n=t.leagues[e];for(let e=0;e<n.matches.length;e++){const s=n.matches[e],r=new Date(s.matchStartTime);r.setMinutes(r.getMinutes()-10);const o=new Date;(!s.isLiveMatchAvailable||o<r)&&(s.liveMatchEndTime||(i.matchesCount--,t.matchesCount--,n.matchesCount--,n.matches.splice(e,1),e--))}n.matches.length<=0&&(t.leagues.splice(e,1),e--)}t.leagues.length<=0&&(i.categories.splice(e,1),e--)}i.categories.length<=0&&(e.splice(t,1),t--)}}betxToCompanyName(e){let t=null!=e?e:"";const i=t.toLowerCase(),n=this.config.specialSportBrandName;return""!==n&&n&&-1!==i.indexOf("company_name")?t=i.replace(new RegExp("company_name","g"),n):""!==n&&n&&-1!==i.indexOf("betx")&&(t=i.replace(new RegExp("betx","g"),n)),t}inflateLiveMatchesUpdate(e){const t=[];return Object(g.each)(e,e=>{const i={id:e.Id,sportId:e.sid,categoryId:e.cid,liveMatchState:e.lms,liveMatchTime:e.lmt,liveMatchTimeState:e.lmts,liveMatchTimeOrigName:e.lmto,liveMatchScore:e.lmsc,liveSetScore:e.lssc,liveServer:e.ls,liveGameScore:e.lgsc,liveMatchInfo:e.lmi,liveMatchEndTime:e.lmet,liveHalfTimeScore:e.lmhts,liveHomeYellowCards:e.lhyc,liveAwayYellowCards:e.layc,liveHomeRedCards:e.lhrc,liveAwayRedCards:e.larc,liveHomeCorners:e.lhcr,liveAwayCorners:e.lacr,liveHomeYellowRedCards:e.lhyrc,liveAwayYellowRedCards:e.layrc,hasExtendedLive:e.hel,offersCount:e.ofc,oddsCount:e.odc,isLiveMatchAvailable:e.lma,isBlocked:e.b,basicOffer:this.inflateLiveOfferUpdate(e.bo),offers:Object(g.map)(e.ofs,e=>this.inflateLiveOfferUpdate(e)),commonOffers:Object(g.map)(e.cofs,e=>this.inflateLiveOfferUpdate(e))};t.push(i)}),t}inflateLiveOfferUpdate(e){if(e)return{id:e.Id,description:e.d,originDescription:e.od,isBasic:e.b,sbv:e.sbv,ordering:e.ord,oddsCount:e.odc,hasSbv:e.hs,betTypeKey:e.bt,active:e.a,isEnabled:e.e,type:e.t,gameId:2,betTypeCategories:e.btcs,betTypeInfo:e.bti,odds:Object(g.map)(e.odds,e=>({id:e.Id,name:e.n,origName:e.on,odd:e.o,active:e.a}))}}dateToCustomString(e){const t=e=>1===`${e}`.length?`0${e}`:`${e}`;return`${e.getUTCFullYear()}${t(e.getUTCMonth()+1)}${t(e.getUTCDate()+1)}${t(e.getUTCHours())}${t(e.getUTCMinutes())}${t(e.getUTCSeconds())}`}}return e.\u0275fac=function(t){return new(t||e)(n.fc(m.f),n.fc(L),n.fc(F),n.fc(P),n.fc(D))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(m.f),Object(n.fc)(L),Object(n.fc)(F),Object(n.fc)(P),Object(n.fc)(D))},token:e,providedIn:"root"}),e})(),Y=(()=>{class e{constructor(e,t,i,n){this.http=e,this.localizationService=t,this.sportBettingLiveClientService=i,this.sportBettingUtilService=n,this.betTypeCategories=[],this._prematchSportsSubject=new o.a(1),this._prematchSports$=this._prematchSportsSubject.asObservable(),this._mostPlayedMatchesSubject=new o.a(1),this._mostPlayedMatches$=this._mostPlayedMatchesSubject.asObservable(),this._lastMinuteMatchesSubject=new o.a(1),this._lastMinuteMatches$=this._lastMinuteMatchesSubject.asObservable(),this._liveSportsSubject=new o.a(1),this._liveSports$=this._liveSportsSubject.asObservable(),this._upcomingLiveMatchesSubject=new o.a(1),this._upcomingLiveMatches$=this._upcomingLiveMatchesSubject.asObservable(),this._liveSportMatchesSubject=new o.a(1),this._liveSportMatches$=this._liveSportMatchesSubject.asObservable(),this._liveMatchExtendedRegisteredMatchIds=[],this._liveMatchExtendedSubject=new o.a(1),this._liveMatchExtended$=this._liveMatchExtendedSubject.asObservable(),this._liveMatchFavoritesRegisteredMatchIds=[],this._liveMatchFavoritesSubject=new o.a(1),this._liveMatchFavorites$=this._liveMatchFavoritesSubject.asObservable(),this._liveTopMatchesSubject=new o.a(1),this._liveTopMatches$=this._liveTopMatchesSubject.asObservable(),this._liveRegisteredOffersSubject=new o.a(1),this._liveRegisteredOffers$=this._liveRegisteredOffersSubject.asObservable(),this._liveMatchesCountSubject=new o.a(1),this._liveMatchesCount$=this._liveMatchesCountSubject.asObservable(),this._liveStatusSubject=new o.a(1),this._liveStatus$=this._liveStatusSubject.asObservable(),this.cacheInterval=300,this.sportBettingLiveClientService.sportUpdate$.subscribe(e=>{this.onLiveSportsUpdate(e)}),this.sportBettingLiveClientService.matchesUpdate$.subscribe(e=>{this.onLiveMatchesUpdate(e)}),this.sportBettingLiveClientService.matchExtendedUpdate$.subscribe(e=>{this.onLiveMatchExtendedUpdate(e)}),this.sportBettingLiveClientService.topMatchesUpdate$.subscribe(e=>{this.onLiveTopMatchesUpdate(e)}),this.sportBettingLiveClientService.offersUpdate$.subscribe(e=>{this.onLiveOffersUpdate(e)}),this.sportBettingLiveClientService.matchesCountUpdate$.subscribe(e=>{this.onMatchesCountUpdate(e)}),this.sportBettingLiveClientService.liveStatus$.subscribe(e=>{this.onLiveStatusUpdateUpdate(e)}),setInterval(()=>this.onCloseLiveMatches(),3e4)}initialize(e,t,i){this._initialized=!1;const n=new o.a(1);return this.config=e,this.setCacheItems(),this.sportBettingUtilService.config=i,this.sportBettingLiveClientService.initialize(t),n.next(),n.complete(),this._initialized=!0,n.asObservable()}setCacheItems(){let e=this.config.cacheTimeInterval?1e3*this.config.cacheTimeInterval:1e3*this.cacheInterval;this._prematchSportsCache=new E(this.updatePrematchSports.bind(this),this.prematchSportsCacheValid.bind(this),this._prematchSportsSubject,e,!0,2*e),this._mostPlayedCache=new E(this.updateMostPlayed.bind(this),this.mostPlayedCacheValid.bind(this),this._mostPlayedMatchesSubject,e,!0,2*e),this._lastMinuteCache=new E(this.updateLastMinute.bind(this),this.lastMinuteCacheValid.bind(this),this._lastMinuteMatchesSubject,e,!0,2*e)}start(e=!0){const t=new o.a(1);if(this.running)t.next(),t.complete();else{this.running=!0;const i=[],n=new o.a(1);e&&(this._mostPlayedCache.autoRefresh=!0,this._lastMinuteCache.autoRefresh=!0,this._prematchSportsCache.autoRefresh=!0,this._prematchSportsCache.update().subscribe(e=>{i.push(this._lastMinuteCache.update()),n.next(!0),n.complete()},e=>{n.error(e),n.complete(),console.error(e)}),i.push(n.asObservable()),i.push(this._mostPlayedCache.update())),this._upcomingLiveMatchesCache&&i.push(this._upcomingLiveMatchesCache.update()),i.push(this.loadBetTypeConfiguration()),this.config.liveBettingEnabled?this.sportBettingLiveClientService.start():this.sportBettingLiveClientService.stop(),Object(l.a)(...i).subscribe(()=>{t.next(),t.complete()},e=>{t.error(e),t.complete(),console.error(e)})}return t.asObservable()}stop(){this.running=!1,this._mostPlayedCache.autoRefresh=!1,this._lastMinuteCache.autoRefresh=!1,this._upcomingLiveMatchesCache&&(this._upcomingLiveMatchesCache.autoRefresh=!1),this._prematchSportsCache.autoRefresh=!1,this.sportBettingLiveClientService.stop()}get mostPlayedMatches$(){return this._initialized&&this._mostPlayedCache.get().pipe(Object(d.a)(1)).subscribe(),this._mostPlayedMatches$}get prematchSports$(){return this._initialized&&this._prematchSportsCache.get().pipe(Object(d.a)(1)).subscribe(),this._prematchSports$}get lastMinuteMatches$(){return this._initialized&&!this._lastMinuteUpdateInProgress&&this._lastMinuteCache.get().pipe(Object(d.a)(1)).subscribe(),this._lastMinuteMatches$}get upcomingLiveMatches$(){return this._initialized&&this._upcomingLiveMatchesCache.get().pipe(Object(d.a)(1)).subscribe(),this._upcomingLiveMatches$}get liveSports$(){return this._liveSports$}get liveSportMatches$(){return this._liveSportMatches$}get liveMatchExtended$(){return this._liveMatchExtended$}get liveMatchFavorites$(){return this._liveMatchFavorites$}get liveTopMatches$(){return this._liveTopMatches$}get liveRegisteredOffers$(){return this._liveRegisteredOffers$}get liveMatchesCount$(){return this._liveMatchesCount$}get liveStatus$(){return this._liveStatus$}registerForLiveSports(){this.getLiveSports().subscribe(e=>{this._liveSports=e,this._liveSportsSubject.next(this._liveSports),this.sportBettingLiveClientService.registerForSports()})}registerForLiveSportMatches(e,t){this._liveSportMatchesRegisteredSportIds=e,this.getLiveSportMatches(e,t).subscribe(i=>{this._liveSportMatches=i,this._liveSportMatchesMap=this.sportBettingUtilService.getMatchesMap(i),this._liveSportMatchesSubject.next(this._liveSportMatches),this.sportBettingLiveClientService.registerForMatches(e),t&&this.sportBettingLiveClientService.registerForLiveBetType(e[0],t)})}registerLiveOfferBetTypes(e,t){this._liveSportMatches&&(this._liveSportMatches.forEach(e=>{e.categories.forEach(e=>{e.leagues.forEach(e=>{e.matches.forEach(e=>{e.tempBetTypeOffers=null,e.betTypeOffers=null,e.betTypeOffer=null})})})}),this._liveSportMatchesSubject.next(this._liveSportMatches)),this.sportBettingLiveClientService.registerForLiveBetType(e,t)}registerForLiveMatchFavorites(e){this._liveMatchFavoritesRegisteredMatchIds=e,this.registerForLiveFavorites()}registerForLiveFavorites(){const e=[];for(let t=0;t<this._liveMatchFavoritesRegisteredMatchIds.length;t++)-1==e.indexOf(this._liveMatchFavoritesRegisteredMatchIds[t])&&e.push(this._liveMatchFavoritesRegisteredMatchIds[t]);if(e.length){const t=[];this._liveMatchFavorites=[];for(const i of e)t.push(this.getMatchExtendedOffer(i,!0).pipe(Object(f.a)(e=>{this._liveMatchFavorites.push(e)})));Object(l.a)(...t).subscribe(t=>{this._liveMatchFavoritesSubject.next(this._liveMatchFavorites),this.sportBettingLiveClientService.registerMatches(e)})}else this._liveMatchFavorites=[],this._liveMatchFavoritesSubject.next(this._liveMatchFavorites),this.sportBettingLiveClientService.registerMatches(e)}registerForLiveMatchExtended(e){this._liveMatchExtendedRegisteredMatchIds=e,this.registerForLiveExtended()}registerForLiveExtended(){const e=[];for(let t=0;t<this._liveMatchExtendedRegisteredMatchIds.length;t++)-1==e.indexOf(this._liveMatchExtendedRegisteredMatchIds[t])&&e.push(this._liveMatchExtendedRegisteredMatchIds[t]);if(e&&e.length>0){const t=[];this._liveMatchExtended=[];for(const i of e)t.push(this.getMatchExtendedOffer(i,!0).pipe(Object(f.a)(e=>{this._liveMatchExtended.push(e)})));Object(l.a)(...t).subscribe(t=>{this._liveMatchExtendedSubject.next(this._liveMatchExtended),this.sportBettingLiveClientService.registerForExtended(e)})}else this._liveMatchExtended=[],this._liveMatchExtendedSubject.next(this._liveMatchExtended),this.sportBettingLiveClientService.registerForExtended(e)}registerForLiveTopMatches(e=10){this._liveTopMatchesRegisteredLimit=e,this.getLiveTopMatches(e).subscribe(t=>{this._liveTopMatches=t,this._liveTopMatchesMap=this.sportBettingUtilService.getMatchesMap(t),this._liveSportMatchesSubject.next(this._liveTopMatches),this.sportBettingLiveClientService.registerForTopMatches(e)})}registerForLiveOffers(e){this._liveRegisteredOfferIds!==e&&(this._liveRegisteredOfferIds=e,this.sportBettingLiveClientService.registerForOffers(e))}registerLiveMatchesCount(){this.sportBettingLiveClientService.registerForMatchesCount()}getBetByV6Code(e){return this.http.get(`${this.config.api.url}offer/v3/bets?offerCode=${e.MatchCode}&pickCode=${encodeURIComponent(e.BetCode.toUpperCase())}`).pipe(Object(h.a)(3e3))}getMatchByCode(e){return this.http.get(`${this.config.api.url}offer/v3/match?offerCode=${e}`).pipe(Object(h.a)(3e4))}searchOffer(e,t,i,n=!1){return this.http.get(`${this.config.api.url}offer/v3/search${n?"/live":""}?Value=${i}&Offset=${e}&Limit=${t}`).pipe(Object(f.a)(e=>{const t=e.response;if(t){this.sportBettingUtilService.formatSports(t);for(const e of t)for(const t of e.categories)for(const e of t.leagues)for(const t of e.matches)this.sportBettingUtilService.formatData(t)}return{count:e.count,sports:t}}))}getBetByCode(e,t){const i=new c.a;return this.http.get(encodeURI(`${this.config.api.url}offer/v3/bets?offerCode=${e}&pickCode=${t}`)).pipe(Object(d.a)(1)).subscribe(e=>{i.next(e)},e=>{i.error(e)},()=>{i.complete()}),i.asObservable()}getAutocompleteOptions(e,t,i=!1){const n=new c.a;let s=`${this.config.api.url}offer/v3/autocomplete`;return t&&1==t&&(s=`${s}v2`),s=`${s}${i?"/live":""}?Value=${e}`,this.http.get(encodeURI(s)).pipe(Object(d.a)(1)).subscribe(e=>{n.next(e)},e=>{n.error(e)},()=>{n.complete()}),n.asObservable()}get liveUpdateType(){return this.config.liveUpdateType?this.config.liveUpdateType:0}getMatchExtendedOffer(e,t=!1){const i=new c.a;return this.http.get(`${this.config.api.url}offer/v3/match/offers?MatchId=${e}`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).subscribe(e=>{if(e&&e.offers){e.offersMap=this.sportBettingUtilService.getOffersMap(e.offers);for(const i in e.offersMap){const n=e.offersMap[i];["40","4093","4092","4111"].includes(n.betTypeKey)&&this.sportBettingUtilService.formatOdds(n),n.oddsCount=n.odds.length,0===n.odds.length?delete e.offersMap[i]:!t||(this.liveUpdateType>0?n.isEnabled:n.active&&n.isEnabled)?t&&this.sportBettingUtilService.formatOdds(n):delete e.offersMap[i]}e.offers=this.sportBettingUtilService.getOffersFromMap(e.offersMap)}i.next(e),i.complete()},e=>{i.error(e),i.complete()}),i.asObservable()}getPrematchOfferBySlug(e,t,i,n,s,r=0,o=1e5,a=null){const l=new c.a;return this.prematchSports$.pipe(Object(d.a)(1)).subscribe(c=>{for(const u of c)if(u.slug===e){if(!t)return void this.getPrematchOffer([u.id],[],[],n,s,r,o,a).subscribe(e=>{l.next(e),l.complete()},e=>{l.error(e),l.complete()});for(const e of u.categories)if(e.slug===t){if(!i)return void this.getPrematchOffer([u.id],[e.id],[],n,s,r,o,a).subscribe(e=>{l.next(e),l.complete()},e=>{l.error(e),l.complete()});for(const t of e.leagues)if(t.slug===i)return void this.getPrematchOffer([u.id],[e.id],[t.id],n,s,r,o,a).subscribe(e=>{l.next(e),l.complete()},e=>{l.error(e),l.complete()})}}l.next({count:0,sports:[]}),l.complete()},e=>{l.error(e),l.complete()}),l}getTimedPrematchOfferBySlug(e,t,i,n,s,r=0,o=1e5,a=null){const l=new c.a;return this.prematchSports$.pipe(Object(d.a)(1)).subscribe(c=>{for(const u of c)if(u.slug===e){if(!t)return void this.getTimedPrematchOffer([u.id],[],[],n,s,r,o,a).subscribe(e=>{l.next(e),l.complete()},e=>{l.error(e),l.complete()});for(const e of u.categories)if(e.slug===t){if(!i)return void this.getTimedPrematchOffer([u.id],[e.id],[],n,s,r,o,a).subscribe(e=>{l.next(e),l.complete()},e=>{l.error(e),l.complete()});for(const t of e.leagues)if(t.slug===i)return void this.getTimedPrematchOffer([u.id],[e.id],[t.id],n,s,r,o,a).subscribe(e=>{l.next(e),l.complete()},e=>{l.error(e),l.complete()})}}l.next({count:0,sports:[]}),l.complete()},e=>{l.error(e),l.complete()}),l}getPrematchOfferByBetType(e,t,i,n){let s,r=new c.a;return s=`?LeagueId=${e}`,s=`${s}&BetTypeId=${t}`,i&&(s=`${s}&SearchValue=${i}`),n&&(s=`${s}&DateTo=${n.toISOString()}`),this.http.get(`${this.config.api.url}offer/v3/bettype/matches${s}`).pipe(Object(h.a)(3e4)).subscribe(e=>{let t=e.response;if(t)for(const i of t)this.sportBettingUtilService.formatData(i);else t=[];r.next(t),r.complete()},e=>{r.error(e),r.complete()}),r.asObservable()}getPrematchOffer(e,t,i,n,s,r=0,o=1e5,a=null){const l=new c.a;let u=`${this.config.api.url}offer/v3/sports/offer`,d=`?Offset=${r}&Limit=${o}&DateFrom=${n.toISOString()}`;return e.length&&(d=`${d}&SportIds=${e.toString()}`),t.length&&(d=`${d}&CategoryIds=${t.toString()}`),i.length&&(d=`${d}&LeagueIds=${i.toString()}`),s&&(d=`${d}&DateTo=${s.toISOString()}`),a&&(d=`${d}&BetTypeKey=${a.toString()}`),this.http.get(`${u}${d}`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).subscribe(e=>{const t=e.response;if(t){this.sportBettingUtilService.formatSports(t);for(const e of t)for(const t of e.categories)for(const e of t.leagues)if(e.matches.length){let t=void 0;e.matches[0].basicOffer&&(t=-1!==this.config.webOutrightsBetTypes.indexOf(e.matches[0].basicOffer.betTypeKey)),t?e.matches=this.sortOutrights(e.matches):e.matches.sort((e,t)=>e.matchStartTime.toString().localeCompare(t.matchStartTime.toString())||e.description.localeCompare(t.description));for(const i of e.matches)this.sportBettingUtilService.formatData(i)}}l.next({count:e.count,sports:t}),l.complete()},e=>{l.error(e),l.complete()}),l.asObservable()}getTimedPrematchOffer(e,t,i,n,s,r=0,o=1e5,a=null){const l=new c.a;let u=`${this.config.api.url}offer/v3/matches/flat`,d=`?Offset=${r}&Limit=${o}&DateFrom=${n.toISOString()}`;return e.length&&(d=`${d}&SportIds=${e.toString()}`),t.length&&(d=`${d}&CategoryIds=${t.toString()}`),i.length&&(d=`${d}&LeagueIds=${i.toString()}`),s&&(d=`${d}&DateTo=${s.toISOString()}`),a&&(d=`${d}&BetTypeKey=${a.toString()}`),this.http.get(`${u}${d}`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).subscribe(e=>{let t=e.response;if(t.length){let e=void 0;t[0].basicOffer&&(e=-1!==this.config.webOutrightsBetTypes.indexOf(t[0].basicOffer.betTypeKey)),e?t=this.sortOutrights(t):t.sort((e,t)=>e.matchStartTime.toString().localeCompare(t.matchStartTime.toString())||e.description.localeCompare(t.description));for(const i of t)this.sportBettingUtilService.formatData(i)}l.next({commonHeaders:e.commonHeaders,count:e.count,matches:t}),l.complete()},e=>{l.error(e),l.complete()}),l.asObservable()}sortOutrights(e){return e.sort((function(e,t){const i=e.basicOffer,n=t.basicOffer;if(i&&n&&i.odds.length&&n.odds.length){if(i.odds[0]&&i.odds[0])return i.odds[0]-n.odds[0];if(i.odds[1]&&i.odds[1])return i.odds[0]-n.odds[0]}return e.matchStartTime.toString().localeCompare(t.matchStartTime.toString())||e.description.localeCompare(t.description)}))}getPrematchBannerOffer(e,t){const i=new c.a;return this.http.get(`${this.config.api.url}offer/v3/bannersport?OfferId=${e}&OfferType=${t}`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).subscribe(e=>{const t=e.response?e.response:e;if(t){this.sportBettingUtilService.formatSports(t);for(const e of t)for(const t of e.categories)for(const e of t.leagues)for(const t of e.matches)this.sportBettingUtilService.formatData(t)}i.next({count:e.count,sports:t}),i.complete()},e=>{i.error(e),i.complete()}),i.asObservable()}loadBetTypeConfiguration(){const e=new c.a;return this.http.get(`${this.config.api.url}offer/v3/bettypes/categories`).pipe(Object(d.a)(1)).subscribe(t=>{this.betTypeCategories=t,e.next(t)},t=>{e.error(t)},()=>{e.complete()}),e.asObservable()}updateMostPlayed(){const e=new o.a(1),t=this.config.mostPlayedSports.map(e=>this.getMostPlayed(e));return t.length>0?Object(l.a)(...t).subscribe(t=>{e.next(Object(g.flatten)(t)),e.complete()}):(e.next([]),e.complete()),e.asObservable()}getMostPlayed(e){let t=`?Limit=${this.config.mostPlayedMatchesPerSport}&Hours=${this.config.mostPlayedOfferFiltersTime}`;return e&&(t=`${t}&sportId=${e}`),this.http.get(`${this.config.api.url}offer/v3/mostplayed${t}`,{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType,"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"Sat, 01 Jan 2000 00:00:00 GMT"}}).pipe(Object(h.a)(3e4)).pipe(Object(f.a)(e=>(this.sportBettingUtilService.formatSports(e),e)))}mostPlayedCacheValid(e){for(const t of e){for(const e of t.categories)for(const t of e.leagues)for(const e of t.matches)if(new Date(e.matchStartTime).valueOf()<(new Date).valueOf())return!1;return!0}}takeFirstFiveSports(e){this._lastMinuteUpdateInProgress=!0;const t=new o.a(1),i=[];for(const s of e){if(!(i.length<5))break;s.isSpecial||i.push(s.id)}const n=i.map(e=>this.getLastMinute(e));return n.length>0?Object(l.a)(...n).subscribe(e=>{t.next(Object(g.flatten)(e)),t.complete(),this._lastMinuteUpdateInProgress=!1}):(t.next([]),t.complete(),this._lastMinuteUpdateInProgress=!1),t.asObservable()}updateLastMinute(){const e=new o.a(1);if(0===this.config.lastMinuteSports.length)this._prematchSportsCache.cachedItem?this.takeFirstFiveSports(this._prematchSportsCache.cachedItem).subscribe(t=>{e.next(t),e.complete()},t=>{e.next([]),e.complete()}):this.prematchSports$.pipe(Object(d.a)(1)).subscribe(t=>{this.takeFirstFiveSports(t).subscribe(t=>{e.next(t),e.complete()},t=>{e.next([]),e.complete()})},t=>{e.next([]),e.complete()});else{const t=this.config.lastMinuteSports.map(e=>this.getLastMinute(e));t.length>0?Object(l.a)(...t).subscribe(t=>{e.next(Object(g.flatten)(t)),e.complete()}):(e.next([]),e.complete())}return e.asObservable()}getLastMinute(e){return this.http.get(`${this.config.api.url}offer/v3/lastminute?limit=${this.config.lastMinuteMatchesPerSport}&sportId=${e}`,{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).pipe(Object(f.a)(e=>(this.sportBettingUtilService.formatSports(e,!0),e)))}lastMinuteCacheValid(e){for(const t of e){for(const e of t.categories)for(const t of e.leagues)for(const e of t.matches)if(new Date(e.matchStartTime).valueOf()<(new Date).valueOf()&&!e.isLiveMatchAvailable)return!1;return!0}}setUpcomingLiveCache(){if(!this.upcomingCacheSet){let e=this.config.cacheTimeInterval?1e3*this.config.cacheTimeInterval:1e3*this.cacheInterval;this._upcomingLiveMatchesCache=new E(this.updateUpcomingLiveMatches.bind(this),this.upcomingLiveMatchesCacheValid.bind(this),this._upcomingLiveMatchesSubject,e,!0,2*e)}}updateUpcomingLiveMatches(){const e=new o.a(1),t=this.getUpcomingLiveMatches();return t?t.subscribe(t=>{const i=this.removeStartedLiveMatches(t);this.upcomingCacheSet=!0,e.next(i),e.complete()}):(e.next([]),e.complete()),e.asObservable()}getUpcomingLiveMatches(){return this.http.get(`${this.config.api.url}offer/v3/sports/live/full`,{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).pipe(Object(f.a)(e=>{this.sportBettingUtilService.formatSports(e);const t=[];return this.sportBettingUtilService.flattenToMatchesUpToSport(e,t),t}))}upcomingLiveMatchesCacheValid(e){for(const t of e){for(const e of t.matches)if(new Date(e.matchStartTime).valueOf()<(new Date).valueOf())return!1;return!0}}removeStartedLiveMatches(e){for(const t of e)Object(g.remove)(t.matches,e=>!0===e.isLiveMatchAvailable);return e}updatePrematchSports(){let e="";return this.sportMenuDateFromFilter&&this.sportMenuDateToFilter&&(e="&DateFrom="+this.sportMenuDateFromFilter+"&DateTo="+this.sportMenuDateToFilter),this.http.get(`${this.config.api.url}offer/v3/sports?OddsFilter=0`+e,{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4)).pipe(Object(f.a)(e=>(this.sportBettingUtilService.formatSports(e),e),e=>[]))}prematchSportsCacheValid(e){return void 0!==e&&void 0===Object(g.find)(e,e=>new Date(e.matchStartTime)<new Date)}updatePrematchSportsCache(){return this._prematchSportsCache.update()}getLiveSports(){return this.http.get(`${this.config.api.url}offer/v3/sportsmenu/live`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}getLiveSportMatches(e,t){let i=`${this.config.api.url}offer/v3/matches/live?SportIds=${e.toString()}`;return t&&(i+=`&BetTypeKey=${t}`),this.http.get(i,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}getLiveSportMatchInfo(e,t,i){let n=`${this.config.api.url}offer/v3/matches/live/info?Id=${e.toString()}`;return t&&(n+=`&BetTypeKey=${t}`),void 0!==i&&(n+=`&BaseLine=${i}`),this.http.get(n,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}getLiveTopMatches(e=10){return this.http.get(`${this.config.api.url}offer/v3/matches/${e}/live`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}onLiveSportsUpdate(e){this._liveSports=e,this._liveSportsSubject.next(e)}onLiveMatchesUpdate(e){let t;for(const i of e){const e=this._liveSportMatchesMap[i.Id];if(this._liveMatchFavorites){const e=this._liveMatchFavorites.find(e=>e.id===i.Id);e&&this.updateMatchFromLiveMatchUpdate(e,i)}if(!e){t=i;break}this.updateMatchFromLiveMatchUpdate(e,i)}t?this.onNewMatchDetected(t):(this._liveSportMatchesSubject.next(this._liveSportMatches),this._liveMatchFavorites&&this._liveMatchFavoritesSubject.next(this._liveMatchFavorites))}onNewMatchDetected(e){this.newMatchBusy||(this.newMatchBusy=!0,this.getLiveSportMatchInfo(e.Id).subscribe(e=>{const t=e.categories[0].leagues[0].matches[0];let i,n=!1;for(let s=0;s<this._liveSportMatches.length;s++){const r=this._liveSportMatches[s];if(r.categories&&r.categories.length){if(r.id==t.sportId){let s;i=r;for(let i=0;i<r.categories.length;i++){const o=r.categories[i];if(o.id==t.categoryId){let i;s=o;for(let e=0;e<o.leagues.length;e++){const s=o.leagues[e];if(s.id==t.leagueId){i=s;for(let e=0;e<s.matches.length;e++)if(s.matches[e].id==t.id){n=!0;break}if(!n){s.matches.push(t),n=!0;break}}}if(n)break;if(!i){o.leagues.push(e.categories[0].leagues[0]),n=!0;break}}}if(n)break;if(!s){r.categories.push(e.categories[0]),n=!0;break}}}else this.sportBettingLiveClientService.stop(),this.sportBettingLiveClientService.start()}n&&(this._liveSportMatchesMap[t.id]=t,this._liveSportMatchesSubject.next(this._liveSportMatches)),this.newMatchBusy=!1},e=>{this.newMatchBusy=!1}))}onLiveTopMatchesUpdate(e){let t=!1;for(const i of e){const e=this._liveTopMatchesMap[i.Id];e?this.updateMatchFromLiveMatchUpdate(e,i):t=!0}t?this.getLiveTopMatches(this._liveTopMatchesRegisteredLimit).subscribe(e=>{this._liveTopMatches=e,this._liveTopMatchesMap=this.sportBettingUtilService.getMatchesMap(e),this._liveTopMatchesSubject.next(this._liveTopMatches)}):this._liveTopMatchesSubject.next(this._liveTopMatches)}onLiveMatchExtendedUpdate(e){let t=!1;for(const i of e)if(this._liveMatchExtended)for(const e of this._liveMatchExtended)if(e&&e.id===i.Id){this.updateMatchFromLiveMatchUpdate(e,i),t=!0;break}t&&this._liveMatchExtendedSubject.next(this._liveMatchExtended)}onLiveOffersUpdate(e){const t=e.map(e=>this.sportBettingUtilService.inflateLiveOfferUpdate(e));this._liveRegisteredOffersSubject.next(t)}onMatchesCountUpdate(e){this._liveMatchesCountSubject.next(e)}onLiveStatusUpdateUpdate(e){this._liveStatusSubject.next(e)}updateMatchFromLiveMatchUpdate(e,t){const i=e.basicOffer;if(e.sportId=t.sid,e.categoryId=t.cid,e.liveMatchState=t.lms,e.liveMatchTime=t.lmt,e.liveMatchTimeState=t.lmts,e.liveMatchTimeOrigName=t.lmto,e.liveMatchScore=t.lmsc,e.liveSetScore=t.lssc,e.liveServer=t.ls,e.liveGameScore=t.lgsc,e.liveMatchInfo=t.lmi,e.liveMatchEndTime=t.lmet,e.liveHalfTimeScore=t.lmhts,e.liveHomeYellowCards=t.lhyc,e.liveAwayYellowCards=t.layc,e.liveHomeRedCards=t.lhrc,e.liveAwayRedCards=t.larc,e.liveHomeCorners=t.lhcr,e.liveAwayCorners=t.lacr,e.liveHomeYellowRedCards=t.lhyrc,e.liveAwayYellowRedCards=t.layrc,e.hasExtendedLive=t.hel,e.offersCount=t.ofc,e.oddsCount=t.odc,e.isLiveMatchAvailable=t.lma,e.isBlocked=t.b,e.basicOffer=this.sportBettingUtilService.inflateLiveOfferUpdate(t.bo),e.basicOffer&&e.basicOffer.odds&&(this.sportBettingUtilService.formatOdds(e.basicOffer),e.basicOffer.oddsCount=e.basicOffer.odds.length,0===e.basicOffer.oddsCount&&(e.basicOffer=void 0)),this.sportBettingUtilService.determineOfferOddChangeType(i,e.basicOffer),"terminal"==this.config.api.headers.deviceType){const i=this.sportBettingUtilService.getCommonOffersMap(Object(g.map)(t.cofs,e=>this.sportBettingUtilService.inflateLiveOfferUpdate(e)));e.commonOffers||(e.commonOffers=[]),e.commonOffersMap||(e.commonOffersMap={});for(const t in i){const n=i[t];this.sportBettingUtilService.formatOdds(n),n.oddsCount=n.odds.length;const s=e.commonOffersMap[t];e.commonOffersMap[t]=n,this.sportBettingUtilService.determineOfferOddChangeType(s,n)}e.commonOffers=this.sportBettingUtilService.getOffersFromMap(e.commonOffersMap)}const n=this.sportBettingUtilService.getOffersMap(Object(g.map)(t.ofs,e=>this.sportBettingUtilService.inflateLiveOfferUpdate(e)));e.offers||(e.offers=[]),e.offersMap||(e.offersMap={});for(const s in n){const t=n[s];if(this.sportBettingUtilService.formatOdds(t),(this.liveUpdateType>0?t.isEnabled:t.active&&t.isEnabled)&&t.odds.length){t.oddsCount=t.odds.length;const i=e.offersMap[s];e.offersMap[s]=t,this.sportBettingUtilService.determineOfferOddChangeType(i,t)}else delete e.offersMap[s]}if(t.cofs&&t.cofs.length&&1==t.cofs.length){const i=this.sportBettingUtilService.getOffersMap(Object(g.map)(t.cofs,e=>this.sportBettingUtilService.inflateLiveOfferUpdate(e)));e.tempBetTypeOffers||(e.tempBetTypeOffers={});for(let t in i){let n=i[t];if(this.sportBettingUtilService.formatOdds(n),n.active&&n.isEnabled&&n.odds.length){let i=e.tempBetTypeOffers[t];n.sbv&&n.odds.unshift({isSbv:!0,id:0,name:"",extendedName:"",origName:"",odd:n?n.sbv:"",formatedOdd:n?n.sbv:"",isWin:!1,isTopOdd:!1,type:null,active:!0,changeType:0,betBuilderOdd:!1}),e.tempBetTypeOffers[t]=n,this.sportBettingUtilService.determineOfferOddChangeType(i,n)}else delete e.tempBetTypeOffers[t]}e.betTypeOffers=this.prepareBettypeOffers(e.tempBetTypeOffers),e.betTypeOffer=e.betTypeOffers.length?e.betTypeOffers[0]:null}e.offers=this.sportBettingUtilService.getOffersFromMap(e.offersMap),this.sportBettingUtilService.formatData(e)}prepareBettypeOffers(e){let t=[];for(let i in e)t.push(e[i]);return t.sort((e,t)=>e.sbv>t.sbv?1:-1)}onCloseLiveMatches(){this.onCloseLiveSportMatches(),this.onCloseLiveTopMatches()}onCloseLiveSportMatches(){let e=0;const t=this._liveSportMatches;if(t)for(let i=0;i<t.length;i++){const n=t[i];for(let t=0;t<n.categories.length;t++){const i=n.categories[t];for(let t=0;t<i.leagues.length;t++){const s=i.leagues[t];for(let t=0;t<s.matches.length;t++){const r=s.matches[t];if(2===r.liveMatchState)if(r.liveMatchEndTime){const o=new Date(r.liveMatchEndTime);o.setMinutes(o.getMinutes()+3),new Date>o&&(n.matchesCount--,i.matchesCount--,s.matchesCount--,s.matches.splice(t,1),e++,t--)}else n.matchesCount--,i.matchesCount--,s.matchesCount--,s.matches.splice(t,1),e++,t--}s.matches.length||(i.leagues.splice(t,1),t--)}i.leagues.length||(n.categories.splice(t,1),t--)}n.categories.length||(t.splice(i,1),i--)}e>0&&(this._liveSportMatchesMap=this.sportBettingUtilService.getMatchesMap(this._liveSportMatches),this._liveSportMatchesSubject.next(this._liveSportMatches))}onCloseLiveTopMatches(){let e=0;const t=this._liveTopMatches;if(t)for(let i=0;i<t.length;i++){const n=t[i];for(let t=0;t<n.categories.length;t++){const i=n.categories[t];for(let t=0;t<i.leagues.length;t++){const s=i.leagues[t];for(let t=0;t<s.matches.length;t++){const r=s.matches[t];if(2===r.liveMatchState)if(r.liveMatchEndTime){const o=new Date(r.liveMatchEndTime);o.setMinutes(o.getMinutes()+3),new Date>o&&(n.matchesCount--,i.matchesCount--,s.matchesCount--,s.matches.splice(t,1),e++,t--)}else n.matchesCount--,i.matchesCount--,s.matchesCount--,s.matches.splice(t,1),e++,t--}s.matches.length||(i.leagues.splice(t,1),t--)}i.leagues.length||(n.categories.splice(t,1),t--)}n.categories.length||(t.splice(i,1),i--)}e>0&&(this._liveTopMatchesMap=this.sportBettingUtilService.getMatchesMap(this._liveSportMatches),this._liveTopMatchesSubject.next(this._liveTopMatches))}getAvailableDates(){return this.http.get(`${this.config.api.url}offer/v3/availabledates`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}getAvailableSports(e){return this.http.get(`${this.config.api.url}offer/v3/availablesports?Date=${e.Date.toISOString()}&TimeZoneOffset=${e.TimeZoneOffset}`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}getOfferPrint(e){let t=`?DateFrom=${e.DateFrom.toISOString}&DateTo=${e.DateTo.toISOString()}&LanguageId=${e.LanguageId}&TimeZoneOffset=${e.TimeZoneOffset}`;return this.http.get(`${this.config.api.url}offer/v3/offerprint?${t}`,{headers:{"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(3e4))}startLive(){this.config.liveBettingEnabled&&this.sportBettingLiveClientService.start()}stopLive(){this.sportBettingLiveClientService.stop()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(F),n.fc(j),n.fc(B))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(F),Object(n.fc)(j),Object(n.fc)(B))},token:e,providedIn:"root"}),e})(),H=(()=>{class e{constructor(e,t){this.sportBettingOfferService=e,this.translationService=t}transform(e,...t){const i=t[1];return t[0]&&this.sportBettingOfferService.betTypeCategories.length>0?this.transformWithBetTypeCategories(e):i?this.transformWithoutBetTypeCategories(e):e}transformWithBetTypeCategories(e){const t=[],i={};for(const n of this.sportBettingOfferService.betTypeCategories)i[n.id]=Object.assign({offerGroups:[]},n);if(i[-99999]={id:-99999,ordering:1e5,name:"OTHERS",translatedName:this.translationService.translate("OTHER_BET_TYPES"),offerGroups:[]},e){const t=[];for(const i in e)t.push(e[i]);const n=Object(g.groupBy)(t,"betTypeKey");for(const e in n){const t={id:e,description:n[e][0].originDescription,ordering:n[e][0].ordering,betTypeCategories:n[e][0].betTypeCategories,betTypeInfo:n[e][0].betTypeInfo,allowedBetTypeCombinations:n[e][0].allowedBetTypeCombinations,offers:n[e].sort((t,i)=>{let n=0;if(i.ordering&&t.ordering&&(n=t.ordering-i.ordering),0===n&&t.hasSbv&&i.hasSbv){const e=Number(t.sbv),s=Number(i.sbv);isNaN(e)||isNaN(s)?t.sbv&&(n=t.sbv.localeCompare(i.sbv)):n=e-s}return["40","4093","4092","4111"].includes(e)&&(n=t.odds[0].odd-i.odds[0].odd),n})};let s;t.betTypeCategories&&t.betTypeCategories.length>0?Object(g.forEach)(t.betTypeCategories,e=>{s=i[e],s.offerGroups.push(t)}):(s=i[-99999],s.offerGroups.push(t))}}for(const n in i){const e=i[n];e.offerGroups.length>0&&(t.push(e),e.offerGroups.sort((e,t)=>{let i=0;if(t.ordering&&e.ordering&&(i=e.ordering-t.ordering),0===i&&e.description&&t.description&&(i=e.description.localeCompare(t.description)),0===i){const n=Number(e.sbv),s=Number(t.sbv);isNaN(n)||isNaN(s)?e.sbv&&(i=e.sbv.localeCompare(t.sbv)):i=n-s}return i}))}return t.sort((e,t)=>{let i=0;return t.ordering&&e.ordering&&(i=e.ordering-t.ordering),0===i&&(i=e.translatedName.localeCompare(t.translatedName)),i}),t}transformWithoutBetTypeCategories(e){const t=[];if(e){const i=[];for(const t in e)i.push(e[t]);const n=Object(g.groupBy)(i,"betTypeKey");for(const e in n)t.push({id:e,description:n[e][0].originDescription,ordering:n[e][0].ordering,offers:n[e].sort((t,i)=>{let n=0;if(i.ordering&&t.ordering&&(n=t.ordering-i.ordering),0===n&&(n=t.hasSbv&&i.hasSbv?t.description.replace(t.sbv,"").localeCompare(i.description.replace(i.sbv,"")):t.description.localeCompare(i.description)),0===n){const e=Number(t.sbv),s=Number(i.sbv);isNaN(e)||isNaN(s)?t.sbv&&(n=t.sbv.localeCompare(i.sbv)):n=e-s}return["40","4093","4092","4111"].includes(e)&&(n=t.odds[0].odd-i.odds[0].odd),n})});t.sort((e,t)=>{let i=0;if(t.ordering&&e.ordering&&(i=e.ordering-t.ordering),0===i&&(i=e.description.localeCompare(t.description)),0===i)if(e.sbv&&t.sbv){const n=Number(e.sbv),s=Number(t.sbv);isNaN(n)||isNaN(s)?e.sbv&&(i=e.sbv.localeCompare(t.sbv)):i=n-s}else i=e.id-t.id;return i})}return t}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(Y),n.Vb(F))},e.\u0275pipe=n.Ub({name:"offerSort",type:e,pure:!0}),e})(),V=(()=>{class e{transform(e,t="",i=""){return e&&""!==t&&t?i&&""!==i?e.length<=1?e:Object(g.orderBy)(e,[i],[t]):Object(g.sortBy)(e):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"sortBy",type:e,pure:!0}),e})(),U=(()=>{class e{transform(e,t,i){let n,s=[];return s=e.filter(e=>e.scorerTeamId===t),n=e.filter(e=>e.scorerTeamId===i),[s,n]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"teamGroup",type:e,pure:!0}),e})(),W=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[v,k,w,S,T,D,H,V,U],imports:[[]]}),e})();const z=function(){var e={disconnected:0,connecting:1,connected:2};return e[e.disconnected]="disconnected",e[e.connecting]="connecting",e[e.connected]="connected",e}(),G=function(){var e={mistery:0,color:1,nomatch:2};return e[e.mistery]="mistery",e[e.color]="color",e[e.nomatch]="nomatch",e}(),q=function(){var e={info:0,warning:1,error:2};return e[e.info]="info",e[e.warning]="warning",e[e.error]="error",e}(),K=function(){var e={normal:0};return e[e.normal]="normal",e}();let J=(()=>{class e{constructor(e,t,i,n,s){this.zone=e,this.http=t,this.authService=i,this.localizationService=n,this.camelcaseObjectService=s,this.loadJackpotsTimeline=!0,this.startRefCount=0,this.connectionStateSubj=new o.a(1),this.connectionState$=this.connectionStateSubj.asObservable(),this.roundsSubj=new o.a(1),this.rounds$=this.roundsSubj.asObservable(),this.historyRoundsSubj=new o.a(1),this.historyRounds$=this.historyRoundsSubj.asObservable(),this.bingoStateSubj=new o.a(1),this.bingoState$=this.bingoStateSubj.asObservable(),this.noMatchBonusAmountSubj=new o.a(1),this.noMatchBonusAmount$=this.noMatchBonusAmountSubj.asObservable(),this.colorBonusAmountSubj=new o.a(1),this.colorBonusAmount$=this.colorBonusAmountSubj.asObservable(),this.jackpotAmountSubj=new o.a(1),this.jackpotAmount$=this.jackpotAmountSubj.asObservable(),this.hotJackpotAmountSubj=new o.a(1),this.hotJackpotAmount$=this.hotJackpotAmountSubj.asObservable(),this.megaJackpotAmountSubj=new o.a(1),this.megaJackpotAmount$=this.megaJackpotAmountSubj.asObservable(),this.jackpot56NumbersSubj=new o.a(1),this.jackpot56Numbers$=this.jackpot56NumbersSubj.asObservable(),this.bingoRoundStatsSubj=new o.a(1),this.bingoRoundStatsSubj$=this.bingoRoundStatsSubj.asObservable(),this.bingoJackpotsTimelineSubj=new o.a(1),this.bingoJackpotsTimeline$=this.bingoJackpotsTimelineSubj.asObservable(),this.jackpotWonSubj=new o.a(1),this.jackpotWonSubj$=this.jackpotWonSubj.asObservable()}get connectionState(){return this.mCnnectionState}set connectionState(e){this.mCnnectionState=e,this.connectionStateSubj.next(e)}get rounds(){return this.mRounds}set rounds(e){this.mRounds=e,this.roundsSubj.next(e)}get historyRounds(){return this._historyRounds}set historyRounds(e){this._historyRounds=e,this.roundsSubj.next(e)}get bingoState(){return this._bingoState}set bingoState(e){this._bingoState=e,this.bingoStateSubj.next(e)}get noMatchBonusAmount(){return this._noMatchBonusAmount}set noMatchBonusAmount(e){this._noMatchBonusAmount=e,this.noMatchBonusAmountSubj.next(e)}get colorBonusAmount(){return this._colorBonusAmount}set colorBonusAmount(e){this._colorBonusAmount=e,this.colorBonusAmountSubj.next(e)}get jackpotAmount(){return this._jackpotAmount}set jackpotAmount(e){this._jackpotAmount=e,this.jackpotAmountSubj.next(e)}get hotJackpotAmount(){return this._hotJackpotAmount}set hotJackpotAmount(e){this._hotJackpotAmount=e,this.hotJackpotAmountSubj.next(e)}get megaJackpotAmount(){return this._megaJackpotAmount}set megaJackpotAmount(e){this._megaJackpotAmount=e,this.megaJackpotAmountSubj.next(e)}get jackpot56Numbers(){return this._jackpot56Numbers}set jackpot56Numbers(e){this._jackpot56Numbers=e,this.jackpot56NumbersSubj.next(e)}get bingoRoundStats(){return this._bingoRoundStats}set bingoRoundStats(e){this._bingoRoundStats=e,this.bingoRoundStatsSubj.next(e)}get bingoJackpotsTimeline(){return this._bingoJackpotsTimeline}set bingoJackpotsTimeline(e){this._bingoJackpotsTimeline=e,this.bingoJackpotsTimelineSubj.next(e)}get jackpotWon(){return this._jackpotWon}set jackpotWon(e){this._jackpotWon=e,this.jackpotWonSubj.next(e)}initialize(e){const t=new o.a(1);return this.config=e,t.next(!0),t.complete(),t.asObservable()}start(){return this.startRefCount++,1==this.startRefCount?(this.running=!0,this.connectBingoHub()):this.startRefCount>1?(this.startRefCount=1,this.running=!0,this.connectBingoHub()):void 0}stop(){if(this.startRefCount--,0==this.startRefCount)return this.running=!1,this.disconnectBingoHub()}connectBingoHub(){this.bingoHub&&this.disconnectBingoHub();const e=new o.a(1);return this.getInitialData().subscribe(()=>{e.next(!0),e.complete()},t=>{e.next(!1),e.complete()}),this.bingoHub=new C("bingohubV2",{rootPath:`${this.config.api.url}signalr`,listeners:{BingoStateChanged:this.onBingoStateChanged.bind(this),BingoJacpotWon:this.onBingoJacpotWon.bind(this),BingoJackpotChanged:this.onBingoJackpotChanged.bind(this),BingoColorBonusChanged:this.onBingoColorBonusChanged.bind(this),BingoNoMatchBonusChanged:this.onBingoNoMatchBonusChanged.bind(this),BingoRoundTimeChanged:this.onBingoRoundTimeChanged.bind(this),BingoJackpotAccumulation:this.onBingoJackpotAccomulation.bind(this),JackpotDrawsHistory:this.onBingoJackpotDrawsHistory.bind(this),ColorBonusWinnerChanged:this.onColorBonusWon.bind(this),NoMatchBonusWinnerChanged:this.onNoMatchBonusWon.bind(this)},stateChanged:e=>{switch(e.newState){case $.signalR.connectionState.connecting:this.connectionState=z.connecting;break;case $.signalR.connectionState.connected:this.connectionState=z.connected,this.reconnectToSignalR&&this.getInitialData(),this.reconnectToSignalR=!1;break;case $.signalR.connectionState.reconnecting:this.connectionState=z.disconnected;break;case $.signalR.connectionState.disconnected:this.connectionState=z.disconnected,this.running&&(this.reconnectToSignalR=!0,setTimeout(()=>{$.signalR.ajaxDefaults.headers={"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType},this.bingoHub.connect()},1e3))}},queryParams:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}),this.bingoHub.connect(),e.asObservable()}disconnectBingoHub(){this.bingoHub&&(this.bingoHub.disconnect(),this.bingoHub=void 0)}getInitialData(){const e=[];return e.push(this.getCurrentRound()),e.push(this.updateGameData()),this.config.webcounter||e.push(this.updateBonuses()),e.push(this.updateUpcomingRounds()),e.push(this.updateHistoryRoundsInfo(this.config.historyRoundsLimit)),this.loadJackpotsTimeline&&!this.config.webcounter&&e.push(this.updateJackpotsTimeline()),Object(l.a)(...e)}onBingoStateChanged(e){this.zone.run(()=>{const t=[];t.push(this.updateGameData()),2!==(e=this.camelcaseObjectService.camelCaseObject(e)).state&&(this.bingoRoundStats=e,this.bingoRoundStatsSubj.next(this.bingoRoundStats),t.push(this.updateUpcomingRounds()),t.push(this.updateHistoryRoundsInfo(this.config.historyRoundsLimit)),this.config.webcounter||(t.push(this.updateBonuses()),t.push(this.updateJackpotsTimeline()))),Object(l.a)(...t).subscribe(()=>{})})}onBingoJacpotWon(e){this.zone.run(()=>{e.Type=G.mistery,this.jackpotWon=e,this.jackpotWonSubj.next(this.jackpotWon)})}onColorBonusWon(e){this.zone.run(()=>{e.Type=G.color,this.jackpotWon=e,this.jackpotWonSubj.next(this.jackpotWon)})}onNoMatchBonusWon(e){this.zone.run(()=>{e.Type=G.nomatch,this.jackpotWon=e,this.jackpotWonSubj.next(this.jackpotWon)})}onBingoJackpotChanged(e){this.zone.run(()=>{this.jackpotAmount=e,this.jackpotAmountSubj.next(this.jackpotAmount)})}onBingoColorBonusChanged(e){this.zone.run(()=>{this.colorBonusAmount=e,this.colorBonusAmountSubj.next(this.colorBonusAmount)})}onBingoNoMatchBonusChanged(e){this.zone.run(()=>{this.noMatchBonusAmount=e,this.noMatchBonusAmountSubj.next(this.noMatchBonusAmount)})}onBingoRoundTimeChanged(e){this.zone.run(()=>{this.rounds.forEach(t=>{t.id==e.Id&&(t=e)}),this.roundsSubj.next(this.rounds)})}onBingoJackpotAccomulation(e){this.zone.run(()=>{switch(e.Type){case 0:this.hotJackpotAmount=e.CurrentAmount,this.hotJackpotAmountSubj.next(this.hotJackpotAmount);break;case 1:this.megaJackpotAmount=e.CurrentAmount,this.megaJackpotAmountSubj.next(this.megaJackpotAmount);break;case 2:this.colorBonusAmount=e.CurrentAmount,this.colorBonusAmountSubj.next(this.colorBonusAmount)}})}onBingoJackpotDrawsHistory(e){this.zone.run(()=>{e=e.filter(e=>6==e.Numbers.length),this._jackpot56Numbers=[],e[0].Numbers.forEach((e,t)=>{this._jackpot56Numbers.push(e)}),this.jackpot56NumbersSubj.next(this._jackpot56Numbers)})}updateState(){return this.http.get(`${this.config.api.url}`).pipe(Object(f.a)(e=>{this.updateState=e}))}updateGameData(){return this.http.get(`${this.config.api.url}rounds/gameData`).pipe(Object(f.a)(e=>{e.roundTime=this.correctDateTimeFormat(e.roundTime),e.roundWinShowingTime=this.correctDateTimeFormat(e.roundWinShowingTime),this.bingoState={state:e.state,group:e.group,paytable:null!=e.paytable?this.mappedPaytable(e.paytable):[],colorBonusNumber:e.colorBonusNumber,firstBallColorOdd:e.firstBallColorOdd,specialBetsOdd:e.specialBetsOdd,paytableMultiplier:e.paytableMultiplier,doubleWinEnabled:e.doubleWinEnabled,returnBetEnabled:e.returnBetEnabled,activeRound:{id:e.roundNumber,drawTime:e.roundTime,winshowingTime:e.roundWinShowingTime,dailyNumber:e.dailyRoundNumber,drawnNumbers:2===e.state&&null!=e.stateData?e.stateData.split("|").map(e=>parseInt(e,10)):[],doubleWinNumbers:null!=e.doubleWinNumbers?e.doubleWinNumbers.split("|").map(e=>parseInt(e,10)):[],returnBetNumbers:null!=e.returnBetNumbers?e.returnBetNumbers.split("|").map(e=>parseInt(e,10)):[]}},this.bingoStateSubj.next(this.bingoState)}))}mappedPaytable(e){return e.split("-").map(e=>parseFloat(e))}updateUpcomingRounds(){return this.http.get(`${this.config.api.url}rounds/${this.config.upcomingRoundsLimit}/upcoming`).pipe(Object(f.a)(e=>{this.rounds=[];for(const t of e)this.rounds.push({id:t.id,drawTime:new Date(this.correctDateTimeFormat(t.drawingTime)),dailyNumber:t.dailyRoundNumber});this.roundsSubj.next(this.rounds)}))}updateHistoryRounds(){return this.http.get(`${this.config.api.url}rounds/${this.config.historyRoundsLimit}/history`).pipe(Object(f.a)(e=>{this.historyRounds=[];for(const t of e)this.historyRounds.push({id:t.roundNumber,drawTime:new Date(this.correctDateTimeFormat(t.roundTime)),dailyNumber:t.dailyRoundNumber,drawnNumbers:t.roundNumbers,doubleWinNumbers:t.doubleWinNumbers,returnBetNumbers:t.returnBetsNumbers});this.historyRoundsSubj.next(this.historyRounds)}))}updateHistoryRoundsInfo(e){return this.http.get(`${this.config.api.url}roundinfo/history/${e}`).pipe(Object(f.a)(e=>{this.historyRounds=[];for(const t of e)this.historyRounds.push({id:t.roundId,drawTime:new Date(this.correctDateTimeFormat(t.roundTime)),dailyNumber:t.dailyRoundNumber,drawnNumbers:t.results,doubleWinNumbers:t.doubleWins,returnBetNumbers:t.returnBets,jackpotResults:t.jackpotResults,paytable:null!=t.paytable?this.mappedPaytable(t.paytable):[]});this.historyRoundsSubj.next(this.historyRounds)}))}updateBonuses(){return this.http.get(`${this.config.api.url}bonuses`).pipe(Object(f.a)(e=>{this.jackpotAmount=null!==e.jackpot?e.jackpot:0,this.config.fiveSixJackpotEnabled||(this.colorBonusAmount=null!==e.colorBonus?e.colorBonus:null),this.noMatchBonusAmount=null!==e.noMatchBonus?e.noMatchBonus:null,this.jackpotAmountSubj.next(this.jackpotAmount),this.colorBonusAmountSubj.next(this.colorBonusAmount),this.noMatchBonusAmountSubj.next(this.noMatchBonusAmount)}))}getJackpotDrawHistory(){return this.http.get(`${this.config.api.url}rounds/jackpotdrawshistory`).pipe(Object(f.a)(e=>{e=e.filter(e=>6==e.numbers.length),this._jackpot56Numbers=[],e.length>0&&e[0].numbers.forEach((e,t)=>{this._jackpot56Numbers.push(e)}),this.jackpot56NumbersSubj.next(this._jackpot56Numbers)}))}getJackpotAccumulations(){return this.http.get(`${this.config.api.url}jackpotaccumulations`).pipe(Object(f.a)(e=>{e.forEach(e=>{switch(e.type){case 0:this.hotJackpotAmount=e.currentAmount;break;case 1:this.megaJackpotAmount=e.currentAmount;break;case 2:this.colorBonusAmount=e.currentAmount}})}))}getRoundInfo(e){return this.http.get(`${this.config.api.url}roundinfo/${e}`).pipe(Object(f.a)(e=>{}))}getRoundInfoHistory(e){return this.http.get(`${this.config.api.url}roundinfo/history/${e}`).pipe(Object(f.a)(e=>{}))}getCurrentRound(){return this.http.get(`${this.config.api.url}rounds/current`).pipe(Object(f.a)(e=>{this.bingoRoundStats=e,this.bingoRoundStatsSubj.next(this.bingoRoundStats)}))}updateJackpotsTimeline(){return this.http.get(`${this.config.api.url}lastbonuswinners?limit=16`).pipe(Object(f.a)(e=>{this.bingoJackpotsTimeline=e,this.bingoJackpotsTimelineSubj.next(this.bingoJackpotsTimeline)}))}correctDateTimeFormat(e){if(e)return e.endsWith("Z")||e.endsWith("z")?e:`${e}Z`}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(R),n.fc(L),n.fc(F),n.fc(M))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(R),Object(n.fc)(L),Object(n.fc)(F),Object(n.fc)(M))},token:e,providedIn:"root"}),e})(),Z=(()=>{class e{constructor(e,t,i,n){this.notificationsService=e,this.http=t,this.localizationService=i,this.authHttp=n,this.printerType="default",this.printTerminalSubject=new c.a,this.printTerminalSubject$=this.printTerminalSubject.asObservable(),this.printingSubject=new c.a,this.printing$=this.printingSubject.asObservable()}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}get printURL(){return this.config.api.url}get ticketAPI(){return this.config.api.ticketUrl}get accountingUrl(){return this.config.api.accountingUrl}printHTML(e,t,i){const n=new o.a(1);return setTimeout(()=>{const s=window.open("about:blank","_blank","width=300");s?(s.document.open(),s.onload=function(){s.print(),s.close(),n.next(!0),n.complete()},s.document.write(e),null!=s.history&&s.history.replaceState(null,t,i),setTimeout(()=>{s.document.close()},1e3)):this.notificationsService.warning("SPRT_TICKET_TOASTER_POPUP_BLOCKED_MESSAGE")},1e3),n.asObservable()}printOffer(e){const t=new c.a;return this.http.post(this.printURL+"offer",e).subscribe(e=>{this.printHTML(e.view,"Offer","/print/offer").subscribe(()=>{t.next(!0),t.complete()},e=>{t.error(e),t.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")}),t.next(!0),t.complete()},e=>{t.error(e),t.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),t.asObservable()}printRegistrationConfirmation(e,t){const i=new c.a;return this.http.post(this.printURL+"registration/confirmation",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"Registration Confirmation","/print/registration/confirmation").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printSportBettingTicket(e,t){const i=new o.a(1);return t&&t.printResult?(this.printTerminalSubject.next({type:"ticket",data:t}),i.next(!0),i.complete()):(this.printingSubject.next(!0),this.http.post(`${this.ticketAPI}v2/ticket/print`,{EncryptedPin:e.encryptedTicketPin,SystemCombinationsType:this.config.systemCombinations?this.config.systemCombinations:0},null,!0).subscribe(e=>{this.http.post(`${this.printURL}ticket`,e.Result).subscribe(e=>{this.printingSubject.next(!1),this.printHTML(e.view,"SportBettingTicket","sportbetting/ticket").subscribe(e=>{i.next(e),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{this.printingSubject.next(!1),i.error(e),i.complete()})},e=>{i.error(e),i.complete()})),i.asObservable()}canvasToArrayBuffer(e){var t,i,n,s=e.width,r=e.height,o=4*s,a=e.getContext("2d").getImageData(0,0,s,r),c=new Uint32Array(a.data.buffer),l=4*Math.floor((32*s+31)/32),u=l*r,h=122+u,d=new ArrayBuffer(h),f=new DataView(d),p=0,m=0,g=0;for(_(19778),b(h),p+=4,b(122),b(108),b(s),b(-r>>>0),_(1),_(32),b(3),b(u),b(2835),b(2835),p+=8,b(16711680),b(65280),b(255),b(4278190080),b(1466527264);m<r;){for(i=122+m*l,t=0;t<o;)n=c[g++],f.setUint32(i+t,n<<8|n>>>24),t+=4;m++}return d;function _(e){f.setUint16(p,e,!0),p+=2}function b(e){f.setUint32(p,e,!0),p+=4}}canvasToBlob(e){return new Blob([this.canvasToArrayBuffer(e)],{type:"image/bmp"})}canvasToDataURL(e){return"data:image/bmp;base64,"+this.canvasToBase64(e)}canvasToBase64(e){let t=new Uint8Array(this.canvasToArrayBuffer(e)),i="",n=0,s=t.length;for(;n<s;)i+=String.fromCharCode(t[n++]);return btoa(i)}printerTest(){const e=new o.a(1);return this.http.post(this.printURL+"test",{}).subscribe(t=>{this.printHTML(t.view,"Printer Test","/print/test").subscribe(()=>{e.next(!0),e.complete()},t=>{e.error(t),e.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},t=>{e.error(t),e.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),e.asObservable()}printTicket(e){const t=new c.a;let i="/print/ticket",n="ticket";return this.config.api.smallPrinter&&(i="/print/mobile/ticket",n="mobile/ticket",e.PrintWidth="58"),this.http.post(this.printURL+n,e).subscribe(e=>{this.printHTML(e.view,"Print Ticket",i).subscribe(()=>{t.next(!0),t.complete()},e=>{t.error(e),t.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{t.error(e),t.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),t.asObservable()}printTicketCode(e,t){const i=new c.a;return this.http.post(this.printURL+"ticket/code",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"TicketCode","/print/ticket/code").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printTicketPayout(e,t){const i=new c.a;return this.http.post(this.printURL+"ticket/payout",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"Print Ticket Payout","/print/ticket/payout").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printUpdatePasswordConfirmation(e,t){const i=new c.a;return this.http.post(this.printURL+"updatepassword/confirmation",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"Print Update Password Confirmation","/print/updatepassword/confirmation").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printPayinConfirmation(e,t){const i=new c.a;return this.http.post(this.printURL+"transaction/payin/confirmation",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"Print Payin Confirmation","/print/transaction/payin/confirmation").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printPayoutConfirmation(e,t){const i=new c.a;return this.http.post(this.printURL+"transaction/payout/confirmation",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"Print Payout Confirmation","/print/transaction/payout/confirmation").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printCreditTicketConfirmation(e,t){const i=new c.a;return this.http.post(this.printURL+"creditticket",e).subscribe(e=>{t?(this.printBase64(e),i.next(!0),i.complete()):this.printHTML(e.view,"Print Credit Ticket Confirmation","/print/creditticket").subscribe(()=>{i.next(!0),i.complete()},e=>{i.error(e),i.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{i.error(e),i.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),i.asObservable()}printReport(e){const t=new o.a(1);return this.http.post(this.printURL+"accounting",e).subscribe(e=>{this.printHTML(e.view,"Print Report","/print/accounting").subscribe(()=>{t.next(!0),t.complete()},e=>{t.error(e),t.complete(),this.notificationsService.error("PRINTER_NOT_AVIALABLE")})},e=>{t.error(e),t.complete(),this.notificationsService.error("SERVICE_NOT_AVAILABLE")}),t.asObservable()}handleReportPrint(e,t,i){const n={DocumentLines:i.printReportResult.documentForPrint.documentLines};t?(this.printReport(n),e.next(n),e.complete()):this.printPreview(n).subscribe(t=>{e.next({view:t,print:n}),e.complete()})}printFullReport(e,t){const i=new o.a(1);return this.authHttp.post(this.accountingUrl+"printing/printfull",e).pipe(Object(h.a)(3e4)).subscribe(e=>{this.handleReportPrint(i,t,e)}),i.asObservable()}printOverviewReport(e,t){const i=new o.a(1);return this.authHttp.post(this.accountingUrl+"printing/printoverview",e).pipe(Object(h.a)(3e4)).subscribe(e=>{this.handleReportPrint(i,t,e)}),i.asObservable()}printFullWebReport(e,t){const i=new o.a(1);return this.authHttp.post(this.accountingUrl+"printing/printfullweb",e).pipe(Object(h.a)(3e4)).subscribe(e=>{this.handleReportPrint(i,t,e)}),i.asObservable()}printFullWebUserReport(e,t){const i=new o.a(1);return this.authHttp.post(this.accountingUrl+"printing/printfullwebuser",e).pipe(Object(h.a)(3e4)).subscribe(e=>{this.handleReportPrint(i,t,e)}),i.asObservable()}printEndShiftReport(e,t){const i=new o.a(1);return this.authHttp.post(this.accountingUrl+"accounting/endshiftcash",e).pipe(Object(h.a)(3e4)).subscribe(e=>{this.handleReportPrint(i,t,e)}),i.asObservable()}printPreview(e){return this.getPrintDocumentPreview("reportpreview","ReportPreview",e)}getPrintDocumentPreview(e,t,i){const n=new o.a(1);return this.getPrintedDocument(e,i).subscribe(e=>{n.next(e),n.complete()}),n.asObservable()}getPrintedDocument(e,t){const i=new o.a(1);let n={data:null,success:!1};return this.http.post(this.printURL+e,t).subscribe(e=>{n.success=e.result,e.result?(n.data=e.view,i.next(n)):i.next(null),i.complete()}),i.asObservable()}printBase64(e){const t=new c.a;this.http.post(this.printURL+"base64",{width:530,zoom:1.98,html:e.view.replace(new RegExp('"',"g"),'"')}).subscribe(e=>{this.printTerminalSubject.next({type:"image",data:{image:e.base64}})},e=>{t.error(e),t.complete()})}printTicketV2(e){this.http.post(`${this.printURL}ticket/v2`,e).subscribe(e=>{e.view?this.printHTML(e.view,"Evona Ticket",""):this.notificationsService.error("CANT_GET_TICKET_FOR_PRINT")},e=>{this.notificationsService.error("CANT_GET_TICKET_FOR_PRINT")})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(N),n.fc(R),n.fc(F),n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(N),Object(n.fc)(R),Object(n.fc)(F),Object(n.fc)(R))},token:e,providedIn:"root"}),e})(),X=(()=>{class e{constructor(e,t,i,n,s,r,o){this.http=e,this.storage=t,this.localizationService=i,this.authService=n,this.currencyPipe=s,this.printProvider=r,this.bingoService=o,this.calculateInProgressSubject=new c.a,this.calculateInProgress$=this.calculateInProgressSubject.asObservable(),this.notificationSubject=new c.a,this.notificationSubject$=this.notificationSubject.asObservable(),this._calculateDebouncedUntil=new Date,this._bettingGameType=5,this._busy=!1,this._isTicketRepeatDialogVisible=!1,this._ticketBetsModifiedSubj=new c.a,this.ticketBetsModified$=this._ticketBetsModifiedSubj.asObservable(),this._ticketTypeSubject=new c.a,this.ticketType$=this._ticketTypeSubject.asObservable(),this._busySubject=new c.a,this.busy$=this._busySubject.asObservable(),this._isTicketRepeatDialogVisibleSubject=new c.a,this.isTicketRepeatDialogVisible$=this._isTicketRepeatDialogVisibleSubject.asObservable(),this._payInCalculatorSubject=new c.a,this.payInCalculatorSubject$=this._payInCalculatorSubject.asObservable(),this._ticketCalculateSubject=new c.a,this.ticketCalculate$=this._ticketCalculateSubject.asObservable(),this._ticket={preparedTicketIdentifier:void 0,clubTicketBonusItems:[],jokerBetSlipItems:[],jokerBetSlipPriceItems:[],oddBonusId:0,oddBonusMode:0,oddMultiplier:0,payIn:void 0,payInPerTicketLocked:!1,betsAnimationEnabled:!0,ticketType:K.normal,gameType:this._bettingGameType,numberOfFixedBets:0,bets:[],errors:[],availableSystems:[],systemResults:[],errorMaxBets:!1,hasTicketErrors:!1,hasBetErrors:!1,hasOddChanges:!1,settings:{acceptAllChanges:!1,acceptHigherOdds:!1,isQuickTicket:!1,oddsChangePercentAccepted:0,ignoreOddsChange:!1,reserveFunds:!0},encryptedTicketPin:void 0,encryptedTicketControlSign:void 0,predefinedPayins:[],betAmount:void 0,serviceChargeAmount:void 0,serviceChargePercent:void 0,minPayIn:void 0,maxPayIn:void 0,minOdds:void 0,maxOdds:void 0,averageOdds:void 0,totalOdds:void 0,minWin:void 0,maxWin:void 0,totalWin:void 0,winBonus:void 0,winBonusTax:void 0,winTax:void 0,winTaxPercent:void 0,combinationCount:void 0,jackpotBets:{game:5,numbers:[],eventId:null,betType:null},useBonusCredit:!1},this.ticket=this._ticket,this.repeatDialogYes=()=>{this.isTicketRepeatDialogVisible=!1},this.attachTicket=()=>{setTimeout(()=>{this.ticket=this._ticket}),this._ticket.betsAnimationEnabled=!0},this.ticketCalculateSubscripton=this.ticketCalculate$.subscribe(e=>{this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.timeoutHandle=setTimeout(()=>{this.calculateTicket()},300)})}get ticketConfiguration(){return this._ticketConfiguration}set isTicketRepeatDialogVisible(e){this._isTicketRepeatDialogVisible=e,this._isTicketRepeatDialogVisibleSubject.next(this._isTicketRepeatDialogVisible)}forceTicketCalculate(){this._ticketCalculateSubject.next(!0)}ngOnDestroy(){this.ticketCalculateSubscripton&&(this.ticketCalculateSubscripton.unsubscribe(),this.ticketCalculateSubscripton=void 0)}initialize(e){const t=new o.a;return this.config=e,this.ticketAuthTime=this.config.ticketAuthTime?+this.config.ticketAuthTime:90,this._ticketConfiguration=this.config.configuration,this.authService.loggedIn$.subscribe(e=>{this.config.printTicket=e&&-1!==["1","8","9"].indexOf(this.authService.auth.membershipType)||this.authService.isShop}),this.authService.logoutMembership$.subscribe(e=>{"terminal"==this.config.api.headers.deviceType&&e&&e.clearTicketSelection&&this.clear()}),Object(a.a)(this.storage.get("app:bingoTicket")).subscribe(e=>{e&&null!==e&&Object.assign(this._ticket,e),this._ticketConfiguration=this.config.configuration,this._ticket.minPayIn=this._ticketConfiguration.MinPayIn,this._ticket.predefinedPayins=this._ticketConfiguration.BetSlipPayInValues,this.validatePayIn(),this.clearBonuses(),t.next(),t.complete()},e=>{t.error(e),t.complete()}),t.asObservable()}get locked(){return this._busy||this._isTicketRepeatDialogVisible}set busy(e){this._busy=e,this._busySubject.next(this._busy)}get busy(){return this._busy}get repeatTicketDialogVisible(){return this._isTicketRepeatDialogVisible}get bingoState(){return this.bingoService.bingoState}getUserBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0;const e=new o.a,t=this.authService.auth;return!this.authService.loggedIn||"WebUser"!==t.role&&"ExternalUser"!==t.role||this.authService.isShop?(this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],e.next(),e.complete()):this.http.post(`${this.config.api.urlClubAPI}bonuses`,{BonusTypes:[0],GameType:5}).subscribe(t=>{if(t.result){if(this._ticket.clubTicketBonusItems=t.result.clubTicketBonusItems,this._ticket.jokerBetSlipItems=t.result.jokerBetSlipItems,this._ticket.jokerBetSlipPriceItems=t.result.jokerBetSlipPriceItems,this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.WinIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin}else this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[];e.next(),e.complete()},t=>{e.error(t),e.complete()}),e.asObservable()}removeBonus(e){return this._ticket.jokerBetSlipItems[e].count>1?this._ticket.jokerBetSlipItems[e].count=this._ticket.jokerBetSlipItems[e].count-1:this._ticket.jokerBetSlipItems.splice(e,1),this._ticket.jokerBetSlipItems}editBonus(e,t){return this._ticket.jokerBetSlipItems[e]=t,this._ticket.jokerBetSlipItems}addBonus(e){this._ticket.jokerBetSlipItems.push(e)}resetAllBonuses(e){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,e||(this._ticket.payIn=this.getDefaultStake()),Object(g.each)(this._ticket.clubTicketBonusItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipPriceItems,e=>{e.selected=!1})}toggleBonus(e){const t=e.selected;t?(this._ticket.useBonusCredit=!1,this.resetAllBonuses(),e.selected=t,this._ticket.oddBonusId=e.id,this._ticket.oddBonusMode=e.oddBonusMode,this._ticket.oddMultiplier=e.oddMultiplier,this._ticket.payIn=e.surchargeAmount):this._ticket.oddBonusId===e.id&&this._ticket.oddBonusMode===e.oddBonusMode&&(this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.payIn=this.getDefaultStake()),this._ticketCalculateSubject.next(!0)}clearBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],this.storage.set("app:bingoTicket",this._ticket)}getBetType(e){switch(e){case 0:return"NORMAL";case 1:return"RANDOM";case 3:return"RANDOM_ODD";case 2:return"RANDOM_EVEN";case 4:return"COLOR";case 5:return"FIRST_COLOR";case 6:return"FIRST_ODD_EVEN";case 7:return"FIRST_OVER_UNDER_24.5";case 8:return"FIRST_FIVE_SUM_122.5";case 9:return"MORE_ODD_EVEN"}}getColorNumbers(e,t){const i=e.find(e=>e.name===t.toLowerCase());if(i)return i.numbers}prepareOddsDescription(e,t,i){switch(e){case 5:return i[0==t?7:t-1].name.toUpperCase();case 6:return 0==t?"EVEN":"ODD";case 7:case 8:return 0==t?"UNDER":"OVER";case 9:return 0==t?"MORE_EVEN":"MORE_ODD";default:return null}}toggleBet(e,t,i,n,s,r){let o="",a=0,c="";switch(e){case 0:case 1:case 2:case 3:i.selection=i.selection.sort((function(e,t){return e-t})),o=i.selection;break;case 4:o=this.getColorNumbers(n,t);break;case 5:case 6:case 7:case 8:case 9:c=this.prepareOddsDescription(e,t,n),a=5==e?this.bingoState.firstBallColorOdd:this.bingoState.specialBetsOdd,o=t}const l={game:5,betData:i.id+"_"+e,pick:o,odd:a,drawNumber:i.id,dailyNumber:i.dailyNumber,pickDescription:this.getBetType(e),numberOfReplies:1,translatedPick:c.toLocaleUpperCase(),isValid:!0,hasErrors:!1};this.addBet(l,s)}placeBet(e,t,i){e.isValid=!0,e.hasErrors=!1,this.addBet(e,t)}hasBet(e){return-1!==this.indexOfBet(e)}removeBet(e,t){const i=this.indexOfBet(e);-1!==i&&this.deleteBet(i,t)}valid(){return!(this._ticket.hasTicketErrors||this._ticket.hasBetErrors)}submitEnabled(){return this.valid()&&!this._busy}submit(){if(this.locked)return void this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe()):i()},1e3)};i();const n=this.authService.loggedIn&&2==this.authService.auth.membershipType,s=this.prepareTicketForSending();e=this.http.post(`${this.config.api.urlBettingAPI}submit`,s).subscribe(i=>{this.attachTicket(),this.handleBetSlipResponse(i),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:q.warning})):(this.detachTicket(),i.printResult?(i.printResult.ticket.isCopy=n,this.printProvider.printSportBettingTicket(this._ticket,i).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info})},e=>{this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)})):s.Autoconfirm?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)):e=this.http.post(`${this.config.api.urlBettingAPI}confirm`,{EncryptedTicketPin:this._ticket.encryptedTicketPin}).subscribe(e=>{!0!==e?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error})):(this.config.printTicket||(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t)),this.resetAllBonuses(),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(i=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}),this._payInCalculatorSubject.next(e.payIn)},e=>{this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}))},e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error})}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error}),this.attachTicket(),this.busy=!1,this._validationTime=void 0})}submitV2(){if(this.locked)return void this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe()):i()},1e3)};i(),e=this.http.post(`${this.config.api.urlBettingAPI}submit`,this.prepareTicketForSending(!0)).subscribe(e=>{this.attachTicket(),this.handleBetSlipResponse(e),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:q.warning})):(this.detachTicket(),this.config.printTicket||(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t)),this.resetAllBonuses(!0),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(i=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}),this._payInCalculatorSubject.next(e.payIn)},e=>{this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error}),this.attachTicket(),this.busy=!1,this._validationTime=void 0})}clear(){const e=Object.assign([],this._ticket.bets);this.resetTicket(),this.storage.set("app:bingoTicket",this._ticket);for(const t of e)this._ticketBetsModifiedSubj.next({operation:"removed",bet:t})}repeatDialogNo(){this.isTicketRepeatDialogVisible=!1,this.clear()}setPayin(e){let t=!0;return isNaN(e)&&(this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_INVALID_PAYIN_MESSAGE",type:q.warning}),e=this.getDefaultStake(),t=!1),this._ticket.payIn=e,this.validatePayIn(),this.calculateTicket(),t}checkStake(e){return this._ticket.minPayIn>e?this._ticket.minPayIn:this._ticket.maxPayIn<e?this._ticket.maxPayIn:e}getDefaultStake(){return this._ticketConfiguration.DefaultStake>=this._ticket.minPayIn&&(null==this._ticket.maxPayIn||this._ticketConfiguration.DefaultStake<=this._ticket.maxPayIn)?this._ticketConfiguration.DefaultStake:this._ticketConfiguration.MinPayIn}get validationTime(){return this._validationTime}validatePayIn(){Object(g.each)(this._ticket.availableSystems,e=>{e.payIn<e.minPayIn?e.payIn=e.minPayIn:e.payIn>e.maxPayIn&&(e.payIn=e.maxPayIn)}),this._setMinPayinPerCombination?(this.ticket.systemResults&&this.ticket.systemResults.length&&(this._ticket.payIn=this._ticket.systemResults[0].minPayIn/(this._ticket.bets.length+1)*this._ticket.bets.length),this._setMinPayinPerCombination=!1):(!this._ticket.payIn||this._ticket.payIn<this._ticket.minPayIn)&&(this._ticket.payIn=this.getDefaultStake())}currencyFormatter(e){this.currencyPipe.transform(e)}detachTicket(){this._ticket.betsAnimationEnabled=!1,setTimeout(()=>{this.ticket=Object.assign({},this._ticket)})}showTicketErrorsToast(){if(this._ticket.errors)for(const e of this._ticket.errors)this.notificationSubject.next({message:e,type:q.warning})}indexOfBet(e){for(let t=0;t<this._ticket.bets.length;t++){const i=this._ticket.bets[t];if(i.betData===e.betData&&i.pickDescription===e.pickDescription&&i.drawNumber===e.drawNumber&&i.pick===e.pick)return t}return-1}deleteBet(e,t){if(this.ticket.hasOddChanges=!1,this.locked)return void this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning});const i=this._ticket.bets.splice(e,1)[0];this._ticket.bets.length>0&&(this.setMinPayinPerCombination(),this._ticketCalculateSubject.next(!0)),0===this._ticket.bets.length&&this.resetTicket(),this.storage.set("app:bingoTicket",this._ticket),void 0!==t&&t(null,i),this._ticketBetsModifiedSubj.next({operation:"removed",bet:i}),this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_BET_REMOVED_MESSAGE",type:q.warning})}setMinPayinPerCombination(){this._setMinPayinPerCombination=!0}resetTicket(){this._ticket.preparedTicketIdentifier=void 0,this._ticket.payInPerTicketLocked=!1,this._ticket.payIn=this.getDefaultStake(),this._ticket.ticketType=K.normal,this._ticket.gameType=this._bettingGameType,this._ticket.numberOfFixedBets=0,this._ticket.bets=[],this._ticket.errors=[],this._ticket.availableSystems=[],this._ticket.systemResults=[],this._ticket.errorMaxBets=!1,this._ticket.hasTicketErrors=!1,this._ticket.hasBetErrors=!1,this._ticket.encryptedTicketPin=void 0,this._ticket.encryptedTicketControlSign=void 0,this._ticket.betAmount=void 0,this._ticket.serviceChargeAmount=void 0,this._ticket.serviceChargePercent=void 0,this._ticket.minPayIn=void 0,this._ticket.minOdds=void 0,this._ticket.maxOdds=void 0,this._ticket.averageOdds=void 0,this._ticket.totalOdds=void 0,this._ticket.minWin=void 0,this._ticket.maxWin=void 0,this._ticket.totalWin=void 0,this._ticket.winBonus=void 0,this._ticket.winBonusTax=void 0,this._ticket.winTax=void 0,this._ticket.winTaxPercent=void 0,this._ticket.combinationCount=void 0,this._ticket.hasOddChanges=!1,this._ticket.settings.ignoreOddsChange=!1,this._ticket.jackpotBets.numbers=[],this._ticket.useBonusCredit=!1,this.resetAllBonuses(),this.storage.set("app:bingoTicket",this._ticket),this._ticketTypeSubject.next(this._ticket.ticketType)}pickCompare(e,t){if(Array.isArray(t)){let i=Object(g.cloneDeep)(t);return i=i.toString().replace(/\,/g,"-"),e==i}return e==t}handleTicketPayIn(e,t){return e.length>0&&Object(g.find)(e,e=>1===e.errorType&&1===e.messageType)?this._ticket.payIn:t>0?t:this._ticket.payIn}handleBetSlipResponse(e){if(e){this._ticket.encryptedTicketPin=e.encryptedTicketPin,this._ticket.encryptedTicketControlSign=e.encryptedTicketControlSign,this._ticket.betAmount=e.betAmount,this._ticket.serviceChargeAmount=e.serviceChargeAmount,this._ticket.serviceChargePercent=e.serviceChargePercent,this._ticket.minPayIn=e.minPayIn,this._ticket.maxPayIn=e.maxPayIn>0?e.maxPayIn:void 0,this._ticket.minOdds=e.minOdds,this._ticket.maxOdds=e.maxOdds,this._ticket.averageOdds=e.averageOdds,this._ticket.totalOdds=e.totalOdds,this._ticket.minWin=e.minWin,this._ticket.maxWin=e.maxWin,this._ticket.totalWin=e.totalWin,this._ticket.winBonus=e.winBonus,this._ticket.winBonusTax=e.winBonusTax,this._ticket.winTax=e.winTax,this._ticket.winTaxPercent=e.winTaxPercent,this._ticket.combinationCount=e.combinationCount,this._ticket.availableSystems=null!==e.availableSystems?e.availableSystems:[],this._ticket.systemResults=e.systemResults,this._ticket.payIn=this.handleTicketPayIn(e.errors,e.payIn),this._ticket.payInPerTicketLocked=e.payInPerTicketLocked,this._ticket.preparedTicketIdentifier=e.preparedTicketIdentifier;for(const e of this.ticket.availableSystems){e.id=e.typeFrom+"_"+e.typeTo;for(const t of this.ticket.systemResults)if(e.typeFrom===t.typeFrom&&e.typeTo===t.typeTo){e.payIn=t.payIn,e.payInPerCombination=t.payInPerCombination;break}}if(e.errors&&e.errors.forEach((t,i)=>{if(t.value&&t.valueType)switch(t.valueType){case"CURRENCY":t.message=t.message.replace("{0}",this.currencyFormatter(t.Value))}1==t.errorType&&12==t.messageType&&e.errors.splice(i,1)}),this._ticket.errors=e.errors,this._ticket.hasTicketErrors=this.ticketHasErrors(),this._ticket.hasBetErrors=!1,e.betResults)for(const t of e.betResults)for(const e of this._ticket.bets)if(t.bet.game===e.game&&t.bet.betData===e.betData&&this.pickCompare(t.bet.pick,e.pick)){e.errors=t.errors,this._ticket.hasBetErrors=this._ticket.hasBetErrors||e.errors.length>0;break}if(this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.winIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin;this.authService.isShop&&localStorage.setItem("app:lastBingoTicket",e.encryptedTicketPin),this.storage.set("app:bingoTicket",this._ticket)}}ticketHasErrors(){let e=0,t=0;return this._ticket.errors&&this._ticket.errors.length>0&&(t=this._ticket.errors.length,this._ticket.errors.forEach(t=>{2===t.errorType&&e++})),e<t}calculateTicket(){this.busy||(this.calculateInProgressSubject.next(!0),this.validatePayIn(),this._calculateSubscription&&(this._calculateSubscription.unsubscribe(),this._calculateSubscription=void 0),this._ticket.bets.length>0&&(this._calculateSubscription=this.http.post(`${this.config.api.urlBettingAPI}calculate`,this.prepareTicketForSending(),{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{const t=this.ticket.hasBetErrors,i=this.ticket.hasTicketErrors;this.handleBetSlipResponse(e),this._calculateSubscription=void 0,this._ticket.hasTicketErrors&&!i&&this.showTicketErrorsToast(),this.ticketActive&&this._ticket.hasBetErrors&&!t&&this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_CALCULATE_BET_ERRORS_MESSAGE",type:q.warning}),this.calculateInProgressSubject.next(!1)},()=>{this.calculateInProgressSubject.next(!1)})))}prepareFiveSixJackpotBets(e){let t=[];this._ticket.bets.forEach(e=>{for(let i=0;i<e.numberOfReplies;i++)t.push(e.drawNumber+i)});let i=t.filter((function(e,t,i){return i.indexOf(e)===t}));if(this._ticket.jackpotBets.numbers&&0==this._ticket.jackpotBets.numbers.length)for(let n=0;n<6;n++)this._ticket.jackpotBets.numbers.push(Object(g.random)(1,9));i.forEach(t=>{e.JackpotBets.push({Game:5,Numbers:this._ticket.jackpotBets.numbers,EventId:t,BetType:0})})}prepareTicketForSending(e){const t={},i=-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType),n=this.authService.loggedIn&&-1!==[8,12,13,14].indexOf(+this.authService.auth.membershipType),s=i&&n||this.config.hardwarePrint,r=this.authService.loggedIn&&2==this.authService.auth.membershipType,o=r&&i,a=i&&r&&this.config.evonaUserPrint;t.Bets=[],t.JackpotBets=[],t.Systems=[],t.GameType=this._bettingGameType,t.OddBonusId=this._ticket.oddBonusId,t.OddBonusMode=this._ticket.oddBonusMode,t.BetSlipType=0,t.Autoconfirm=e||o,t.PrintTicket=s||a,t.UseBonusCredit=this._ticket.useBonusCredit,t.Settings={ReserveFunds:this._ticket.settings.reserveFunds||s},this.config.fiveSixJackpotEnabled&&this.prepareFiveSixJackpotBets(t);for(const c of this._ticket.bets){let e={BetData:c.betData,Game:c.game,Odd:c.odd,Pick:"number"==typeof c.pick?c.pick:c.pick.toString().replace(/\,/g,"-"),DrawNumber:c.drawNumber,PickDescription:c.pickDescription,NumberOfReplies:c.numberOfReplies,TranslatedPick:c.translatedPick};if(c.numberOfReplies>1)for(let i=0;i<c.numberOfReplies;i++){let n=Object.assign({},e);if(i>0){const e=n.BetData.split("_");n.DrawNumber=n.DrawNumber+i,n.BetData=n.DrawNumber+"_"+e[1]}t.Bets.push(n)}else t.Bets.push(e)}return this._ticket.ticketType===K.normal?t.Systems.push({TypeFrom:t.Bets.length,TypeTo:t.Bets.length,PayIn:this.checkStake(this._ticket.payIn)}):this._ticket.availableSystems&&(t.Systems=[],Object(g.each)(this._ticket.availableSystems,e=>{e.payIn>0&&t.Systems.push({PayIn:e.payIn,TypeFrom:e.typeFrom,TypeTo:e.typeTo})})),t}addBet(e,t){this.locked?this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning}):this._ticket.bets.length>=this._ticketConfiguration.BetSlipMaxBets?this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_MAX_BETS_MESSAGE",type:q.warning}):(e.errors=[],this._ticket.bets.push(e),this.ticket.bets.length>=2&&0!=this.ticket.oddBonusId&&this.resetAllBonuses(),this._ticketCalculateSubject.next(!0),this.storage.set("app:bingoTicket",this._ticket),void 0!==t&&t(null,e),this._ticketBetsModifiedSubj.next({operation:"added",bet:e}),this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_BET_ADDED_MESSAGE",type:q.info}))}changeNumberOfReplies(e){const t=this.indexOfBet(e);-1!=t&&(this.ticket.bets[t].numberOfReplies=e.numberOfReplies,this.ticket.bets[t].numberOfReplies>=2&&0!=this.ticket.oddBonusId&&this.resetAllBonuses(),this._ticketCalculateSubject.next(!0),this.storage.set("app:bingoTicket",this._ticket))}reprintBingoTicket(e){let t;t=this.http.post(`${this.config.api.urlTicketAPI}v2/ticket/print`,{EncryptedPin:e}).subscribe(e=>{e.processed?(e.result.ticket.isCopy=!0,this.printProvider.printTicket(e.result).subscribe(e=>{this.busy=!1},e=>{this.notificationSubject.next({message:"BINGO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.busy=!1,console.error(e)})):this.busy=!1},e=>{this.busy=!1})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(O),n.fc(F),n.fc(L),n.fc(w),n.fc(Z),n.fc(J))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(O),Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(w),Object(n.fc)(Z),Object(n.fc)(J))},token:e,providedIn:"root"}),e})();const Q=function(){var e={Connecting:0,Connected:1,Reconnecting:2,Disconnected:3};return e[e.Connecting]="Connecting",e[e.Connected]="Connected",e[e.Reconnecting]="Reconnecting",e[e.Disconnected]="Disconnected",e}(),ee=function(){var e={info:0,warning:1,error:2};return e[e.info]="info",e[e.warning]="warning",e[e.error]="error",e}(),te=function(){var e={normal:0};return e[e.normal]="normal",e}();let ie=(()=>{class e{constructor(e,t,i,n,s){this.zone=e,this.http=t,this.authService=i,this.localizationService=n,this.camelcaseObjectService=s,this.connectionStateSubj=new o.a(1),this.connectionState$=this.connectionStateSubj.asObservable(),this.gameDataSubj=new o.a(1),this.gameData$=this.gameDataSubj.asObservable(),this.availableRoundsSubj=new o.a(1),this.availableRounds$=this.availableRoundsSubj.asObservable(),this.closedRoundsSubj=new o.a(1),this.closedRounds$=this.closedRoundsSubj.asObservable(),this.streamingRoundSubj=new o.a(1),this.streamingRound$=this.streamingRoundSubj.asObservable(),this.availableJackpotsSubj=new o.a(1),this.availableJackpots$=this.availableJackpotsSubj.asObservable(),this.enabledGamesSubj=new o.a(1),this.enabledGames$=this.enabledGamesSubj.asObservable(),this.wonJackpotSubj=new o.a(1),this.wonJackpot$=this.wonJackpotSubj.asObservable(),this.startRefCount=0}get connectionState(){return this.mCnnectionState}set connectionState(e){this.mCnnectionState=e,this.connectionStateSubj.next(e)}get gameData(){return this._gameData}set gameData(e){this._gameData=e,this.gameDataSubj.next(e)}get availableRounds(){return this._availableRounds}set availableRounds(e){this._availableRounds=e,this.availableRoundsSubj.next(e)}get closedRounds(){return this._closedRounds}set closedRounds(e){this._closedRounds=e,this.closedRoundsSubj.next(e)}get streamingRound(){return this._streamingRound}set streamingRound(e){this._streamingRound=e,this.streamingRoundSubj.next(e)}get availableJackpots(){return this._availableJackpots}set availableJackpots(e){this._availableJackpots=e,this.availableJackpotsSubj.next(e)}get enabledGames(){return this._enabledGames}set enabledGames(e){this._enabledGames=e,this.enabledGamesSubj.next(e)}get wonJackpot(){return this._wonJackpot}set wonJackpot(e){this._wonJackpot=e,this.wonJackpotSubj.next(e)}initialize(e){const t=new o.a(1);return this.config=e,t.next(!0),t.complete(),t.asObservable()}start(e){return void 0!==e&&(this._registeredGameType=e),this.startRefCount++,1==this.startRefCount?(this.running=!0,this.connectVGHub()):this.startRefCount>1?(this.startRefCount=1,this.running=!0,this.connectVGHub()):void 0}stop(){if(this.startRefCount--,0==this.startRefCount)return this.running=!1,this.disconnectVGHub()}connectVGHub(){this.virtualGamesHub&&this.disconnectVGHub();const e=new o.a(1);return this.getInitialSetupData().subscribe(()=>{e.next(!0),e.complete()},t=>{e.next(!1),e.complete()}),this.virtualGamesHub=new C("virtualgamesv2",{rootPath:`${this.config.api.url}signalr`,listeners:{RoundsGenerated:this.onRoundsGenerated.bind(this),NRoundsAdded:this.onNRoundsAdded.bind(this),RoundsClosed:this.onRoundsClosed.bind(this),RoundsStreaming:this.onRoundsStreaming.bind(this),JackpotUpdated:this.onJackpotUpdated.bind(this),JackpotWon:this.onJackpotWon.bind(this),GroupsUpdated:this.onGroupsUpdated.bind(this)},methods:["RegisterForGame"],stateChanged:e=>{switch(e.newState){case $.signalR.connectionState.connecting:this.connectionState=Q.Connecting;break;case $.signalR.connectionState.connected:this.connectionState=Q.Connected,this.reconnectToSignalR&&this.getInitialSetupData(),this.reconnectToSignalR=!1;break;case $.signalR.connectionState.reconnecting:this.connectionState=Q.Disconnected;break;case $.signalR.connectionState.disconnected:this.connectionState=Q.Disconnected,this.running&&(this.reconnectToSignalR=!0,setTimeout(()=>{$.signalR.ajaxDefaults.headers={"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType},this.virtualGamesHub.connect()},1e3))}},queryParams:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}),this.virtualGamesHub.connect(),e.asObservable()}disconnectVGHub(){this.virtualGamesHub&&(this.virtualGamesHub.disconnect(),this.virtualGamesHub=void 0)}getInitialSetupData(){const e=[];return this.terminalDevice?void 0!==this._registeredGameType?(e.push(this.registerForGameType(this._registeredGameType)),e.push(this.getInitialData(this._registeredGameType))):(e.push(this.registerForGameType()),e.push(this.getInitialData())):e.push(this.registerForGameType()),Object(l.a)(...e)}onRoundsGenerated(e){this.zone.run(()=>{"terminal"!==this.config.api.headers.deviceType&&null!=(e=this.camelcaseObjectService.camelCaseObject(e))&&this.getAvailabeRound(e.raceId).subscribe(e=>{if(null!=e){let t=Object(g.filter)(this.availableRounds,(function(t){return t.raceId==e.raceId}));null==this.availableRounds||null!=t&&0!=t.length||(this.availableRounds.push(e),this.availableRounds.splice(0,1),this.availableRounds.sort((function(e,t){return e.raceNumber-t.raceNumber})),this.availableRoundsSubj.next(this.availableRounds))}},e=>{console.log(e)})})}onRoundsClosed(e){e=this.camelcaseObjectService.camelCaseObject(e),-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType)?this.zone.run(()=>{if(null!=e&&1==e.processed&&null!=this.closedRounds){for(var t=0;t<this.closedRounds.length;t++)if(e.raceId===this.closedRounds[t].raceId)return;this.getClosedRound(e.raceId).subscribe(e=>{let t=Object(g.filter)(this.closedRounds,(function(t){return t.raceId==e.raceId}));null!=t&&0!=t.length||(this.closedRounds.push(e),this.closedRounds.sort((function(e,t){return t.raceNumber-e.raceNumber})),this.availableRounds.splice(0,1)),this.availableRoundsSubj.next(this.availableRounds),this.closedRoundsSubj.next(this.closedRounds)},e=>{console.log(e)})}}):this.closedRoundsSubj.next([e])}get terminalDevice(){return-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType)}onNRoundsAdded(e){e=this.camelcaseObjectService.camelCaseObject(e),this.terminalDevice&&this.zone.run(()=>{if(null!=e){let t=Object(g.filter)(this.availableRounds,(function(t){return t.raceId==e.raceId}));null==this.availableRounds||null!=t&&0!=t.length||(this.availableRounds.push(e),this.availableRounds.sort((function(e,t){return e.raceNumber-t.raceNumber})),this.availableRoundsSubj.next(this.availableRounds))}})}onRoundsStreaming(e){this.zone.run(()=>{null!=(e=this.camelcaseObjectService.camelCaseObject(e))&&Object(g.filter)(this.availableRounds,(function(t){return t.raceId==e.raceId}))&&(this.streamingRound=e,this.streamingRoundSubj.next(this.streamingRound))})}onJackpotUpdated(e){e=this.camelcaseObjectService.camelCaseObject(e),this.terminalDevice?this.zone.run(()=>{this.availableJackpots.forEach(t=>{t.jackpotId==e.jackpotId&&(t.amount=e.amount)}),this.availableJackpotsSubj.next(this.availableJackpots)}):this.availableJackpotsSubj.next([e])}onJackpotWon(e){this.zone.run(()=>{e=this.camelcaseObjectService.camelCaseObject(e),this.wonJackpot=e,this.wonJackpotSubj.next(this.wonJackpot)})}onGroupsUpdated(e){this.zone.run(()=>{e=this.camelcaseObjectService.camelCaseObject(e),this.enabledGames=e,this.enabledGamesSubj.next(this.enabledGames),this.connectVGHub()})}getAvailabeRound(e){return this.http.get(`${this.config.api.url}rounds/${e}`)}getClosedRound(e){return this.http.get(`${this.config.api.url}closedrounds/${e}`)}getInitialData(e){return this.http.get(e?`${this.config.api.url}weboffer/${this.config.upcomingRacesLimit}?gameType=${e}`:`${this.config.api.url}${this.config.upcomingRacesLimit}`).pipe(Object(f.a)(e=>{e=this.camelcaseObjectService.camelCaseObject(e),this.gameData=e,this.gameDataSubj.next(this.gameData),this.availableRounds=e.availableRounds,this.availableRoundsSubj.next(this.availableRounds),this.closedRounds=e.closedRounds,this.closedRoundsSubj.next(this.closedRounds),this.availableJackpots=e.availableJackpots,this.availableJackpotsSubj.next(this.availableJackpots),this.enabledGames=e.enabledGames,this.enabledGamesSubj.next(this.enabledGames)},e=>{console.log("Initial data VG",e)}))}init(){return this.http.get(`${this.config.api.url}${this.config.upcomingRacesLimit}`).pipe(Object(h.a)(3e4))}registerForGameType(e){const t=new o.a(1);return void 0!==e&&(this._registeredGameType=e),this.virtualGamesHub&&this.virtualGamesHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this.virtualGamesHub.RegisterForGame(this._registeredGameType,this.config.upcomingRacesLimit)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}getResults(e,t){return this.http.get(`${this.config.api.url}results/${t?"gamelimit":"game"}/?gameType=${e}${t?`&limit=${t}`:""}`).pipe(Object(h.a)(3e4))}searchResults(e,t){return this.http.post(`${this.config.api.url}results/search`,{GameType:e,RoundNumber:t}).pipe(Object(h.a)(3e4))}getTerminalJackpots(){return this.http.get(`${this.config.api.url}terminaljackpots`).pipe(Object(h.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(R),n.fc(L),n.fc(F),n.fc(M))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(R),Object(n.fc)(L),Object(n.fc)(F),Object(n.fc)(M))},token:e,providedIn:"root"}),e})(),ne=(()=>{class e{constructor(e,t,i,n,s,r,o){this.http=e,this.storage=t,this.localizationService=i,this.authService=n,this.currencyPipe=s,this.printProvider=r,this.vgService=o,this.calculateInProgressSubject=new c.a,this.calculateInProgress$=this.calculateInProgressSubject.asObservable(),this.notificationSubject=new c.a,this.notificationSubject$=this.notificationSubject.asObservable(),this._calculateDebouncedUntil=new Date,this._bettingGameType=8,this._busy=!1,this._isTicketRepeatDialogVisible=!1,this._ticketBetsModifiedSubj=new c.a,this.ticketBetsModified$=this._ticketBetsModifiedSubj.asObservable(),this._ticketTypeSubject=new c.a,this.ticketType$=this._ticketTypeSubject.asObservable(),this._busySubject=new c.a,this.busy$=this._busySubject.asObservable(),this._isTicketRepeatDialogVisibleSubject=new c.a,this.isTicketRepeatDialogVisible$=this._isTicketRepeatDialogVisibleSubject.asObservable(),this._ticketCalculateSubject=new c.a,this.ticketCalculate$=this._ticketCalculateSubject.asObservable(),this._ticket={preparedTicketIdentifier:void 0,clubTicketBonusItems:[],jokerBetSlipItems:[],jokerBetSlipPriceItems:[],oddBonusId:0,oddBonusMode:0,oddMultiplier:0,payIn:void 0,payInPerTicketLocked:!1,betsAnimationEnabled:!0,ticketType:te.normal,gameType:this._bettingGameType,numberOfFixedBets:0,bets:[],errors:[],availableSystems:[],systemResults:[],errorMaxBets:!1,hasTicketErrors:!1,hasBetErrors:!1,hasOddChanges:!1,settings:{acceptAllChanges:!1,acceptHigherOdds:!1,isQuickTicket:!1,oddsChangePercentAccepted:0,ignoreOddsChange:!1,reserveFunds:!0},encryptedTicketPin:void 0,encryptedTicketControlSign:void 0,predefinedPayins:[],betAmount:void 0,serviceChargeAmount:void 0,serviceChargePercent:void 0,minPayIn:void 0,maxPayIn:void 0,minOdds:void 0,maxOdds:void 0,averageOdds:void 0,totalOdds:void 0,minWin:void 0,maxWin:void 0,totalWin:void 0,winBonus:void 0,winBonusTax:void 0,winTax:void 0,winTaxPercent:void 0,combinationCount:void 0,useBonusCredit:!1},this.ticket=this._ticket,this.repeatDialogYes=()=>{this.isTicketRepeatDialogVisible=!1},this.attachTicket=()=>{setTimeout(()=>{this.ticket=this._ticket}),this._ticket.betsAnimationEnabled=!0},this.ticketCalculateSubscripton=this.ticketCalculate$.subscribe(e=>{this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.timeoutHandle=setTimeout(()=>{this.calculateTicket()},300)})}get ticketConfiguration(){return this._ticketConfiguration}set isTicketRepeatDialogVisible(e){this._isTicketRepeatDialogVisible=e,this._isTicketRepeatDialogVisibleSubject.next(this._isTicketRepeatDialogVisible)}forceTicketCalculate(){this._ticketCalculateSubject.next(!0)}ngOnDestroy(){this.ticketCalculateSubscripton&&(this.ticketCalculateSubscripton.unsubscribe(),this.ticketCalculateSubscripton=void 0)}initialize(e){const t=new o.a;return this.config=e,this.ticketAuthTime=this.config.ticketAuthTime?+this.config.ticketAuthTime:90,this._ticketConfiguration=this.config.configuration,this.authService.loggedIn$.subscribe(e=>{this.config.printTicket=e&&-1!==["1","8","9"].indexOf(this.authService.auth.membershipType)}),this.authService.logoutMembership$.subscribe(e=>{"terminal"==this.config.api.headers.deviceType&&e&&e.clearTicketSelection&&this.clear()}),Object(a.a)(this.storage.get("app:vgTicket")).subscribe(e=>{e&&null!==e&&Object.assign(this._ticket,e),this._ticketConfiguration=this.config.configuration,this._ticket.minPayIn=this._ticketConfiguration.MinPayIn,this._ticket.predefinedPayins=this._ticketConfiguration.BetSlipPayInValues,this.validatePayIn(),this.clearBonuses(),t.next(),t.complete()},e=>{t.error(e),t.complete()}),t.asObservable()}get locked(){return this._busy||this._isTicketRepeatDialogVisible}set busy(e){this._busy=e,this._busySubject.next(this._busy)}get busy(){return this._busy}get repeatTicketDialogVisible(){return this._isTicketRepeatDialogVisible}get vgState(){return this.vgService.connectionState}toggleBet(e,t,i,n,s){const r=e.offers.find(e=>e.betType==t).odds.find(e=>e.pick==i),o={betData:e.raceId+"-"+t+"-"+e.gameType,betType:t,game:10,gameType:e.gameType,odd:1===r.odds.length?r.odds[0]:((r.odds[0]+r.odds[1])/2).toFixed(4),odds:9==t?r.odds:null,pick:r.pick,raceNumber:e.raceNumber,isValid:!0,hasErrors:!1,offer:void 0,betGame:void 0,translationOfferType:void 0,eventTime:void 0};this.addBet(o,n)}placeBet(e,t,i){e.isValid=!0,e.hasErrors=!1,this.addBet(e,t)}hasBet(e){return-1!==this.indexOfBet(e)}removeBet(e,t){const i=this.indexOfBet(e);-1!==i&&this.deleteBet(i,t)}valid(){return!(this._ticket.hasTicketErrors||this._ticket.hasBetErrors)}submitEnabled(){return this.valid()&&!this._busy}submit(){if(this.locked)return void this.notificationSubject.next({message:"VG_TICKET_TOASTER_LOCKED_MESSAGE",type:ee.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe()):i()},1e3)};i();const n=this.authService.loggedIn&&2==this.authService.auth.membershipType,s=this.prepareTicketForSending();e=this.http.post(`${this.config.api.bettingApiUrl}submit`,s).subscribe(i=>{this.attachTicket(),this.handleBetSlipResponse(i),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"VG_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:ee.warning})):(this.detachTicket(),i.printResult?(i.printResult.ticket.isCopy=n,this.printProvider.printSportBettingTicket(this._ticket,i).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"VG_TICKET_TOASTER_SUCCESS_MESSAGE",type:ee.info})},e=>{this.notificationSubject.next({message:"VG_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:ee.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)})):s.Autoconfirm?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)):e=this.http.post(`${this.config.api.bettingApiUrl}confirm`,{EncryptedTicketPin:this._ticket.encryptedTicketPin}).subscribe(e=>{!0!==e?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:ee.error})):(this.config.printTicket||(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t)),this.resetAllBonuses(),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"VG_TICKET_TOASTER_SUCCESS_MESSAGE",type:ee.info})},e=>{this.notificationSubject.next({message:"VG_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:ee.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"VG_TICKET_TOASTER_SUCCESS_MESSAGE",type:ee.info}))},e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:ee.error})}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:ee.error}),this.attachTicket(),this.busy=!1,this._validationTime=void 0})}submitV2(){if(this.locked)return void this.notificationSubject.next({message:"VG_TICKET_TOASTER_LOCKED_MESSAGE",type:ee.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe()):i()},1e3)};i(),e=this.http.post(`${this.config.api.bettingApiUrl}submit`,this.prepareTicketForSending(!0)).subscribe(e=>{this.attachTicket(),this.handleBetSlipResponse(e),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"VG_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:ee.warning})):(this.detachTicket(),this.config.printTicket||(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t)),this.resetAllBonuses(!0),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"VG_TICKET_TOASTER_SUCCESS_MESSAGE",type:ee.info})},e=>{this.notificationSubject.next({message:"VG_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:ee.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"VG_TICKET_TOASTER_SUCCESS_MESSAGE",type:ee.info}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:ee.error}),this.attachTicket(),this.busy=!1,this._validationTime=void 0})}removeBonus(e){return this._ticket.jokerBetSlipItems[e].count>1?this._ticket.jokerBetSlipItems[e].count=this._ticket.jokerBetSlipItems[e].count-1:this._ticket.jokerBetSlipItems.splice(e,1),this._ticket.jokerBetSlipItems}editBonus(e,t){return this._ticket.jokerBetSlipItems[e]=t,this._ticket.jokerBetSlipItems}addBonus(e){this._ticket.jokerBetSlipItems.push(e)}getUserBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0;const e=new o.a;return!this.authService.loggedIn||"WebUser"!==this.authService.auth.role&&"ExternalUser"!==this.authService.auth.role?(this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],e.next(),e.complete()):this.http.post(`${this.config.api.urlClubAPI}bonuses`,{BonusTypes:[0],GameType:8}).subscribe(t=>{if(t.result){if(this._ticket.clubTicketBonusItems=t.result.clubTicketBonusItems,this._ticket.jokerBetSlipItems=t.result.jokerBetSlipItems,this._ticket.jokerBetSlipPriceItems=t.result.jokerBetSlipPriceItems,this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.WinIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin}else this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[];e.next(),e.complete()},t=>{e.error(t),e.complete()}),e.asObservable()}resetAllBonuses(e){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,e||(this._ticket.payIn=this.getDefaultStake()),Object(g.each)(this._ticket.clubTicketBonusItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipPriceItems,e=>{e.selected=!1})}toggleBonus(e){const t=e.selected;t?(this._ticket.useBonusCredit=!1,this.resetAllBonuses(),e.selected=t,this._ticket.oddBonusId=e.id,this._ticket.oddBonusMode=e.oddBonusMode,this._ticket.oddMultiplier=e.oddMultiplier,this._ticket.payIn=e.surchargeAmount):this._ticket.oddBonusId===e.id&&this._ticket.oddBonusMode===e.oddBonusMode&&(this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.payIn=this.getDefaultStake()),this._ticketCalculateSubject.next(!0)}clearBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],this.storage.set("app:vgTicket",this._ticket)}clear(){const e=Object.assign([],this._ticket.bets);this.resetTicket(),this.storage.set("app:vgTicket",this._ticket);for(const t of e)this._ticketBetsModifiedSubj.next({operation:"removed",bet:t})}repeatDialogNo(){this.isTicketRepeatDialogVisible=!1,this.clear()}setPayin(e){let t=!0;return isNaN(e)&&(this.notificationSubject.next({message:"VG_TICKET_TOASTER_INVALID_PAYIN_MESSAGE",type:ee.warning}),e=this.getDefaultStake(),t=!1),this._ticket.payIn=e,this.validatePayIn(),this.calculateTicket(),t}getDefaultStake(){return this._ticketConfiguration.DefaultStake>=this._ticket.minPayIn&&(null==this._ticket.maxPayIn||this._ticketConfiguration.DefaultStake<=this._ticket.maxPayIn)?this._ticketConfiguration.DefaultStake:this._ticketConfiguration.MinPayIn}get validationTime(){return this._validationTime}validatePayIn(){Object(g.each)(this._ticket.availableSystems,e=>{e.payIn<e.minPayIn?e.payIn=e.minPayIn:e.payIn>e.maxPayIn&&(e.payIn=e.maxPayIn)}),(!this._ticket.payIn||this._ticket.payIn<this._ticket.minPayIn)&&(this._ticket.payIn=this.getDefaultStake())}currencyFormatter(e){this.currencyPipe.transform(e)}detachTicket(){this._ticket.betsAnimationEnabled=!1,setTimeout(()=>{this.ticket=Object.assign({},this._ticket)})}showTicketErrorsToast(){if(this._ticket.errors)for(const e of this._ticket.errors)this.notificationSubject.next({message:e,type:ee.warning})}indexOfBet(e){for(let t=0;t<this._ticket.bets.length;t++){const i=this._ticket.bets[t];if(i.betData===e.betData&&i.pickDescription===e.pickDescription&&i.drawNumber===e.drawNumber&&i.pick===e.pick)return t}return-1}deleteBet(e,t){if(this.ticket.hasOddChanges=!1,this.locked)return void this.notificationSubject.next({message:"VG_TICKET_TOASTER_LOCKED_MESSAGE",type:ee.warning});const i=this._ticket.bets.splice(e,1)[0];this._ticket.bets.length>0&&this._ticketCalculateSubject.next(!0),0===this._ticket.bets.length&&this.resetTicket(),this.storage.set("app:vgTicket",this._ticket),void 0!==t&&t(null,i),this._ticketBetsModifiedSubj.next({operation:"removed",bet:i}),this.notificationSubject.next({message:"VG_TICKET_TOASTER_BET_REMOVED_MESSAGE",type:ee.warning})}resetTicket(){this._ticket.preparedTicketIdentifier=void 0,this._ticket.payInPerTicketLocked=!1,this._ticket.payIn=this.getDefaultStake(),this._ticket.ticketType=te.normal,this._ticket.gameType=this._bettingGameType,this._ticket.numberOfFixedBets=0,this._ticket.bets=[],this._ticket.errors=[],this._ticket.availableSystems=[],this._ticket.systemResults=[],this._ticket.errorMaxBets=!1,this._ticket.hasTicketErrors=!1,this._ticket.hasBetErrors=!1,this._ticket.encryptedTicketPin=void 0,this._ticket.encryptedTicketControlSign=void 0,this._ticket.betAmount=void 0,this._ticket.serviceChargeAmount=void 0,this._ticket.serviceChargePercent=void 0,this._ticket.minPayIn=void 0,this._ticket.minOdds=void 0,this._ticket.maxOdds=void 0,this._ticket.averageOdds=void 0,this._ticket.totalOdds=void 0,this._ticket.minWin=void 0,this._ticket.maxWin=void 0,this._ticket.totalWin=void 0,this._ticket.winBonus=void 0,this._ticket.winBonusTax=void 0,this._ticket.winTax=void 0,this._ticket.winTaxPercent=void 0,this._ticket.combinationCount=void 0,this._ticket.hasOddChanges=!1,this._ticket.settings.ignoreOddsChange=!1,this._ticket.useBonusCredit=!1,this.resetAllBonuses(),this.storage.set("app:vgTicket",this._ticket),this._ticketTypeSubject.next(this._ticket.ticketType)}pickCompare(e,t){return e==t}handleTicketPayIn(e,t){return e.length>0&&Object(g.find)(e,e=>1===e.errorType&&1===e.messageType)?this._ticket.payIn:t>0?t:this._ticket.payIn}handleBetSlipResponse(e){if(e){this._ticket.encryptedTicketPin=e.encryptedTicketPin,this._ticket.encryptedTicketControlSign=e.encryptedTicketControlSign,this._ticket.betAmount=e.betAmount,this._ticket.serviceChargeAmount=e.serviceChargeAmount,this._ticket.serviceChargePercent=e.serviceChargePercent,this._ticket.minPayIn=e.minPayIn,this._ticket.maxPayIn=e.maxPayIn>0?e.maxPayIn:void 0,this._ticket.minOdds=e.minOdds,this._ticket.maxOdds=e.maxOdds,this._ticket.averageOdds=e.averageOdds,this._ticket.totalOdds=e.totalOdds,this._ticket.minWin=e.minWin,this._ticket.maxWin=e.maxWin,this._ticket.totalWin=e.totalWin,this._ticket.winBonus=e.winBonus,this._ticket.winBonusTax=e.winBonusTax,this._ticket.winTax=e.winTax,this._ticket.winTaxPercent=e.winTaxPercent,this._ticket.combinationCount=e.combinationCount,this._ticket.availableSystems=null!==e.availableSystems?e.availableSystems:[],this._ticket.systemResults=e.systemResults,this._ticket.payIn=this.handleTicketPayIn(e.errors,e.payIn),this._ticket.payInPerTicketLocked=e.payInPerTicketLocked,this._ticket.preparedTicketIdentifier=e.preparedTicketIdentifier;for(const e of this.ticket.availableSystems){e.id=e.typeFrom+"_"+e.typeTo;for(const t of this.ticket.systemResults)if(e.typeFrom===t.typeFrom&&e.typeTo===t.typeTo){e.payIn=t.payIn,e.payInPerCombination=t.payInPerCombination;break}}if(e.errors&&e.errors.forEach((e,t)=>{if(e.value&&e.valueType)switch(e.valueType){case"CURRENCY":e.message=e.message.replace("{0}",this.currencyFormatter(e.Value))}}),this._ticket.errors=e.errors,this._ticket.hasTicketErrors=this.ticketHasErrors(),this._ticket.hasBetErrors=!1,e.betResults)for(const t of e.betResults)for(const e of this._ticket.bets)if(t.bet.game===e.game&&t.bet.betData===e.betData&&t.bet.pick===e.pick.toString().replace(/\|/g,"-")){e.errors=t.errors,this._ticket.hasBetErrors=this._ticket.hasBetErrors||e.errors.length>0;break}if(this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.winIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin;this.storage.set("app:vgTicket",this._ticket)}}ticketHasErrors(){let e=0,t=0;return this._ticket.errors&&this._ticket.errors.length>0&&(t=this._ticket.errors.length,this._ticket.errors.forEach(t=>{2===t.errorType&&e++})),e<t}calculateTicket(){this.busy||(this.calculateInProgressSubject.next(!0),this.validatePayIn(),this._calculateSubscription&&(this._calculateSubscription.unsubscribe(),this._calculateSubscription=void 0),this._ticket.bets.length>0&&(this._calculateSubscription=this.http.post(`${this.config.api.bettingApiUrl}calculate`,this.prepareTicketForSending(),{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{for(var t=0;t<e.betResults.length;t++)this._ticket.bets[t]&&(this._ticket.bets[t].oddAfterCalculate=e.betResults[t].bet.odd*e.systemResults[0].betPerCombination);const i=this.ticket.hasBetErrors,n=this.ticket.hasTicketErrors;this.handleBetSlipResponse(e),this._calculateSubscription=void 0,this._ticket.hasTicketErrors&&!n&&this.showTicketErrorsToast(),this.ticketActive&&this._ticket.hasBetErrors&&!i&&this.notificationSubject.next({message:"VG_TICKET_TOASTER_CALCULATE_BET_ERRORS_MESSAGE",type:ee.warning}),this.calculateInProgressSubject.next(!1)},()=>{this.calculateInProgressSubject.next(!1)})))}prepareTicketForSending(e){const t={},i=-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType),n=this.authService.loggedIn&&-1!==[8,12,13,14].indexOf(+this.authService.auth.membershipType),s=i&&n||this.config.hardwarePrint,r=this.authService.loggedIn&&2==this.authService.auth.membershipType,o=r&&i,a=i&&r&&this.config.evonaUserPrint;t.Bets=[],t.Systems=[],t.GameType=this._bettingGameType,t.OddBonusId=this._ticket.oddBonusId,t.OddBonusMode=this._ticket.oddBonusMode,t.BetSlipType=0,t.Autoconfirm=e||o,t.PrintTicket=s||a,t.UseBonusCredit=this._ticket.useBonusCredit,t.Settings={ReserveFunds:this._ticket.settings.reserveFunds||s};for(const c of this._ticket.bets){let e={BetData:c.betData,Game:c.game,Odd:c.odd,Odds:c.odds,Pick:"number"==typeof c.pick?c.pick:c.pick.toString().replace(/\|/g,"-"),DrawNumber:c.drawNumber,PickDescription:c.pickDescription,TranslatedPick:c.translatedPick};t.Bets.push(e)}return this._ticket.ticketType===te.normal?t.Systems.push({TypeFrom:t.Bets.length,TypeTo:t.Bets.length,PayIn:this._ticket.payIn}):this._ticket.availableSystems&&(t.Systems=[],Object(g.each)(this._ticket.availableSystems,e=>{e.payIn>0&&t.Systems.push({PayIn:e.payIn,TypeFrom:e.typeFrom,TypeTo:e.typeTo})})),t}addBet(e,t){this.locked?this.notificationSubject.next({message:"VG_TICKET_TOASTER_LOCKED_MESSAGE",type:ee.warning}):this._ticket.bets.length>=this._ticketConfiguration.BetSlipMaxBets?this.notificationSubject.next({message:"VG_TICKET_TOASTER_MAX_BETS_MESSAGE",type:ee.warning}):(e.errors=[],this._ticket.bets.push(e),this.ticket.bets.length>=2&&0!=this.ticket.oddBonusId&&this.resetAllBonuses(),this._ticketCalculateSubject.next(!0),this.storage.set("app:vgTicket",this._ticket),void 0!==t&&t(null,e),this._ticketBetsModifiedSubj.next({operation:"added",bet:e}),this.notificationSubject.next({message:"VG_TICKET_TOASTER_BET_ADDED_MESSAGE",type:ee.info}))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(O),n.fc(F),n.fc(L),n.fc(w),n.fc(Z),n.fc(ie))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(O),Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(w),Object(n.fc)(Z),Object(n.fc)(ie))},token:e,providedIn:"root"}),e})(),se=(()=>{class e{constructor(e,t,i){this.http=e,this.translationProvider=t,this.sportBettingUtilService=i,this._resultsSportsSubject=new o.a(1),this._resultsSports$=this._resultsSportsSubject.asObservable(),this._resultsSportsCache=new E(this.updateResultsSports.bind(this),this.resultsSportsCacheValid.bind(this),this._resultsSportsSubject,3e5,!0,6e5)}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}start(){const e=new o.a(1);if(this.running)e.next(),e.complete();else{this.running=!0;const t=[];t.push(this._resultsSportsCache.update()),Object(l.a)(...t).subscribe(()=>{e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error(t)})}return e.asObservable()}stop(){this.running=!1,this._resultsSportsCache.autoRefresh=!1}get resultsSports$(){return this._initialized&&this._resultsSportsCache.get().pipe(Object(d.a)(1)).subscribe(),this._resultsSports$}getMatchResults(e){const t=new c.a;return this.http.get(`${this.config.api.url}result/match/${e}/results`,{headers:{LanguageId:this.translationProvider.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{e.offersMap=this.sportBettingUtilService.getOffersMap(e.offers);for(const t in e.offersMap){const i=e.offersMap[t];this.sportBettingUtilService.formatOdds(i),i.oddsCount=i.odds.length,0===i.odds.length?delete e.offersMap[t]:!e.isLiveMatchAvailable||i.active&&i.isEnabled||delete e.offersMap[t]}e.offers=this.sportBettingUtilService.getOffersFromMap(e.offersMap),t.next(e),t.complete()},e=>{t.error(e),t.complete()}),t.asObservable()}getResultsLeagueMatchesBySlug(e,t,i,n,s,r=0,o=1e5){const a=new c.a;return this._resultsSports$.pipe(Object(d.a)(1)).subscribe(c=>{for(const l of c)if(l.slug===e){if(!t)return void this.getResultsLeagueMatches([l.id],[],[],n,s,r,o).subscribe(e=>{a.next(e),a.complete()},e=>{a.error(e),a.complete()});for(const e of l.categories)if(e.slug===t){if(!i)return void this.getResultsLeagueMatches([l.id],[e.id],[],n,s,r,o).subscribe(e=>{a.next(e),a.complete()},e=>{a.error(e),a.complete()});for(const t of e.leagues)if(t.slug===i)return void this.getResultsLeagueMatches([l.id],[e.id],[t.id],n,s,r,o).subscribe(e=>{a.next(e),a.complete()},e=>{a.error(e),a.complete()})}}a.next({count:0,sports:[]}),a.complete()},e=>{a.error(e),a.complete()}),a}getResultsLeagueMatches(e,t,i,n,s,r=0,o=1e5){const a=new c.a;let l=`${this.config.api.url}result/sports/pagedresults?offset=${r}&limit=${o}&sportIds=${e.join()}&categoryIds=${t.join()}&leagueIds=${i.join()}\n      `;return n&&(l+=`&dateFrom=${n.toDateString()}`),s&&(l+=`&dateTo=${s.toISOString()}`),this.http.get(l,{headers:{LanguageId:this.translationProvider.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{const t=e.response;if(t){this.sportBettingUtilService.formatSports(t);for(const e of t)for(const t of e.categories)for(const e of t.leagues)for(const t of e.matches)this.sportBettingUtilService.formatData(t)}a.next({count:e.count,sports:t}),a.complete()},e=>{a.error(e),a.complete()}),a.asObservable()}updateResultsSports(){return this.http.get(`${this.config.api.url}result/sports`,{headers:{LanguageId:this.translationProvider.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).pipe(Object(f.a)(e=>(this.sportBettingUtilService.formatSports(e),e),e=>[]))}resultsSportsCacheValid(e){return!0}getAutocompleteOptions(e){const t=new c.a;return this.http.get(`${this.config.api.url}result/autocomplete/${e}`).pipe(Object(d.a)(1)).subscribe(e=>{t.next(e)},e=>{t.error(e)},()=>{t.complete()}),t.asObservable()}searchResults(e,t,i){return this.http.post(`${this.config.api.url}result/search`,{Offset:e,Limit:t,SearchValue:i}).pipe(Object(f.a)(e=>{const t=e.response;if(t){this.sportBettingUtilService.formatSports(t);for(const e of t)for(const t of e.categories)for(const e of t.leagues)for(const t of e.matches)this.sportBettingUtilService.formatData(t)}return{count:e.count,sports:t}}))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(F),n.fc(B))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(F),Object(n.fc)(B))},token:e,providedIn:"root"}),e})();const re=function(){var e={info:0,warning:1,error:2,notification:3,errorV2:4};return e[e.info]="info",e[e.warning]="warning",e[e.error]="error",e[e.notification]="notification",e[e.errorV2]="errorV2",e}(),oe=function(){var e={normal:0,system:5,betBuilder:6};return e[e.normal]="normal",e[e.system]="system",e[e.betBuilder]="betBuilder",e}();let ae=(()=>{class e{constructor(e,t,i,n,s,r,a,l,u){this.http=e,this.storage=t,this.localizationService=i,this.authService=n,this.currencyPipe=s,this.sportBettingUtilProvider=r,this.sportBettingOfferProvider=a,this.printProvider=l,this.oddPipe=u,this.calculateInProgressSubject=new c.a,this.calculateInProgress$=this.calculateInProgressSubject.asObservable(),this.notificationSubject=new c.a,this.notificationSubject$=this.notificationSubject.asObservable(),this.validationSubject=new c.a,this.validation$=this.validationSubject.asObservable(),this.editedTicketSubject=new c.a,this.editedTicket$=this.editedTicketSubject.asObservable(),this._calculateDebouncedUntil=new Date,this._bettingGameType=1,this._busy=!1,this._isTicketRepeatDialogVisible=!1,this._isTicketPreparedDialogVisible=!1,this._availableBetGroups=[],this._fixToggling=!1,this._ticketBetsModifiedSubj=new c.a,this.ticketBetsModified$=this._ticketBetsModifiedSubj.asObservable(),this._betBuilderBetsModifiedSubj=new c.a,this.betBuilderBetsModified$=this._betBuilderBetsModifiedSubj.asObservable(),this._ticketTypeSubject=new c.a,this.ticketType$=this._ticketTypeSubject.asObservable(),this._busySubject=new c.a,this.busy$=this._busySubject.asObservable(),this._isTicketRepeatDialogVisibleSubject=new c.a,this.isTicketRepeatDialogVisible$=this._isTicketRepeatDialogVisibleSubject.asObservable(),this._isTicketPreparedDialogVisibleSubject=new c.a,this.isTicketPreparedDialogVisible$=this._isTicketPreparedDialogVisibleSubject.asObservable(),this._prepareTicketConfirmationSubject=new c.a,this.prepareTicketConfirmation$=this._prepareTicketConfirmationSubject.asObservable(),this._initializedSubject=new o.a(1),this.initialized$=this._initializedSubject.asObservable(),this._ticketCalculateSubject=new c.a,this.ticketCalculate$=this._ticketCalculateSubject.asObservable(),this._ticket={preparedTicketIdentifier:void 0,clubTicketBonusItems:[],jokerBetSlipItems:[],jokerBetSlipPriceItems:[],jokerBetSlipOddsAdvantages:[],oddBonusId:0,oddBonusMode:0,oddMultiplier:0,payIn:void 0,payInPerTicketLocked:!1,betsAnimationEnabled:!0,ticketType:oe.normal,gameType:this._bettingGameType,numberOfFixedBets:0,bets:[],groupedBets:[],errors:[],availableSystems:[],systemResults:[],errorMaxBets:!1,hasTicketErrors:!1,hasBetErrors:!1,hasOddChanges:!1,settings:{acceptAllChanges:!1,acceptHigherOdds:!1,isQuickTicket:!1,oddsChangePercentAccepted:0,ignoreOddsChange:!1},encryptedTicketPin:void 0,encryptedTicketControlSign:void 0,predefinedPayins:[],betAmount:void 0,serviceChargeAmount:void 0,serviceChargePercent:void 0,minPayIn:void 0,maxPayIn:void 0,systemMinPayIn:void 0,minOdds:void 0,maxOdds:void 0,averageOdds:void 0,totalOdds:void 0,minWin:void 0,maxWin:void 0,totalWin:void 0,winBonus:void 0,winBonusTax:void 0,winTax:void 0,winTaxPercent:void 0,combinationCount:void 0,betSlipBonusType:void 0,availableBetGroups:[],anonymousTicket:!1,useBonusCredit:!1},this.ticket=this._ticket,this.betBuilderBets=[],this.repeatDialogYes=()=>{this.isTicketRepeatDialogVisible=!1},this.preparedDialogYes=()=>{this._isTicketPreparedDialogVisible=!1},this.attachTicket=()=>{this._ticket.anonymousTicket=!1,setTimeout(()=>{this.ticket=this._ticket}),this._ticket.betsAnimationEnabled=!0},this.ticketCalculateSubscripton=this.ticketCalculate$.subscribe(e=>{this.calculateInProgressSubject.next(!0),this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.timeoutHandle=setTimeout(()=>{this.calculateTicket()},1e3)}),a.liveRegisteredOffers$.subscribe(e=>{this.liveOffersUpdateCallback(e)})}get ticketConfiguration(){return this._ticketConfiguration}set isTicketRepeatDialogVisible(e){this._isTicketRepeatDialogVisible=e,this._isTicketRepeatDialogVisibleSubject.next(this._isTicketRepeatDialogVisible)}set isTicketPreparedDialogVisible(e){this._isTicketPreparedDialogVisible=e,this._isTicketPreparedDialogVisibleSubject.next(this._isTicketPreparedDialogVisible)}set quickBetActive(e){this._quickBetActive=e}get quickBetActive(){return this._quickBetActive}forceTicketCalculate(){this._ticketCalculateSubject.next(!0)}ngOnDestroy(){this.ticketCalculateSubscripton&&(this.ticketCalculateSubscripton.unsubscribe(),this.ticketCalculateSubscripton=void 0)}initialize(e){const t=new o.a;return this.config=e,this.ticketAuthTime=this.config.ticketAuthTime?+this.config.ticketAuthTime:90,this._ticketConfiguration=this.config.configuration,this.authService.loggedIn$.subscribe(e=>{this.config.printTicket=e&&-1!==["1","8","9"].indexOf(this.authService.auth.membershipType)}),this.authService.logoutMembership$.subscribe(e=>{"terminal"==this.config.api.headers.deviceType&&e&&e.clearTicketSelection&&this.clear()}),Object(a.a)(this.storage.get("app:sportTicket")).subscribe(e=>{e&&null!==e&&Object.assign(this._ticket,e),this._ticketConfiguration=this.config.configuration,this._ticket.minPayIn=this._ticketConfiguration.MinPayIn,this._ticket.systemMinPayIn=this._ticketConfiguration.SystemMinPayIn,this._ticket.predefinedPayins=this._ticketConfiguration.BetSlipPayInValues,this._ticket.settings.acceptAllChanges=this._ticketConfiguration.AcceptAllOddsChanges,this.validatePayIn(),this.clearBonuses(),this.sportBettingOfferProvider.registerForLiveOffers(this._ticket.bets.map(e=>e.offer.id)),t.next(),t.complete(),this._initializedSubject.next(!0)},e=>{t.error(e),t.complete(),this._initializedSubject.next(!1)}),t.asObservable()}get locked(){return this._busy||this._isTicketRepeatDialogVisible}set busy(e){this._busy=e,this._busySubject.next(this._busy)}get busy(){return this._busy}get availableBetGroups(){return this._availableBetGroups}get repeatTicketDialogVisible(){return this._isTicketRepeatDialogVisible}get preparedDialogVisible(){return this._isTicketPreparedDialogVisible}enableBetSlipBonusToggle(e){this._enabledBetSlipBonusToggle=e}get isBetSlipBonusSwitchEnabled(){return 1!=this._ticket.oddBonusMode&&this._enabledBetSlipBonusToggle}selectBetSlipBonus(e){this.ticket.betSlipBonusType=e}getUserBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.oddBonusJokerType=null;const e=new o.a;return!this.authService.loggedIn||"WebUser"!==this.authService.auth.role&&"ExternalUser"!==this.authService.auth.role?(this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],this._ticket.jokerBetSlipOddsAdvantages=[],e.next(),e.complete()):this.http.post(`${this.config.api.urlClubAPI}bonuses`,{BonusTypes:[0]}).subscribe(t=>{if(t.result){if(this._ticket.clubTicketBonusItems=t.result.clubTicketBonusItems,this._ticket.jokerBetSlipItems=t.result.jokerBetSlipItems,this._ticket.jokerBetSlipPriceItems=t.result.jokerBetSlipPriceItems,this._ticket.jokerBetSlipOddsAdvantages=t.result.jokerBetSlipOddsAdvantages,this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.WinIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin}else this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],this._ticket.jokerBetSlipOddsAdvantages=[];e.next(),e.complete()},t=>{e.error(t),e.complete()}),e.asObservable()}removeBonus(e){return this._ticket.jokerBetSlipItems[e].count>1?this._ticket.jokerBetSlipItems[e].count=this._ticket.jokerBetSlipItems[e].count-1:this._ticket.jokerBetSlipItems.splice(e,1),this._ticket.jokerBetSlipItems}editBonus(e,t){return this._ticket.jokerBetSlipItems[e]=t,this._ticket.jokerBetSlipItems}addBonus(e){this._ticket.jokerBetSlipItems.push(e)}resetAllBonuses(e=!0){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.oddBonusJokerType=null,e&&(this._ticket.payIn=this.getDefaultStake()),Object(g.each)(this._ticket.clubTicketBonusItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipPriceItems,e=>{e.selected=!1}),Object(g.each)(this._ticket.jokerBetSlipOddsAdvantages,e=>{e.selected=!1})}toggleBonus(e){const t=e.selected;t?(this._ticket.useBonusCredit=!1,this.resetAllBonuses(),e.selected=t,3==e.oddBonusMode&&this._ticket.payIn<this.ticketConfiguration.MinPayIn&&(this._ticket.payIn=this.ticketConfiguration.MinPayIn),this._ticket.payIn>this._ticket.maxPayIn&&3!=e.oddBonusMode&&(this._ticket.payIn=e.abstractValue),1==e.oddBonusMode&&(this._ticket.payIn=e.surchargeAmount),this._ticket.oddBonusId=e.id,this._ticket.oddBonusMode=e.oddBonusMode,this._ticket.oddMultiplier=e.oddMultiplier,this._ticket.oddBonusJokerType=e.jokerType):this._ticket.oddBonusId===e.id&&this._ticket.oddBonusMode===e.oddBonusMode&&(this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.oddBonusJokerType=null,this._ticket.payIn=this.getDefaultStake()),this._ticketCalculateSubject.next(!0)}clearBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.oddBonusJokerType=null,this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],this._ticket.jokerBetSlipOddsAdvantages=[],this.storage.set("app:sportTicket",this._ticket)}acceptOddChanges(){Object(g.each)(this.ticket.bets,e=>{if(e.newOdd){const t=e.odd;e.odd=Object.assign({},e.newOdd),this.sportBettingUtilProvider.determineOddChangeType(t,e.odd)}}),this.ticket.hasOddChanges=!1,this.ticket.settings.ignoreOddsChange=!0,this._ticketCalculateSubject.next(!0)}changeTicketType(e){this._ticket.ticketType!=e&&(this.locked?this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning}):(0!=this._ticket.oddBonusMode&&(this._ticket.payIn=this.getDefaultStake(),this.resetAllBonuses()),this._ticket.ticketType=e,e==oe.system&&(this._ticket.bets.forEach(e=>{e.isFixed=!1}),this.updateNumberOfFixes()),this.selectDefaultSystem(),this.resetCalculationAndErrors(),this._ticketCalculateSubject.next(!0),this.storage.set("app:sportTicket",this._ticket),this._ticketTypeSubject.next(this._ticket.ticketType)))}resetCalculationAndErrors(){for(const e of this._ticket.bets)e.errors=[]}selectDefaultSystem(){Object(g.each)(this._ticket.availableSystems,e=>{e.payIn=0,e.payInPerCombination=0,e.selected=!1});const e=Object(g.last)(this._ticket.availableSystems);if(e&&e){let t=this._ticket.payIn>this._ticket.systemMinPayIn?this._ticket.payIn:this._ticket.systemMinPayIn;e.payIn=t,e.payInPerCombination=t,e.selected=!0}}toggleBet(e,t,i,n,s){const r={match:e,offer:t,odd:i,isValid:!0,hasErrors:!1,game:t.gameId},o=this.indexOfBet(r);-1===o||r.odd.betBuilderOdd?-1!==o&&r.odd.betBuilderOdd?this.deleteBetBuilderBet(o,r):this.addBet(r,n):this.deleteBet(o,s)}placeBet(e,t,i,n){const s={match:e,offer:t,odd:i,isValid:!0,hasErrors:!1,game:t.gameId};-1===this.indexOfBet(s)&&this.addBet(s,n)}hasBet(e,t,i){return-1!==this.indexOfBet({match:e,offer:t,odd:i,isValid:!0,hasErrors:!1,game:t.gameId})}removeBet(e,t){const i=this.indexOfBet(e);-1!==i&&this.deleteBet(i,t)}toggleFix(e){this._fixToggling||(this.locked?this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning}):(this._fixToggling=!0,e.isFixed=!e.isFixed,this.updateNumberOfFixes(),this._ticketCalculateSubject.next(!0),this.storage.set("app:sportTicket",this._ticket)))}selectBetGroup(e){this.locked?this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning}):(e.group=e.group,this._ticketCalculateSubject.next(!0),this.storage.set("app:sportTicket",this._ticket))}valid(){return!(this._ticket.hasTicketErrors||this._ticket.hasBetErrors)}submitEnabled(){return this.valid()&&!this._busy}submit(){if(this.locked)return void this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this.validationSubject.next(this._validationTime),this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe(),this.validationSubject.next(!1)):i()},1e3)};i();const n=this.config.webUserPrepareTicket&&!this.authService.loggedIn||this.ticket.anonymousTicket,s=this.authService.loggedIn&&7==this.authService.auth.membershipType,r=this.authService.loggedIn&&2==this.authService.auth.membershipType,o=n?"submitanonymous/"+this.authService.config.api.clientId:"submit";this.newTicket=this.prepareTicketForSending(!1,!0),e=this.http.post(`${this.config.api.urlBettingAPI}${o}`,this.newTicket).subscribe(i=>{this.attachTicket(),this.handleBetSlipResponse(i,!0),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors||!this._ticket.encryptedTicketPin?(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.notificationSubject.next({message:"TICKET_HAS_ERRORS",type:re.errorV2})):n||s?(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.isTicketRepeatDialogVisible=!0):(this.detachTicket(),i.printResult?(i.printResult.ticket.isCopy=r,this.printProvider.printSportBettingTicket(this._ticket,i).subscribe(e=>{this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),null!=this._ticket.preparedTicketIdentifier&&(""!=this._ticket.preparedTicketIdentifier&&this._prepareTicketConfirmationSubject.next(this._ticket.preparedTicketIdentifier),this._ticket.preparedTicketIdentifier=null),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)},e=>{this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:re.warning}),this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),console.error(e)})):this.newTicket.Autoconfirm?(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)):e=this.http.post(`${this.config.api.urlBettingAPI}confirm`,{EncryptedTicketPin:this._ticket.encryptedTicketPin}).subscribe(e=>{!0!==e?(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.isTicketRepeatDialogVisible=!1,this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:re.error})):(this.config.printTicket||(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t)),this.resetAllBonuses(),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(e=>{this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),null!=this._ticket.preparedTicketIdentifier&&(""!=this._ticket.preparedTicketIdentifier&&this._prepareTicketConfirmationSubject.next(this._ticket.preparedTicketIdentifier),this._ticket.preparedTicketIdentifier=null),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)},e=>{this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:re.warning}),this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),console.error(e)}):(this.ticketActive&&(this.notificationSubject.next({message:JSON.stringify({ticketPin:this._ticket.encryptedTicketPin,payinAmount:this._ticket.payIn}),type:re.notification}),this.isTicketRepeatDialogVisible=!0),this._quickBetActive&&this.clearQuickBet()))},e=>{this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.isTicketRepeatDialogVisible=!1,e&&401!==e.status&&this.notificationSubject.next({message:e,type:re.error})}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:e,type:re.error}),this.attachTicket(),this.busy=!1,this.clearValidation()})}clearValidation(){this._validationTime=void 0,this.validationSubject.next(!1)}calculateTicketSystems(e){let t=0;for(let i=0;i<e.length;i++){let n=e[i];if(n.payIn&&n.selected)for(let e=0;e<this._ticket.availableSystems.length;e++)if(this._ticket.availableSystems[e].typeFrom===n.typeFrom){this._ticket.availableSystems[e].payIn=n.payIn,this._ticket.availableSystems[e].payInPerCombination=n.payIn/this._ticket.availableSystems[e].combinationsCount,this._ticket.availableSystems[e].selected=!0,t++;break}}t>0&&this._ticketCalculateSubject.next(!0)}submitV2(){if(this.locked)return void this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this.validationSubject.next(this._validationTime),this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe(),this.validationSubject.next(!1)):i()},1e3)};i();const n=this.config.webUserPrepareTicket&&!this.authService.loggedIn||this.ticket.anonymousTicket,s=this.authService.loggedIn&&7==this.authService.auth.membershipType,r=n?"submitanonymous/"+this.authService.config.api.clientId:"submit";this.newTicket=this.prepareTicketForSending(!0),e=this.http.post(`${this.config.api.urlBettingAPI}${r}`,this.newTicket).subscribe(e=>{this.attachTicket(),this.handleBetSlipResponse(e,!0),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t)):n||s?(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.isTicketRepeatDialogVisible=!0):(this.detachTicket(),this.config.printTicket||(this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t)),this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.oddBonusJokerType=null,this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(e=>{this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)},e=>{this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:re.warning}),this.attachTicket(),this.busy=!1,this.clearValidation(),clearTimeout(t),console.error(e)}):(this.ticketActive&&(this.notificationSubject.next({message:JSON.stringify({ticketPin:this._ticket.encryptedTicketPin,payinAmount:this._ticket.payIn}),type:re.notification}),this.isTicketRepeatDialogVisible=!0),this._quickBetActive&&this.clearQuickBet()))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:e,type:re.error}),this.attachTicket(),this.busy=!1,this.clearValidation()})}clear(e=!0){const t=Object.assign([],this._ticket.bets);this.resetTicket(),this.storage.set("app:sportTicket",this._ticket);for(const i of t)this._ticketBetsModifiedSubj.next({operation:"removed",bet:i})}repeatDialogNo(){this.isTicketRepeatDialogVisible=!1,this.clear()}preparedDialogNo(){this._isTicketPreparedDialogVisible=!1,this.clear()}setPayin(e){let t=!0;return isNaN(e)&&(e=this.getDefaultStake(),t=!1),this._ticket.payIn=e,this.validatePayIn(),this._ticketCalculateSubject.next(!0),t}getDefaultStake(){return this._ticketConfiguration.DefaultStake>=this._ticket.minPayIn&&(null==this._ticket.maxPayIn||this._ticketConfiguration.DefaultStake<=this._ticket.maxPayIn)?this._ticketConfiguration.DefaultStake:this._ticketConfiguration.MinPayIn}get validationTime(){return this._validationTime}setSystemPayin(e,t){return this.config.decimalPlacesRounding&&(t=+t.toFixed(this.config.decimalPlacesRounding)),e.payIn=t,e.payInPerCombination=Math.round(e.payIn/e.combinationsCount*1e4)/1e4,this._ticketCalculateSubject.next(!0),!0}setSystemCombinationPayin(e,t){return e.payIn=e.combinationsCount*t,this.config.decimalPlacesRounding&&(e.payIn=+e.payIn.toFixed(this.config.decimalPlacesRounding)),e.payInPerCombination=t,this._ticketCalculateSubject.next(!0),!0}getRandomGeneretedBets(e,t,i,n,s){const r=new c.a;return this.http.post(`${this.config.api.urlBettingAPI}generate`,{BetAmount:e,MaxWin:t,DaysRange:i,OddsFrom:n,OddsTo:s}).pipe(Object(d.a)(1)).subscribe(e=>{r.next(e)},e=>{r.error(e)},()=>{r.complete()}),r.asObservable()}validatePayIn(){Object(g.each)(this._ticket.availableSystems,e=>{e.PayIn<e.MinPayIn?e.PayIn=e.MinPayIn:e.PayIn>e.MaxPayIn&&(e.PayIn=e.MaxPayIn)}),(!this._ticket.payIn||this._ticket.payIn<this._ticket.minPayIn&&!this.ticket.oddBonusId)&&(this._ticket.payIn=this.getDefaultStake())}currencyFormatter(e){this.currencyPipe.transform(e)}liveOffersUpdateCallback(e){let t=!1;for(const s of e){const e=Object(g.filter)(this._ticket.bets,e=>e.offer.id===s.id);for(const i of e){const e=Object(g.find)(s.odds,e=>e.origName===i.odd.origName);if(void 0===e||e.odd===i.odd.odd&&e.active===i.odd.active){const n=i.errors.findIndex(e=>null!==e.correctionValue);e&&e.odd&&i&&i.odd&&i.odd.odd&&-1!==n&&e.odd===i.odd.odd&&(i.newOdd=null,t=!0)}else{if(i.newOdd=e,t=this.calculateOddChanges(i,e),e.active!==i.odd.active&&i.errors.length){const t=this.ticket.bets.findIndex(t=>t.match.id==i.match.id&&t.odd.id==e.id);-1!==t&&(this.ticket.bets[t].errors=[])}if(this._ticket.settings.acceptAllChanges){const t=i.odd;i.odd=Object.assign({},e),this.sportBettingUtilProvider.determineOddChangeType(t,i.odd)}else if(this._ticket.settings.acceptHigherOdds&&e.odd>i.odd.odd){const t=i.odd;i.odd=Object.assign({},e),this.sportBettingUtilProvider.determineOddChangeType(t,i.odd)}}}}const i=this.ticket.bets.some(e=>-1!==e.errors.findIndex(e=>1==e.errorType)),n=this.ticket.errors.some(e=>e.authorizationMessage);!t||i||n||this._ticketCalculateSubject.next(!0)}calculateOddChanges(e,t){const i=!t.active&&void 0!==e.errors.find(e=>12===e.error);let n=i;if(1==e.errors.length&&!i){const i=e.errors.findIndex(e=>null!==e.correctionValue);if(-1!=i){n=t.active;const s=e.errors[i].translatedMessage.split(" ");let r="";for(let e=0;e<s.length-1;e++)r+=`${s[e]} `;e.errors[i].translatedMessage=`${r} ${this.oddPipe.transform(t.odd)}`,e.errors[i].correctionValue=t.odd}}return t.odd&&(t.Odd=t.odd),e.odd.odd!==t.Odd&&!n}detachTicket(){this._ticket.betsAnimationEnabled=!1,setTimeout(()=>{this.ticket=Object.assign({},this._ticket)})}calculateOdd(e,t,i){if(1===e?i=this.config.sportOfferBonusPercent:2===e&&(i=this.config.liveOfferBonusPercent),void 0!==t&&""!==t&&"-"!==t&&0!==i){const e=(t-1)*(1+i/100)+1,n=parseFloat(((e%.05+.05)%.05).toFixed(3));return n>.02?(e+(.05-n)).toFixed(2):(e-n).toFixed(2)}return t}indexOfBet(e){if(e.odd.betBuilderOdd&&this.betBuilderBets.length>0){let t=Object(g.find)(this.betBuilderBets,t=>t.matchId==e.match.id);if(t)for(let i=0;i<t.betBuilderBets.length;i++){let n=t.betBuilderBets[i];if(n.odd.id===e.odd.id&&n.odd.origName===e.odd.origName)return i}}for(let t=0;t<this._ticket.bets.length;t++){const i=this._ticket.bets[t];if(e.match.id===i.match.id&&e.offer.id===i.offer.id&&e.odd.origName===i.odd.origName)return t}return-1}removeForbiddenBetCombinations(e){for(let t=0;t<this._ticket.bets.length;t++){const i=this._ticket.bets[t];i.odd.betBuilderOdd||e.match.id!==i.match.id||(!e.offer.allowedBetTypeCombinations||void 0===Object(g.find)(e.offer.allowedBetTypeCombinations,e=>e.id===parseFloat(i.offer.betTypeKey)))&&(this._ticket.bets.splice(t,1),this.sportBettingOfferProvider.registerForLiveOffers(this._ticket.bets.map(e=>e.offer.id)),this._ticketBetsModifiedSubj.next({operation:"removed",bet:i}),t--)}}deleteBet(e,t){if(this.ticket.hasOddChanges=!1,this.locked)return void this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning});const i=this._ticket.bets.splice(e,1)[0];this.sportBettingOfferProvider.registerForLiveOffers(this._ticket.bets.map(e=>e.offer.id)),5==this._ticket.ticketType&&this.clearSystemsSelection(),this._ticket.bets.length>0&&(this.groupTicketBets(!0),this._ticketCalculateSubject.next(!0)),0===this._ticket.bets.length&&this.resetTicket(),this.updateNumberOfFixes(),this.storage.set("app:sportTicket",this._ticket),void 0!==t&&t(null,i),this._ticketBetsModifiedSubj.next({operation:"removed",bet:i}),this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_BET_REMOVED_MESSAGE",type:re.info})}updateNumberOfFixes(){this._ticket.numberOfFixedBets=0,Object(g.each)(this._ticket.bets,e=>{e.isFixed&&this._ticket.numberOfFixedBets++})}resetTicket(){this._ticket.preparedTicketIdentifier=void 0,this._ticket.payInPerTicketLocked=!1,this._ticket.payIn=this.getDefaultStake(),this._ticket.ticketType=oe.normal,this._ticket.gameType=this._bettingGameType,this._ticket.numberOfFixedBets=0,this._ticket.bets=[],this._ticket.groupedBets=[],this._ticket.errors=[],this._ticket.availableSystems=[],this._ticket.systemResults=[],this._ticket.errorMaxBets=!1,this._ticket.hasTicketErrors=!1,this._ticket.hasBetErrors=!1,this._ticket.encryptedTicketPin=void 0,this._ticket.encryptedTicketControlSign=void 0,this._ticket.betAmount=void 0,this._ticket.serviceChargeAmount=void 0,this._ticket.serviceChargePercent=void 0,this._ticket.minPayIn=void 0,this._ticket.minOdds=void 0,this._ticket.maxOdds=void 0,this._ticket.averageOdds=void 0,this._ticket.totalOdds=void 0,this._ticket.minWin=void 0,this._ticket.maxWin=void 0,this._ticket.totalWin=void 0,this._ticket.winBonus=void 0,this._ticket.winBonusTax=void 0,this._ticket.winTax=void 0,this._ticket.winTaxPercent=void 0,this._ticket.combinationCount=void 0,this._ticket.hasOddChanges=!1,this._ticket.settings.ignoreOddsChange=!1,this._ticket.settings.acceptAllChanges=this._ticketConfiguration.AcceptAllOddsChanges,this._ticket.useBonusCredit=!1,this.resetAllBonuses(),this.storage.set("app:sportTicket",this._ticket),this.sportBettingOfferProvider.registerForLiveOffers(this._ticket.bets.map(e=>e.offer.id)),this._ticketTypeSubject.next(this._ticket.ticketType)}handleTicketPayIn(e,t,i){return e.length>0&&Object(g.find)(e,e=>1===e.errorType&&(1===e.messageType||0===e.messageType)||0===e.errorType&&18===e.messageType)?t:i>0?i:t}handleBetSlipResponse(e,t){if(e){const i=this._ticket.availableSystems;this._ticket.encryptedTicketPin=e.encryptedTicketPin,this._ticket.encryptedTicketControlSign=e.encryptedTicketControlSign,this._ticket.betAmount=e.betAmount,this._ticket.serviceChargeAmount=e.serviceChargeAmount,this._ticket.serviceChargePercent=e.serviceChargePercent,this._ticket.minPayIn=e.minPayIn,this._ticket.maxPayIn=e.maxPayIn>0?e.maxPayIn:void 0,this._ticket.minOdds=e.minOdds,this._ticket.maxOdds=e.maxOdds,this._ticket.averageOdds=e.averageOdds,this._ticket.totalOdds=e.totalOdds,this._ticket.minWin=e.minWin,this._ticket.maxWin=e.maxWin,this._ticket.totalWin=e.totalWin,this._ticket.winBonus=e.winBonus,this._ticket.winBonusTax=e.winBonusTax,this._ticket.winTax=e.winTax,this._ticket.winTaxPercent=e.winTaxPercent,this._ticket.combinationCount=e.combinationCount,this._ticket.availableSystems=null!==e.availableSystems?e.availableSystems:[],this._ticket.systemResults=e.systemResults,this._ticket.payIn=this.handleTicketPayIn(e.errors,this._ticket.payIn,e.payIn),this._ticket.payInPerTicketLocked=e.payInPerTicketLocked,this._ticket.preparedTicketIdentifier=this.config.printTicket?this._ticket.preparedTicketIdentifier:e.preparedTicketIdentifier,this._ticket.betSlipGroups=e.betSlipGroups,this._availableBetGroups=null!==e.availableBetGroups?e.availableBetGroups:[],this._ticket.availableBetGroups=this._availableBetGroups;let n=t,s=!1;for(const t of this._ticket.availableSystems){t.id=t.typeFrom+"_"+t.typeTo;let s=Object(g.find)(i,e=>e.id==t.id);s&&(n=!0,t.selected=s.selected,t.payIn=this.handleTicketPayIn(e.errors,s.payIn,t.payIn),t.payInPerCombination=this.handleTicketPayIn(e.errors,s.payInPerCombination,t.payInPerCombination))}if(s&&!this._ticket.hasOddChanges&&this._ticket.ticketType==oe.system&&this._ticketCalculateSubject.next(!0),!n&&this._ticket.availableSystems.length>0&&this._ticket.ticketType==oe.system&&this.calculateTicketSystems(i),e.errors)for(const t of e.errors)if(t.value&&t.valueType)switch(t.valueType){case"CURRENCY":t.message=t.message.replace("{0}",this.currencyFormatter(t.Value))}if(s&&this._ticket.ticketType==oe.system||(this._ticket.errors=this.errorsChecker(e),this._ticket.hasTicketErrors=this.ticketHasErrors()),this._ticket.hasBetErrors=!1,0==this._availableBetGroups.length&&this._availableBetGroups.push("A"),Object(g.find)(this._availableBetGroups,e=>"FIX"==e)||this._availableBetGroups.splice(0,0,"FIX"),e.betResults){for(const t of e.betResults)for(const e of this._ticket.bets)if(t.bet.game===e.game&&parseInt(t.bet.betData,10)===e.offer.id&&t.bet.pick===e.odd.origName){e.errors=t.errors,e.group=t.bet.group,e.isFixed=t.bet.fix,this._ticket.hasBetErrors=this._ticket.hasBetErrors||e.errors.length>0,Object(g.each)(e.errors,t=>{0!==t.errorType||null===t.correctionValue||isNaN(t.correctionValue)||(e.newOdd=Object.assign({},e.odd),e.newOdd.odd=t.correctionValue,this._ticket.hasOddChanges=!0)});break}this._ticket.hasOddChanges=e.betResults.some(e=>e.errors.length&&-1!==e.errors.findIndex(e=>0===e.errorType&&null!==e.correctionValue))}if(this.groupTicketBets(),this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.winIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin;this.storage.set("app:sportTicket",this._ticket)}setTimeout(()=>{this._fixToggling=!1},500)}errorsChecker(e){const t=e.errors,i=t.findIndex(e=>41==e.messageType),n=t.findIndex(e=>43==e.messageType);if(-1!==i||-1!==n){const s=this.getEditedTicketType(i,n);let r,o;return"combined"==s?(r=t[i],o=t[n]):(r="edited"==s?t[i]:null,o="suggested"==s?t[n]:null),(r||o)&&(r=this.prepareEditedTicket(r,o),r.totalOdds=e.totalOdds,r.totalWin=e.totalWin,r.type=s),this.editedTicketSubject.next(r),t}return t}getEditedTicketType(e,t){let i="combined";return-1!==e&&-1===t&&(i="edited"),-1===e&&-1!==t&&(i="suggested"),i}prepareEditedTicket(e,t){let i={};if(e){const t=e.authorizationMessage?e.authorizationMessage.split(";"):[];if(t.length){const i=[];t.forEach(e=>{if(-1===e.indexOf("SUGGESTED")){const t=e.split(":");if(t.length>1){const e=+t[0];i.push({bet:this.ticket.bets[e].match,offer:this.ticket.bets[e].offer,odd:this.ticket.bets[e].odd,change:t[1]})}}}),e.bets=i}i=Object.assign({},e)}return t&&(i=Object.assign({},i,t)),i}ticketHasErrors(){let e=0,t=0;return this._ticket.errors&&this._ticket.errors.length>0&&(t=this._ticket.errors.length,this._ticket.errors.forEach(t=>{2===t.errorType&&41!==t.messageType&&43!==t.messageType&&e++})),e<t}newCalculate(){this.calculateTicket()}calculateTicket(){this.busy||(this.calculateInProgressSubject.next(!0),this.validatePayIn(),this._calculateSubscription&&(this._calculateSubscription.unsubscribe(),this._calculateSubscription=void 0),this._ticket.bets.length>0&&(this.editedTicketId=null,this._calculateSubscription=this.http.post(`${this.config.api.urlBettingAPI}calculate`,this.prepareTicketForSending(),{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{this.handleBetSlipResponse(e),this._calculateSubscription=void 0,this.calculateInProgressSubject.next(!1)},()=>{this.calculateInProgressSubject.next(!1)})))}prepareTicketForSending(e,t){if(this.newTicket&&this.editedTicketId){this.editedTicketPayin&&this.newTicket.Systems.forEach(e=>{e.PayIn=this.editedTicketPayin/this.newTicket.Systems.length});const e=Object.assign({},this.newTicket,{editedTicketId:this.editedTicketId,payIn:this.editedTicketPayin});return this.newTicket=null,this.editedTicketId=null,this.editedTicketPayin=null,e}const i=this.authService.loggedIn&&-1!==[8,12,13,14].indexOf(+this.authService.auth.membershipType),n=this.authService.loggedIn&&2==this.authService.auth.membershipType,s=-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType),r=n&&s,o=s&&n&&this.config.evonaUserPrint,a=s&&i||this.config.hardwarePrint,c={};c.UseBonusCredit=this._ticket.useBonusCredit,c.Group=this.config.groupsEnabled&&this._ticket.ticketType===oe.system,c.Bets=[],c.Systems=[],c.Settings={AcceptAllChanges:this._ticket.settings.acceptAllChanges,AcceptHigherOdds:this._ticket.settings.acceptHigherOdds,IsQuickTicket:this._ticket.settings.isQuickTicket,OddsChangePercentAccepted:this._ticket.settings.oddsChangePercentAccepted,IgnoreOddsChange:this._ticket.settings.ignoreOddsChange,ReserveFunds:a},c.Settings.OddsRepresentation=this.config.oddRepresentation,c.GameType=this._bettingGameType,c.Autoconfirm=e||r,c.PrintTicket=a||o,this.isBetSlipBonusSwitchEnabled&&(c.BetSlipBonusType=this._ticket.betSlipBonusType),this._ticket.preparedTicketIdentifier&&(c.PreparedTicketIdentifier=this._ticket.preparedTicketIdentifier),this._ticket.ticketType===oe.normal?(c.OddBonusId=this._ticket.oddBonusId,c.OddBonusMode=this._ticket.oddBonusMode,c.BetSlipType=0):this._ticket.ticketType===oe.betBuilder?(c.OddBonusId=this._ticket.oddBonusId,c.OddBonusMode=this._ticket.oddBonusMode,c.BetSlipType=2):(c.OddBonusId=0,c.OddBonusMode=0,c.BetSlipType=1),s&&(c.CalculateAdditionalInfo=!0,c.SystemCombinationsType=t&&(this.config.systemCombinationsType||0==this.config.systemCombinationsType)?this.config.systemCombinationsType:0);for(const l of this._ticket.bets)c.Bets.push({BetData:l.offer.id,Fix:l.isFixed,Game:l.game,Odd:this.calculateOdd(l.game,l.odd.odd,0),Pick:l.odd.origName,Sbv:l.offer.sbv,Group:l.group,EventId:l.match.id,IsBasic:l.offer.isBasic});return this._ticket.ticketType===oe.normal?c.Systems.push({TypeFrom:c.Bets.length,TypeTo:c.Bets.length,PayIn:this._ticket.payIn}):this._ticket.ticketType===oe.betBuilder?c.Systems.push({TypeFrom:this._ticket.availableSystems.length,TypeTo:this._ticket.availableSystems.length,PayIn:this._ticket.payIn}):this._ticket.availableSystems&&(c.Systems=[],Object(g.each)(this._ticket.availableSystems,e=>{e.selected&&c.Systems.push({PayIn:e.payIn,TypeFrom:e.typeFrom,TypeTo:e.typeTo})})),c}clearSystemsSelection(){this._ticket.availableSystems.forEach(e=>{e.selected=!1})}addBet(e,t,i){if(this.isTicketPreparedDialogVisible&&(this.isTicketPreparedDialogVisible=!1),this.locked)this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_LOCKED_MESSAGE",type:re.warning});else if(e.odd.active)if(e.match=this.prepareTicketMatch(e.match),e.id=e.match.id+"_"+e.offer.id+"_"+e.odd.origName,e.selectedGroup=void 0,e.isFixed=!1,this.config.webOutrightsBetTypes&&-1!==this.config.webOutrightsBetTypes.split(",").indexOf(e.offer.betTypeKey)&&(e.match.description=e.match.leagueName+" - "+e.match.description),e.errors=[],e.odd.betBuilderOdd&&!i)this.prepareBetBuilderBets(e);else{if(e.odd.betBuilderOdd||e.offer.ignoreAllowedBetCombinations||this.removeForbiddenBetCombinations(e),5==this._ticket.ticketType){this.clearSystemsSelection();let e=this._ticket.bets.filter(e=>"FIX"==e.group).length;if(this._ticket.bets.length-e>=this._ticketConfiguration.SystemTicketMaxBets)return void this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_MAX_BETS_ON_SYSTEM_MESSAGE",type:re.warning})}else if(this._ticket.bets.length>=this._ticketConfiguration.BetSlipMaxBets)return void this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_MAX_BETS_MESSAGE",type:re.warning});this._ticket.bets.push(e),this.sportBettingOfferProvider.registerForLiveOffers(this._ticket.bets.map(e=>e.offer.id)),this._quickBetActive&&this.authService.loggedIn&&!this.config.printTicket?(this.ticketActive=!0,this.config.ticketAutoConfirm?this.submitV2():this.submit()):this._ticketCalculateSubject.next(!0),this.storage.set("app:sportTicket",this._ticket),void 0!==t&&t(null,e),this._ticketBetsModifiedSubj.next({operation:"added",bet:e}),this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_BET_ADDED_MESSAGE",type:re.info})}else this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_ODD_DISABLED_MESSAGE",type:re.warning})}prepareBetBuilderBets(e){e.offer.ignoreAllowedBetCombinations||this.removeForbiddenBetBuilderCombinations(e);let t=[];if(this.betBuilderBets.length>0){let i=Object(g.find)(this.betBuilderBets,t=>t.matchId==e.match.id);if(i)i.betBuilderBets.push(e),t=i.betBuilderBets;else{let i={matchId:e.match.id,betBuilderBets:[]};i.betBuilderBets.push(e),this.betBuilderBets.push(i),t=i.betBuilderBets}}else{this.betBuilderBets=[];let i={matchId:e.match.id,betBuilderBets:[]};i.betBuilderBets.push(e),this.betBuilderBets.push(i),t=i.betBuilderBets}this._ticketBetsModifiedSubj.next({operation:"added",bet:e}),this.calculateBetBuilderBet(t)}addBetBuilderBetToTicket(e,t){let i,n=this._availableBetGroups;if(e.length>1){this._ticket.ticketType!=oe.betBuilder&&this.changeTicketType(oe.betBuilder);for(const i of e)i.group=t||(n.length>0?n[n.length-1]:"A"),this.addBet(i,void 0,!0)}else e[0].betBuilderOdd=!1,this.addBet(e[0],void 0,!0);let s=Object(g.find)(this.betBuilderBets,(t,n)=>(i=n,t.matchId==e[0].match.id));s&&this.betBuilderBets.splice(i,1),0==this.betBuilderBets.length&&(this.betBuilderBets=[]),s.betBuilderBets=[],s.totalOdds=0,this._betBuilderBetsModifiedSubj.next(s)}removeForbiddenBetBuilderCombinations(e){for(let t=0;t<this.betBuilderBets.length;t++){let i=this.betBuilderBets[t];if(e.match.id==i.matchId)for(let t=0;t<i.betBuilderBets.length;t++){let n=i.betBuilderBets[t],s=!e.offer.allowedBetBuilderCombinations||0==e.offer.allowedBetBuilderCombinations.length||null==Object(g.find)(e.offer.allowedBetBuilderCombinations,e=>e==parseFloat(n.offer.betTypeKey));s||(s=e.offer.id==n.offer.id&&e.odd.id!=n.odd.id),s&&(i.betBuilderBets.splice(t,1),this._ticketBetsModifiedSubj.next({operation:"removed",bet:n}))}}}clearBetBuilderSelection(e){let t=Object(g.find)(this.betBuilderBets,t=>t.matchId==e);t&&(Object(g.forEach)(t.betBuilderBets,e=>{this._ticketBetsModifiedSubj.next({operation:"removed",bet:e})}),t.betBuilderBets=[],t.totalOdds=0,this._betBuilderBetsModifiedSubj.next(t))}deleteBetBuilderBet(e,t){if(this.betBuilderBets.length>0){let i,n=Object(g.find)(this.betBuilderBets,(e,n)=>(i=n,e.matchId==t.match.id));n&&n.betBuilderBets.splice(e,1),0==n.betBuilderBets.length?(this.betBuilderBets.splice(i,1),this._betBuilderBetsModifiedSubj.next(n)):this.calculateBetBuilderBet(n.betBuilderBets),this._ticketBetsModifiedSubj.next({operation:"removed",bet:t})}}calculateBetBuilderBet(e){let t=e[0].match.id;this._busy||(this.calculateInProgressSubject.next(!0),this.validatePayIn(),this._calculateSubscription&&(this._calculateSubscription.unsubscribe(),this._calculateSubscription=void 0),e.length>0&&(this._calculateSubscription=this.http.post(`${this.config.api.urlBettingAPI}calculate`,this.prepareBetBuilderBetForSending(e),{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{e.Errors&&e.length>0&&this.ticketHasErrors();let i=this.betBuilderBets.find(e=>e.matchId==t);i&&(i.totalOdds=e.betSlipGroups[0].totalOdds),this._betBuilderBetsModifiedSubj.next(i),this.calculateInProgressSubject.next(!1)},()=>{this.calculateInProgressSubject.next(!1)})))}prepareBetBuilderBetForSending(e,t){let i={Bets:[],Systems:[]};i.Settings={AcceptAllChanges:this._ticket.settings.acceptAllChanges,AcceptHigherOdds:this._ticket.settings.acceptHigherOdds,IsQuickTicket:this._ticket.settings.isQuickTicket,OddsChangePercentAccepted:this._ticket.settings.oddsChangePercentAccepted,IgnoreOddsChange:this._ticket.settings.ignoreOddsChange},i.Settings.OddsRepresentation=this.config.oddRepresentation,i.GameType=this._bettingGameType,i.AutoConfirm=t,i.OddBonusId=0,i.OddBonusMode=0,i.BetSlipType=2;for(let n=0;n<e.length;n++){let t=e[n],s={BetData:t.offer.id,Fix:t.isFixed,Game:t.game,Odd:this.calculateOdd(t.game,t.odd.odd,0),Pick:t.odd.origName,Sbv:t.offer.sbv,Group:"A"};i.Bets.push(s)}return i.Systems.push({TypeFrom:this._ticket.availableSystems.length,TypeTo:this._ticket.availableSystems.length,PayIn:this._ticket.payIn}),i}groupTicketBets(e){if(this._ticket.ticketType!=oe.betBuilder)return;const t=Object(g.groupBy)(this._ticket.bets,e=>e.group);this._ticket.groupedBets=[];for(const i in t){const e=t[i],n=this._ticket.betSlipGroups?Object(g.find)(this._ticket.betSlipGroups,e=>e.group==i):void 0;this._ticket.groupedBets.push({group:i,bets:e,hasError:!1,totalOdd:n?n.totalOdds:0})}for(const i of this._ticket.groupedBets)for(const e of i.bets)if(e.errors.length>0){i.hasError=!0;break}this._ticket.groupedBets.sort((e,t)=>{let i=0;return i="FIX"==e.group&&"FIX"==t.group?0:"FIX"==e.group&&"FIX"!=t.group?-1:"FIX"!=e.group&&"FIX"==t.group?1:e.group.localeCompare(t.group),i}),this._ticket.ticketType==oe.betBuilder&&e&&(Object(g.find)(this._ticket.groupedBets,e=>e.bets.length>1)||this.changeTicketType(oe.normal))}prepareTicketMatch(e){const t=Object.assign({},e);return t.basicOffer=null,t.betProbabilities=null,t.matchResults=null,t.commonOffers=null,t.offers=null,t.offersMap=null,t.betBuilderOffers=null,t}printTicketCode(){!this.busy&&this._ticket.preparedTicketIdentifier&&this.printProvider.printTicketCode({PreparedTicketIdentifier:this._ticket.preparedTicketIdentifier}).subscribe(e=>{this.busy=!1},e=>{this.notificationSubject.next({message:"SPORT_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:re.warning}),this.busy=!1,console.error(e)})}clearQuickBet(){this._quickBetActive=!1,this.ticket.settings.acceptAllChanges=this._ticketConfiguration.AcceptAllOddsChanges,this.ticket.settings.acceptHigherOdds=!1}toggleAnonymousTicket(){this._ticket.anonymousTicket=!this._ticket.anonymousTicket,this.ticket.anonymousTicket=this._ticket.anonymousTicket}setTicketPayinForSystemTicket(e){let t=e,i=0;return this._ticket.availableSystems.forEach(e=>{e.selected&&(i+=e.combinationsCount)}),i&&(t=i/t),this._ticket.availableSystems.forEach(e=>{if(e.selected){let i=Math.round(e.combinationsCount/t*1e4)/1e4;this.onSystemPayinChanged(e,i)}}),0===this._ticket.availableSystems.filter(e=>e.payIn>0).length&&this.onSystemPayinChanged(this._ticket.availableSystems[this._ticket.availableSystems.length-1],t),!0}onSystemPayinChanged(e,t){e.selected=!!t,this.setSystemPayin(e,""!==t&&t!==e.payIn?t:e.payIn)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(O),n.fc(F),n.fc(L),n.fc(w),n.fc(B),n.fc(Y),n.fc(Z),n.fc(D))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(O),Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(w),Object(n.fc)(B),Object(n.fc)(Y),Object(n.fc)(Z),Object(n.fc)(D))},token:e,providedIn:"root"}),e})(),ce=(()=>{class e{constructor(e,t,i){this.http=e,this.transService=t,this.sportBettingOfferService=i,this._bannersSubject=new o.a(1),this._banners$=this._bannersSubject.asObservable(),this.banners=[],this.typesRequested=[]}initialize(e){this.typesRequested=0==e.bannerType?[4,5,6,7,10,23,31]:[0,1];const t=new o.a(1);return this.config=e,this._bannersCache=new E(this.updateBanners.bind(this),this.bannersCacheValid.bind(this),this._bannersSubject,3e5,!0,6e5),t.next(),t.complete(),t.asObservable()}updateBanners(){return this.banners=[],this.getBannersByType(this.typesRequested)}getBannersByType(e){this.config.disableBanners&&(e=[9999]);const t=new c.a;if(this.banners.find(t=>-1!=e.indexOf(t.type)))t.next(this.banners),t.complete();else{let i="";e.forEach((e,t)=>{i+=(0==t?"?":"&")+`types=${e}`}),this.apiURL?this.http.get(`${this.apiURL}/banners/${this.config.bannerType}/types${i}`,{headers:{LanguageId:this.transService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{if(e.result){const i=[];Object(g.each)(e.result,e=>{i.push(this.loadImage(e,"fullImageUrl","imageHTML","imageLoaded")),i.push(this.loadImage(e,"fullThumbnailImageUrl","thumbHTML","thumbLoaded")),3===e.showingType&&e.offerModel&&this.sportBettingOfferService._initialized&&i.push(this.sportBettingOfferService.getPrematchBannerOffer([e.offerModel.offerId],e.showingType).pipe(Object(f.a)(t=>{if(t.sports&&t.sports.length>0&&t.sports[0].categories&&t.sports[0].categories.length>0&&t.sports[0].categories[0].leagues&&t.sports[0].categories[0].leagues.length&&t.sports[0].categories[0].leagues[0].matches&&t.sports[0].categories[0].leagues[0].matches.length>0&&t.sports[0].categories[0].leagues[0].matches[0].offers[0]){e.match=t.sports[0].categories[0].leagues[0].matches[0];const i=[];for(const t of e.offerModel.picks)for(const n of e.match.offers[0].odds)t.name===n.origName&&i.push(n);e.match.offers[0].odds=i}})))}),Object(l.a)(...i).subscribe(e=>{},e=>{console.error(e)},()=>{for(let t=0;t<e.result.length;t++)e.result[t].imageLoaded||(e.result.splice(t,1),t--);this.banners.push(...e.result),this._bannersSubject.next(this.banners),t.next(this.banners),t.complete()})}else t.next(this.banners),t.complete()},e=>{t.next([]),t.complete(),console.error(e)}):(t.next(this.banners),t.complete())}return t.asObservable()}get apiURL(){return this.config.api?this.config.api.url:null}start(){const e=new o.a(1);if(this.running)e.next(),e.complete();else{this.running=!0,this._bannersCache.autoRefresh=!0;const t=[];t.push(this._bannersCache.update()),Object(l.a)(...t).subscribe(()=>{e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error(t)})}return e.asObservable()}stop(){this.running=!1,this._bannersCache.autoRefresh=!1}get banners$(){return this._initialized&&this._bannersCache.get().pipe(Object(d.a)(1)).subscribe(),this._banners$}bannersCacheValid(e){return!0}get bannerTypes(){return{LandingSlider:0,LandigDoubleBanner:1,LandingNormalBanner:2,TicketSearchModule:3,Partners:4,Payment:5,SportTopBanner:6,SportRightBanner:7,CreditCards:8,TicketMania:9,RegistrationBanner:10,TicketBanner:11,BulletinOffer:12,OryxTopBanner:15,BingoRightBanner:16,KenoRightBanner:17,VgRightBanner:18,CouponRightBanner:19,VgScreenBanner:20}}get showingTyes(){return{Picture:0,Video:1,Ticket:2,Offer:3,LiveOdd:4,WebNews:5,TicketMania:6,CountDown:7,PdfBanner:8}}loadImage(e,t,i,n){const s=new o.a,r=new Image;return e[t]?(r.src=e[t],e[i]=r,e[n]=!1,r.onload=()=>{e[n]=!0,s.next(e[i]),s.complete()},r.onerror=t=>{s.next(e[i]),s.complete()}):(s.next(e[i]),s.complete()),s}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(F),n.fc(Y))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(F),Object(n.fc)(Y))},token:e,providedIn:"root"}),e})();const le=function(){var e={disconnected:0,connecting:1,connected:2};return e[e.disconnected]="disconnected",e[e.connecting]="connecting",e[e.connected]="connected",e}();let ue=(()=>{class e{constructor(e,t,i,n,s){this.zone=e,this.localizationService=t,this.authService=i,this.http=n,this.camelCaseObjectService=s,this._connectedSubject=new c.a,this.startRefCount=0,this.connected$=this._connectedSubject.asObservable(),this.connectionStateSubj=new o.a(1),this.connectionState$=this.connectionStateSubj.asObservable(),this._upcomingRoundsSubject=new o.a(1),this._endedRoundsSubject=new o.a(1),this._jackpotsSubject=new o.a(1),this._jackpotsAccomulationSubject=new o.a(1),this._jackpotsAccomulationChangesSubject=new o.a(1),this._jackpotsWinnersSubject=new o.a(1),this._kenoStatsSubject=new o.a(1),this.upcomingRounds$=this._upcomingRoundsSubject.asObservable(),this.endedRounds$=this._endedRoundsSubject.asObservable(),this.jackpotsSubject$=this._jackpotsSubject.asObservable(),this.jackpotsAccomulation$=this._jackpotsAccomulationSubject.asObservable(),this.jackpotsAccomulationChanges$=this._jackpotsAccomulationChangesSubject.asObservable(),this.jackpotsWinners$=this._jackpotsWinnersSubject.asObservable(),this.kenoStatsSubject$=this._kenoStatsSubject.asObservable(),this.hotJackpotAmountSubj=new o.a(1),this.hotJackpotAmount$=this.hotJackpotAmountSubj.asObservable(),this.megaJackpotAmountSubj=new o.a(1),this.megaJackpotAmount$=this.megaJackpotAmountSubj.asObservable(),this.jackpot56NumbersSubj=new o.a(1),this.jackpot56Numbers$=this.jackpot56NumbersSubj.asObservable(),this._kenoPayTableSubject=new o.a(1),this.kenoPayTableSubject$=this._kenoPayTableSubject.asObservable(),this.retryCounter=5,this.kenoStatsSubj=new o.a(1),this.kenoStatsSubj$=this.kenoStatsSubj.asObservable()}get hotJackpotAmount(){return this._hotJackpotAmount}set hotJackpotAmount(e){this._hotJackpotAmount=e,this.hotJackpotAmountSubj.next(e)}get megaJackpotAmount(){return this._megaJackpotAmount}set megaJackpotAmount(e){this._megaJackpotAmount=e,this.megaJackpotAmountSubj.next(e)}get jackpot56Numbers(){return this._jackpot56Numbers}set jackpot56Numbers(e){this._jackpot56Numbers=e,this.jackpot56NumbersSubj.next(e)}get isRiskEnabled(){return this.riskEnabledGlobal}set isRiskEnabled(e){this.riskEnabledGlobal=e}get connectionState(){return this.mConnectionState}set connectionState(e){this.mConnectionState=e,this.connectionStateSubj.next(e)}get kenoApiURL(){return`${this.config.api.url}`}get upcomingRounds(){return this._upcomingRounds}set upcomingRounds(e){this._upcomingRounds=e,this._upcomingRoundsSubject.next(this._upcomingRounds)}get endedRounds(){return this._endedRounds}set endedRounds(e){this._endedRounds=e,this._endedRoundsSubject.next(this._endedRounds)}get jackpots(){return this._jackpots}set jackpots(e){this._jackpots=e,this._jackpotsSubject.next(this._jackpots)}get kenoStats(){return this._kenoStats}set kenoStats(e){this._kenoStats=e,this.kenoStatsSubj.next(e)}initialize(e){const t=new o.a(1);return this.config=e,t.next(!0),t.complete(),t.asObservable()}start(){return this.startRefCount++,1==this.startRefCount?(this.running=!0,this.connectKenoHub()):this.startRefCount>1?(this.startRefCount=1,this.running=!0,this.connectKenoHub()):void 0}connectKenoHub(){this._kenoHub&&this.disconnect();const e=new o.a(1);return this.getInitialSetupData().subscribe(()=>{e.next(!0),e.complete()},t=>{e.next(!1),e.complete()}),this._kenoHub=new C("kenohubv2",{rootPath:`${this.config.api.url}signalr`,listeners:{RoundsClosed:this.roundsClosedCallback.bind(this),RoundsGenerated:this.roundsGeneratedCallback.bind(this),JackpotChanges:this.jackpotChangesCallback.bind(this),JackpotAccumulations:this.jackpotAccomulationCallback.bind(this),JackpotAccumulationChanges:this.jackpotAccomulationChangesCallback.bind(this),JackpotWinnersChanges:this.jackpotWinnersCallback.bind(this),JackpotDrawsHistory:this.jackpotDrawsHistoryCallback.bind(this),StatisticsData:this.statisticsDataCallback.bind(this)},stateChanged:e=>{switch(e.newState){case $.signalR.connectionState.connecting:this.connectionState=le.connecting;break;case $.signalR.connectionState.connected:this.connectionState=le.connected,this.connected=!0,this._connectedSubject.next(this.connected),this.reconnectToSignalR&&this.getInitialSetupData(),this.reconnectToSignalR=!1;break;case $.signalR.connectionState.reconnecting:this.connectionState=le.disconnected;break;case $.signalR.connectionState.disconnected:this.connectionState=le.disconnected,this.running&&(this.reconnectToSignalR=!0,setTimeout(()=>{$.signalR.ajaxDefaults.headers={"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType},this._kenoHub.connect()},1e3))}},queryParams:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}),this._kenoHub.connect(),e.asObservable()}stop(){if(this.startRefCount--,0==this.startRefCount)return this.running=!1,this.disconnect()}disconnect(){this._kenoHub&&(this._kenoHub.disconnect(),this._kenoHub=void 0)}getInitialSetupData(){const e=[];return e.push(this.getInitialStatisticsData()),this.config.webcounter||e.push(this.getJackpots()),Object(l.a)(...e)}sortRoundsAsc(e){e.sort((function(e,t){return e.drawNumber-t.drawNumber}))}sortRoundsDesc(e){e.sort((function(e,t){return t.drawNumber-e.drawNumber}))}roundsClosedCallback(e){(e=this.camelCaseObjectService.camelCaseObject(e))&&e.length>0&&this.getInitialData(5,6).subscribe(e=>{})}roundsGeneratedCallback(e){if(null!=(e=this.camelCaseObjectService.camelCaseObject(e))&&e.length>0){let t=!1;const i=new Date;for(const n of e)n.updateTime=i,this.correctDateTimeFormats(n),Object(g.find)(this._upcomingRounds,e=>n.id===e.id)||(this._upcomingRounds.push(n),t=!0);t&&(this.sortRoundsAsc(this._upcomingRounds),this._upcomingRoundsSubject.next(this._upcomingRounds))}}jackpotChangesCallback(e){e&&(e=this.camelCaseObjectService.camelCaseObject(e),this.jackpots=e,this._jackpotsSubject.next(e))}jackpotAccomulationCallback(e){e&&(e=this.camelCaseObjectService.camelCaseObject(e),this._jackpotsAccomulationSubject.next(e))}jackpotAccomulationChangesCallback(e){e&&this.handleJackpotAcomulattions(e)}jackpotWinnersCallback(e){e&&(e=this.camelCaseObjectService.camelCaseObject(e),this._jackpotsWinnersSubject.next(e))}jackpotDrawsHistoryCallback(e){this.onKenoJackpotDrawsHistory(e)}statisticsDataCallback(e){e&&(e=this.camelCaseObjectService.camelCaseObject(e),this.kenoStats=e,this._kenoStatsSubject.next(e))}correctDateTimeFormats(e){const t=e=>(e&&"string"==typeof e&&!e.toUpperCase().endsWith("Z")&&(e+="Z"),e);e.startTime=t(e.startTime),e.processingTime=t(e.processingTime)}getRoundsByDate(e){return this.http.get(`${this.kenoApiURL}v2/roundinfo/history?Day=`+e).pipe(Object(f.a)(e=>e))}getRoundsHistory(){return this.http.get(`${this.kenoApiURL}roundinfo/history/20`).pipe(Object(f.a)(e=>e))}getRoundInfo(e){return this.http.get(`${this.kenoApiURL}roundinfo/${e}`).pipe(Object(f.a)(e=>e))}getInitialData(e,t){return this.kenoAvailableRoundsBasicData&&this.kenoAvailableRoundsBasicData.length?this.upcomingRounds&&this.upcomingRounds.length&&this.upcomingRounds[this.upcomingRounds.length-1].drawNumber>this.kenoAvailableRoundsBasicData[this.kenoAvailableRoundsBasicData.length-6].drawNumber&&this.getAvailableRoundsData():this.getAvailableRoundsData(),this.http.get(`${this.kenoApiURL}kenodata?offerCount=${e}&resultCount=${t}`).pipe(Object(f.a)(e=>{this.retryCounter=5;let t=e&&e.availableRounds?e.availableRounds:[],i=e&&e.closedRounds?e.closedRounds:[];const n=i.findIndex(e=>1==e.RoundState);let s=null;-1!=n&&(s=i[n],i.splice(n,1),t.unshift(s),t.splice(t.length-1,1)),this.sortRoundsAsc(t),this.sortRoundsDesc(i),t.length&&this._kenoPayTableSubject.next(t[0].offers);const r=new Date;for(const a of t)a.UpdateTime=r,this.correctDateTimeFormats(a);for(const a of i)a.UpdateTime=r,this.correctDateTimeFormats(a);this.upcomingRounds=t,this.endedRounds=i;let o=[];return o=[{UpcomingRounds:this.upcomingRounds},{ClosedRounds:this.endedRounds}],o})).pipe(Object(p.a)(this.errorHandler))}errorHandler(e){return this.retryCounter>0&&(this.retryCounter--,setTimeout(()=>{this.getInitialData(5,6).subscribe(e=>{})},5e3)),Object(u.a)(e.message||"server Error")}getInitialStatisticsData(){return this.http.get(`${this.kenoApiURL}statistics`).pipe(Object(f.a)(e=>(e=this.camelCaseObjectService.camelCaseObject(e),this.kenoStats=e,this._kenoStatsSubject.next(this.kenoStats),e)))}getJackpots(){return this.http.get(`${this.kenoApiURL}jackpots`).pipe(Object(f.a)(e=>(e=this.camelCaseObjectService.camelCaseObject(e),this.jackpots=e,this._jackpotsSubject.next(this.jackpots),e)))}getJackpotAcomulations(){this.http.get(`${this.kenoApiURL}jackpotaccumulations`).subscribe(e=>{e.forEach(e=>{this.handleJackpotAcomulattions(e)})})}handleJackpotAcomulattions(e){e=this.camelCaseObjectService.camelCaseObject(e),this.zone.run(()=>{switch(e.type){case 0:this.hotJackpotAmount=e.currentAmount,this.hotJackpotAmountSubj.next(this.hotJackpotAmount);break;case 1:this.megaJackpotAmount=e.currentAmount,this.megaJackpotAmountSubj.next(this.megaJackpotAmount)}})}getJackpotDrawsHistory(){this.http.get(`${this.kenoApiURL}jackpotdrawshistory`).subscribe(e=>{e&&this.onKenoJackpotDrawsHistory(e)})}onKenoJackpotDrawsHistory(e){e=this.camelCaseObjectService.camelCaseObject(e),this.zone.run(()=>{e=e.filter(e=>6==e.numbers.length),this._jackpot56Numbers=[],e[0].numbers.forEach((e,t)=>{this._jackpot56Numbers.push(e)}),this.jackpot56NumbersSubj.next(this._jackpot56Numbers)})}getAvailableRoundsData(){return this.http.get(`${this.kenoApiURL}kenoactiverounds`).subscribe(e=>{this.kenoAvailableRoundsBasicData=e.availableRounds})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(F),n.fc(L),n.fc(R),n.fc(M))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(n.A),Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(R),Object(n.fc)(M))},token:e,providedIn:"root"}),e})(),he=(()=>{class e{constructor(e,t,i,n,s,r,o,a){this.currencyPipe=e,this.http=t,this.translateProvider=i,this.authService=n,this.printService=s,this.storage=r,this.camelCaseObjectService=o,this.kenoService=a,this.gameID=16,this._ticket={minPayIn:0,maxPayIn:0,payIn:0,predefinedPayins:[],gameType:this.gameID,bets:[],systems:[],hasTicketErrors:!1,hasBetErrors:!1,errors:[],totalWin:0,payInPerTicketLocked:!1,systemResults:[],combinationCount:0,winTaxPercent:0,winTax:0,winBonus:0,maxWin:0,minWin:0,totalOdds:0,averageOdds:0,maxOdds:0,minOdds:0,serviceChargePercent:0,serviceChargeAmount:0,betAmount:0,clubTicketBonusItems:[],jokerBetSlipItems:[],jokerBetSlipPriceItems:[],oddBonusId:0,oddBonusMode:0,oddMultiplier:0,jackpotBets:{game:16,numbers:[],eventId:null,betType:null},useBonusCredit:!1},this.ticket=this._ticket,this._isBusy=!1,this._isTicketRepeatDialogVisible=!1,this._ticketBetsModifiedSubj=new c.a,this.ticketBetsModified$=this._ticketBetsModifiedSubj.asObservable(),this._isBusySubject=new c.a,this.isBusy$=this._isBusySubject.asObservable(),this.calculateInProgressSubject=new c.a,this.calculateInProgress$=this.calculateInProgressSubject.asObservable(),this._isTicketRepeatDialogVisibleSubject=new c.a,this.isTicketRepeatDialogVisible$=this._isTicketRepeatDialogVisibleSubject.asObservable(),this._payInCalculatorSubject=new c.a,this.payInCalculatorSubject$=this._payInCalculatorSubject.asObservable(),this.notificationSubject=new c.a,this.notificationSubject$=this.notificationSubject.asObservable(),this._ticketCalculateSubject=new c.a,this.ticketCalculate$=this._ticketCalculateSubject.asObservable(),this.attachTicket=()=>{setTimeout(()=>{this.ticket=this._ticket})},this.repeatDialogYes=()=>{this.isTicketRepeatDialogVisible=!1},this.ticketCalculateSubscripton=this.ticketCalculate$.subscribe(e=>{this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.timeoutHandle=setTimeout(()=>{this.calculateTicket()},300)})}forceTicketCalculate(){this._ticketCalculateSubject.next(!0)}ngOnDestroy(){this.ticketCalculateSubscripton&&(this.ticketCalculateSubscripton.unsubscribe(),this.ticketCalculateSubscripton=void 0)}initialize(e){let t=new o.a(1);return this.config=e,this.ticketAuthTime=this.config.ticketAuthTime?+this.config.ticketAuthTime:90,this._ticketConfiguration=this.camelCaseObjectService.camelCaseObject(this.config.configuration),this.authService.loggedIn$.subscribe(e=>{this.config.printTicket=e&&-1!==["1","8","9"].indexOf(this.authService.auth.membershipType)}),this.authService.logoutMembership$.subscribe(e=>{"terminal"==this.config.api.headers.deviceType&&e&&e.clearTicketSelection&&this.clear()}),Object(a.a)(this.storage.get("app:kenoTicket")).subscribe(e=>{e&&null!==e&&Object.assign(this._ticket,e),this._ticketConfiguration=this.camelCaseObjectService.camelCaseObject(this.config.configuration),this._ticket.minPayIn=this._ticketConfiguration.minPayIn,this._ticket.predefinedPayins=this._ticketConfiguration.betSlipPayInValues,this.validatePayIn(),this.clearBonuses(),t.next(),t.complete()},e=>{t.error(e),t.complete()}),t.asObservable()}validatePayIn(){Object(g.each)(this._ticket.systems,e=>{e.payIn<e.minPayIn?e.payIn=e.minPayIn:e.payIn>e.maxPayIn&&(e.payIn=e.maxPayIn)}),(!this._ticket.payIn||this._ticket.payIn<this._ticket.minPayIn)&&(this._ticket.payIn=this.getDefaultStake())}getDefaultStake(){return this._ticketConfiguration.defaultStake>=this._ticket.minPayIn&&(null==this._ticket.maxPayIn||this._ticketConfiguration.defaultStake<=this._ticket.maxPayIn)?this._ticketConfiguration.defaultStake:this._ticketConfiguration.minPayIn}set isBusy(e){this._isBusy=e,this._isBusySubject.next(this._isBusy)}get isBusy(){return this._isBusy}get bettingAPI(){return`${this.config.api.urlBettingAPI}`}createBet(e,t,i,n,s,r){return{game:this.gameID,roundId:e.id,betData:`${e.id}-${t.betType}-${r?1:0}-${e.drawNumber}`,betType:t.betType,pick:i,odd:s,eventTime:e.startTime,drawNumber:e.drawNumber,pickDesctiption:t.sbv>0?`${t.betTypeTranslatedName} ${t.sbv}`:t.betTypeTranslatedName,risk:r?1:0,riskEnabled:e.riskEnabled,numberOfReplies:1,translatedPick:n}}toggleBet(e,t,i,n,s,r){var o=this.createBet(e,t,i,n,s,r);this.addBet(o)}indexOfBet(e){for(let t=0;t<this._ticket.bets.length;t++){let i=this._ticket.bets[t];if(i.drawNumber===e.drawNumber&&i.betType===e.betType&&i.pick==e.pick)return t}return-1}placeBet(e,t,i,n,s,r){var o=this.createBet(e,t,i,n,s,r);return this.addBet(o),!0}addBet(e){this.isRepeatDialogVisible&&this.repeatDialogNo(),this._ticketLocked?this.notificationSubject.next({message:"KENO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning}):this._ticket.bets.length>=this._ticketConfiguration.betSlipMaxBets?this.notificationSubject.next({message:"KENO_TICKET_TOASTER_MAX_BETS_MESSAGE",type:q.warning}):(e.errors=[],this._ticket.bets.push(e),this.ticket.bets.length>=2&&0!=this.ticket.oddBonusId&&this.resetAllBonuses(),this._ticketCalculateSubject.next(!0),this.storage.set("app:kenoTicket",this._ticket),this._ticketBetsModifiedSubj.next({operation:"added",bet:e}))}removeBet(e){let t=this.indexOfBet(e);-1!==t&&this.deleteBet(t)}deleteBet(e){if(this._ticketLocked)return void this.notificationSubject.next({message:"KENO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning});let t=this._ticket.bets.splice(e,1)[0];this._ticket.bets.length>0&&this._ticketCalculateSubject.next(!0),0===this._ticket.bets.length&&this.resetTicket(),this.storage.set("app:kenoTicket",this._ticket),this._ticketBetsModifiedSubj.next({operation:"removed",bet:t})}resetTicket(){this._ticket.minPayIn=this._ticketConfiguration.minPayIn,this._ticket.predefinedPayins=this._ticketConfiguration.betSlipPayInValues,this._ticket.gameType=this.gameID,this._ticket.bets=[],this._ticket.systems=[],this._ticket.errors=[],this._ticket.hasTicketErrors=!1,this._ticket.hasBetErrors=!1,this.ticket.totalWin=0,this.ticket.payInPerTicketLocked=!1,this.ticket.systemResults=[],this.ticket.combinationCount=0,this.ticket.winTaxPercent=0,this.ticket.winTax=0,this.ticket.winBonus=0,this.ticket.maxWin=0,this.ticket.minWin=0,this.ticket.totalOdds=0,this.ticket.averageOdds=0,this.ticket.maxOdds=0,this.ticket.minOdds=0,this.ticket.serviceChargePercent=0,this.ticket.serviceChargeAmount=0,this.ticket.betAmount=0,this.ticket.encryptedTicketPin=void 0,this.ticket.encryptedTicketControlSign=void 0,this.ticket.payIn=this._ticketConfiguration.minPayIn,this._ticket.jackpotBets.numbers=[],this._ticket.useBonusCredit=!1,this.resetAllBonuses(),this.storage.set("app:kenoTicket",this._ticket)}hasBet(e,t,i,n,s,r){var o=this.createBet(e,t,i,n,s,r);return!!Object(g.find)(this._ticket.bets,e=>e.DrawNumber===o.drawNumber&&e.PickDesctiption===o.pickDesctiption&&e.Pick==o.pick)}betsEqual(e,t,i,n,s,r,o){var a=this.createBet(e,t,i,n,s,r);return o.drawNumber===a.drawNumber&&o.pickDesctiption===a.pickDesctiption&&o.pick==a.pick}removeForbiddenBetCombinations(e){for(let t=0;t<this._ticket.bets.length;t++){let i=this._ticket.bets[t];i.drawNumber===e.drawNumber&&i.betType===e.betType&&i.betType>2&&(this._ticket.bets.splice(t,1),this._ticketBetsModifiedSubj.next({operation:"removed",bet:i}),t--)}}calculateTicket(){this.isTicketBusy||(this.calculateInProgressSubject.next(!0),this.validatePayIn(),this._calculateSubscription&&(this._calculateSubscription.unsubscribe(),this._calculateSubscription=void 0),this._ticket.bets.length>0&&(this._calculateSubscription=this.http.post(`${this.bettingAPI}calculate`,this.prepareTicketForSending(),{headers:{LanguageId:this.translateProvider.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{let t=this.ticket.hasBetErrors,i=this.ticket.hasTicketErrors;this.handleBetSlipResponse(e),this._calculateSubscription=void 0,this._ticket.hasTicketErrors&&!i&&this.showTicketErrorsToast(),this.ticketActive&&this._ticket.hasBetErrors&&!t&&this.notificationSubject.next({message:"KENO_TICKET_TOASTER_CALCULATE_BET_ERRORS_MESSAGE",type:q.warning}),this.resetSelectedFreeTicket(),this.calculateInProgressSubject.next(!1)},()=>{this.calculateInProgressSubject.next(!1)})))}resetSelectedFreeTicket(){this._ticket.jokerBetSlipItems.length>0&&this._ticket.jokerBetSlipItems.forEach(e=>{this.ticket.systemResults&&this.ticket.systemResults.length>0&&(e.abstractValue>=this._ticket.systemResults[0].minPayIn&&e.abstractValue<=this._ticket.systemResults[0].maxPayIn||(e.selected?(e.selected=!1,this.resetAllBonuses(e.id),this._ticket.oddBonusId=e.id,this._ticket.oddBonusMode=e.oddBonusMode,this._ticket.oddMultiplier=e.oddMultiplier):this._ticket.oddBonusId===e.id&&this._ticket.oddBonusMode===e.oddBonusMode&&(this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0)))})}handleBetSlipResponse(e){if(e){this._ticket.encryptedTicketPin=e.encryptedTicketPin,this._ticket.encryptedTicketControlSign=e.encryptedTicketControlSign,this._ticket.betAmount=e.betAmount,this._ticket.serviceChargeAmount=e.serviceChargeAmount,this._ticket.serviceChargePercent=e.serviceChargePercent,this._ticket.minPayIn=e.minPayIn,this._ticket.maxPayIn=e.maxPayIn,this._ticket.minOdds=e.minOdds,this._ticket.maxOdds=e.maxOdds,this._ticket.averageOdds=e.averageOdds,this._ticket.totalOdds=e.totalOdds,this._ticket.minWin=e.minWin,this._ticket.maxWin=e.maxWin,this._ticket.winBonus=e.winBonus,this._ticket.winTax=e.winTax,this._ticket.winTaxPercent=e.winTaxPercent,this._ticket.combinationCount=e.combinationCount,this._ticket.systemResults=e.systemResults;const t=this._ticket.payIn;if(this._ticket.payIn=this._ticket.payIn=this.handleTicketPayIn(e.errors,e.payIn),this._ticket.payInPerTicketLocked=e.payInPerTicketLocked,t!=this._ticket.payIn?this._ticketCalculateSubject.next(!0):this._ticket.totalWin=e.totalWin,e.errors&&e.errors.forEach((t,i)=>{if(t.value&&t.valueType)switch(t.valueType){case"CURRENCY":t.message=t.message.replace("{0}",this.currencyFormatter(t.value))}1==t.errorType&&12==t.messageType&&e.errors.splice(i,1)}),this._ticket.errors=e.errors,this._ticket.hasTicketErrors=this.ticketHasErrors(),this._ticket.hasBetErrors=!1,e.betResults)for(let i=0;i<e.betResults.length;i++){let t=e.betResults[i];for(let e=0;e<this._ticket.bets.length;e++){let i=this._ticket.bets[e];if(t.bet.game===i.game&&t.bet.betData===i.betData&&t.bet.pick==i.pick){i.errors=t.errors,this._ticket.hasBetErrors=this._ticket.hasBetErrors||i.errors.length>0;break}}}if(this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.winIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin;this.storage.set("app:kenoTicket",this._ticket)}}prepareTicketForSending(e){const t={},i=-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType),n=this.authService.loggedIn&&-1!==[8,12,13,14].indexOf(+this.authService.auth.membershipType),s=i&&n||this.config.hardwarePrint,r=this.authService.loggedIn&&2==this.authService.auth.membershipType,o=r&&i,a=i&&r&&this.config.evonaUserPrint;t.gameType=this._ticket.gameType,t.autoconfirm=e,t.bets=[],t.oddBonusId=this._ticket.oddBonusId,t.oddBonusMode=this._ticket.oddBonusMode,t.betSlipType=0,t.Autoconfirm=e||o,t.PrintTicket=s||a,t.JackpotBets=[],t.UseBonusCredit=this._ticket.useBonusCredit,t.Settings={ReserveFunds:s},this.config.fiveSixJackpotEnabled&&this.prepareFiveSixJackpotBets(t);for(const c of this._ticket.bets){let e={game:c.game,roundId:c.roundId,betData:c.betData,betType:c.betType,pick:c.pick,odd:c.odd,eventTime:c.eventTime,drawNumber:c.drawNumber,pickDesctiption:c.pickDesctiption,risk:c.risk,riskEnabled:c.riskEnabled,numberOfReplies:c.numberOfReplies,translatedPick:c.translatedPick,errors:c.errors};if(c.numberOfReplies>1)for(let i=0;i<c.numberOfReplies;i++){let n=Object.assign({},e);if(i>0){n.drawNumber=n.drawNumber+i;let e=this.getCorrectRoundId(n.drawNumber,c);e&&(n.roundId=e),n.betData=`${n.roundId}-${n.betType}-${n.risk?1:0}-${n.drawNumber}`}t.bets.push(n)}else t.bets.push(e)}return t.systems=[{typeFrom:t.bets.length,typeTo:t.bets.length,payIn:this._ticket.payIn}],t}checkPayIn(e){const t=this._ticket.minPayIn*e;return this._ticket.payIn<t&&(this._ticket.payIn=t),this._ticket.payIn}detachTicket(){setTimeout(()=>{this.ticket=Object.assign({},this._ticket)})}get isTicketLocked(){return this._isBusy||this._isTicketRepeatDialogVisible}get isTicketBusy(){return this._isBusy}get isRepeatDialogVisible(){return this._isTicketRepeatDialogVisible}get ticketConfiguration(){return this._ticketConfiguration}set isTicketRepeatDialogVisible(e){this._isTicketRepeatDialogVisible=e,this._isTicketRepeatDialogVisibleSubject.next(this._isTicketRepeatDialogVisible)}isValid(){return!(this._ticket.hasTicketErrors||this._ticket.hasBetErrors)}isSubmitEnabled(){return this.isValid()&&!this._isBusy}setPayin(e){let t=!0;return isNaN(e)&&(this.notificationSubject.next({message:"KENO_TICKET_TOASTER_INVALID_PAYIN_MESSAGE",type:q.warning}),e=this._ticketConfiguration.minPayIn,t=!1),this._ticket.payIn=e,this.validatePayIn(),this._ticketCalculateSubject.next(!0),t}submit(){if(this.isTicketLocked)return void this.notificationSubject.next({message:"KENO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning});this._validationTime=this.ticketAuthTime,this.isBusy=!0,this.detachTicket();let e=void 0,t=void 0,i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&e.unsubscribe():i()},1e3)};i();const n=this.authService.loggedIn&&2==this.authService.auth.membershipType,s=this.prepareTicketForSending();e=this.http.post(`${this.bettingAPI}submit`,s).subscribe(i=>{this.attachTicket(),this.handleBetSlipResponse(i),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"KENO_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:q.warning})):(this.detachTicket(),i.printResult?(i.printResult.ticket.isCopy=n,this.printService.printSportBettingTicket(this._ticket,i).subscribe(()=>{this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"KENO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info})},e=>{this.notificationSubject.next({message:"KENO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)})):s.Autoconfirm?(this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)):e=this.http.post(`${this.bettingAPI}confirm`,{EncryptedTicketPin:this._ticket.encryptedTicketPin}).subscribe(e=>{!0!==e?(this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error})):(this.impersonationData=void 0,this.config.printTicket||(this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t)),this.resetAllBonuses(),this.config.printTicket?this.printService.printSportBettingTicket(this._ticket,e).subscribe(()=>{this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"KENO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}),this._payInCalculatorSubject.next(e.payIn)},e=>{this.notificationSubject.next({message:"KENO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"KENO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}))},e=>{this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error})}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error}),this.attachTicket(),this.isBusy=!1,this._validationTime=void 0})}submitV2(){if(this.isTicketLocked)return void this.notificationSubject.next({message:"KENO_TICKET_TOASTER_LOCKED_MESSAGE",type:q.warning});this._validationTime=this.ticketAuthTime,this.isBusy=!0,this.detachTicket();let e=void 0,t=void 0,i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&e.unsubscribe():i()},1e3)};i(),e=this.http.post(`${this.bettingAPI}submit`,this.prepareTicketForSending(!0)).subscribe(e=>{this.attachTicket(),this.handleBetSlipResponse(e),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"KENO_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:q.warning})):(this.detachTicket(),this.impersonationData=void 0,this.config.printTicket||(this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t)),this.resetAllBonuses(null,!0),this.config.printTicket?this.printService.printSportBettingTicket(this._ticket,e).subscribe(()=>{this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"KENO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}),this._payInCalculatorSubject.next(e.payIn)},e=>{this.notificationSubject.next({message:"KENO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:q.warning}),this.attachTicket(),this.isBusy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"KENO_TICKET_TOASTER_SUCCESS_MESSAGE",type:q.info}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:q.error}),this.attachTicket(),this.isBusy=!1,this._validationTime=void 0})}showTicketErrorsToast(){if(this._ticket.errors)for(let e=0;e<this._ticket.errors.length;e++)this.notificationSubject.next({message:this._ticket.errors[e].TranslatedMessage,type:q.warning})}clear(){this.resetTicket(),this.impersonationData=void 0,this.storage.set("app:kenoTicket",this._ticket),this._ticketBetsModifiedSubj.next({operation:"cleared",bet:void 0})}repeatDialogNo(){this.isTicketRepeatDialogVisible=!1,this.clear()}changeRisk(e,t){e.risk=t?1:0,e.betData=`${e.roundId}-${e.betType}-${e.risk}-${e.drawNumber}`,this._ticketCalculateSubject.next(!0),this.storage.set("app:kenoTicket",this._ticket)}changeRepetitions(e){const t=this.indexOfBet(e);-1!=t&&(this.ticket.bets[t].numberOfReplies=e.numberOfReplies,this.ticket.bets[t].numberOfReplies>=2&&0!=this.ticket.oddBonusId&&this.resetAllBonuses()),this._ticketCalculateSubject.next(!0),this.storage.set("app:kenoTicket",this._ticket)}handleTicketPayIn(e,t){return e.length>0&&Object(g.find)(e,e=>1===e.errorType&&1===e.messageType)?this._ticket.payIn:t>0?t:this._ticket.payIn}ticketHasErrors(){let e=0,t=0;return this._ticket.errors&&this._ticket.errors.length>0&&(t=this._ticket.errors.length,this._ticket.errors.forEach(t=>{2===t.errorType&&e++})),e<t}currencyFormatter(e){this.currencyPipe.transform(e)}getUserBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0;const e=new o.a;return!this.authService.loggedIn||"WebUser"!==this.authService.auth.role&&"ExternalUser"!==this.authService.auth.role?(this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],e.next(),e.complete()):this.http.post(`${this.config.api.urlClubAPI}bonuses`,{BonusTypes:[0],GameType:16}).subscribe(t=>{if(t.result){if(this._ticket.clubTicketBonusItems=t.result.clubTicketBonusItems,this._ticket.jokerBetSlipItems=t.result.jokerBetSlipItems,this._ticket.jokerBetSlipPriceItems=t.result.jokerBetSlipPriceItems,this.ticket.clubTicketBonusItems&&this.ticket.clubTicketBonusItems.length>0)for(const e of this.ticket.clubTicketBonusItems)e.WinIncrease=3===this.ticket.oddBonusMode?this.ticket.maxWin-100/(e.Value+100)*this.ticket.maxWin:e.Value/100*this.ticket.maxWin}else this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[];e.next(),e.complete()},t=>{e.error(t),e.complete()}),e.asObservable()}removeBonus(e){return this._ticket.jokerBetSlipItems[e].count>1?this._ticket.jokerBetSlipItems[e].count=this._ticket.jokerBetSlipItems[e].count-1:this._ticket.jokerBetSlipItems.splice(e,1),this._ticket.jokerBetSlipItems}editBonus(e,t){return this._ticket.jokerBetSlipItems[e]=t,this._ticket.jokerBetSlipItems}addBonus(e){this._ticket.jokerBetSlipItems.push(e)}resetAllBonuses(e,t){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,t||(this._ticket.payIn=this.getDefaultStake()),Object(g.each)(this._ticket.clubTicketBonusItems,t=>{e!=t.id&&(t.selected=!1)}),Object(g.each)(this._ticket.jokerBetSlipItems,t=>{e!=t.id&&(t.selected=!1)}),Object(g.each)(this._ticket.jokerBetSlipPriceItems,t=>{e!=t.id&&(t.selected=!1)})}toggleBonus(e){const t=e.selected;t?(this._ticket.useBonusCredit=!1,this.resetAllBonuses(),e.selected=t,this._ticket.oddBonusId=e.id,this._ticket.oddBonusMode=e.oddBonusMode,this._ticket.oddMultiplier=e.oddMultiplier,this._ticket.payIn=e.surchargeAmount):this._ticket.oddBonusId===e.id&&this._ticket.oddBonusMode===e.oddBonusMode&&(this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.payIn=this.getDefaultStake()),this._ticketCalculateSubject.next(!0)}clearBonuses(){this._ticket.oddBonusId=0,this._ticket.oddBonusMode=0,this._ticket.oddMultiplier=0,this._ticket.clubTicketBonusItems=[],this._ticket.jokerBetSlipItems=[],this._ticket.jokerBetSlipPriceItems=[],this.storage.set("app:kenoTicket",this._ticket)}getCorrectRoundId(e,t){let i=this.kenoService.kenoAvailableRoundsBasicData.find(t=>t.drawNumber===e);if(i)return i.id;this.removeBet(t)}prepareFiveSixJackpotBets(e){let t=[];this._ticket.bets.forEach(e=>{for(let i=0;i<e.numberOfReplies;i++){let n=this.getCorrectRoundId(e.drawNumber+i,e);n&&t.push(n)}});let i=t.filter((function(e,t,i){return i.indexOf(e)===t}));if(this._ticket.jackpotBets.numbers&&0==this._ticket.jackpotBets.numbers.length)for(let n=0;n<6;n++)this._ticket.jackpotBets.numbers.push(Object(g.random)(1,9));i.forEach(t=>{e.JackpotBets.push({Game:16,Numbers:this._ticket.jackpotBets.numbers,EventId:t,BetType:0})})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(w),n.fc(R),n.fc(F),n.fc(L),n.fc(Z),n.fc(O),n.fc(M),n.fc(ue))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(w),Object(n.fc)(R),Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(Z),Object(n.fc)(O),Object(n.fc)(M),Object(n.fc)(ue))},token:e,providedIn:"root"}),e})(),de=(()=>{class e{constructor(e,t,i,s,r){this.authHttp=e,this.authService=t,this.camelcaseObjectService=i,this.translationService=s,this.storage=r,this.excludedRoles=["TerminalUser","ExternalUser","Anonymous"],this.userData={},this._notificationsHubTryCont=0,this._userDataSubject=new o.a,this.userData$=this._userDataSubject.asObservable(),this.messageReceived=new n.n,this._userActiveTicketsSubject=new o.a,this._userActiveTicketsData$=this._userActiveTicketsSubject.asObservable(),this._jokerBetslipUpdatedSubject=new c.a,this._jokerBetslipUpdated$=this._jokerBetslipUpdatedSubject.asObservable(),this.loginErrorSubject=new c.a,this.loginError$=this.loginErrorSubject.asObservable(),this._userPreferencesEnabledSubj=new c.a,this.userPreferencesEnabled$=this._userPreferencesEnabledSubj.asObservable(),this._userSettingsSubject=new o.a,this.userSettings$=this._userSettingsSubject.asObservable(),this._ticketProcessedSubject=new o.a,this._ticketProcessedData$=this._ticketProcessedSubject.asObservable(),this._activeTicketAddedSubject=new o.a,this._activeTicketAddedData$=this._activeTicketAddedSubject.asObservable(),this.newTicketPlayedSubject=new c.a,this.newTicketPlayed$=this.newTicketPlayedSubject.asObservable(),this.reptrintTicketSubject=new c.a,this.reprintTicket$=this.reptrintTicketSubject.asObservable(),this._keppAliveEnded=new o.a(1),this.keppAliveEnded$=this._keppAliveEnded.asObservable(),this._userNotificationsSubject=new o.a(1),this.userNotificationsConnected$=this._userNotificationsSubject.asObservable(),this._qrCodeLoginGeneratedSubject=new c.a,this.qrCodeLoginGenerated$=this._qrCodeLoginGeneratedSubject.asObservable(),this._unlockTerminalSubject=new c.a,this.unlockTerminal$=this._unlockTerminalSubject.asObservable(),this._approveTicketSubject=new c.a,this.approveTicket$=this._approveTicketSubject.asObservable(),this._connectionStateSubject=new c.a,this.connectionState$=this._connectionStateSubject.asObservable(),this.prematchFavorites=new Map,this._prematchFavoritesSubject=new o.a,this.prematchFavorites$=this._prematchFavoritesSubject.asObservable(),this.authService.loggedIn$.subscribe(e=>{e?"Anonymous"!=this.authService.auth.role&&this.startKeepAlive():(this.disconnectUserNotification(),this.stopKeepAlive())},()=>{this.disconnectUserNotification(),this.stopKeepAlive()})}get OddsRepresentation(){return this._userSettings&&this._userSettings.OddsRepresentation?this._userSettings.OddsRepresentation:this.config.oddsReprensentation}get userSettings(){return this._userSettings}ticketProcessedCallback(e){this._ticketProcessedSubject.next(e)}activeTicketAddedCallback(e){let t=this.camelcaseObjectService.camelCaseObject(e);this._activeTicketAddedSubject.next(t)}newTicketPlayedCallback(e){this.newTicketPlayedSubject.next(e)}reprintTicketCallback(e){this.reptrintTicketSubject.next(e)}playerDivisionChangeCallback(e){e&&e.length&&this._userSettings&&(this._userSettings.userRankImage=e)}qrCodeGeneratedChangeCallback(e){this._qrCodeLoginGeneratedSubject.next(e)}unlockTerminalCallback(e){this._unlockTerminalSubject.next(e)}approveTicketCallback(e){this._approveTicketSubject.next(e)}getCurrentMembershipType(){const e=this.authService.getAuth;return e?e.membershipType:this.config.terminalType}initialize(e){const t=new o.a(1);this.config=e;const i=this.authService.getAuth;return i?-1===this.excludedRoles.indexOf(i.role)?this.authHttp.post(`${this.apiURL}settings`,null,{MembershipType:i.membershipType}).subscribe(e=>{this._userSettings=e,this._userSettingsSubject.next(!0),this.handleUserPrematchFavorites(),t.next(),t.complete(),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),t.next(),t.complete(),console.error(e)}):(t.next(),t.complete(),"TerminalUser"==i.role&&this.tryConnectNotifications()):(t.next(),t.complete()),t.asObservable()}get apiURL(){return this.config.api.url}get apiNotificationsURL(){return this.config.api.notificationUrl}get apiTerminalUrl(){return this.config.api.terminalUrl}set attendantTerminalId(e){this.config.attendantTerminalId=e}login(e,t,i){const n=new c.a;return this.authService.login(e,t,this.config.terminalType,i).pipe(Object(h.a)(1e4)).subscribe(t=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:t.membershipType}).subscribe(t=>{this._userSettings=t,this._userSettingsSubject.next(!0),this.handleUserPrematchFavorites(),n.next(),n.complete(),this._userDataSubject.next({userName:e,Balance:t.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),n.error({}),n.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);const t=e.error,i=t&&t.error?t.error:null,s=t&&t.error?t.error_description.split("error: "):null;let r=i?i.toLocaleUpperCase():"INCORRECT_USERNAME_OR_PASSWORD",o=s&&s.length>1?s[1]:101;"TimeoutError"===e.Name&&(r="TIMEOUT_ERROR"),this.logout(),n.error({MessageKey:r,ErrorCode:o}),n.complete(),console.error(e)}),n.asObservable()}loginAttendant(e,t){let i=new c.a;return this.authService.login(e,t,"1").pipe(Object(h.a)(1e4)).subscribe(t=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:t.membershipType}).subscribe(t=>{this._userSettings=t,this._userSettingsSubject.next(!0),i.next(),i.complete(),this._userDataSubject.next({userName:e,Balance:t.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),i.error({}),i.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);let t="INCORRECT_USERNAME_OR_PASSWORD";"TimeoutError"==e.Name&&(t="TIMEOUT_ERROR"),this.logout(),i.error({MessageKey:t}),i.complete(),console.error(e)}),i.asObservable()}loginAffilate(e,t){let i=new c.a;return this.authService.login(e,t,"1").pipe(Object(h.a)(1e4)).subscribe(e=>{i.next(),i.complete()},e=>{let t="INCORRECT_USERNAME_OR_PASSWORD";"TimeoutError"==e.Name&&(t="TIMEOUT_ERROR"),this.logout(),i.error({MessageKey:t}),i.complete(),console.error(e)}),i.asObservable()}loginTerminalAttendant(e,t,i){let n=new c.a;return this.authService.login(e,t,"1",i).pipe(Object(h.a)(1e4)).subscribe(t=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:t.membershipType}).subscribe(t=>{this._userSettings=t,this._userSettingsSubject.next(!0),n.next(),n.complete(),this._userDataSubject.next({userName:e,Balance:t.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),n.error({}),n.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);let t="INCORRECT_USERNAME_OR_PASSWORD";"TimeoutError"==e.Name&&(t="TIMEOUT_ERROR"),this.logout(),n.error({MessageKey:t}),n.complete(),console.error(e)}),n.asObservable()}loginTerminalAttendantWithPin(e,t){let i=new c.a;return this.authService.loginWithPin(e,"1",t).pipe(Object(h.a)(1e4)).subscribe(e=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:e.membershipType}).subscribe(e=>{this._userSettings=e,this._userSettingsSubject.next(!0),i.next(),i.complete(),this._userDataSubject.next({userName:this.authService.auth.username,Balance:e.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),i.error({}),i.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);let t="INCORRECT_PIN";"TimeoutError"==e.Name&&(t="TIMEOUT_ERROR"),this.logout(),i.error({MessageKey:t}),i.complete(),console.error(e)}),i.asObservable()}registrationLogin(e){const t=new c.a;return this.authService.registrationLogin(e).pipe(Object(h.a)(1e4)).subscribe(e=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:e.membershipType}).subscribe(e=>{this._userSettings=e,this._userSettingsSubject.next(!0),this.handleUserPrematchFavorites(),t.next(),t.complete(),this._userDataSubject.next({userName:this.authService.auth.username,Balance:e.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),t.error({}),t.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);const i=e?e.error.error:null,n=e?e.error.error_description.split("error: "):null;let s=i?i.toLocaleUpperCase():"INCORRECT_USERNAME_OR_PASSWORD",r=n&&n.length>1?n[1]:101;"TimeoutError"===e.Name&&(s="TIMEOUT_ERROR"),this.logout(),t.error({MessageKey:s,ErrorCode:r}),t.complete(),console.error(e)}),t.asObservable()}rfidLogin(e,t=2,i){const n=new c.a;return this.authService.rfidLogin(e,t,i).pipe(Object(h.a)(1e4)).subscribe(e=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:e.membershipType}).subscribe(e=>{this._userSettings=e,this._userSettingsSubject.next(!0),this.handleUserPrematchFavorites(),n.next(),n.complete(),this._userDataSubject.next({userName:this.authService.auth.username,Balance:e.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),n.error({}),n.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);const t=e?e.error.error:null,i=e?e.error.error_description.split("error: "):null;let s=t?t.toLocaleUpperCase():"INCORRECT_RFID_CODE",r=i&&i.length>1?i[1]:101;"TimeoutError"===e.Name&&(s="TIMEOUT_ERROR"),this.logout(),n.error({MessageKey:s,ErrorCode:r}),n.complete(),console.error(e)}),n.asObservable()}smartCardLogin(e,t=2,i){const n=new c.a;return this.authService.smartCardLogin(e,t,i).pipe(Object(h.a)(1e4)).subscribe(e=>{this.authHttp.post(`${this.apiURL}settings`,{MembershipType:e.membershipType}).subscribe(e=>{this._userSettings=e,this._userSettingsSubject.next(!0),this.handleUserPrematchFavorites(),n.next(),n.complete(),this._userDataSubject.next({userName:this.authService.auth.username,Balance:e.balance,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.logout(),n.error({}),n.complete(),console.error(e)})},e=>{this.loginErrorSubject.next(e);const t=e?e.error.error:null,i=e?e.error.error_description.split("error: "):null;let s=t?t.toLocaleUpperCase():"INCORRECT_SMART_CARD",r=i&&i.length>1?i[1]:101;"TimeoutError"===e.Name&&(s="TIMEOUT_ERROR"),this.logout(),n.error({MessageKey:s,ErrorCode:r}),n.complete(),console.error(e)}),n.asObservable()}terminalLogin(e,t,i){const n=new c.a;return this.authService.login(e,t,"8",i).pipe(Object(h.a)(1e4)).subscribe(t=>{n.next(),n.complete(),this._userDataSubject.next({userName:e,Balance:0,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.loginErrorSubject.next(e);const t=e?e.error.error:null,i=e?e.error.error_description.split("error: "):null;let s=t?t.toLocaleUpperCase():"INCORRECT_USERNAME_OR_PASSWORD",r=i&&i.length>1?i[1]:101;"TimeoutError"===e.Name&&(s="TIMEOUT_ERROR"),this.logout(),n.error({MessageKey:s,ErrorCode:r}),n.complete(),console.error(e)}),n.asObservable()}qrCodeLogin(e,t,i){const n=new c.a;return this.authService.qrCodeLogin(e,t,i).pipe(Object(h.a)(1e4)).subscribe(e=>{n.next(),n.complete(),this._userDataSubject.next({Balance:0,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.loginErrorSubject.next(e);const t=e.error,i=t&&t.error?t.error:null,s=t&&t.error?t.error_description.split("error: "):null;let r=i?i.toLocaleUpperCase():"INCORRECT_USERNAME_OR_PASSWORD",o=s&&s.length>1?s[1]:101;"TimeoutError"===e.Name&&(r="TIMEOUT_ERROR"),this.logout(),n.error({MessageKey:r,ErrorCode:o}),n.complete(),console.error(e)}),n.asObservable()}casinoIntegrationLogin(e,t,i,n,s=!1){const r=new c.a;return this.authService.casinoIntegrationLogin(e,t,i,n,s).pipe(Object(h.a)(1e4)).subscribe(e=>{r.next(),r.complete(),this._userDataSubject.next({Balance:0,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.loginErrorSubject.next(e);const t=e.error,i=t&&t.error?t.error:null,n=t&&t.error?t.error_description.split("error: "):null;let s=i?i.toLocaleUpperCase():"INCORRECT_USERNAME_OR_PASSWORD",o=n&&n.length>1?n[1]:101;"TimeoutError"===e.Name&&(s="TIMEOUT_ERROR"),this.logout(),r.error({MessageKey:s,ErrorCode:o}),r.complete(),console.error(e)}),r.asObservable()}pidLogin(e,t,i,n,s){const r=new c.a;return this.authService.pidLogin(e,t,i,n,s).pipe(Object(h.a)(1e4)).subscribe(e=>{r.next(),r.complete(),this._userDataSubject.next({Balance:0,UprocessedTicketsCount:0,CurrentPoints:0}),this.config.excludeNotifications||this.tryConnectNotifications()},e=>{this.loginErrorSubject.next(e);const t=e.error,i=t&&t.error?t.error:null,n=t&&t.error?t.error_description.split("error: "):null;let s=i?i.toLocaleUpperCase():"INCORRECT_USERNAME_OR_PASSWORD",o=n&&n.length>1?n[1]:101;"TimeoutError"===e.Name&&(s="TIMEOUT_ERROR"),this.logout(),r.error({MessageKey:s,ErrorCode:o}),r.complete(),console.error(e)}),r.asObservable()}startKeepAlive(){this.config&&this.config.keepAlive&&(this.stopKeepAlive(),this.keepAliveTmr||(this.keepAliveTmr=setInterval(()=>{this.keepAlive().subscribe(e=>{e&&e.limitReached&&(this._keppAliveEnded.next(e),setTimeout(()=>{this._keppAliveEnded.next(!1)},1e3))})},1e4)))}stopKeepAlive(){this.config&&this.config.keepAlive&&this.keepAliveTmr&&(clearInterval(this.keepAliveTmr),this.keepAliveTmr=void 0)}connectUserNotification(){if(this._notificationsHub&&this.disconnectUserNotification(!0),!this._loginSubj)if(this._loginSubj=new o.a,this._loginObservable=this._loginSubj.asObservable(),this.authService.loggedIn){let e=this.authService.getAuth;this._userName=e.username,this._notificationsHub=new C("accountnotification",{rootPath:`${this.apiNotificationsURL}signalr`,listeners:{accountDataUpdated:this.accountDataUpdatedCallback.bind(this),notificationRecived:this.notificationRecivedCallback.bind(this),activeTicketsUpdated:this.activeTicketsPerGameRecivedCallback.bind(this),jokerBetslipUpdated:this.jokerBetslipUpdatedCallback.bind(this),ticketProcessed:this.ticketProcessedCallback.bind(this),activeTicketAdded:this.activeTicketAddedCallback.bind(this),NewTicketPlayed:this.newTicketPlayedCallback.bind(this),ReprintTicketRequested:this.reprintTicketCallback.bind(this),playerDivisionChange:this.playerDivisionChangeCallback.bind(this),QrCodeGenerated:this.qrCodeGeneratedChangeCallback.bind(this),unlockTerminal:this.unlockTerminalCallback.bind(this),aproveTicket:this.approveTicketCallback.bind(this)},methods:["ListenForActiveTicketsChanges"],stateChanged:e=>{switch(this._connectionStateSubject.next(e),e.newState){case $.signalR.connectionState.connecting:break;case $.signalR.connectionState.connected:this._userNotificationsSubject.next(!0);break;case $.signalR.connectionState.reconnecting:break;case $.signalR.connectionState.disconnected:this.authService.loggedIn&&setTimeout(()=>{this._notificationsHub&&(this._notificationsHub.options.queryParams.Authorization=this.authService.authToken),this._notificationsHub.connect()},1e4)}},queryParams:{"Accept-Language":this.translationService.language,LanguageId:this.translationService.language,Authorization:e.token,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}),this._notificationsHub&&(this._notificationsHub.connect(),this._notificationsHub.getConnectionReference().error(e=>{const t=JSON.parse(localStorage.getItem("app:auth:Auth")),i=parseInt((Date.now()/1e3).toString());t&&t.expiration<i&&(this.authService.refreshToken(),this.connectUserNotification())}))}else this._loginSubj&&(this._loginSubj.next(),this._loginSubj.complete(),this._loginSubj=void 0);return this._loginObservable}tryConnectNotifications(){let e=new c.a;!this.config.api.notificationUrl.toLowerCase().includes("attendant")&&"webcounter"!=this.config.appType||"8"!=this.authService.auth.membershipType?this.connectUserNotification().pipe(Object(h.a)(3e4)).subscribe(()=>{this._notificationsHubTryCont=0,e.next(),e.complete()},t=>{let i="SERVICE_NOT_AVAILABLE";"TimeoutError"==t.Name&&(i="TIMEOUT_ERROR"),e.error({MessageKey:i}),e.complete(),console.error(t),this._notificationsHubTryCont<15||this.config.infiniteNotifications?setTimeout(()=>{this.tryConnectNotifications(),this._notificationsHubTryCont++},1e4):this._notificationsHubTryCont=0}):(e.next(),e.complete())}accountDataUpdatedCallback(e){e&&Object.assign(this.userData,e,{userName:this._userName}),this._userDataSubject.next(this.userData),this._loginSubj&&(this._loginSubj.next(),this._loginSubj.complete(),this._loginSubj=void 0)}activeTicketsPerGameRecivedCallback(e){this._userActiveTicketsSubject.next(e),this._loginSubj&&(this._loginSubj.next(),this._loginSubj.complete(),this._loginSubj=void 0)}registerForActiveTickets(e){const t=new o.a(1);return this._notificationsHub&&this._notificationsHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._notificationsHub.ListenForActiveTicketsChanges(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}jokerBetslipUpdatedCallback(e){this._jokerBetslipUpdatedSubject.next(e)}disconnectUserNotification(e=!1){this.userData={},e||this._userDataSubject.next(this.userData),this._loginSubj&&(this._loginSubj.error({}),this._loginSubj.complete(),this._loginSubj=void 0),this._notificationsHub&&!this.config.excludeNotifications&&(this._notificationsHub.disconnect(),this._notificationsHub=void 0)}logout(){this.authService.logout(),this.config.attendantTerminalId=void 0,this.disconnectUserNotification(),this.handleUserPrematchFavorites()}checkUserFieldAvailability(e,t){return this.authHttp.post(this.apiURL+"userfieldavailability",{UserField:e,Value:t,MembershipType:this.getCurrentMembershipType()})}checkUserFieldAvailabilityV2(e,t){return this.authHttp.post(this.apiURL+"userfieldavailability/v2",{UserField:e,Value:t,MembershipType:this.getCurrentMembershipType()})}getUserSettings(){const e=new o.a(1);return this.authHttp.post(`${this.apiURL}settings`,null,{MembershipType:this.authService.getAuth.membershipType}).subscribe(t=>{this._userSettings=t,e.next(this._userSettings),e.complete()},t=>{e.next(!1),e.complete()}),e.asObservable()}handleUserPrematchFavorites(){this.authService.loggedIn&&this.userSettings&&this.userSettings.personalSettingsJson&&this.userSettings.personalSettingsJson.prematchLeagueFavorites?this.userSettings.personalSettingsJson.prematchLeagueFavorites.forEach(e=>{this.prematchFavorites.set(e.leagueId,e.sportId)}):this.prematchFavorites=new Map,this._prematchFavoritesSubject.next()}addLeagueToPrematchFavorites(e){if(!this.authService.loggedIn||this.prematchFavorites.has(e.id))return;this.prematchFavorites.set(e.id,e.matches[0].sportId);const t=[...this.prematchFavorites.entries()].map(e=>({sportId:e[1],leagueId:e[0]}));this.savePersonalSettingsJSON({prematchLeagueFavorites:t})}removeLeagueFromPrematchFavorites(e){if(!this.authService.loggedIn||!this.prematchFavorites.has(e.id))return;this.prematchFavorites.delete(e.id);const t=[...this.prematchFavorites.entries()].map(e=>({sportId:e[1],leagueId:e[0]}));this.savePersonalSettingsJSON({prematchLeagueFavorites:t})}register(e){return this.authHttp.post(this.apiURL+"mobile/v2/register",e)}regSegment(e){let t="";switch(e){case 9:t="hr/";break;case 8:t="la12/";break;case 7:t="cz/";break;case 5:t="poland/";break;case 3:t="tz/";break;default:t=""}return t}registerUser(e,t){return this.authHttp.post(this.apiURL+`v2/${t}registration`,e)}registerType11(e){return this.authHttp.post(this.apiURL+"lepep/registration",e)}registerType8(e){return this.authHttp.post(this.apiURL+"v2/la12/registration",e)}registerType7(e){return this.authHttp.post(this.apiURL+"v2/cz/registration",e)}registerType7WithAttendantAuth(e,t){return this.authHttp.post(this.apiURL+"v2/cz/registration",e,{headers:{Authorization:`Bearer ${t.token}`}})}registerType6(e){return this.authHttp.post(this.apiURL+"gh/registration",e)}registerType5(e){return this.authHttp.post(this.apiURL+"v2/poland/registration",e)}registerType4(e){return this.authHttp.post(this.apiURL+"v2/register",e)}registerType3(e){return this.authHttp.post(this.apiURL+"v2/tz/registration",e)}registerConfirm(e){return this.authHttp.post(this.apiURL+"register/confirmation",{ActivationCode:e}).pipe(Object(h.a)(3e4))}registerEmailResend(e){return this.authHttp.post(this.apiURL+"resendactivation",e).pipe(Object(h.a)(3e4))}registerActivation(e){return this.authHttp.post(this.apiURL+"resendactivation",e).pipe(Object(h.a)(3e4))}registerCodeResend(e){return this.authHttp.post(this.apiURL+"mobile/activationcode/resend",e).pipe(Object(h.a)(3e4))}registerCodeLepepResend(e){return this.authHttp.post(this.apiURL+"lepep/resendcode",e).pipe(Object(h.a)(3e4))}resendUserActivation(e){return this.authHttp.post(this.apiURL+"mobile/resendcode",e).pipe(Object(h.a)(3e4))}securityQuestions(){return this.authHttp.get(this.apiURL+"common/securityquestions").pipe(Object(h.a)(3e4))}personalInfo(){const e={$type:this.config.userDetailsType,MembershipType:this.getCurrentMembershipType()};return""===this.config.userDetailsType&&delete e.$type,this.authHttp.post(this.apiURL+"userdetails",e).pipe(Object(h.a)(3e4))}editUser(e,t){let i="editUser";return t&&(i+="/"+t),this.authHttp.post(this.apiURL+i,e).pipe(Object(h.a)(3e4))}userPreferences(){return this.authHttp.get(this.apiURL+"common/userpreferences").pipe(Object(h.a)(3e4))}postUserPreferences(e){return this.authHttp.post(this.apiURL+"userpreferences",{MembershipType:this.getCurrentMembershipType(),UserPreferences:e}).pipe(Object(h.a)(3e4))}getUserPreferences(){return this.authHttp.get(this.apiURL+"userpreferences").pipe(Object(h.a)(3e4))}enableUserPreferences(e){return this.authHttp.post(this.apiURL+"enable/userpreferences",{MembershipType:this.getCurrentMembershipType(),UserPreferences:e}).pipe(Object(h.a)(3e4),Object(f.a)(e=>(this._userPreferencesEnabledSubj.next(!0),e)))}userPreferencesInfo(){return this.authHttp.post(this.apiURL+"userpreferencesinfo",{MembershipType:this.getCurrentMembershipType()}).pipe(Object(h.a)(3e4))}securitySettings(e){return this.authHttp.post(this.apiURL+"securitysettings",e).pipe(Object(h.a)(3e4))}attendantSecuritySettings(e){return this.authHttp.post(this.apiURL+"attendant/securitysettings",e).pipe(Object(h.a)(3e4))}oddRepresentationSave(e){return this.authHttp.post(this.apiURL+"oddsrepresentation/save",{MembershipType:this.getCurrentMembershipType(),OddsRepresentation:e}).pipe(Object(h.a)(3e4)).pipe(Object(f.a)(t=>(t.IsSuccess&&(this._userSettings.OddsRepresentation=e),t)))}userPassword(e,t,i){return this.authHttp.post(this.apiURL+"userpassword",{MembershipType:this.getCurrentMembershipType(),NewPassword:e,OldPassword:t,PasswordConfirm:i}).pipe(Object(h.a)(3e4))}userPasswordTz(e){return this.authHttp.post(this.apiURL+"tz/userpassword",e).pipe(Object(h.a)(3e4))}userPasswordGh(e){return this.authHttp.post(this.apiURL+"gh/userpassword",e).pipe(Object(h.a)(3e4))}resetPassword(e,t,i){return this.authHttp.post(this.apiURL+"terminal/userpasswordV2",{PersonalIdNumber:e,NewPassword:t,RepeatPassword:i}).pipe(Object(h.a)(3e4))}recentactivities(e,t){return this.authHttp.post(this.apiURL+"recentactivities",{MembershipType:this.getCurrentMembershipType(),From:e,To:t}).pipe(Object(h.a)(3e4))}recoverPasswordUsernameRequest(e,t){return this.authHttp.post(this.apiURL+"forgottenpassword",{MembershipType:this.getCurrentMembershipType(),UserField:e,Value:t}).pipe(Object(h.a)(3e4))}requestPasswordRecovery(e){return this.authHttp.post(this.apiURL+"forgottenpassword/answer",e).pipe(Object(h.a)(3e4))}recoverPasswordRequest(e,t,i){return this.authHttp.post(this.apiURL+"mobile/v2/forgottenpassword/answer",{Username:e,SecurityAnswer:i}).pipe(Object(h.a)(3e4))}recoverPasswordChange(e){return this.authHttp.post(this.apiURL+"recoverypassword",e).pipe(Object(h.a)(3e4))}recoverPasswordChangeTz(e){return this.authHttp.post(this.apiURL+"tz/recoverypassword",e).pipe(Object(h.a)(3e4))}recoverPasswordChangeGh(e){return this.authHttp.post(this.apiURL+"gh/recoverypassword",e).pipe(Object(h.a)(3e4))}passwordResetConfirm(e){return this.authHttp.post(this.apiURL+"",{PasswordResetCode:e}).pipe(Object(h.a)(3e4))}passwordResetCodeResend(e){return this.authHttp.post(this.apiURL+"",e).pipe(Object(h.a)(3e4))}attendantRegisterUser(e){return this.authHttp.post(this.apiURL+"attendant/registeruser",e).pipe(Object(h.a)(3e4))}attendantRegisterUserSimple(e){return this.authHttp.post(this.apiURL+"attendant/registeruser/simple",e).pipe(Object(h.a)(3e4))}attendantRegisterUserTz(e){return this.authHttp.post(this.apiURL+"attendant/registeruser/tz",e).pipe(Object(h.a)(3e4))}attendantRegisterUserGh(e){return this.authHttp.post(this.apiURL+"gh/registeruser",e).pipe(Object(h.a)(3e4))}attendantRegisterUserLa12(e){return this.authHttp.post(this.apiURL+"attendant/la12/registration",e).pipe(Object(h.a)(3e4))}attendantRegisterUserType6(e){return this.authHttp.post(this.apiURL+"attendant/gamesworld/register",e).pipe(Object(h.a)(3e4))}attendatnSearchUser(e){return this.authHttp.post(this.apiURL+"attendant/searchuser",{FirstName:e.firstname,LastName:e.lastname,Username:e.username,MembershipType:this.getCurrentMembershipType(),RfidCode:e.rfid,VariableSymbol:e.variableSymbol,SmartCardCode:e.smartCardCode}).pipe(Object(h.a)(3e4))}countries(){return this.authHttp.get(this.apiURL+"common/countries").pipe(Object(h.a)(3e4))}genders(){return this.authHttp.get(this.apiURL+"common/genders").pipe(Object(h.a)(3e4))}regions(){return this.authHttp.get(this.apiURL+"common/regions").pipe(Object(h.a)(3e4))}getRegionsByCountry(e){return this.authHttp.get(this.apiURL+"common/regions/"+e).pipe(Object(h.a)(3e4))}getCountiesByRegion(e){return this.authHttp.get(this.apiURL+"common/counties/"+e).pipe(Object(h.a)(3e4))}cities(e){return this.authHttp.get(this.apiURL+"common/cities/country/"+e).pipe(Object(h.a)(3e4))}getCitiesByRegion(e){return this.authHttp.get(this.apiURL+"common/cities/region/"+e).pipe(Object(h.a)(3e4))}getCitiesByCounty(e){return this.authHttp.get(this.apiURL+"common/cities/county/"+e).pipe(Object(h.a)(3e4))}getCitiesByZipCode(e){return this.authHttp.get(this.apiURL+"common/cities/"+e).pipe(Object(h.a)(3e4))}getNationalitiesByCountry(e){return this.authHttp.get(this.apiURL+"common/nationalities/"+e).pipe(Object(h.a)(3e4))}getDistrictsByCity(e){return this.authHttp.get(this.apiURL+"common/city/districts/"+e).pipe(Object(h.a)(3e4))}onlineIds(){return this.authHttp.get(this.apiURL+"attendant/terminals/2").pipe(Object(h.a)(3e4))}generateString(e){return this.authHttp.get(this.apiURL+"common/generatestring/"+e).pipe(Object(h.a)(3e4))}generateStringV2(e,t,i){return this.authHttp.get(this.apiURL+"common/generatestring/"+e+"/"+t+"/"+i).pipe(Object(h.a)(3e4))}documentTypes(){return this.authHttp.get(this.apiURL+"common/typeoflicenses/").pipe(Object(h.a)(3e4))}userDetails(e){return this.authHttp.post(this.apiURL+"attendant/userdetails",{MembershipType:this.getCurrentMembershipType(),Username:e}).pipe(Object(h.a)(3e4))}attendantUserPassword(e,t){return this.authHttp.post(this.apiURL+"attendant/userpassword",{MembershipType:this.getCurrentMembershipType(),NewPassword:e,Username:t}).pipe(Object(h.a)(3e4))}attendantUserPasswordTz(e){return this.authHttp.post(this.apiURL+"tz/attendant/userpassword",e).pipe(Object(h.a)(3e4))}attendantUserPasswordGh(e){return this.authHttp.post(this.apiURL+"gh/attendant/userpassword",e).pipe(Object(h.a)(3e4))}changeActiveState(e,t){return this.authHttp.post(this.apiURL+"attendant/changeactivestate",{MembershipType:this.getCurrentMembershipType(),UserState:e,Username:t}).pipe(Object(h.a)(3e4))}attendantRecentactivities(e,t,i){return this.authHttp.post(this.apiURL+"attendant/recentactivities",{From:e,MembershipType:this.getCurrentMembershipType(),To:t,Username:i}).pipe(Object(h.a)(3e4))}attendantEditUser(e){return this.authHttp.post(this.apiURL+"attendant/edituser",e).pipe(Object(h.a)(3e4))}bonuses(){return this.authHttp.post(this.apiURL+"bonusoverview",{MembershipType:this.getCurrentMembershipType()}).pipe(Object(h.a)(3e4))}captchaMessages(){return this.authHttp.get(this.apiURL+"captcha/messages").pipe(Object(h.a)(3e4))}keepAlive(){return this.authHttp.post(this.apiURL+"keepalive",{}).pipe(Object(h.a)(1e4))}notificationRecivedCallback(e){this.messageReceived.emit(e)}getNotificationsGroups(){return this.authHttp.get(`${this.apiURL}notifications/groups`).pipe(Object(h.a)(3e4))}getGroupNotifications(e,t,i){return this.authHttp.get(`${this.apiURL}notifications/group/${e}?limit=${t}&offset=${i}`).pipe(Object(h.a)(3e4))}getNotifications(e,t){return this.authHttp.get(`${this.apiURL}notifications?limit=${e}&offset=${t}`).pipe(Object(h.a)(3e4))}getNotificationById(e){return this.authHttp.get(this.apiURL+"notifications/"+e).pipe(Object(h.a)(3e4))}getNotificationsCount(){return this.authHttp.get(this.apiURL+"notifications/count").pipe(Object(h.a)(3e4))}getPendingNotificationsCount(){return this.authHttp.get(this.apiURL+"notifications/count/pending").pipe(Object(h.a)(3e4))}setNotificationAsSeen(e){return this.authHttp.post(this.apiURL+"notifications/"+e+"/seen",{}).pipe(Object(h.a)(3e4))}logUserAction(e){return this.authHttp.post(this.apiURL+"actions",e).pipe(Object(h.a)(3e4))}refererCodeRedeem(e){return this.authHttp.get(this.apiURL+"campaigns/code/"+e).pipe(Object(h.a)(3e4))}getUserSelfSuspension(){return this.authHttp.get(this.apiURL+"selfsuspension").pipe(Object(h.a)(3e4))}getUserResponsibleGamingInformation(){return this.authHttp.get(this.apiURL+"restrictions/limits").pipe(Object(h.a)(3e4))}setUserSelfSuspension(e){return this.authHttp.post(this.apiURL+"selfsuspension?interval="+e,{}).pipe(Object(h.a)(3e4))}setUserSelfSuspensionAuth(e){return this.authHttp.post(this.apiURL+"v2/selfsuspension",e).pipe(Object(h.a)(3e4))}getUserSelfExclusion(){return this.authHttp.get(this.apiURL+"selfexclusion").pipe(Object(h.a)(3e4))}setUserSelfExclusion(e){return this.authHttp.post(this.apiURL+"selfexclusion?interval="+e,{}).pipe(Object(h.a)(3e4))}setUserSelfExclusionAuth(e){return this.authHttp.post(this.apiURL+"v2/selfexclusion",e).pipe(Object(h.a)(3e4))}cancelUserSelfExclusion(e){return this.authHttp.post(this.apiURL+"selfexclusion/cancel",e).pipe(Object(h.a)(3e4))}getSelfExclusionReasons(){return this.authHttp.get(this.apiURL+"restrictions/reasons").pipe(Object(h.a)(3e4))}getUserRestrictionsLimits(){return this.authHttp.get(this.apiURL+"restrictions/limits").pipe(Object(h.a)(3e4))}updateUserRestrictionsLimits(e){return this.authHttp.post(this.apiURL+"restrictions/update",e).pipe(Object(h.a)(3e4))}updateMultipleUserRestrictionsLimits(e){return this.authHttp.post(this.apiURL+"restrictions/limits",e).pipe(Object(h.a)(3e4))}updateMultipleUserRestrictionsLimitsAuth(e){return this.authHttp.post(this.apiURL+"restrictions/v2/limits",e).pipe(Object(h.a)(3e4))}getVerificationDocuments(){return this.authHttp.get(this.apiURL+"typeoflicenses").pipe(Object(h.a)(3e4))}getUserVerificationDocumentInfo(){return this.authHttp.post(this.apiURL+"v2/verificationdocumentinfo",{}).pipe(Object(h.a)(3e4))}uploadVerificationDocument(e){return this.authHttp.post(this.apiURL+"verificationdocument",e).pipe(Object(h.a)(3e4))}getUserAMLData(){return this.authHttp.get(this.apiURL+"amlmoneysource").pipe(Object(h.a)(3e4))}setUserAMLData(e){return this.authHttp.post(this.apiURL+"amlmoneysource",e).pipe(Object(h.a)(3e4))}getUserResidenceData(){return this.authHttp.get(this.apiURL+"residence").pipe(Object(h.a)(3e4))}setUserResidenceData(e){return this.authHttp.post(this.apiURL+"residence",e).pipe(Object(h.a)(3e4))}getUserBankInfo(){return this.authHttp.post(this.apiURL+"bankinfo",{}).pipe(Object(h.a)(3e4))}setUserBankInfo(e){return this.authHttp.post(this.apiURL+"bankdata",e).pipe(Object(h.a)(3e4))}getProviderBanks(e){return this.authHttp.get(this.apiURL+(e?`common/${e}/banks`:"common/banks")).pipe(Object(h.a)(3e4))}getProviderBranchesCode(e,t){return this.authHttp.get(this.apiURL+`common/${e}/banks/${t}/branches`).pipe(Object(h.a)(3e4))}getActiveTicketsPerGameType(e){return this.authHttp.get(this.apiNotificationsURL+"user/tickets/active/"+e).pipe(Object(h.a)(3e4))}getTerminalLocations(e){return this.authHttp.post(this.apiTerminalUrl+"configuration/terminals",e).pipe(Object(h.a)(3e4))}validateCaptcha(e){return this.authHttp.post(this.apiURL+"validatecaptcha",e).pipe(Object(h.a)(3e4))}getUserReferrerReport(){return this.authHttp.get(this.apiURL+"referrerperformance").pipe(Object(h.a)(3e4))}sendPhoneCode(e){return this.authHttp.post(this.apiURL+"phone/code",e).pipe(Object(h.a)(3e4))}verifyPhoneCode(e,t){return this.authHttp.post(this.apiURL+"phone/code/verify",{phoneNumber:e,code:t}).pipe(Object(h.a)(3e4))}savePersonalSettingsJSON(e){return this.authHttp.post(this.apiURL+"personalsettings",e).pipe(Object(h.a)(3e4))}getMoneySources(){return this.authHttp.get(this.apiURL+"moneysources").pipe(Object(h.a)(3e4))}deleteNotifications(e){return this.authHttp.post(this.apiURL+"notifications/delete",{notificationIds:e}).pipe(Object(h.a)(3e4))}deleteAllNotifications(){return this.authHttp.post(this.apiURL+"notifications/delete/all",{}).pipe(Object(h.a)(3e4))}deleteAllGroupNotifications(e){return this.authHttp.post(`${this.apiURL}notifications/delete/group/${e}`,{}).pipe(Object(h.a)(3e4))}readNotifications(e){return this.authHttp.post(this.apiURL+"notifications/seen",{notificationIds:e}).pipe(Object(h.a)(3e4))}readAllNotifications(){return this.authHttp.post(this.apiURL+"notifications/seen/all",{}).pipe(Object(h.a)(3e4))}readAllGroupNotifications(e){return this.authHttp.post(`${this.apiURL}notifications/seen/group/${e}`,{}).pipe(Object(h.a)(3e4))}getFavoriteTeams(){return this.authHttp.get(this.apiURL+"team").pipe(Object(h.a)(3e4))}addFavoriteTeam(e,t){return this.authHttp.post(this.apiURL+"team/addteam",{TeamId:e,TeamDescription:t}).pipe(Object(h.a)(3e4))}removeFavoriteTeam(e,t){return this.authHttp.post(this.apiURL+"team/removeteam",{TeamId:e,TeamDescription:t}).pipe(Object(h.a)(3e4))}getBankIdRedirectUrl(e){return this.authHttp.post(this.apiURL+"v2/getBankIdRedirectUrl",e).pipe(Object(h.a)(3e4))}czeBankIdVerification(e){return this.authHttp.post(this.apiURL+"czech/bankid",e).pipe(Object(h.a)(3e4))}linkRegistration(e){return this.authHttp.post(this.apiURL+"v2/cz/linkRegistration",e).pipe(Object(h.a)(3e4))}getMyLimits(){return this.authHttp.get(this.apiURL+"gamelimitation").pipe(Object(h.a)(3e4))}saveMyLimits(e){return this.authHttp.post(this.apiURL+"gamelimitation",e).pipe(Object(h.a)(3e4))}getMyLoginLimits(){return this.authHttp.get(this.apiURL+"login/limits").pipe(Object(h.a)(3e4))}saveMyLoginLimits(e){return this.authHttp.post(this.apiURL+"login/limits",e).pipe(Object(h.a)(3e4))}getSelfExcludeIntervals(){return this.authHttp.get(this.apiURL+"loginselfexclude").pipe(Object(h.a)(3e4))}setSelfExclude(e){return this.authHttp.post(this.apiURL+"v2/loginselfexclude",e).pipe(Object(h.a)(3e4))}getUserVerifications(){return this.authHttp.get(this.apiURL+"verifications").pipe(Object(h.a)(3e4))}getSmsVerificationCode(e){return this.authHttp.get(this.apiURL+"phone/v2/code"+(e?"?activationCodeType="+e:"")).pipe(Object(h.a)(3e4))}verifySmsCode(e){return this.authHttp.post(this.apiURL+"phone/v2/code/verify",e).pipe(Object(h.a)(3e4))}bankAccounts(e,t){let i=`bank/account${t?"/"+t:""}`;return e?this.authHttp.post(`${this.apiURL}${i}`,e).pipe(Object(h.a)(3e4)):this.authHttp.get(`${this.apiURL}${i}`,e).pipe(Object(h.a)(3e4))}deleteBankAccount(e){return this.authHttp.post(`${this.apiURL}bank/account/${e}`,{}).pipe(Object(h.a)(3e4))}bankIbanCheck(e){return this.authHttp.post(`${this.apiURL}bank/ibancheck`,e).pipe(Object(h.a)(3e4))}getCzeUserAMLData(){return this.authHttp.get(this.apiURL+"cz/amlmoneysource").pipe(Object(h.a)(3e4))}setCzeUserAMLData(e){return this.authHttp.post(this.apiURL+"cz/amlmoneysource",e).pipe(Object(h.a)(3e4))}getEmploymentTypes(){return this.authHttp.get(this.apiURL+"aml/employmentTypes").pipe(Object(h.a)(3e4))}getUserBonuses(){return this.authHttp.get(this.apiURL+"bonuses").pipe(Object(h.a)(3e4))}cancelUserBonus(e){return this.authHttp.post(this.apiURL+`bonuses/expire/${e}`,{}).pipe(Object(h.a)(3e4))}czeExcludeUser(e){return this.authHttp.post(`${this.apiURL}czech/exclude/${e?"permanent":"48hours"}`,{}).pipe(Object(h.a)(3e4))}attendantRfidAssign(e){return this.authHttp.post(`${this.apiURL}attendant/rfidassign`,e).pipe(Object(h.a)(3e4))}attendantRfidDeactivate(e){return this.authHttp.post(`${this.apiURL}attendant/rfiddeactivate`,e).pipe(Object(h.a)(3e4))}uploadImageForUnlockTerminalOrAgeRecognition(e){return this.authHttp.post(`${this.apiTerminalUrl}uploadpicture`,e).pipe(Object(h.a)(2e4))}userRecognitionEndUserSession(){return this.authHttp.get(`${this.apiTerminalUrl}uploadpicture/endsessions`).pipe(Object(h.a)(3e4))}getUserQuestionareQuestions(){return this.authHttp.get(this.apiURL+"questionnaire/questions").pipe(Object(h.a)(3e4))}saveUserQuestionare(e){return this.authHttp.post(this.apiURL+"questionnaire",e).pipe(Object(h.a)(3e4))}blockRomUser(){return this.authHttp.get(this.apiURL+"romplayerdata/blockuser").pipe(Object(h.a)(3e4))}getTotalFinancialBalance(e,t){return this.authHttp.get(this.apiURL+"financialbalance?gameCategory="+e+"&timespan="+t).pipe(Object(h.a)(3e4))}getRegistrationRequiredFields(){return this.authHttp.get(this.apiURL+"v2/register/requiredfields").pipe(Object(h.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(L),n.fc(M),n.fc(F),n.fc(O))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(L),Object(n.fc)(M),Object(n.fc)(F),Object(n.fc)(O))},token:e,providedIn:"root"}),e})();const fe=function(){var e={Bingo:5,Sport:1,VirtualGames:8,Keno:16};return e[e.Bingo]="Bingo",e[e.Sport]="Sport",e[e.VirtualGames]="VirtualGames",e[e.Keno]="Keno",e}();let pe=(()=>{class e{constructor(e,t,i,n,s,r,o,a,l){this.http=e,this.userService=t,this.bingoTicketService=i,this.sportBettingTicketService=n,this.virtualGamesTicketService=s,this.authService=r,this.camelCaseObjectService=o,this.kenoTicketService=a,this.printProvider=l,this.ticketCanceledSubject=new c.a,this.ticketCanceled$=this.ticketCanceledSubject.asObservable()}ngOnDestroy(){this.clearJokerBetslipSubscription()}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),this.authService.loggedIn$.subscribe(e=>{e&&(this.clearJokerBetslipSubscription(),this.jokerBetslipUdatedSubscription=this.userService._jokerBetslipUpdated$.subscribe(e=>{let t=this.camelCaseObjectService.camelCaseObject(e);switch(e.GameType){case fe.Bingo:{const i=this.bingoTicketService.ticket.jokerBetSlipItems.findIndex(t=>t.id==e.Id);-1!=i?this.bingoTicketService.removeBonus(i):this.bingoTicketService.addBonus(t);break}case fe.Sport:{const i=this.sportBettingTicketService.ticket.jokerBetSlipItems.findIndex(t=>t.id==e.Id);-1!=i?this.sportBettingTicketService.removeBonus(i):this.sportBettingTicketService.addBonus(t);break}case fe.VirtualGames:{const i=this.virtualGamesTicketService.ticket.jokerBetSlipItems.findIndex(t=>t.id==e.Id);-1!=i?this.virtualGamesTicketService.removeBonus(i):this.virtualGamesTicketService.addBonus(t);break}case fe.Keno:{const i=this.kenoTicketService.ticket.jokerBetSlipItems.findIndex(t=>t.id==e.Id);-1!=i?this.kenoTicketService.removeBonus(i):this.kenoTicketService.addBonus(t);break}}}))}),t.asObservable()}get ticketURL(){return this.config.api.url}clearJokerBetslipSubscription(){this.jokerBetslipUdatedSubscription&&(this.jokerBetslipUdatedSubscription.unsubscribe(),this.jokerBetslipUdatedSubscription=null)}searchTicket(e,t){return this.http.post(`${this.ticketURL}v2/search`,{Pin:e,ControlSign:t}).pipe(Object(h.a)(3e4))}searchTicketV2(e){return this.http.post(`${this.ticketURL}v2/ticketbypin`,{Pin:e}).pipe(Object(h.a)(3e4))}searchTicketByEncryptedPin(e){return this.http.post(`${this.ticketURL}v2/ticket`,{EncryptedPin:e}).pipe(Object(h.a)(3e4))}searchTicketByEncryptedPinV2(e){return this.http.post(`${this.ticketURL}v2/ticket/details`,{EncryptedPin:e}).pipe(Object(h.a)(3e4))}getTicketFilters(){return this.http.get(`${this.ticketURL}v2/filters`).pipe(Object(h.a)(3e4))}getPreparedTicketsFilters(){return this.http.get(`${this.ticketURL}preparedbetslip/filters`).pipe(Object(h.a)(3e4))}getPreparedBetslipDetails(e){return this.http.post(`${this.ticketURL}preparedbetslip`,e).pipe(Object(h.a)(3e4))}prepareTicketOverview(e,t){return this.http.get(`${this.ticketURL}v2/prepareTicketOverview?TimeFrom=${e}&TimeTo=${t}`).pipe(Object(h.a)(3e4))}getTickets(e,t,i,n,s,r,o){return this.http.post(`${this.ticketURL}v2/tickets`,{GameId:e,Limit:t,Offset:i,StatusId:n,TimeFilterId:s,Year:r,Username:o}).pipe(Object(h.a)(3e4))}getTicketsV2(e,t,i,n,s,r){return this.http.post(`${this.ticketURL}v2/tickets/search/v2`,{GameId:e,Limit:t,Offset:i,StatusIds:n,DateFrom:s,DateTo:r}).pipe(Object(h.a)(3e4))}getTicketsByInterval(e,t,i,n,s,r,o){return this.http.post(`${this.ticketURL}v2/tickets/search`,{GameId:e,Limit:t,Offset:i,StatusId:n,DateFrom:s,DateTo:r,Username:o}).pipe(Object(h.a)(3e4))}getTicketTransactions(e,t,i,n,s,r,o){return this.http.post(`${this.ticketURL}v2/tickettransactions`,{GameId:e,Limit:t,Offset:i,StatusId:n,TimeFilterId:s,Year:r,Username:o}).pipe(Object(h.a)(3e4))}getEndorphinaTicketFilters(){return this.http.get(`${this.ticketURL}endorphinaticket/filters`).pipe(Object(h.a)(3e4))}getEndorphinaTickets(e,t,i,n,s,r,o){return this.http.post(`${this.ticketURL}endorphinaticket/tickets`,{GameId:e,Limit:t,Offset:i,StatusId:n,TimeFilterId:s,Year:r,Username:o}).pipe(Object(h.a)(3e4))}getCasinoTicketFilters(){let e=`${this.ticketURL.split("ticket")[0]}integration/transactions/filters`;return this.http.get(e).pipe(Object(h.a)(3e4))}getCasinoTickets(e,t,i,n,s,r,o){return this.http.post(`${this.ticketURL}oryx/tickets`,{GameType:r,Limit:e,Offset:t,Status:i,TimeFilterId:n,Year:s,Username:o}).pipe(Object(h.a)(3e4))}getCasinoTicketsByInterval(e,t,i,n,s,r,o,a){let c=`${this.ticketURL.split("ticket")[0]}integration/transactions/search`;return this.http.post(c,{UserId:e,ProviderId:s,Limit:t,Offset:i,Status:n,FromTime:r,ToTime:o,Username:a}).pipe(Object(h.a)(3e4))}getCasinoTicketDetails(e){let t=`${this.ticketURL.split("ticket")[0]}integration/transactions/${e}/details`;return this.http.get(t).pipe(Object(h.a)(3e4))}getPreparedTickets(e){return this.http.post(`${this.ticketURL}preparedbetslip/search`,e).pipe(Object(h.a)(3e4))}getPreparedTicket(e){return this.http.post(`${this.ticketURL}preparedbetslip`,e).pipe(Object(h.a)(3e4))}completePreparedTicket(e){return this.http.post(`${this.ticketURL}preparedbetslip/complete`,e).pipe(Object(h.a)(3e4))}cancelTicket(e){return this.http.post(`${this.ticketURL}v2/cancel`,{EncryptedPin:e}).pipe(Object(h.a)(3e4)).pipe(Object(f.a)(e=>(e.Processed&&this.ticketCanceledSubject.next(),e)))}cancelTicketV2(e){return this.http.post(`${this.ticketURL}v2/cancel`,e).pipe(Object(h.a)(3e4))}repeat(){return this.http.get(`${this.ticketURL}v2/repeat`).pipe(Object(h.a)(3e4))}getTicketForPrint(e){return this.http.post(`${this.ticketURL}v2/ticket/print`,e,null,!0).pipe(Object(h.a)(3e4))}getAttendantTicket(e){return this.http.post(`${this.ticketURL}v2/attendantticket`,{Pin:e}).pipe(Object(h.a)(3e4))}ticketForPayout(e){return this.http.post(`${this.ticketURL}v2/payout`,e).pipe(Object(h.a)(3e4))}payoutConfirm(e){return this.http.post(`${this.ticketURL}v2/payout/confirm`,{EncryptedPin:e}).pipe(Object(h.a)(3e4))}payoutPartial(e){return this.http.post(`${this.ticketURL}v2/payout/partial`,e).pipe(Object(h.a)(3e4))}getTicketPayoutsHistory(e){return this.http.get(`${this.ticketURL}v2/`+e+"/partialpayout/overview").pipe(Object(h.a)(3e4))}getTopTickets(e){return this.http.get(`${this.ticketURL}v2/toptickets?GameType=${e.GameType}&Interval=${e.Interval}`).pipe(Object(h.a)(3e4))}getPublicTicket(e){return this.http.post(`${this.ticketURL}v2/publicticket`,e).pipe(Object(h.a)(3e4))}getLastTicketsPerGame(e,t){return this.http.get(`${this.ticketURL}v2/last/${e}?game=${t}`).pipe(Object(h.a)(3e4))}getTicketById(e,t){return this.http.post(`${this.ticketURL}v2/find`,t?{TicketPin:e.toString()}:{TicketId:e}).pipe(Object(h.a)(3e4))}anonymousTicketPayout(e){return this.http.post(`${this.ticketURL}v2/payout/anonymous`,e).pipe(Object(h.a)(3e4))}repeatLastTicket(){return this.http.get(`${this.ticketURL}v2/repeat`).pipe(Object(h.a)(3e4))}confirmTicketV2(e){return this.http.post(`${this.config.api.urlBettingAPI}confirmV2`,{EncryptedTicketPin:e.encryptedPin}).pipe(Object(h.a)(3e4))}getCasinoTicketsByIntervalV2(e,t,i,n,s,r){let o=`${this.ticketURL.split("ticket")[0]}integration/transactions/sum/search`;return this.http.post(o,{ProviderId:n,Limit:t,Offset:i,FromTime:s,ToTime:r,EvonaUserId:e}).pipe(Object(h.a)(3e4))}getCasinoTicketDetailsV2(e,t,i){let n="";t&&i&&(n=`?limit=${t}&offset=${i}`);let s=`${this.ticketURL.split("ticket")[0]}integration/transactions/sum/${e}/details`+n;return this.http.get(s).pipe(Object(h.a)(3e4))}getPartialPayoutData(e){return this.http.get(`${this.ticketURL}v2/partialpayoutdata/${e}`).pipe(Object(h.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(de),n.fc(X),n.fc(ae),n.fc(ne),n.fc(L),n.fc(M),n.fc(he),n.fc(Z))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(de),Object(n.fc)(X),Object(n.fc)(ae),Object(n.fc)(ne),Object(n.fc)(L),Object(n.fc)(M),Object(n.fc)(he),Object(n.fc)(Z))},token:e,providedIn:"root"}),e})(),me=(()=>{class e{constructor(e){this.http=e}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}get walletURL(){return this.config.api.url}getTransactionFilters(){return this.http.get(`${this.walletURL}filters`).pipe(Object(b.timeout)(3e4))}getTransactions(e,t,i,n,s,r,o,a){return this.http.post(`${this.walletURL}report/moneytransactions`,{Limit:t,Offset:i,TransactionType:e,TimeFilter:n,YearFilter:s,WebUsername:r,DateFrom:o,DateTo:a}).pipe(Object(b.timeout)(3e4))}getBetSlipBonusTypes(){return this.http.get(`${this.walletURL}bonus/betslip`)}getDepositProviders(){return this.http.post(`${this.walletURL}deposit/providers`,{}).pipe(Object(b.timeout)(3e4))}getWithdrawProviders(){return this.http.get(`${this.walletURL}withdraw/providers`).pipe(Object(b.timeout)(3e4))}providerDeposit(e){return this.http.post(`${this.walletURL}deposit`,e).pipe(Object(b.timeout)(12e4))}confirmProviderTransaction(e,t){return this.http.post(`${this.walletURL}confirmation/${t}`,e).pipe(Object(b.timeout)(3e4))}creditDeposit(e){return this.http.post(`${this.walletURL}confirmation/creditticket`,{Vs:e}).pipe(Object(b.timeout)(3e4))}creditWithdraw(e,t,i){let n={Amount:e};return t?n.Password=t:n.SourceType=1,i&&(n.SmsCode=i),this.http.post(`${this.walletURL}withdraw/creditticket`,n).pipe(Object(b.timeout)(3e4))}payoutRequest(e,t){return this.http.post(`${this.walletURL}withdraw/request`,{Amount:e,Password:t}).pipe(Object(b.timeout)(3e4))}payoutRequestV2(e){return this.http.post(`${this.walletURL}withdraw/request/V2`,e).pipe(Object(b.timeout)(3e4))}balance(e){return this.http.post(`${this.walletURL}attendant/balance`,{Username:e}).pipe(Object(b.timeout)(3e4))}getBalance(){return this.http.get(`${this.walletURL}balance`).pipe(Object(b.timeout)(3e4))}bonusOverview(e){return this.http.get(`${this.walletURL}bonus/v2/${e||""}`).pipe(Object(b.timeout)(3e4))}cancelBonus(e){return this.http.post(`${this.walletURL}bonus/V2/cancel`,{SelectedBonusId:e}).pipe(Object(b.timeout)(3e4))}cancelWithdrawTransaction(e){return this.http.post(`${this.walletURL}withdraw/cancel`,e).pipe(Object(b.timeout)(3e4))}updateMonriTransaction(e){return this.http.post(`${this.walletURL}confirmation/webpay/update`,e).pipe(Object(b.timeout)(3e4))}getPossibleDepositBonus(){return this.http.get(`${this.walletURL}bonus/possible/deposit/bonus`).pipe(Object(b.timeout)(3e4))}getTerminalSlaves(){return this.http.get(`${this.walletURL}terminal/slaves`).pipe(Object(b.timeout)(3e4))}depositTransactionToSlaveTerminal(e){return this.http.post(`${this.walletURL}terminal/deposit`,e).pipe(Object(b.timeout)(3e4))}withdrawTransactionFromSlaveTerminal(e){return this.http.post(`${this.walletURL}terminal/withdraw`,e).pipe(Object(b.timeout)(3e4))}withdrawHandpay(e){return this.http.post(`${this.walletURL}withdraw/handpay`,e).pipe(Object(b.timeout)(3e4))}confirmWithdrawHandpay(e){return this.http.post(`${this.walletURL}confirmation/handpay`,e).pipe(Object(b.timeout)(3e4))}confirmTransaction(e){return this.http.post(`${this.walletURL}confirmation/fundsTransfer`,e).pipe(Object(b.timeout)(3e4))}getLinkedBalance(){return this.http.get(`${this.walletURL}linkeduserbalance`).pipe(Object(b.timeout)(3e4))}repeatLastCreditTicket(){return this.http.get(`${this.walletURL}terminal/creditticket/repeat`).pipe(Object(b.timeout)(3e4))}sendPayUData(e){return this.http.post(`${this.walletURL}payu/token`,e).pipe(Object(b.timeout)(3e4))}getPayUCards(){return this.http.get(`${this.walletURL}payu/cards`).pipe(Object(b.timeout)(3e4))}removeSavedPayUCard(e){return this.http.post(`${this.walletURL}payu/card?cardToken=${e}`,null).pipe(Object(b.timeout)(3e4))}getTcashRedirect(e){return this.http.get(`${this.walletURL}tcash/redirect/?code=${e}`,null).pipe(Object(b.timeout)(3e4))}getNeteraWalletCode(){return this.http.get(`${this.walletURL}Neterapay/walletCode`).pipe(Object(b.timeout)(3e4))}getSantimePayPartners(){return this.http.get(`${this.walletURL}withdraw/santimPay/partners`).pipe(Object(b.timeout)(3e4))}getCrypoCurrencies(e=!0){return this.http.get(`${this.walletURL}cryptocurrency/${e?"deposit":"withdraw"}`).pipe(Object(b.timeout)(3e4))}getZimSwitchToken(e){return this.http.post(`${this.walletURL}zimswitch/create/checkout`,e).pipe(Object(b.timeout)(3e4))}getZimSwitchStatus(e){return this.http.get(`${this.walletURL}zimswitch/registration/token/${e}`).pipe(Object(b.timeout)(3e4))}getDepozitronLocations(e){return this.http.get(`${this.walletURL}depozitron/locations?balance=${e}`).pipe(Object(b.timeout)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),ge=(()=>{class e{constructor(e){this.http=e}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}get walletURL(){return`${this.config.api.url}attendant/`}attendantDeposit(e){return this.http.post(`${this.walletURL}deposit`,{Amount:e.Amount,Username:e.Username,Guid:e.Guid}).pipe(Object(b.timeout)(3e4))}attendantWithdraw(e){let t="withdraw";return e.WebPayoutRequest&&(t="withdraw/confirmation"),this.http.post(`${this.walletURL}${t}`,{Amount:e.Amount,Code:e.Code,Username:e.Username,Guid:e.Guid}).pipe(Object(b.timeout)(3e4))}attendantCreditTicketTransaction(e){return this.http.post(`${this.walletURL}creditticket/withdraw`,e).pipe(Object(b.timeout)(3e4))}attendantRedeemTicketTransaction(e){return this.http.post(`${this.walletURL}creditticket/deposit`,e).pipe(Object(b.timeout)(3e4))}attendantConfirmTransaction(e){return this.http.post(`${this.walletURL}withdraw/confirmation`,e).pipe(Object(b.timeout)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),_e=(()=>{class e{constructor(e){this.authHttp=e}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}get apiURL(){return this.config.api.url}getAccountingReportPermissions(){return this.authHttp.get(this.apiURL+"reporting/reporttypes").pipe(Object(h.a)(3e4))}getIntervalTypes(){return this.authHttp.get(this.apiURL+"reporting/intervaltypes").pipe(Object(h.a)(3e4))}getPreviousInterval(e){return this.authHttp.post(this.apiURL+"reporting/previousinterval",e).pipe(Object(h.a)(3e4))}getCurrentInterval(e){return this.authHttp.post(this.apiURL+"reporting/currentinterval",{ReportIntervalType:e,ReportInterval:{FromTime:(new Date).toISOString()}}).pipe(Object(h.a)(3e4))}getNextInterval(e){return this.authHttp.post(this.apiURL+"reporting/nextinterval",e).pipe(Object(h.a)(3e4))}getPartnerAccountingReport(e){return this.authHttp.post(this.apiURL+"reporting/report/v2",e).pipe(Object(h.a)(3e4))}getTerminalUserCashLog(e){return this.authHttp.post(this.apiURL+"reporting/user/cash/log",e).pipe(Object(h.a)(3e4))}getTerminalUserCurrentCash(){return this.authHttp.get(this.apiURL+"reporting/current/cash").pipe(Object(h.a)(3e4))}setShiftCash(e){return this.authHttp.post(this.apiURL+"accounting/setshiftcash",e).pipe(Object(h.a)(3e4))}getCreditLimitOverview(e){return this.authHttp.post(this.apiURL+"reporting/creditlimitsoverview",e).pipe(Object(h.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R))},token:e,providedIn:"root"}),e})(),be=(()=>{class e{constructor(e,t){this.http=e,this.storage=t,this._cartUpdatedSubject=new c.a,this.cartUpdated$=this._cartUpdatedSubject.asObservable()}initialize(e){const t=new o.a(1);return this.config=e,this._cart={items:[],total:0,locationPickup:!0},Object(a.a)(this.storage.get("app:shopCart")).subscribe(e=>{e&&null!==e&&Object.assign(this._cart,e),t.next(),t.complete()},e=>{t.error(e),t.complete()}),t.asObservable()}get clubURL(){return this.config.api.url}get cart(){return this._cart}setCartPickup(e){this._cart.locationPickup=e,this.storage.set("app:shopCart",this._cart)}updateCart(){this.storage.set("app:shopCart",this._cart),this._cartUpdatedSubject.next(!0)}addToCart(e){const t=this._cart.items.findIndex(t=>t.id===e.id);if(-1!==t)this._cart.items[t].quantity+=1;else{const t=Object.assign({},e,{quantity:1});this._cart.items.push(t)}this._cart.total=this.calculateCartTotal(),this.updateCart()}removeFromCart(e,t){const i=this._cart.items.findIndex(t=>t.id===e.id);-1!==i&&(this._cart.items[i].quantity>1&&!t?this._cart.items[i].quantity-=1:this._cart.items.splice(i,1)),this._cart.total=this.calculateCartTotal(),this.updateCart()}clearCart(){this._cart={items:[],total:0,locationPickup:!0},this.storage.set("app:shopCart",this._cart),this.updateCart()}calculateCartTotal(){return this._cart.items.reduce((e,t)=>e+t.price*t.quantity,0)}preparePurchaseItems(e){const t=[];return this._cart.items.forEach(i=>{t.push({ShopItemId:i.id,Quantity:i.quantity,Price:i.price,Type:e,CustomProperties:[]})}),t}getClubTransactionFilters(){return this.http.get(`${this.clubURL}points/filters`).pipe(Object(b.timeout)(3e4))}getClubTransactions(e){return this.http.post(`${this.clubURL}points/log/`,e).pipe(Object(b.timeout)(3e4))}getClubPoints(){return this.http.get(`${this.clubURL}points`).pipe(Object(b.timeout)(3e4))}getShopCategories(){return this.http.get(`${this.clubURL}shop/categories`).pipe(Object(b.timeout)(3e4))}purchaseShopItems(e){return e.Items=Object.assign([],this.preparePurchaseItems(e.type)),this.http.post(`${this.clubURL}shop/purchase`,e).pipe(Object(b.timeout)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(O))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),ye=(()=>{class e{constructor(e,t,i){this.http=e,this.authService=t,this.camelcaseObjectService=i,this.couponNotificationSubject=new c.a,this.couponNotification$=this.couponNotificationSubject.asObservable()}initialize(e){const t=new o.a(1);return this.config=e,t.next(!0),t.complete(),t.asObservable()}getEvents(){return this.http.get(`${this.config.api.url}${this.config.clientId}/events`).pipe(Object(h.a)(3e4))}getEventsResults(){return this.http.get(`${this.config.api.url}${this.config.clientId}/events/results`).pipe(Object(h.a)(3e4))}sendTicket(e,t){this.http.post(`${this.config.api.bettingUrl}submit`,this.prepareTicketForSending(t,e)).subscribe(e=>{e.encryptedTicketPin?this.http.post(`${this.config.api.bettingUrl}confirm`,{EncryptedTicketPin:e.encryptedTicketPin}).subscribe(e=>{this.couponNotificationSubject.next(e?"COUPON_SUCCESSFULLY_SENT":"COUPON_NOT_SENT")},e=>{this.couponNotificationSubject.next(e)}):this.couponNotificationSubject.next(e)},e=>{this.couponNotificationSubject.next(e)})}prepareTicketForSending(e,t){const i={Bets:[],Systems:[],Settings:{},GameType:27};for(const n of e)i.Bets.push({BetData:n.offerId,Game:27,Pick:n.name});return i.Systems.push({TypeFrom:i.Bets.length,TypeTo:i.Bets.length,PayIn:t}),i}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(L),n.fc(M))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(L),Object(n.fc)(M))},token:e,providedIn:"root"}),e})(),ve=(()=>{class e{constructor(e,t,i,n){this.localizationService=e,this.authService=t,this.camelcaseObjectService=i,this.http=n,this._messageUpdateSubject=new c.a,this.messageUpdate$=this._messageUpdateSubject.asObservable(),this._connectedSubject=new c.a,this.connected$=this._connectedSubject.asObservable()}initialize(e){const t=new o.a;return this.config=e,t.next(),t.complete(),t.asObservable()}start(){const e=new c.a;if(this.running=!0,this._chatHub&&this.disconnect(),this._chatHub||(this._chatHub=new C("messages",{rootPath:`${this.config.api.notificationUrl}signalr`,autoConnect:!1,listeners:{newMessage:this.callbackMessageUpdated.bind(this),newBanner:this.callbackMessageUpdated.bind(this),newTicket:this.callbackMessageUpdated.bind(this),deleteMessage:this.callbackMessageUpdated.bind(this)},methods:["NewMessage","Join"],stateChanged:this.stateChanged.bind(this)})),this.connected)e.next(),e.complete();else{this.connect();const t=this.connected$.pipe(Object(d.a)(1)).subscribe(i=>{i?(e.next(),e.complete(),t.unsubscribe()):(e.error({description:"Chat Disconnected"}),e.complete(),t.unsubscribe())})}return e.asObservable()}stop(){this.running=!1,this.disconnect()}deinitialize(){this._chatHub&&this.disconnect()}stateChanged(e){switch(e.newState){case $.signalR.connectionState.connecting:break;case $.signalR.connectionState.connected:this.connected=!0,this._connectedSubject.next(this.connected),this._registeredForChannelMessages&&this.joinChat(this._registeredForChannelMessages),this.registerForMessages();break;case $.signalR.connectionState.reconnecting:break;case $.signalR.connectionState.disconnected:this.connected=!1,this._connectedSubject.next(this.connected),setTimeout(()=>{$.signalR.ajaxDefaults.headers=this.authService.auth?{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken}:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language},this.running&&this._reconnect&&this._chatHub.connect()},1e3)}}disconnect(){this._reconnect=!1,this._chatHub&&(this._chatHub.disconnect(),this._chatHub=void 0)}connect(){this._reconnect=!0,this._chatHub&&($.signalR.ajaxDefaults.headers=this.authService.auth?{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language,Authorization:this.authService.authToken}:{"Accept-Language":this.localizationService.language,LanguageId:this.localizationService.language},this._chatHub.connection.baseUrl=this.config.api.notificationUrl,this._chatHub.connect())}registerForMessages(){const e=new o.a(1);return this._chatHub&&this._chatHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._chatHub.NewMessage()).subscribe(()=>{e.next(!0),e.complete()},()=>{e.next(!1),e.complete()}):(e.next(!1),e.complete()),e.asObservable()}joinChat(e){const t=new o.a(1);return this._registeredForChannelMessages=e,this._chatHub&&this._chatHub.connection.state===$.signalR.connectionState.connected?Object(a.a)(this._chatHub.Join(e)).subscribe(()=>{t.next(!0),t.complete()},()=>{t.next(!1),t.complete()}):(t.next(!1),t.complete()),t.asObservable()}callbackMessageUpdated(e){this._messageUpdateSubject.next(this.camelcaseObjectService.camelCaseObject(e))}getMessages(e,t){return this.http.get(`${this.config.api.url}messages/${e}?limit=${t}`).pipe(Object(h.a)(3e4))}sendMessage(e,t,i){let n=`${this.config.api.url}messages/${t}`;return i&&(n+=`?reply=${i}`),this.http.post(n,e).pipe(Object(h.a)(3e4))}sendTicketsMessage(e,t,i){let n=`${this.config.api.url}messages/${e}/tickets`;return i&&(n+=`?reply=${i}`),this.http.post(n,t).pipe(Object(h.a)(3e4))}getChannels(){return this.http.get(`${this.config.api.url}channels/${this.config.clientId}`).pipe(Object(h.a)(3e4))}getBans(){return this.http.get(`${this.config.api.url}bans/${this.config.clientId}`).pipe(Object(h.a)(3e4))}flagMessage(e){return this.http.post(`${this.config.api.url}messages/flag?message=`+e,{}).pipe(Object(h.a)(3e4))}shadowFlagMessage(e){return this.http.post(`${this.config.api.url}messages/flag/shadow?message=${e}`,{}).pipe(Object(h.a)(3e4))}pinMessage(e){return this.http.post(`${this.config.api.url}messages/pin?message=`+e,{}).pipe(Object(h.a)(3e4))}editMessage(e,t){return this.http.post(`${this.config.api.url}messages/edit/${e}`,t).pipe(Object(h.a)(3e4))}deleteMessage(e){return this.http.delete(`${this.config.api.url}messages/${e}`).pipe(Object(h.a)(3e4))}banUser(e,t){return this.http.post(`${this.config.api.url}bans/`,{userId:e,banUntil:t}).pipe(Object(h.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(F),n.fc(L),n.fc(M),n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(M),Object(n.fc)(R))},token:e,providedIn:"root"}),e})(),Fe=(()=>{class e{constructor(e){this.http=e}initialize(e){const t=new o.a(1);return this.config=e,t.next(),t.complete(),t.asObservable()}get locationsURL(){return this.config.api.url}getCzeCitiesByName(e,t){let i=`${this.locationsURL}cities?cityName=${e}`;return t&&(i+=`&zipCode=${t}`),this.http.get(i).pipe(Object(b.timeout)(3e4))}getCzeStreets(e,t){let i=`${this.locationsURL}streets?streetName=${e}`;return t&&(i+=`&cityId=${t}`),this.http.get(i).pipe(Object(b.timeout)(3e4))}getCzeStreetNumbers(e){return this.http.get(`${this.locationsURL}street/numbers?streetId=${e}`).pipe(Object(b.timeout)(3e4))}getCzeZipCodes(e,t){let i=`${this.locationsURL}zipcodes?`;return e&&(i+=`zipcode=${e}`),t&&(i+=e?"&":""+`cityId=${t}`),this.http.get(i).pipe(Object(b.timeout)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),ke=(()=>{class e{constructor(e){this.http=e}initialize(e){const t=new o.a(1);return this.config=e,t.next(!0),t.complete(),t.asObservable()}getLottoOffers(e){return this.http.get(`${this.config.api.url}offer`).pipe(Object(h.a)(3e4))}getLottoEventOffers(e,t){let i=`offer/drawings?eventId=${e}`;return t&&(i=`${i}&hours=${t}`),this.http.get(`${this.config.api.url}${i}`).pipe(Object(h.a)(3e4))}getLottoResults(e){return this.http.get(`${this.config.api.url}results`).pipe(Object(h.a)(3e4))}getLottoEventResults(e,t,i=0){let n=`results/drawings?eventId=${e}&page=${i}`;return t&&(n=`${n}&hours=${t}`),this.http.get(`${this.config.api.url}${n}`).pipe(Object(h.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R))},token:e,providedIn:"root"}),e})();const we=function(){var e={info:0,warning:1,error:2};return e[e.info]="info",e[e.warning]="warning",e[e.error]="error",e}(),Se=function(){var e={normal:0};return e[e.normal]="normal",e}();let Te=(()=>{class e{constructor(e,t,i,n,s,r){this.http=e,this.storage=t,this.localizationService=i,this.authService=n,this.currencyPipe=s,this.printProvider=r,this.calculateInProgressSubject=new c.a,this.calculateInProgress$=this.calculateInProgressSubject.asObservable(),this.notificationSubject=new c.a,this.notificationSubject$=this.notificationSubject.asObservable(),this._calculateDebouncedUntil=new Date,this._bettingGameType=40,this._busy=!1,this._isTicketRepeatDialogVisible=!1,this._ticketBetsModifiedSubj=new c.a,this.ticketBetsModified$=this._ticketBetsModifiedSubj.asObservable(),this._ticketTypeSubject=new c.a,this.ticketType$=this._ticketTypeSubject.asObservable(),this._busySubject=new c.a,this.busy$=this._busySubject.asObservable(),this._isTicketRepeatDialogVisibleSubject=new c.a,this.isTicketRepeatDialogVisible$=this._isTicketRepeatDialogVisibleSubject.asObservable(),this._ticketCalculateSubject=new c.a,this.ticketCalculate$=this._ticketCalculateSubject.asObservable(),this._ticket={preparedTicketIdentifier:void 0,payIn:void 0,payInPerTicketLocked:!1,betsAnimationEnabled:!0,ticketType:Se.normal,gameType:this._bettingGameType,bets:[],errors:[],availableSystems:[],systemResults:[],oddBonusId:0,oddBonusMode:0,oddMultiplier:0,errorMaxBets:!1,hasTicketErrors:!1,hasBetErrors:!1,hasOddChanges:!1,settings:{acceptAllChanges:!1,acceptHigherOdds:!1,isQuickTicket:!1,oddsChangePercentAccepted:0,ignoreOddsChange:!1,reserveFunds:!0},encryptedTicketPin:void 0,encryptedTicketControlSign:void 0,predefinedPayins:[],betAmount:void 0,serviceChargeAmount:void 0,serviceChargePercent:void 0,minPayIn:void 0,maxPayIn:void 0,minOdds:void 0,maxOdds:void 0,averageOdds:void 0,totalOdds:void 0,minWin:void 0,maxWin:void 0,totalWin:void 0,winBonus:void 0,winBonusTax:void 0,winTax:void 0,winTaxPercent:void 0,combinationCount:void 0},this.ticket=this._ticket,this.repeatDialogYes=()=>{this.isTicketRepeatDialogVisible=!1},this.attachTicket=()=>{setTimeout(()=>{this.ticket=this._ticket}),this._ticket.betsAnimationEnabled=!0},this.ticketCalculateSubscripton=this.ticketCalculate$.subscribe(e=>{this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.timeoutHandle=setTimeout(()=>{this.calculateTicket()},200)})}get ticketConfiguration(){return this._ticketConfiguration}set isTicketRepeatDialogVisible(e){this._isTicketRepeatDialogVisible=e,this._isTicketRepeatDialogVisibleSubject.next(this._isTicketRepeatDialogVisible)}ngOnDestroy(){this.ticketCalculateSubscripton&&(this.ticketCalculateSubscripton.unsubscribe(),this.ticketCalculateSubscripton=void 0)}initialize(e){const t=new o.a;return this.config=e,this.ticketAuthTime=this.config.ticketAuthTime?+this.config.ticketAuthTime:90,this._ticketConfiguration=this.config.configuration,this.authService.loggedIn$.subscribe(e=>{this.config.printTicket=e&&-1!==["1","8","9"].indexOf(this.authService.auth.membershipType)||this.authService.isShop}),this.authService.logoutMembership$.subscribe(e=>{"terminal"==this.config.api.headers.deviceType&&e&&e.clearTicketSelection&&this.clear()}),Object(a.a)(this.storage.get("app:lottoTicket")).subscribe(e=>{e&&null!==e&&Object.assign(this._ticket,e),this._ticketConfiguration=this.config.configuration,this._ticket.minPayIn=this._ticketConfiguration.MinPayIn,this._ticket.predefinedPayins=this._ticketConfiguration.BetSlipPayInValues,this.validatePayIn(),t.next(),t.complete()},e=>{t.error(e),t.complete()}),t.asObservable()}get locked(){return this._busy||this._isTicketRepeatDialogVisible}set busy(e){this._busy=e,this._busySubject.next(this._busy)}get busy(){return this._busy}get repeatTicketDialogVisible(){return this._isTicketRepeatDialogVisible}toggleBet(e,t,i,n,s,r){const o=t.translatedDescription?t.translatedDescription:t.description;this.addBet({game:40,betData:`${t.id}_${t.betType.id}`,pick:i,odd:t.defaultOdds[i.length-1],selectedSystem:n?n.from:i.length,drawNumber:t.drawingId,drawTime:e.drawingTime,pickDescription:o,numberOfReplies:1,translatedPick:o,isValid:!0,hasErrors:!1},s)}placeBet(e,t,i){e.isValid=!0,e.hasErrors=!1,this.addBet(e,t)}hasBet(e){return-1!==this.indexOfBet(e)}removeBet(e,t){const i=this.indexOfBet(e);-1!==i&&this.deleteBet(i,t)}valid(){return!(this._ticket.hasTicketErrors||this._ticket.hasBetErrors)}submitEnabled(){return this.valid()&&!this._busy}submit(){if(this.locked)return void this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_LOCKED_MESSAGE",type:we.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe()):i()},1e3)};i();const n=this.authService.loggedIn&&2==this.authService.auth.membershipType,s=this.prepareTicketForSending();e=this.http.post(`${this.config.api.urlBettingAPI}submit`,s).subscribe(i=>{this.attachTicket(),this.handleBetSlipResponse(i),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:we.warning})):(this.detachTicket(),i.printResult?(i.printResult.ticket.isCopy=n,this.printProvider.printSportBettingTicket(this._ticket,i).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_SUCCESS_MESSAGE",type:we.info})},e=>{this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:we.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)})):s.Autoconfirm?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive&&(this.isTicketRepeatDialogVisible=!0)):e=this.http.post(`${this.config.api.urlBettingAPI}confirm`,{EncryptedTicketPin:this._ticket.encryptedTicketPin}).subscribe(e=>{!0!==e?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:we.error})):(this.config.printTicket||(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t)),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_SUCCESS_MESSAGE",type:we.info})},e=>{this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:we.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_SUCCESS_MESSAGE",type:we.info}))},e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.isTicketRepeatDialogVisible=!1,e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:we.error})}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:we.error}),this.attachTicket(),this.busy=!1,this._validationTime=void 0})}submitV2(){if(this.locked)return void this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_LOCKED_MESSAGE",type:we.warning});let e,t;this._validationTime=this.ticketAuthTime,this.busy=!0,this.detachTicket();const i=()=>{t=setTimeout(()=>{this._validationTime--,this._validationTime<=0?e&&(this.busy=!1,e.unsubscribe()):i()},1e3)};i(),e=this.http.post(`${this.config.api.urlBettingAPI}submit`,this.prepareTicketForSending(!0)).subscribe(e=>{this.attachTicket(),this.handleBetSlipResponse(e),this._calculateDebouncedUntil=new Date,this._calculateDebouncedUntil.setSeconds(this._calculateDebouncedUntil.getSeconds()+3e3),this._ticket.hasBetErrors||this._ticket.hasTicketErrors?(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this._ticket.hasTicketErrors&&this.showTicketErrorsToast(),this._ticket.hasBetErrors&&this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_BET_ERRORS_MESSAGE",type:we.warning})):(this.detachTicket(),this.config.printTicket||(this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t)),this.config.printTicket?this.printProvider.printSportBettingTicket(this._ticket,e).subscribe(e=>{this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_SUCCESS_MESSAGE",type:we.info})},e=>{this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:we.warning}),this.attachTicket(),this.busy=!1,this._validationTime=void 0,clearTimeout(t),console.error(e)}):this.ticketActive?this.isTicketRepeatDialogVisible=!0:this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_SUCCESS_MESSAGE",type:we.info}))},e=>{clearTimeout(t),e&&401!==e.status&&this.notificationSubject.next({message:"SERVICE_NOT_AVAILABLE",type:we.error}),this.attachTicket(),this.busy=!1,this._validationTime=void 0})}clear(){const e=Object.assign([],this._ticket.bets);this.resetTicket(),this.storage.set("app:lottoTicket",this._ticket);for(const t of e)this._ticketBetsModifiedSubj.next({operation:"removed",bet:t})}repeatDialogNo(){this.isTicketRepeatDialogVisible=!1,this.clear()}setPayin(e){let t=!0;return isNaN(e)&&(this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_INVALID_PAYIN_MESSAGE",type:we.warning}),e=this.getDefaultStake(),t=!1),this._ticket.payIn=e,this.validatePayIn(),this.calculateTicket(),t}getDefaultStake(){return this._ticketConfiguration.DefaultStake>=this._ticket.minPayIn&&(null==this._ticket.maxPayIn||this._ticketConfiguration.DefaultStake<=this._ticket.maxPayIn)?this._ticketConfiguration.DefaultStake:this._ticketConfiguration.MinPayIn}get validationTime(){return this._validationTime}validatePayIn(){Object(g.each)(this._ticket.availableSystems,e=>{e.payIn<e.minPayIn?e.payIn=e.minPayIn:e.payIn>e.maxPayIn&&(e.payIn=e.maxPayIn)}),this._setMinPayinPerCombination?(this.ticket.systemResults&&this.ticket.systemResults.length&&(this._ticket.payIn=this._ticket.systemResults[0].minPayIn/(this._ticket.bets.length+1)*this._ticket.bets.length),this._setMinPayinPerCombination=!1):(!this._ticket.payIn||this._ticket.payIn<this._ticket.minPayIn)&&(this._ticket.payIn=this.getDefaultStake())}currencyFormatter(e){this.currencyPipe.transform(e)}detachTicket(){this._ticket.betsAnimationEnabled=!1,setTimeout(()=>{this.ticket=Object.assign({},this._ticket)})}showTicketErrorsToast(){if(this._ticket.errors)for(const e of this._ticket.errors)this.notificationSubject.next({message:e,type:we.warning})}indexOfBet(e){for(let t=0;t<this._ticket.bets.length;t++){const i=this._ticket.bets[t];if(i.betData===e.betData&&i.pickDescription===e.pickDescription&&i.drawNumber===e.drawNumber&&i.pick===e.pick&&i.selectedSystem===e.selectedSystem)return t}return-1}deleteBet(e,t){if(this.ticket.hasOddChanges=!1,this.locked)return void this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_LOCKED_MESSAGE",type:we.warning});const i=this._ticket.bets.splice(e,1)[0];this._ticket.bets.length>0&&(this.setMinPayinPerCombination(),this._ticketCalculateSubject.next(!0)),0===this._ticket.bets.length&&this.resetTicket(),this.storage.set("app:lottoTicket",this._ticket),void 0!==t&&t(null,i),this._ticketBetsModifiedSubj.next({operation:"removed",bet:i}),this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_BET_REMOVED_MESSAGE",type:we.warning})}setMinPayinPerCombination(){this._setMinPayinPerCombination=!0}resetTicket(){this._ticket.preparedTicketIdentifier=void 0,this._ticket.payInPerTicketLocked=!1,this._ticket.payIn=this.getDefaultStake(),this._ticket.ticketType=Se.normal,this._ticket.gameType=this._bettingGameType,this._ticket.bets=[],this._ticket.errors=[],this._ticket.availableSystems=[],this._ticket.systemResults=[],this._ticket.errorMaxBets=!1,this._ticket.hasTicketErrors=!1,this._ticket.hasBetErrors=!1,this._ticket.encryptedTicketPin=void 0,this._ticket.encryptedTicketControlSign=void 0,this._ticket.betAmount=void 0,this._ticket.serviceChargeAmount=void 0,this._ticket.serviceChargePercent=void 0,this._ticket.minPayIn=void 0,this._ticket.minOdds=void 0,this._ticket.maxOdds=void 0,this._ticket.averageOdds=void 0,this._ticket.totalOdds=void 0,this._ticket.minWin=void 0,this._ticket.maxWin=void 0,this._ticket.totalWin=void 0,this._ticket.winBonus=void 0,this._ticket.winBonusTax=void 0,this._ticket.winTax=void 0,this._ticket.winTaxPercent=void 0,this._ticket.combinationCount=void 0,this._ticket.hasOddChanges=!1,this._ticket.settings.ignoreOddsChange=!1,this.storage.set("app:lottoTicket",this._ticket),this._ticketTypeSubject.next(this._ticket.ticketType)}pickCompare(e,t){if(Array.isArray(t)){let i=Object(g.cloneDeep)(t);return i=i.toString().replace(/\,/g,"-"),e.split("/")[0]==i}return e==t}handleTicketPayIn(e,t){return e.length>0&&Object(g.find)(e,e=>1===e.errorType&&1===e.messageType)?this._ticket.payIn:t>0?t:this._ticket.payIn}handleBetSlipResponse(e){if(e){this._ticket.encryptedTicketPin=e.encryptedTicketPin,this._ticket.encryptedTicketControlSign=e.encryptedTicketControlSign,this._ticket.betAmount=e.betAmount,this._ticket.serviceChargeAmount=e.serviceChargeAmount,this._ticket.serviceChargePercent=e.serviceChargePercent,this._ticket.minPayIn=e.minPayIn,this._ticket.maxPayIn=e.maxPayIn>0?e.maxPayIn:void 0,this._ticket.minOdds=e.minOdds,this._ticket.maxOdds=e.maxOdds,this._ticket.averageOdds=e.averageOdds,this._ticket.totalOdds=e.totalOdds,this._ticket.minWin=e.minWin,this._ticket.maxWin=e.maxWin,this._ticket.totalWin=e.totalWin,this._ticket.winBonus=e.winBonus,this._ticket.winBonusTax=e.winBonusTax,this._ticket.winTax=e.winTax,this._ticket.winTaxPercent=e.winTaxPercent,this._ticket.combinationCount=e.combinationCount,this._ticket.availableSystems=null!==e.availableSystems?e.availableSystems:[],this._ticket.systemResults=e.systemResults,this._ticket.payIn=this.handleTicketPayIn(e.errors,e.payIn),this._ticket.payInPerTicketLocked=e.payInPerTicketLocked,this._ticket.preparedTicketIdentifier=e.preparedTicketIdentifier;for(const e of this.ticket.availableSystems){e.id=e.typeFrom+"_"+e.typeTo;for(const t of this.ticket.systemResults)if(e.typeFrom===t.typeFrom&&e.typeTo===t.typeTo){e.payIn=t.payIn,e.payInPerCombination=t.payInPerCombination;break}}e.errors&&e.errors.forEach((t,i)=>{if(t.value&&t.valueType)switch(t.valueType){case"CURRENCY":t.message=t.message.replace("{0}",this.currencyFormatter(t.Value))}1==t.errorType&&12==t.messageType&&e.errors.splice(i,1)}),this._ticket.errors=e.errors,this._ticket.hasTicketErrors=this.ticketHasErrors(),this._ticket.hasBetErrors=!1,e.betResults&&e.betResults.forEach((e,t)=>{this._ticket.bets.forEach((i,n)=>{if(t==n&&e.bet.game===i.game&&e.bet.betData===i.betData&&this.pickCompare(e.bet.pick,i.pick))return i.errors=e.errors,i.odd=e.bet.odd,void(this._ticket.hasBetErrors=this._ticket.hasBetErrors||i.errors.length>0)})}),this.storage.set("app:lottoTicket",this._ticket)}}ticketHasErrors(){let e=0,t=0;return this._ticket.errors&&this._ticket.errors.length>0&&(t=this._ticket.errors.length,this._ticket.errors.forEach(t=>{2===t.errorType&&e++})),e<t}calculateTicket(){this.busy||(this.calculateInProgressSubject.next(!0),this.validatePayIn(),this._calculateSubscription&&(this._calculateSubscription.unsubscribe(),this._calculateSubscription=void 0),this._ticket.bets.length>0&&(this._calculateSubscription=this.http.post(`${this.config.api.urlBettingAPI}calculate`,this.prepareTicketForSending(),{headers:{LanguageId:this.localizationService.language,TerminalId:`${this.config.terminalId}`,"Device-Type":this.config.api.headers.deviceType}}).pipe(Object(h.a)(1e4)).subscribe(e=>{const t=this.ticket.hasBetErrors,i=this.ticket.hasTicketErrors;this.handleBetSlipResponse(e),this._calculateSubscription=void 0,this._ticket.hasTicketErrors&&!i&&this.showTicketErrorsToast(),this.ticketActive&&this._ticket.hasBetErrors&&!t&&this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_CALCULATE_BET_ERRORS_MESSAGE",type:we.warning}),this.calculateInProgressSubject.next(!1)},()=>{this.calculateInProgressSubject.next(!1)})))}prepareTicketForSending(e){const t={},i=-1!==["terminal","webcounter"].indexOf(this.config.api.headers.deviceType),n=this.authService.loggedIn&&-1!==[8,12,13,14].indexOf(+this.authService.auth.membershipType),s=i&&n||this.config.hardwarePrint,r=this.authService.loggedIn&&2==this.authService.auth.membershipType,o=r&&i,a=i&&r&&this.config.evonaUserPrint;t.Bets=[],t.JackpotBets=[],t.Systems=[],t.GameType=this._bettingGameType,t.BetSlipType=0,t.Autoconfirm=e||o,t.PrintTicket=s||a,t.Settings={ReserveFunds:this._ticket.settings.reserveFunds||s};for(const c of this._ticket.bets){let e={BetData:c.betData,Game:c.game,Odd:c.odd,Pick:`${c.pick.toString().replace(/\,/g,"-")}/${c.selectedSystem}`,DrawNumber:c.drawNumber,PickDescription:c.pickDescription,NumberOfReplies:c.numberOfReplies,TranslatedPick:c.translatedPick};if(c.numberOfReplies>1)for(let i=0;i<c.numberOfReplies;i++){let n=Object.assign({},e);if(i>0){const e=n.BetData.split("_");n.DrawNumber=n.DrawNumber+i,n.BetData=n.DrawNumber+"_"+e[1]}t.Bets.push(n)}else t.Bets.push(e)}return this._ticket.ticketType===Se.normal?t.Systems.push({TypeFrom:t.Bets.length,TypeTo:t.Bets.length,PayIn:this._ticket.payIn}):this._ticket.availableSystems&&(t.Systems=[],Object(g.each)(this._ticket.availableSystems,e=>{e.payIn>0&&t.Systems.push({PayIn:e.payIn,TypeFrom:e.typeFrom,TypeTo:e.typeTo})})),t}addBet(e,t){this.locked?this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_LOCKED_MESSAGE",type:we.warning}):this._ticket.bets.length>=this._ticketConfiguration.BetSlipMaxBets?this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_MAX_BETS_MESSAGE",type:we.warning}):(e.errors=[],this._ticket.bets.push(e),this._ticketCalculateSubject.next(!0),this.storage.set("app:lottoTicket",this._ticket),void 0!==t&&t(null,e),this._ticketBetsModifiedSubj.next({operation:"added",bet:e}),this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_BET_ADDED_MESSAGE",type:we.info}))}changeNumberOfReplies(e){const t=this.indexOfBet(e);-1!=t&&(this.ticket.bets[t].numberOfReplies=e.numberOfReplies,this._ticketCalculateSubject.next(!0),this.storage.set("app:lottoTicket",this._ticket))}reprintlottoTicket(e){let t;t=this.http.post(`${this.config.api.urlTicketAPI}v2/ticket/print`,{EncryptedPin:e}).subscribe(e=>{e.processed?(e.result.ticket.isCopy=!0,this.printProvider.printTicket(e.result).subscribe(e=>{this.busy=!1},e=>{this.notificationSubject.next({message:"LOTTO_TICKET_TOASTER_PRINT_ERROR_MESSAGE",type:we.warning}),this.busy=!1,console.error(e)})):this.busy=!1},e=>{this.busy=!1})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(R),n.fc(O),n.fc(F),n.fc(L),n.fc(w),n.fc(Z))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(R),Object(n.fc)(O),Object(n.fc)(F),Object(n.fc)(L),Object(n.fc)(w),Object(n.fc)(Z))},token:e,providedIn:"root"}),e})()},IjjT:function(e,t,i){"use strict";let n=(()=>{class e{constructor(t,i=e.now){this.SchedulerAction=t,this.now=i}schedule(e,t=0,i){return new this.SchedulerAction(this,e).schedule(i,t)}}return e.now=()=>Date.now(),e})();i.d(t,"a",(function(){return s}));class s extends n{constructor(e,t=n.now){super(e,()=>s.delegate&&s.delegate!==this?s.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return s.delegate&&s.delegate!==this?s.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}},Irel:function(e,t,i){"use strict";var n=i("/WK6"),s=i("foHw"),r=i("RGvf"),o=i("pYXR"),a=i("AZf1"),c=i("+2+e"),l=i("D2MY"),u=i("WU5C");t.subscribeToResult=function(e,t,i,h){var d=new l.InnerSubscriber(e,i,h);if(d.closed)return null;if(t instanceof a.Observable)return t._isScalar?(d.next(t.value),d.complete(),null):(d.syncErrorThrowable=!0,t.subscribe(d));if(s.isArrayLike(t)){for(var f=0,p=t.length;f<p&&!d.closed;f++)d.next(t[f]);d.closed||d.complete()}else{if(r.isPromise(t))return t.then((function(e){d.closed||(d.next(e),d.complete())}),(function(e){return d.error(e)})).then(null,(function(e){n.root.setTimeout((function(){throw e}))})),d;if(t&&"function"==typeof t[c.iterator])for(var m=t[c.iterator]();;){var g=m.next();if(g.done){d.complete();break}if(d.next(g.value),d.closed)break}else if(t&&"function"==typeof t[u.observable]){var _=t[u.observable]();if("function"==typeof _.subscribe)return _.subscribe(new l.InnerSubscriber(e,i,h));d.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var b=o.isObject(t)?"an invalid object":"'"+t+"'";d.error(new TypeError("You provided "+b+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}}return null}},"Ivi+":function(e,t,i){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,i){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i("wd/R"))},IzEk:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("7o/Q"),s=i("4I5i"),r=i("EY2u");function o(e){return t=>0===e?Object(r.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new s.a}call(e,t){return t.subscribe(new c(e,this.total))}}class c extends n.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}},"JCF/":function(e,t,i){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,i){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},JIr8:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("l7GE"),s=i("51Dv"),r=i("ZUHj");function o(e){return function(t){const i=new a(e),n=t.lift(i);return i.caught=n}}class a{constructor(e){this.selector=e}call(e,t){return t.subscribe(new c(e,this.selector,this.caught))}}class c extends n.a{constructor(e,t,i){super(e),this.selector=t,this.caught=i}error(e){if(!this.isStopped){let i;try{i=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new s.a(this,void 0,void 0);this.add(n);const o=Object(r.a)(this,i,void 0,void 0,n);o!==n&&this.add(o)}}}},JMRq:function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return r}));var n,s=i("fXoL");let r=(()=>{let e=n=class{static isString(e){return"string"==typeof e||e instanceof String}static caseInsensitiveSort(e,t){return n.isString(e)&&n.isString(t)?e.localeCompare(t):n.defaultCompare(e,t)}static defaultCompare(e,t){return e===t?0:null==e?1:null==t?-1:e>t?1:-1}static parseExpression(e){return(e=(e=e.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".")}static getValue(e,t){for(let i=0,n=t.length;i<n;++i){if(!e)return;const n=t[i];if(!(n in e))return;e="function"==typeof e[n]?e[n]():e[n]}return e}static setValue(e,t,i){let n;for(n=0;n<i.length-1;n++)e=e[i[n]];e[i[n]]=t}transform(e,t,i,n=!1,s){return e?Array.isArray(t)?this.multiExpressionTransform(e,t,i,n,s):Array.isArray(e)?this.sortArray(e.slice(),t,i,n,s):"object"==typeof e?this.transformObject(Object.assign({},e),t,i,n,s):e:e}sortArray(e,t,i,s,r){const o=t&&-1!==t.indexOf(".");let a;o&&(t=n.parseExpression(t)),a=r&&"function"==typeof r?r:s?n.caseInsensitiveSort:n.defaultCompare;const c=e.sort((e,i)=>t?o?a(n.getValue(e,t),n.getValue(i,t)):e&&i?a(e[t],i[t]):a(e,i):a(e,i));return i?c.reverse():c}transformObject(e,t,i,s,r){const o=n.parseExpression(t);let a=o.pop(),c=n.getValue(e,o);return Array.isArray(c)||(o.push(a),a=null,c=n.getValue(e,o)),c?(n.setValue(e,this.transform(c,a,i,s),o),e):e}multiExpressionTransform(e,t,i,n=!1,s){return t.reverse().reduce((e,t)=>this.transform(e,t,i,n,s),e)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Ub({name:"orderBy",type:e,pure:!1}),e})(),o=(()=>{let e=class{};return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},providers:[r]}),e})()},JPLv:function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i("XNiG"),s=i("tS1D"),r=i("r4Kj"),o=i("fXoL"),a=i("tk/3");let c=(()=>{class e{constructor(e,t){this.http=e,this.configJson=t,this._configApplicationSubject=new n.a,this._configSportSubject=new n.a,this._configSportTicketSubject=new n.a,this._configBingoSubject=new n.a,this._configBingoTicketSubject=new n.a,this._configVgTicketSubject=new n.a,this._configKenoSubject=new n.a,this._configKenoTicketSubject=new n.a,this._configClientSubject=new n.a,this._configTerminalSubject=new n.a,this._configLottoTicketSubject=new n.a}get configApplication(){return this._configApplication}get configApplication$(){return this._configApplicationSubject.asObservable()}get configSport(){return this._configSport}get configSport$(){return this._configSportSubject.asObservable()}get configSportTicket(){return this._configSportTicket}get configSportTicket$(){return this._configSportTicketSubject.asObservable()}get configBingo(){return this._configBingo}get configBingo$(){return this._configBingoSubject.asObservable()}get configBingoTicket(){return this._configBingoTicket}get configBingoTicket$(){return this._configBingoTicketSubject.asObservable()}get configVgTicket(){return this._configVgTicket}get configVgTicket$(){return this._configVgTicketSubject.asObservable()}get configKeno(){return this._configKeno}get configKeno$(){return this._configKenoSubject.asObservable()}get configKenoTicket(){return this._configKenoTicket}get configKenoTicket$(){return this._configKenoTicketSubject.asObservable()}get configClient(){return this._configClient}get configClient$(){return this._configClientSubject.asObservable()}get configTerminal(){return this._configTerminal}get configTerminal$(){return this._configTerminalSubject.asObservable()}set attendantTerminalId(e){this._attendantTerminalId=e}get attendantTerminalId(){return this._attendantTerminalId}get terminalId(){const e=JSON.parse(localStorage.getItem("app:auth:Auth"));return e?e.terminalId:this._attendantTerminalId?this._attendantTerminalId:this._configClient.DefaultTerminalId}get configLottoTicket(){return this._configLottoTicket}get configLottoTicket$(){return this._configLottoTicketSubject.asObservable()}checkConfig(e){return-1!==e.indexOf("Games")?this.configTerminal.Games[e.split(".")[1]]:-1!==e.indexOf("SportSections")?this.configTerminal.SportSections[e.split(".")[1]]:-1!==e.indexOf("Gamification")?this.configTerminal.Gamification[e.split(".")[1]]:this.configTerminal[e]}loadConfigTerminal(){let e=new n.a;const t=this.configJson.config.LanguageId;return this.http.get(`${this._baseURL}/web`,{headers:{TerminalId:`${this.terminalId}`,"Device-Type":`${this.configJson.config.Headers.DeviceType}`,"Accept-Language":`${this.configJson.config.LanguageId}`,LanguageId:null!=t?t:this.configJson.config.LanguageId}}).pipe(Object(s.a)(1e4)).subscribe(t=>{t&&!t.DefaultSportTimeFilter&&(t.DefaultSportTimeFilter=72e3),this._configTerminal=t,this._configTerminalSubject.next(this._configTerminal),e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error(t)}),e.asObservable()}loadConfigSport(){const e=new n.a;return this.http.get(`${this._baseURL}/${this.terminalId}/sport`).pipe(Object(s.a)(1e4)).subscribe(t=>{this._configSport=t,this._configSportSubject.next(this._configSport),e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error(t)}),e.asObservable()}loadConfigClient(){const e=new n.a;return this.http.get(`${this._baseURL}/client/${this.configJson.config.API.ClientId}`,{headers:{"Device-Type":`${this.configJson.config.Headers.DeviceType}`}}).pipe(Object(s.a)(1e4)).subscribe(t=>{this._configClient=t,this._baseURL=`${this._configClient.TerminalApiUrl}/configuration`,this._configClientSubject.next(this._configClient),e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error(t)}),e.asObservable()}getOddsRepresentations(){const e=new n.a;return setTimeout(()=>{e.next([{Id:"decimal",Label:"ODD_REPRESENTATION_DECIMAL"},{Id:"fractional",Label:"ODD_REPRESENTATION_FRACTIONAL"},{Id:"american",Label:"ODD_REPRESENTATION_AMERICAN"},{Id:"hongkong",Label:"ODD_REPRESENTATION_HONGKONG"},{Id:"indo",Label:"ODD_REPRESENTATION_INDO"},{Id:"malay",Label:"ODD_REPRESENTATION_MALAY"}]),e.complete()},50),e.asObservable()}initialize(){let e=new n.a;this._baseURL=`${this.configJson.config.API.URL.Terminal}/configuration`;const t=this.configJson.config.LanguageId;let i={"Device-Type":`${this.configJson.config.Headers.DeviceType}`,"Accept-Language":`${this.configJson.config.LanguageId}`,LanguageId:null!=t?t:this.configJson.config.LanguageId,TerminalId:null},r=localStorage.getItem("app:auth:Auth");if(r){const e=Object.assign({},JSON.parse(r));i.TerminalId=e.terminalId.toString()}else delete i.TerminalId;return this.http.get(`${this.configJson.config.API.URL.Terminal}/configuration/initialization/${this.configJson.config.API.ClientId}`,{headers:i}).pipe(Object(s.a)(1e4)).subscribe(t=>{this._configClient=t.ClientConfiguration,this._configClientSubject.next(this._configClient),t.Configuration&&!t.Configuration.DefaultSportTimeFilter&&(t.Configuration.DefaultSportTimeFilter=72e3),this._configTerminal=t.Configuration,this.configJson.setThirdParty(t.Configuration),this._configTerminalSubject.next(this._configTerminal),this._configSport=t.SportOfferConfiguration,this._configSportSubject.next(this._configSport),this._configSportTicket=t.SportTicketConfigurationResult,this._configSportTicketSubject.next(this._configSportTicket),this._configBingoTicket=t.BingoTicketConfigurationResult,this._configBingoTicketSubject.next(this._configBingoTicket),this._configBingo=t.BingoConfiguration,this._configBingoSubject.next(this._configBingo),this._configVgTicket=t.VirtualGamesTicketConfigurationResult,this._configVgTicketSubject.next(this._configVgTicket),this._configKeno=t.KenoConfiguration,this._configKenoSubject.next(this._configKeno),this._configKenoTicket=t.KenoTicketConfigurationResult,this._configKenoTicketSubject.next(this._configKenoTicket),this._configLottoTicket=t.LottoTicketConfigurationResult,this._configLottoTicketSubject.next(this._configLottoTicket),e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error(t)}),e.asObservable()}}return e.\u0275fac=function(t){return new(t||e)(o.fc(a.a),o.fc(r.a))},e.\u0275prov=o.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},JVSJ:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},JX91:function(e,t,i){"use strict";var n=i("LRne"),s=i("0EUg");function r(...e){return Object(s.a)()(Object(n.a)(...e))}var o=i("z+Ro");function a(...e){const t=e[e.length-1];return Object(o.a)(t)?(e.pop(),i=>r(e,i,t)):t=>r(e,t)}i.d(t,"a",(function(){return a}))},JvlW:function(e,t,i){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function i(e,t,i,n){return t?s(i)[0]:n?s(i)[1]:s(i)[2]}function n(e){return e%10==0||e>10&&e<20}function s(e){return t[e].split("_")}function r(e,t,r,o){var a=e+" ";return 1===e?a+i(0,t,r[0],o):t?a+(n(e)?s(r)[1]:s(r)[0]):o?a+s(r)[1]:a+(n(e)?s(r)[1]:s(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,i,n){return t?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i("wd/R"))},"K/tc":function(e,t,i){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},K3ix:function(e,t,i){"use strict";i.d(t,"a",(function(){return c})),i.d(t,"b",(function(){return p})),i.d(t,"c",(function(){return m}));var n=i("fXoL"),s=i("lUod"),r=i("3XJ7"),o=i("WyaX");const a=["*"];let c=(()=>{class e{constructor(){this.hide=Function,this.setClass=Function}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const u={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},h=new n.q("override-default-config");let d=(()=>{class e{constructor(e,t,i){this._element=t,this._renderer=i,this.isShown=!1,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},e)}ngOnInit(){this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,Object(s.d)()?"in":"show")},this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(e){this.clickStartedInContent=e.target!==this._element.nativeElement}onClickStop(e){this.config.ignoreBackdropClick||"static"===this.config.backdrop||e.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(e){this.isShown&&(27!==e.keyCode&&"Escape"!==e.key||e.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this.hide()}hide(){!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Object(s.d)()?"in":"show"),setTimeout(()=>{this.isShown=!1,document&&document.body&&1===this.bsModalService.getModalsCount()&&this._renderer.removeClass(document.body,"modal-open"),this.bsModalService.hide(this.config.id),this.isModalHiding=!1},this.isAnimated?300:0))}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(l),n.Vb(n.l),n.Vb(n.F))},e.\u0275cmp=n.Pb({type:e,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(e,t){1&e&&n.jc("mousedown",(function(e){return t.onClickStarted(e)}))("mouseup",(function(e){return t.onClickStop(e)}))("popstate",(function(e){return t.onPopState()}),!1,n.Lc)("keydown.esc",(function(e){return t.onEsc(e)}),!1,n.Lc),2&e&&n.Ib("aria-modal",!0)("aria-labelledby",t.config.ariaLabelledBy)("aria-describedby",t.config.ariaDescribedby)},ngContentSelectors:a,decls:3,vars:2,consts:[["role","document"],[1,"modal-content"]],template:function(e,t){1&e&&(n.vc(),n.bc(0,"div",0),n.bc(1,"div",1),n.uc(2),n.ac(),n.ac()),2&e&&n.Jb("modal-dialog"+(t.config.class?" "+t.config.class:""))},encapsulation:2}),e})(),f=(()=>{class e{constructor(e,t){this._isShown=!1,this.element=e,this.renderer=t}get isAnimated(){return this._isAnimated}set isAnimated(e){this._isAnimated=e}get isShown(){return this._isShown}set isShown(e){this._isShown=e,e?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),Object(s.d)()||(e?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),s.b.reflow(this.element.nativeElement)),this.isShown=!0}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.F))},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),p=(()=>{class e{constructor(e,t,i){this.clf=t,this.modalDefaultOption=i,this.onShow=new n.n,this.onShown=new n.n,this.onHide=new n.n,this.onHidden=new n.n,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason=null,this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=e.createRenderer(null,null),this.config=i?Object.assign({},u,i):u}show(e,t){this.modalsCount++,this._createLoaders();const i=(null==t?void 0:t.id)||(new Date).getUTCMilliseconds();return this.config=this.modalDefaultOption?Object.assign({},u,this.modalDefaultOption,t):Object.assign({},u,t),this.config.id=i,this._showBackdrop(),this.lastDismissReason=null,this._showModal(e)}hide(e){1!==this.modalsCount&&null!=e||(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=e?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(e),this.removeLoaders(e)},this.config.animated?150:0)}_showBackdrop(){const e=this.config.backdrop||"static"===this.config.backdrop,t=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),e&&t&&(this._backdropLoader.attach(f).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(e){var t;const i=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const n of this.config.providers)i.provide(n);const s=new c,r=i.provide({provide:l,useValue:this.config}).provide({provide:c,useValue:s}).attach(d).to("body");return s.hide=()=>r.instance.hide(),s.setClass=e=>{r.instance.config.class=e},s.onHidden=new n.n,s.onHide=new n.n,this.copyEvent(i.onBeforeHide,s.onHide),this.copyEvent(i.onHidden,s.onHidden),r.show({content:e,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),r.instance.level=this.getModalsCount(),s.content=i.getInnerComponent()||null,s.id=null===(t=r.instance.config)||void 0===t?void 0:t.id,s}_hideModal(e){if(null!=e){const t=this.loaders.findIndex(t=>t.instance.config.id===e),i=this.loaders[t];i&&i.hide(e)}else this.loaders.forEach(e=>{e.hide(e.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(e){this.lastDismissReason=e}removeBackdrop(){this._renderer.removeClass(document.body,"modal-open"),this._backdropLoader.hide(),this.backdropRef=null}checkScrollbar(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){document.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const e=this._renderer.createElement("div");this._renderer.addClass(e,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,e);const t=e.offsetWidth-e.clientWidth;return this._renderer.removeChild(document.body,e),t}_createLoaders(){const e=this.clf.createLoader(null,null,null);this.copyEvent(e.onBeforeShow,this.onShow),this.copyEvent(e.onShown,this.onShown),this.copyEvent(e.onBeforeHide,this.onHide),this.copyEvent(e.onHidden,this.onHidden),this.loaders.push(e)}removeLoaders(e){if(null!=e){const t=this.loaders.findIndex(t=>t.instance.config.id===e);t>=0&&(this.loaders.splice(t,1),this.loaders.forEach((e,t)=>{e.instance.level=t+1}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(e,t){e.subscribe(e=>{t.emit(this.lastDismissReason||e)})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.G),n.fc(r.a),n.fc(h,8))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),m=(()=>{class e{static forRoot(){return{ngModule:e,providers:[p,r.a,o.a]}}static forChild(){return{ngModule:e,providers:[p,r.a,o.a]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)}}),e})()},KN7V:function(e,t,i){"use strict";var n=i("fXoL"),s=i("ofXK");function r(e,t){if(1&e&&n.Yc(0),2&e){const e=n.nc(2);n.Zc(e.unified)}}function o(e,t){if(1&e){const e=n.cc();n.bc(0,"button",2),n.jc("click",(function(t){return n.Mc(e),n.nc().handleClick(t)}))("mouseenter",(function(t){return n.Mc(e),n.nc().handleOver(t)}))("mouseleave",(function(t){return n.Mc(e),n.nc().handleLeave(t)})),n.bc(1,"span",3),n.Wc(2,r,1,1,"ng-template",4),n.uc(3),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Mb("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),n.wc("title",e.title),n.Ib("aria-label",e.label),n.Hb(1),n.wc("ngStyle",e.style),n.Hb(1),n.wc("ngIf",e.isNative)}}function a(e,t){if(1&e&&n.Yc(0),2&e){const e=n.nc(2);n.Zc(e.unified)}}function c(e,t){if(1&e){const e=n.cc();n.bc(0,"span",5),n.jc("click",(function(t){return n.Mc(e),n.nc().handleClick(t)}))("mouseenter",(function(t){return n.Mc(e),n.nc().handleOver(t)}))("mouseleave",(function(t){return n.Mc(e),n.nc().handleLeave(t)})),n.bc(1,"span",3),n.Wc(2,a,1,1,"ng-template",4),n.uc(3,1),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Mb("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),n.wc("title",e.title),n.Ib("aria-label",e.label),n.Hb(1),n.wc("ngStyle",e.style),n.Hb(1),n.wc("ngIf",e.isNative)}}const l=["*","*"],u=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F649","1F64A","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F470","1F930","1F931","1F47C","1F385","1F936","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1F463","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F994","1F987","1F43B","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1F41E","1F997","1F577-FE0F","1F578-FE0F","1F982","1F99F","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1F95D","1F345","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1F959","1F9C6","1F95A","1F373","1F958","1F372","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1F9F6"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","1F4B1","1F4B2","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1F3F9","1F6E1-FE0F","1F527","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1F9F0","1F9F2","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1F6BF","1F6C1","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1F9FC","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","26B1-FE0F","1F5FF"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","2695-FE0F","267E-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","2716-FE0F","274C","274E","2795","2796","2797","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],h=[{name:"Earth Globe Europe-Africa",unified:"1F30D",keywords:["globe","world","international"],sheet:[5,32],shortName:"earth_africa"},{name:"Grapes",unified:"1F347",keywords:["fruit","food","wine"],sheet:[6,31],shortName:"grapes"},{name:"Jack-O-Lantern",unified:"1F383",keywords:["halloween","light","pumpkin","creepy","fall"],sheet:[7,34],shortName:"jack_o_lantern"},{name:"Chequered Flag",unified:"1F3C1",keywords:["contest","finishline","race","gokart"],sheet:[8,39],shortName:"checkered_flag"},{name:"Automated Teller Machine",unified:"1F3E7",keywords:["money","sales","cash","blue-square","payment","bank"],sheet:[11,1],shortName:"atm"},{name:"Emoji Modifier Fitzpatrick Type-1-2",unified:"1F3FB",sheet:[11,23],shortName:"skin-tone-2"},{name:"Monkey Face",unified:"1F435",emoticons:[":o)"],keywords:["animal","nature","circus"],sheet:[12,25],shortName:"monkey_face"},{name:"Waving Hand Sign",unified:"1F44B",keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],sheet:[13,26],skinVariations:[{unified:"1F44B-1F3FB",sheet:[13,27]},{unified:"1F44B-1F3FC",sheet:[13,28]},{unified:"1F44B-1F3FD",sheet:[13,29]},{unified:"1F44B-1F3FE",sheet:[13,30]},{unified:"1F44B-1F3FF",sheet:[13,31]}],shortName:"wave"},{name:"Eyeglasses",unified:"1F453",keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],sheet:[14,7],shortName:"eyeglasses"},{name:"Grinning Face",unified:"1F600",text:":D",keywords:["face","smile","happy","joy",":D","grin"],sheet:[30,35],shortName:"grinning"},{name:"Earth Globe Americas",unified:"1F30E",keywords:["globe","world","USA","international"],sheet:[5,33],shortName:"earth_americas"},{name:"Melon",unified:"1F348",keywords:["fruit","nature","food"],sheet:[6,32],shortName:"melon"},{name:"Christmas Tree",unified:"1F384",keywords:["festival","vacation","december","xmas","celebration"],sheet:[7,35],shortName:"christmas_tree"},{name:"Emoji Modifier Fitzpatrick Type-3",unified:"1F3FC",sheet:[11,24],shortName:"skin-tone-3"},{name:"Monkey",unified:"1F412",keywords:["animal","nature","banana","circus"],sheet:[11,46],shortName:"monkey"},{name:"Dark Sunglasses",unified:"1F576-FE0F",keywords:["face","cool","accessories"],sheet:[29,33],shortName:"dark_sunglasses"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,38],shortName:"smiley"},{name:"Triangular Flag on Post",unified:"1F6A9",keywords:["mark","milestone","place"],sheet:[35,0],shortName:"triangular_flag_on_post"},{name:"Put Litter in Its Place Symbol",unified:"1F6AE",keywords:["blue-square","sign","human","info"],sheet:[35,5],shortName:"put_litter_in_its_place"},{name:"Raised Back of Hand",unified:"1F91A",keywords:["fingers","raised","backhand"],sheet:[37,43],skinVariations:[{unified:"1F91A-1F3FB",sheet:[37,44]},{unified:"1F91A-1F3FC",sheet:[37,45]},{unified:"1F91A-1F3FD",sheet:[37,46]},{unified:"1F91A-1F3FE",sheet:[37,47]},{unified:"1F91A-1F3FF",sheet:[37,48]}],shortName:"raised_back_of_hand"},{name:"Earth Globe Asia-Australia",unified:"1F30F",keywords:["globe","world","east","international"],sheet:[5,34],shortName:"earth_asia"},{name:"Watermelon",unified:"1F349",keywords:["fruit","food","picnic","summer"],sheet:[6,33],shortName:"watermelon"},{name:"Fireworks",unified:"1F386",keywords:["photo","festival","carnival","congratulations"],sheet:[7,42],shortName:"fireworks"},{name:"Crossed Flags",unified:"1F38C",keywords:["japanese","nation","country","border"],sheet:[7,48],shortName:"crossed_flags"},{name:"Emoji Modifier Fitzpatrick Type-4",unified:"1F3FD",sheet:[11,25],shortName:"skin-tone-4"},{name:"Raised Hand with Fingers Splayed",unified:"1F590-FE0F",keywords:["hand","fingers","palm"],sheet:[29,48],skinVariations:[{unified:"1F590-1F3FB",sheet:[29,49]},{unified:"1F590-1F3FC",sheet:[29,50]},{unified:"1F590-1F3FD",sheet:[29,51]},{unified:"1F590-1F3FE",sheet:[29,52]},{unified:"1F590-1F3FF",sheet:[29,53]}],shortName:"raised_hand_with_fingers_splayed"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],sheet:[30,39],shortName:"smile"},{name:"Potable Water Symbol",unified:"1F6B0",keywords:["blue-square","liquid","restroom","cleaning","faucet"],sheet:[35,7],shortName:"potable_water"},{name:"Goggles",unified:"1F97D",keywords:["eyes","protection","safety"],sheet:[42,15],shortName:"goggles"},{name:"Gorilla",unified:"1F98D",keywords:["animal","nature","circus"],sheet:[42,31],shortName:"gorilla"},{name:"Globe with Meridians",unified:"1F310",keywords:["earth","international","world","internet","interweb","i18n"],sheet:[5,35],shortName:"globe_with_meridians"},{name:"Tangerine",unified:"1F34A",keywords:["food","fruit","nature","orange"],sheet:[6,34],shortName:"tangerine"},{name:"Firework Sparkler",unified:"1F387",keywords:["stars","night","shine"],sheet:[7,43],shortName:"sparkler"},{name:"Waving Black Flag",unified:"1F3F4",sheet:[11,17],shortName:"waving_black_flag"},{name:"Emoji Modifier Fitzpatrick Type-5",unified:"1F3FE",sheet:[11,26],shortName:"skin-tone-5"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["face","happy","smile","joy","kawaii"],sheet:[30,36],shortName:"grin"},{name:"Lab Coat",unified:"1F97C",sheet:[42,14],shortName:"lab_coat"},{name:"Orangutan",unified:"1F9A7",sheet:[42,55],shortName:"orangutan"},{name:"Wheelchair Symbol",unified:"267F",keywords:["blue-square","disabled","a11y","accessibility"],sheet:[53,40],shortName:"wheelchair"},{name:"Raised Hand",unified:"270B",sheet:[54,49],skinVariations:[{unified:"270B-1F3FB",sheet:[54,50]},{unified:"270B-1F3FC",sheet:[54,51]},{unified:"270B-1F3FD",sheet:[54,52]},{unified:"270B-1F3FE",sheet:[54,53]},{unified:"270B-1F3FF",sheet:[54,54]}],shortNames:["raised_hand"],shortName:"hand"},{name:"Lemon",unified:"1F34B",keywords:["fruit","nature"],sheet:[6,35],shortName:"lemon"},{name:"Waving White Flag",unified:"1F3F3-FE0F",sheet:[11,12],shortName:"waving_white_flag"},{name:"Emoji Modifier Fitzpatrick Type-6",unified:"1F3FF",sheet:[11,27],shortName:"skin-tone-6"},{name:"Dog Face",unified:"1F436",keywords:["animal","friend","nature","woof","puppy","pet","faithful"],sheet:[12,26],shortName:"dog"},{name:"Raised Hand with Part Between Middle and Ring Fingers",unified:"1F596",sheet:[30,3],skinVariations:[{unified:"1F596-1F3FB",sheet:[30,4]},{unified:"1F596-1F3FC",sheet:[30,5]},{unified:"1F596-1F3FD",sheet:[30,6]},{unified:"1F596-1F3FE",sheet:[30,7]},{unified:"1F596-1F3FF",sheet:[30,8]}],shortName:"spock-hand"},{name:"World Map",unified:"1F5FA-FE0F",keywords:["location","direction"],sheet:[30,29],shortName:"world_map"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,41],shortNames:["satisfied"],shortName:"laughing"},{name:"Mens Symbol",unified:"1F6B9",keywords:["toilet","restroom","wc","blue-square","gender","male"],sheet:[36,10],shortName:"mens"},{name:"Safety Vest",unified:"1F9BA",sheet:[43,54],shortName:"safety_vest"},{name:"Firecracker",unified:"1F9E8",keywords:["dynamite","boom","explode","explosion","explosive"],sheet:[51,27],shortName:"firecracker"},{name:"Banana",unified:"1F34C",keywords:["fruit","food","monkey"],sheet:[6,36],shortName:"banana"},{name:"Rainbow Flag",unified:"1F3F3-FE0F-200D-1F308",sheet:[11,11],shortName:"rainbow-flag"},{name:"Dog",unified:"1F415",keywords:["animal","nature","friend","doge","pet","faithful"],sheet:[11,50],shortName:"dog2"},{name:"Ok Hand Sign",unified:"1F44C",keywords:["fingers","limbs","perfect","ok","okay"],sheet:[13,32],skinVariations:[{unified:"1F44C-1F3FB",sheet:[13,33]},{unified:"1F44C-1F3FC",sheet:[13,34]},{unified:"1F44C-1F3FD",sheet:[13,35]},{unified:"1F44C-1F3FE",sheet:[13,36]},{unified:"1F44C-1F3FF",sheet:[13,37]}],shortName:"ok_hand"},{name:"Necktie",unified:"1F454",keywords:["shirt","suitup","formal","fashion","cloth","business"],sheet:[14,8],shortName:"necktie"},{name:"Silhouette of Japan",unified:"1F5FE",keywords:["nation","country","japanese","asia"],sheet:[30,33],shortName:"japan"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,40],shortName:"sweat_smile"},{name:"Womens Symbol",unified:"1F6BA",keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],sheet:[36,11],shortName:"womens"},{name:"Sparkles",unified:"2728",keywords:["stars","shine","shiny","cool","awesome","good","magic"],sheet:[55,16],shortName:"sparkles"},{name:"Pineapple",unified:"1F34D",keywords:["fruit","nature","food"],sheet:[6,37],shortName:"pineapple"},{name:"Balloon",unified:"1F388",keywords:["party","celebration","birthday","circus"],sheet:[7,44],shortName:"balloon"},{name:"Pirate Flag",unified:"1F3F4-200D-2620-FE0F",keywords:["skull","crossbones","flag","banner"],sheet:[11,13],shortName:"pirate_flag"},{name:"T-Shirt",unified:"1F455",sheet:[14,9],shortNames:["tshirt"],shortName:"shirt"},{name:"Restroom",unified:"1F6BB",keywords:["blue-square","toilet","refresh","wc","gender"],sheet:[36,12],shortName:"restroom"},{name:"Pinching Hand",unified:"1F90F",sheet:[37,17],skinVariations:[{unified:"1F90F-1F3FB",sheet:[37,18]},{unified:"1F90F-1F3FC",sheet:[37,19]},{unified:"1F90F-1F3FD",sheet:[37,20]},{unified:"1F90F-1F3FE",sheet:[37,21]},{unified:"1F90F-1F3FF",sheet:[37,22]}],shortName:"pinching_hand"},{name:"Rolling on the Floor Laughing",unified:"1F923",sheet:[38,20],shortName:"rolling_on_the_floor_laughing"},{name:"Guide Dog",unified:"1F9AE",sheet:[43,2],shortName:"guide_dog"},{name:"Compass",unified:"1F9ED",keywords:["magnetic","navigation","orienteering"],sheet:[51,32],shortName:"compass"},{name:"Ascension Island Flag",unified:"1F1E6-1F1E8",sheet:[0,31],shortName:"flag-ac"},{name:"Party Popper",unified:"1F389",keywords:["party","congratulations","birthday","magic","circus","celebration"],sheet:[7,45],shortName:"tada"},{name:"Snow Capped Mountain",unified:"1F3D4-FE0F",sheet:[10,39],shortName:"snow_capped_mountain"},{name:"Service Dog",unified:"1F415-200D-1F9BA",sheet:[11,49],shortName:"service_dog"},{name:"Jeans",unified:"1F456",keywords:["fashion","shopping"],sheet:[14,10],shortName:"jeans"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face","cry","tears","weep","happy","happytears","haha"],sheet:[30,37],shortName:"joy"},{name:"Baby Symbol",unified:"1F6BC",keywords:["orange-square","child"],sheet:[36,13],shortName:"baby_symbol"},{name:"Mango",unified:"1F96D",keywords:["fruit","food","tropical"],sheet:[42,3],shortName:"mango"},{name:"Victory Hand",unified:"270C-FE0F",keywords:["fingers","ohyeah","hand","peace","victory","two"],sheet:[54,55],skinVariations:[{unified:"270C-1F3FB",sheet:[54,56]},{unified:"270C-1F3FC",sheet:[55,0]},{unified:"270C-1F3FD",sheet:[55,1]},{unified:"270C-1F3FE",sheet:[55,2]},{unified:"270C-1F3FF",sheet:[55,3]}],shortName:"v"},{name:"Andorra Flag",unified:"1F1E6-1F1E9",sheet:[0,32],shortName:"flag-ad"},{name:"Red Apple",unified:"1F34E",keywords:["fruit","mac","school"],sheet:[6,38],shortName:"apple"},{name:"Confetti Ball",unified:"1F38A",keywords:["festival","party","birthday","circus"],sheet:[7,46],shortName:"confetti_ball"},{name:"Poodle",unified:"1F429",keywords:["dog","animal","101","nature","pet"],sheet:[12,13],shortName:"poodle"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["face","smile"],sheet:[31,44],shortName:"slightly_smiling_face"},{name:"Water Closet",unified:"1F6BE",keywords:["toilet","restroom","blue-square"],sheet:[36,15],shortName:"wc"},{name:"Hand with Index and Middle Fingers Crossed",unified:"1F91E",keywords:["good","lucky"],sheet:[38,5],skinVariations:[{unified:"1F91E-1F3FB",sheet:[38,6]},{unified:"1F91E-1F3FC",sheet:[38,7]},{unified:"1F91E-1F3FD",sheet:[38,8]},{unified:"1F91E-1F3FE",sheet:[38,9]},{unified:"1F91E-1F3FF",sheet:[38,10]}],shortNames:["hand_with_index_and_middle_fingers_crossed"],shortName:"crossed_fingers"},{name:"Scarf",unified:"1F9E3",keywords:["neck","winter","clothes"],sheet:[51,22],shortName:"scarf"},{name:"Mountain",unified:"26F0-FE0F",keywords:["photo","nature","environment"],sheet:[54,11],shortName:"mountain"},{name:"United Arab Emirates Flag",unified:"1F1E6-1F1EA",sheet:[0,33],shortName:"flag-ae"},{name:"Volcano",unified:"1F30B",keywords:["photo","nature","disaster"],sheet:[5,30],shortName:"volcano"},{name:"Green Apple",unified:"1F34F",keywords:["fruit","nature"],sheet:[6,39],shortName:"green_apple"},{name:"Tanabata Tree",unified:"1F38B",keywords:["plant","nature","branch","summer"],sheet:[7,47],shortName:"tanabata_tree"},{name:"Wolf Face",unified:"1F43A",keywords:["animal","nature","wild"],sheet:[12,30],shortName:"wolf"},{name:"Upside-Down Face",unified:"1F643",keywords:["face","flipped","silly","smile"],sheet:[31,45],shortName:"upside_down_face"},{name:"Passport Control",unified:"1F6C2",keywords:["custom","blue-square"],sheet:[36,24],shortName:"passport_control"},{name:"I Love You Hand Sign",unified:"1F91F",sheet:[38,11],skinVariations:[{unified:"1F91F-1F3FB",sheet:[38,12]},{unified:"1F91F-1F3FC",sheet:[38,13]},{unified:"1F91F-1F3FD",sheet:[38,14]},{unified:"1F91F-1F3FE",sheet:[38,15]},{unified:"1F91F-1F3FF",sheet:[38,16]}],shortName:"i_love_you_hand_sign"},{name:"Gloves",unified:"1F9E4",keywords:["hands","winter","clothes"],sheet:[51,23],shortName:"gloves"},{name:"Afghanistan Flag",unified:"1F1E6-1F1EB",sheet:[0,34],shortName:"flag-af"},{name:"Pear",unified:"1F350",keywords:["fruit","nature","food"],sheet:[6,40],shortName:"pear"},{name:"Pine Decoration",unified:"1F38D",keywords:["plant","nature","vegetable","panda","pine_decoration"],sheet:[7,49],shortName:"bamboo"},{name:"Mount Fuji",unified:"1F5FB",keywords:["photo","mountain","nature","japanese"],sheet:[30,30],shortName:"mount_fuji"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,44],shortName:"wink"},{name:"Customs",unified:"1F6C3",keywords:["passport","border","blue-square"],sheet:[36,25],shortName:"customs"},{name:"Sign of the Horns",unified:"1F918",sheet:[37,31],skinVariations:[{unified:"1F918-1F3FB",sheet:[37,32]},{unified:"1F918-1F3FC",sheet:[37,33]},{unified:"1F918-1F3FD",sheet:[37,34]},{unified:"1F918-1F3FE",sheet:[37,35]},{unified:"1F918-1F3FF",sheet:[37,36]}],shortNames:["sign_of_the_horns"],shortName:"the_horns"},{name:"Fox Face",unified:"1F98A",keywords:["animal","nature","face"],sheet:[42,28],shortName:"fox_face"},{name:"Coat",unified:"1F9E5",keywords:["jacket"],sheet:[51,24],shortName:"coat"},{name:"Antigua & Barbuda Flag",unified:"1F1E6-1F1EC",sheet:[0,35],shortName:"flag-ag"},{name:"Peach",unified:"1F351",keywords:["fruit","nature","food"],sheet:[6,41],shortName:"peach"},{name:"Japanese Dolls",unified:"1F38E",keywords:["japanese","toy","kimono"],sheet:[7,50],shortName:"dolls"},{name:"Camping",unified:"1F3D5-FE0F",keywords:["photo","outdoors","tent"],sheet:[10,40],shortName:"camping"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,45],shortName:"blush"},{name:"Baggage Claim",unified:"1F6C4",keywords:["blue-square","airport","transport"],sheet:[36,26],shortName:"baggage_claim"},{name:"Call Me Hand",unified:"1F919",keywords:["hands","gesture"],sheet:[37,37],skinVariations:[{unified:"1F919-1F3FB",sheet:[37,38]},{unified:"1F919-1F3FC",sheet:[37,39]},{unified:"1F919-1F3FD",sheet:[37,40]},{unified:"1F919-1F3FE",sheet:[37,41]},{unified:"1F919-1F3FF",sheet:[37,42]}],shortName:"call_me_hand"},{name:"Raccoon",unified:"1F99D",keywords:["animal","nature"],sheet:[42,47],shortName:"raccoon"},{name:"Socks",unified:"1F9E6",keywords:["stockings","clothes"],sheet:[51,25],shortName:"socks"},{name:"Anguilla Flag",unified:"1F1E6-1F1EE",sheet:[0,36],shortName:"flag-ai"},{name:"Cherries",unified:"1F352",keywords:["food","fruit"],sheet:[6,42],shortName:"cherries"},{name:"Carp Streamer",unified:"1F38F",keywords:["fish","japanese","koinobori","carp","banner"],sheet:[7,51],shortName:"flags"},{name:"Beach with Umbrella",unified:"1F3D6-FE0F",sheet:[10,41],shortName:"beach_with_umbrella"},{name:"Cat Face",unified:"1F431",keywords:["animal","meow","nature","pet","kitten"],sheet:[12,21],shortName:"cat"},{name:"White Left Pointing Backhand Index",unified:"1F448",keywords:["direction","fingers","hand","left"],sheet:[13,8],skinVariations:[{unified:"1F448-1F3FB",sheet:[13,9]},{unified:"1F448-1F3FC",sheet:[13,10]},{unified:"1F448-1F3FD",sheet:[13,11]},{unified:"1F448-1F3FE",sheet:[13,12]},{unified:"1F448-1F3FF",sheet:[13,13]}],shortName:"point_left"},{name:"Dress",unified:"1F457",keywords:["clothes","fashion","shopping"],sheet:[14,11],shortName:"dress"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["face","angel","heaven","halo"],sheet:[30,42],shortName:"innocent"},{name:"Left Luggage",unified:"1F6C5",keywords:["blue-square","travel"],sheet:[36,27],shortName:"left_luggage"},{name:"Albania Flag",unified:"1F1E6-1F1F1",sheet:[0,37],shortName:"flag-al"},{name:"Strawberry",unified:"1F353",keywords:["fruit","food","nature"],sheet:[6,43],shortName:"strawberry"},{name:"Wind Chime",unified:"1F390",keywords:["nature","ding","spring","bell"],sheet:[7,52],shortName:"wind_chime"},{name:"Desert",unified:"1F3DC-FE0F",keywords:["photo","warm","saharah"],sheet:[10,47],shortName:"desert"},{name:"Cat",unified:"1F408",keywords:["animal","meow","pet","cats"],sheet:[11,36],shortName:"cat2"},{name:"White Right Pointing Backhand Index",unified:"1F449",keywords:["fingers","hand","direction","right"],sheet:[13,14],skinVariations:[{unified:"1F449-1F3FB",sheet:[13,15]},{unified:"1F449-1F3FC",sheet:[13,16]},{unified:"1F449-1F3FD",sheet:[13,17]},{unified:"1F449-1F3FE",sheet:[13,18]},{unified:"1F449-1F3FF",sheet:[13,19]}],shortName:"point_right"},{name:"Kimono",unified:"1F458",keywords:["dress","fashion","women","female","japanese"],sheet:[14,12],shortName:"kimono"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",sheet:[42,6],shortName:"smiling_face_with_3_hearts"},{name:"Warning Sign",unified:"26A0-FE0F",keywords:["exclamation","wip","alert","error","problem","issue"],sheet:[53,50],shortName:"warning"},{name:"Armenia Flag",unified:"1F1E6-1F1F2",sheet:[0,38],shortName:"flag-am"},{name:"Moon Viewing Ceremony",unified:"1F391",keywords:["photo","japan","asia","tsukimi"],sheet:[7,53],shortName:"rice_scene"},{name:"Desert Island",unified:"1F3DD-FE0F",keywords:["photo","tropical","mojito"],sheet:[10,48],shortName:"desert_island"},{name:"White Up Pointing Backhand Index",unified:"1F446",keywords:["fingers","hand","direction","up"],sheet:[12,53],skinVariations:[{unified:"1F446-1F3FB",sheet:[12,54]},{unified:"1F446-1F3FC",sheet:[12,55]},{unified:"1F446-1F3FD",sheet:[12,56]},{unified:"1F446-1F3FE",sheet:[13,0]},{unified:"1F446-1F3FF",sheet:[13,1]}],shortName:"point_up_2"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,48],shortName:"heart_eyes"},{name:"Children Crossing",unified:"1F6B8",keywords:["school","warning","danger","sign","driving","yellow-diamond"],sheet:[36,9],shortName:"children_crossing"},{name:"Kiwifruit",unified:"1F95D",sheet:[41,44],shortName:"kiwifruit"},{name:"Sari",unified:"1F97B",sheet:[42,13],shortName:"sari"},{name:"Lion Face",unified:"1F981",sheet:[42,19],shortName:"lion_face"},{name:"Angola Flag",unified:"1F1E6-1F1F4",sheet:[0,39],shortName:"flag-ao"},{name:"Tomato",unified:"1F345",keywords:["fruit","vegetable","nature","food"],sheet:[6,29],shortName:"tomato"},{name:"National Park",unified:"1F3DE-FE0F",keywords:["photo","environment","nature"],sheet:[10,49],shortName:"national_park"},{name:"Tiger Face",unified:"1F42F",keywords:["animal","cat","danger","wild","nature","roar"],sheet:[12,19],shortName:"tiger"},{name:"Reversed Hand with Middle Finger Extended",unified:"1F595",sheet:[29,54],skinVariations:[{unified:"1F595-1F3FB",sheet:[29,55]},{unified:"1F595-1F3FC",sheet:[29,56]},{unified:"1F595-1F3FD",sheet:[30,0]},{unified:"1F595-1F3FE",sheet:[30,1]},{unified:"1F595-1F3FF",sheet:[30,2]}],shortNames:["reversed_hand_with_middle_finger_extended"],shortName:"middle_finger"},{name:"Grinning Face with Star Eyes",unified:"1F929",sheet:[38,43],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Red Gift Envelope",unified:"1F9E7",keywords:["gift"],sheet:[51,26],shortName:"red_envelope"},{name:"One-Piece Swimsuit",unified:"1FA71",sheet:[51,52],shortName:"one-piece_swimsuit"},{name:"No Entry",unified:"26D4",keywords:["limit","security","privacy","bad","denied","stop","circle"],sheet:[54,8],shortName:"no_entry"},{name:"Antarctica Flag",unified:"1F1E6-1F1F6",sheet:[0,40],shortName:"flag-aq"},{name:"Ribbon",unified:"1F380",keywords:["decoration","pink","girl","bowtie"],sheet:[7,31],shortName:"ribbon"},{name:"Stadium",unified:"1F3DF-FE0F",keywords:["photo","place","sports","concert","venue"],sheet:[10,50],shortName:"stadium"},{name:"Tiger",unified:"1F405",keywords:["animal","nature","roar"],sheet:[11,33],shortName:"tiger2"},{name:"White Down Pointing Backhand Index",unified:"1F447",keywords:["fingers","hand","direction","down"],sheet:[13,2],skinVariations:[{unified:"1F447-1F3FB",sheet:[13,3]},{unified:"1F447-1F3FC",sheet:[13,4]},{unified:"1F447-1F3FD",sheet:[13,5]},{unified:"1F447-1F3FE",sheet:[13,6]},{unified:"1F447-1F3FF",sheet:[13,7]}],shortName:"point_down"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,2],shortName:"kissing_heart"},{name:"No Entry Sign",unified:"1F6AB",keywords:["forbid","stop","limit","denied","disallow","circle"],sheet:[35,2],shortName:"no_entry_sign"},{name:"Coconut",unified:"1F965",keywords:["fruit","nature","food","palm"],sheet:[41,52],shortName:"coconut"},{name:"Briefs",unified:"1FA72",sheet:[51,53],shortName:"briefs"},{name:"Argentina Flag",unified:"1F1E6-1F1F7",sheet:[0,41],shortName:"flag-ar"},{name:"Wrapped Present",unified:"1F381",keywords:["present","birthday","christmas","xmas"],sheet:[7,32],shortName:"gift"},{name:"Classical Building",unified:"1F3DB-FE0F",keywords:["art","culture","history"],sheet:[10,46],shortName:"classical_building"},{name:"Leopard",unified:"1F406",keywords:["animal","nature"],sheet:[11,34],shortName:"leopard"},{name:"Kissing Face",unified:"1F617",keywords:["love","like","face","3","valentines","infatuation","kiss"],sheet:[31,1],shortName:"kissing"},{name:"No Bicycles",unified:"1F6B3",keywords:["cyclist","prohibited","circle"],sheet:[35,10],shortName:"no_bicycles"},{name:"Avocado",unified:"1F951",keywords:["fruit","food"],sheet:[41,32],shortName:"avocado"},{name:"Shorts",unified:"1FA73",sheet:[51,54],shortName:"shorts"},{name:"White Up Pointing Index",unified:"261D-FE0F",keywords:["hand","fingers","direction","up"],sheet:[53,2],skinVariations:[{unified:"261D-1F3FB",sheet:[53,3]},{unified:"261D-1F3FC",sheet:[53,4]},{unified:"261D-1F3FD",sheet:[53,5]},{unified:"261D-1F3FE",sheet:[53,6]},{unified:"261D-1F3FF",sheet:[53,7]}],shortName:"point_up"},{name:"American Samoa Flag",unified:"1F1E6-1F1F8",sheet:[0,42],shortName:"flag-as"},{name:"Aubergine",unified:"1F346",keywords:["vegetable","nature","food","aubergine"],sheet:[6,30],shortName:"eggplant"},{name:"Reminder Ribbon",unified:"1F397-FE0F",keywords:["sports","cause","support","awareness"],sheet:[8,0],shortName:"reminder_ribbon"},{name:"Building Construction",unified:"1F3D7-FE0F",keywords:["wip","working","progress"],sheet:[10,42],shortName:"building_construction"},{name:"Horse Face",unified:"1F434",keywords:["animal","brown","nature"],sheet:[12,24],shortName:"horse"},{name:"Thumbs Up Sign",unified:"1F44D",keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],sheet:[13,38],skinVariations:[{unified:"1F44D-1F3FB",sheet:[13,39]},{unified:"1F44D-1F3FC",sheet:[13,40]},{unified:"1F44D-1F3FD",sheet:[13,41]},{unified:"1F44D-1F3FE",sheet:[13,42]},{unified:"1F44D-1F3FF",sheet:[13,43]}],shortNames:["thumbsup"],shortName:"+1"},{name:"Bikini",unified:"1F459",keywords:["swimming","female","woman","girl","fashion","beach","summer"],sheet:[14,13],shortName:"bikini"},{name:"No Smoking Symbol",unified:"1F6AD",keywords:["cigarette","blue-square","smell","smoke"],sheet:[35,4],shortName:"no_smoking"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["face","blush","massage","happiness"],sheet:[53,17],shortName:"relaxed"},{name:"Austria Flag",unified:"1F1E6-1F1F9",sheet:[0,43],shortName:"flag-at"},{name:"Admission Tickets",unified:"1F39F-FE0F",sheet:[8,5],shortName:"admission_tickets"},{name:"Horse",unified:"1F40E",keywords:["animal","gamble","luck"],sheet:[11,42],shortName:"racehorse"},{name:"Thumbs Down Sign",unified:"1F44E",keywords:["thumbsdown","no","dislike","hand"],sheet:[13,44],skinVariations:[{unified:"1F44E-1F3FB",sheet:[13,45]},{unified:"1F44E-1F3FC",sheet:[13,46]},{unified:"1F44E-1F3FD",sheet:[13,47]},{unified:"1F44E-1F3FE",sheet:[13,48]},{unified:"1F44E-1F3FF",sheet:[13,49]}],shortNames:["thumbsdown"],shortName:"-1"},{name:"Womans Clothes",unified:"1F45A",keywords:["fashion","shopping_bags","female"],sheet:[14,14],shortName:"womans_clothes"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,4],shortName:"kissing_closed_eyes"},{name:"Do Not Litter Symbol",unified:"1F6AF",keywords:["trash","bin","garbage","circle"],sheet:[35,6],shortName:"do_not_litter"},{name:"Potato",unified:"1F954",keywords:["food","tuber","vegatable","starch"],sheet:[41,35],shortName:"potato"},{name:"Brick",unified:"1F9F1",sheet:[51,36],shortName:"bricks"},{name:"Australia Flag",unified:"1F1E6-1F1FA",sheet:[0,44],shortName:"flag-au"},{name:"Ticket",unified:"1F3AB",keywords:["event","concert","pass"],sheet:[8,17],shortName:"ticket"},{name:"House Buildings",unified:"1F3D8-FE0F",sheet:[10,43],shortName:"house_buildings"},{name:"Purse",unified:"1F45B",keywords:["fashion","accessories","money","sales","shopping"],sheet:[14,15],shortName:"purse"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["face","affection","valentines","infatuation","kiss"],sheet:[31,3],shortName:"kissing_smiling_eyes"},{name:"Non-Potable Water Symbol",unified:"1F6B1",keywords:["drink","faucet","tap","circle"],sheet:[35,8],shortName:"non-potable_water"},{name:"Carrot",unified:"1F955",keywords:["vegetable","food","orange"],sheet:[41,36],shortName:"carrot"},{name:"Unicorn Face",unified:"1F984",sheet:[42,22],shortName:"unicorn_face"},{name:"Raised Fist",unified:"270A",keywords:["fingers","hand","grasp"],sheet:[54,43],skinVariations:[{unified:"270A-1F3FB",sheet:[54,44]},{unified:"270A-1F3FC",sheet:[54,45]},{unified:"270A-1F3FD",sheet:[54,46]},{unified:"270A-1F3FE",sheet:[54,47]},{unified:"270A-1F3FF",sheet:[54,48]}],shortName:"fist"},{name:"Aruba Flag",unified:"1F1E6-1F1FC",sheet:[0,45],shortName:"flag-aw"},{name:"Ear of Maize",unified:"1F33D",keywords:["food","vegetable","plant"],sheet:[6,21],shortName:"corn"},{name:"Medal",unified:"1F396-FE0F",sheet:[7,56],shortName:"medal"},{name:"Derelict House Building",unified:"1F3DA-FE0F",sheet:[10,45],shortName:"derelict_house_building"},{name:"Fisted Hand Sign",unified:"1F44A",keywords:["angry","violence","fist","hit","attack","hand"],sheet:[13,20],skinVariations:[{unified:"1F44A-1F3FB",sheet:[13,21]},{unified:"1F44A-1F3FC",sheet:[13,22]},{unified:"1F44A-1F3FD",sheet:[13,23]},{unified:"1F44A-1F3FE",sheet:[13,24]},{unified:"1F44A-1F3FF",sheet:[13,25]}],shortNames:["punch"],shortName:"facepunch"},{name:"Handbag",unified:"1F45C",keywords:["fashion","accessory","accessories","shopping"],sheet:[14,16],shortName:"handbag"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,46],shortName:"yum"},{name:"No Pedestrians",unified:"1F6B7",keywords:["rules","crossing","walking","circle"],sheet:[36,8],shortName:"no_pedestrians"},{name:"Zebra Face",unified:"1F993",sheet:[42,37],shortName:"zebra_face"},{name:"\xc5land Islands Flag",unified:"1F1E6-1F1FD",sheet:[0,46],shortName:"flag-ax"},{name:"Hot Pepper",unified:"1F336-FE0F",keywords:["food","spicy","chilli","chili"],sheet:[6,14],shortName:"hot_pepper"},{name:"Trophy",unified:"1F3C6",keywords:["win","award","contest","place","ftw","ceremony"],sheet:[9,26],shortName:"trophy"},{name:"House Building",unified:"1F3E0",keywords:["building","home"],sheet:[10,51],shortName:"house"},{name:"Pouch",unified:"1F45D",keywords:["bag","accessories","shopping"],sheet:[14,17],shortName:"pouch"},{name:"No Mobile Phones",unified:"1F4F5",keywords:["iphone","mute","circle"],sheet:[27,18],shortName:"no_mobile_phones"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,5],shortName:"stuck_out_tongue"},{name:"Left-Facing Fist",unified:"1F91B",sheet:[37,49],skinVariations:[{unified:"1F91B-1F3FB",sheet:[37,50]},{unified:"1F91B-1F3FC",sheet:[37,51]},{unified:"1F91B-1F3FD",sheet:[37,52]},{unified:"1F91B-1F3FE",sheet:[37,53]},{unified:"1F91B-1F3FF",sheet:[37,54]}],shortName:"left-facing_fist"},{name:"Deer",unified:"1F98C",keywords:["animal","nature","horns","venison"],sheet:[42,30],shortName:"deer"},{name:"Azerbaijan Flag",unified:"1F1E6-1F1FF",sheet:[0,47],shortName:"flag-az"},{name:"Sports Medal",unified:"1F3C5",sheet:[9,25],shortName:"sports_medal"},{name:"House with Garden",unified:"1F3E1",keywords:["home","plant","nature"],sheet:[10,52],shortName:"house_with_garden"},{name:"Cow Face",unified:"1F42E",keywords:["beef","ox","animal","nature","moo","milk"],sheet:[12,18],shortName:"cow"},{name:"No One Under Eighteen Symbol",unified:"1F51E",keywords:["18","drink","pub","night","minor","circle"],sheet:[28,1],shortName:"underage"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,6],shortName:"stuck_out_tongue_winking_eye"},{name:"Shopping Bags",unified:"1F6CD-FE0F",sheet:[36,35],shortName:"shopping_bags"},{name:"Right-Facing Fist",unified:"1F91C",sheet:[37,55],skinVariations:[{unified:"1F91C-1F3FB",sheet:[37,56]},{unified:"1F91C-1F3FC",sheet:[38,0]},{unified:"1F91C-1F3FD",sheet:[38,1]},{unified:"1F91C-1F3FE",sheet:[38,2]},{unified:"1F91C-1F3FF",sheet:[38,3]}],shortName:"right-facing_fist"},{name:"Cucumber",unified:"1F952",keywords:["fruit","food","pickle"],sheet:[41,33],shortName:"cucumber"},{name:"Bosnia & Herzegovina Flag",unified:"1F1E7-1F1E6",sheet:[0,48],shortName:"flag-ba"},{name:"School Satchel",unified:"1F392",keywords:["student","education","bag","backpack"],sheet:[7,54],shortName:"school_satchel"},{name:"Office Building",unified:"1F3E2",keywords:["building","bureau","work"],sheet:[10,53],shortName:"office"},{name:"Ox",unified:"1F402",keywords:["animal","cow","beef"],sheet:[11,30],shortName:"ox"},{name:"Clapping Hands Sign",unified:"1F44F",keywords:["hands","praise","applause","congrats","yay"],sheet:[13,50],skinVariations:[{unified:"1F44F-1F3FB",sheet:[13,51]},{unified:"1F44F-1F3FC",sheet:[13,52]},{unified:"1F44F-1F3FD",sheet:[13,53]},{unified:"1F44F-1F3FE",sheet:[13,54]},{unified:"1F44F-1F3FF",sheet:[13,55]}],shortName:"clap"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",sheet:[38,44],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"First Place Medal",unified:"1F947",sheet:[41,22],shortName:"first_place_medal"},{name:"Leafy Green",unified:"1F96C",sheet:[42,2],shortName:"leafy_green"},{name:"Radioactive Sign",unified:"2622-FE0F",sheet:[53,9],shortName:"radioactive_sign"},{name:"Barbados Flag",unified:"1F1E7-1F1E7",sheet:[0,49],shortName:"flag-bb"},{name:"Japanese Post Office",unified:"1F3E3",keywords:["building","envelope","communication"],sheet:[10,54],shortName:"post_office"},{name:"Water Buffalo",unified:"1F403",keywords:["animal","nature","ox","cow"],sheet:[11,31],shortName:"water_buffalo"},{name:"Mans Shoe",unified:"1F45E",keywords:["fashion","male"],sheet:[14,18],shortNames:["shoe"],shortName:"mans_shoe"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["face","prank","playful","mischievous","smile","tongue"],sheet:[31,7],shortName:"stuck_out_tongue_closed_eyes"},{name:"Person Raising Both Hands in Celebration",unified:"1F64C",keywords:["gesture","hooray","yea","celebration","hands"],sheet:[33,8],skinVariations:[{unified:"1F64C-1F3FB",sheet:[33,9]},{unified:"1F64C-1F3FC",sheet:[33,10]},{unified:"1F64C-1F3FD",sheet:[33,11]},{unified:"1F64C-1F3FE",sheet:[33,12]},{unified:"1F64C-1F3FF",sheet:[33,13]}],shortName:"raised_hands"},{name:"Second Place Medal",unified:"1F948",sheet:[41,23],shortName:"second_place_medal"},{name:"Broccoli",unified:"1F966",keywords:["fruit","food","vegetable"],sheet:[41,53],shortName:"broccoli"},{name:"Biohazard Sign",unified:"2623-FE0F",sheet:[53,10],shortName:"biohazard_sign"},{name:"Bangladesh Flag",unified:"1F1E7-1F1E9",sheet:[0,50],shortName:"flag-bd"},{name:"European Post Office",unified:"1F3E4",keywords:["building","email"],sheet:[10,55],shortName:"european_post_office"},{name:"Cow",unified:"1F404",keywords:["beef","ox","animal","nature","moo","milk"],sheet:[11,32],shortName:"cow2"},{name:"Open Hands Sign",unified:"1F450",keywords:["fingers","butterfly","hands","open"],sheet:[13,56],skinVariations:[{unified:"1F450-1F3FB",sheet:[14,0]},{unified:"1F450-1F3FC",sheet:[14,1]},{unified:"1F450-1F3FD",sheet:[14,2]},{unified:"1F450-1F3FE",sheet:[14,3]},{unified:"1F450-1F3FF",sheet:[14,4]}],shortName:"open_hands"},{name:"Athletic Shoe",unified:"1F45F",keywords:["shoes","sports","sneakers"],sheet:[14,19],shortName:"athletic_shoe"},{name:"Money-Mouth Face",unified:"1F911",keywords:["face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Third Place Medal",unified:"1F949",sheet:[41,24],shortName:"third_place_medal"},{name:"Garlic",unified:"1F9C4",sheet:[44,12],shortName:"garlic"},{name:"Upwards Black Arrow",unified:"2B06-FE0F",keywords:["blue-square","continue","top","direction"],sheet:[55,38],shortName:"arrow_up"},{name:"Belgium Flag",unified:"1F1E7-1F1EA",sheet:[0,51],shortName:"flag-be"},{name:"Hospital",unified:"1F3E5",keywords:["building","health","surgery","doctor"],sheet:[10,56],shortName:"hospital"},{name:"Pig Face",unified:"1F437",keywords:["animal","oink","nature"],sheet:[12,27],shortName:"pig"},{name:"Hugging Face",unified:"1F917",sheet:[37,30],shortName:"hugging_face"},{name:"Palms Up Together",unified:"1F932",sheet:[39,5],skinVariations:[{unified:"1F932-1F3FB",sheet:[39,6]},{unified:"1F932-1F3FC",sheet:[39,7]},{unified:"1F932-1F3FD",sheet:[39,8]},{unified:"1F932-1F3FE",sheet:[39,9]},{unified:"1F932-1F3FF",sheet:[39,10]}],shortName:"palms_up_together"},{name:"Hiking Boot",unified:"1F97E",keywords:["backpacking","camping","hiking"],sheet:[42,16],shortName:"hiking_boot"},{name:"Onion",unified:"1F9C5",sheet:[44,13],shortName:"onion"},{name:"North East Arrow",unified:"2197-FE0F",keywords:["blue-square","point","direction","diagonal","northeast"],sheet:[52,17],shortName:"arrow_upper_right"},{name:"Soccer Ball",unified:"26BD",keywords:["sports","football"],sheet:[53,56],shortName:"soccer"},{name:"Burkina Faso Flag",unified:"1F1E7-1F1EB",sheet:[0,52],shortName:"flag-bf"},{name:"Mushroom",unified:"1F344",keywords:["plant","vegetable"],sheet:[6,28],shortName:"mushroom"},{name:"Bank",unified:"1F3E6",keywords:["building","money","sales","cash","business","enterprise"],sheet:[11,0],shortName:"bank"},{name:"Pig",unified:"1F416",keywords:["animal","nature"],sheet:[11,51],shortName:"pig2"},{name:"Handshake",unified:"1F91D",keywords:["agreement","shake"],sheet:[38,4],shortName:"handshake"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",sheet:[38,47],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Flat Shoe",unified:"1F97F",sheet:[42,17],shortName:"womans_flat_shoe"},{name:"Baseball",unified:"26BE",keywords:["sports","balls"],sheet:[54,0],shortName:"baseball"},{name:"Black Rightwards Arrow",unified:"27A1-FE0F",keywords:["blue-square","next"],sheet:[55,32],shortName:"arrow_right"},{name:"Bulgaria Flag",unified:"1F1E7-1F1EC",sheet:[0,53],shortName:"flag-bg"},{name:"Hotel",unified:"1F3E8",keywords:["building","accomodation","checkin"],sheet:[11,2],shortName:"hotel"},{name:"Boar",unified:"1F417",keywords:["animal","nature"],sheet:[11,52],shortName:"boar"},{name:"High-Heeled Shoe",unified:"1F460",keywords:["fashion","shoes","female","pumps","stiletto"],sheet:[14,20],shortName:"high_heel"},{name:"Person with Folded Hands",unified:"1F64F",keywords:["please","hope","wish","namaste","highfive"],sheet:[33,50],skinVariations:[{unified:"1F64F-1F3FB",sheet:[33,51]},{unified:"1F64F-1F3FC",sheet:[33,52]},{unified:"1F64F-1F3FD",sheet:[33,53]},{unified:"1F64F-1F3FE",sheet:[33,54]},{unified:"1F64F-1F3FF",sheet:[33,55]}],shortName:"pray"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",sheet:[38,45],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Softball",unified:"1F94E",keywords:["sports","balls"],sheet:[41,29],shortName:"softball"},{name:"Peanuts",unified:"1F95C",keywords:["food","nut"],sheet:[41,43],shortName:"peanuts"},{name:"South East Arrow",unified:"2198-FE0F",keywords:["blue-square","direction","diagonal","southeast"],sheet:[52,18],shortName:"arrow_lower_right"},{name:"Bahrain Flag",unified:"1F1E7-1F1ED",sheet:[0,54],shortName:"flag-bh"},{name:"Chestnut",unified:"1F330",keywords:["food","squirrel"],sheet:[6,8],shortName:"chestnut"},{name:"Basketball and Hoop",unified:"1F3C0",keywords:["sports","balls","NBA"],sheet:[8,38],shortName:"basketball"},{name:"Love Hotel",unified:"1F3E9",keywords:["like","affection","dating"],sheet:[11,3],shortName:"love_hotel"},{name:"Pig Nose",unified:"1F43D",keywords:["animal","oink"],sheet:[12,33],shortName:"pig_nose"},{name:"Womans Sandal",unified:"1F461",keywords:["shoes","fashion","flip flops"],sheet:[14,21],shortName:"sandal"},{name:"Thinking Face",unified:"1F914",sheet:[37,27],shortName:"thinking_face"},{name:"Writing Hand",unified:"270D-FE0F",keywords:["lower_left_ballpoint_pen","stationery","write","compose"],sheet:[55,4],skinVariations:[{unified:"270D-1F3FB",sheet:[55,5]},{unified:"270D-1F3FC",sheet:[55,6]},{unified:"270D-1F3FD",sheet:[55,7]},{unified:"270D-1F3FE",sheet:[55,8]},{unified:"270D-1F3FF",sheet:[55,9]}],shortName:"writing_hand"},{name:"Downwards Black Arrow",unified:"2B07-FE0F",keywords:["blue-square","direction","bottom"],sheet:[55,39],shortName:"arrow_down"},{name:"Burundi Flag",unified:"1F1E7-1F1EE",sheet:[0,55],shortName:"flag-bi"},{name:"Bread",unified:"1F35E",keywords:["food","wheat","breakfast","toast"],sheet:[6,54],shortName:"bread"},{name:"Volleyball",unified:"1F3D0",keywords:["sports","balls"],sheet:[10,35],shortName:"volleyball"},{name:"Convenience Store",unified:"1F3EA",keywords:["building","shopping","groceries"],sheet:[11,4],shortName:"convenience_store"},{name:"Ram",unified:"1F40F",keywords:["animal","sheep","nature"],sheet:[11,43],shortName:"ram"},{name:"Nail Polish",unified:"1F485",keywords:["beauty","manicure","finger","fashion","nail"],sheet:[24,33],skinVariations:[{unified:"1F485-1F3FB",sheet:[24,34]},{unified:"1F485-1F3FC",sheet:[24,35]},{unified:"1F485-1F3FD",sheet:[24,36]},{unified:"1F485-1F3FE",sheet:[24,37]},{unified:"1F485-1F3FF",sheet:[24,38]}],shortName:"nail_care"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Ballet Shoes",unified:"1FA70",sheet:[51,51],shortName:"ballet_shoes"},{name:"South West Arrow",unified:"2199-FE0F",keywords:["blue-square","direction","diagonal","southwest"],sheet:[52,19],shortName:"arrow_lower_left"},{name:"Benin Flag",unified:"1F1E7-1F1EF",sheet:[0,56],shortName:"flag-bj"},{name:"American Football",unified:"1F3C8",keywords:["sports","balls","NFL"],sheet:[9,33],shortName:"football"},{name:"School",unified:"1F3EB",keywords:["building","student","education","learn","teach"],sheet:[11,5],shortName:"school"},{name:"Sheep",unified:"1F411",keywords:["animal","nature","wool","shipit"],sheet:[11,45],shortName:"sheep"},{name:"Womans Boots",unified:"1F462",keywords:["shoes","fashion"],sheet:[14,22],shortName:"boot"},{name:"Face with One Eyebrow Raised",unified:"1F928",sheet:[38,42],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Selfie",unified:"1F933",keywords:["camera","phone"],sheet:[39,11],skinVariations:[{unified:"1F933-1F3FB",sheet:[39,12]},{unified:"1F933-1F3FC",sheet:[39,13]},{unified:"1F933-1F3FD",sheet:[39,14]},{unified:"1F933-1F3FE",sheet:[39,15]},{unified:"1F933-1F3FF",sheet:[39,16]}],shortName:"selfie"},{name:"Croissant",unified:"1F950",keywords:["food","bread","french"],sheet:[41,31],shortName:"croissant"},{name:"Leftwards Black Arrow",unified:"2B05-FE0F",keywords:["blue-square","previous","back"],sheet:[55,37],shortName:"arrow_left"},{name:"St. Barth\xe9lemy Flag",unified:"1F1E7-1F1F1",sheet:[1,0],shortName:"flag-bl"},{name:"Rugby Football",unified:"1F3C9",keywords:["sports","team"],sheet:[9,34],shortName:"rugby_football"},{name:"Department Store",unified:"1F3EC",keywords:["building","shopping","mall"],sheet:[11,6],shortName:"department_store"},{name:"Goat",unified:"1F410",keywords:["animal","nature"],sheet:[11,44],shortName:"goat"},{name:"Crown",unified:"1F451",keywords:["king","kod","leader","royalty","lord"],sheet:[14,5],shortName:"crown"},{name:"Flexed Biceps",unified:"1F4AA",keywords:["arm","flex","hand","summer","strong","biceps"],sheet:[25,52],skinVariations:[{unified:"1F4AA-1F3FB",sheet:[25,53]},{unified:"1F4AA-1F3FC",sheet:[25,54]},{unified:"1F4AA-1F3FD",sheet:[25,55]},{unified:"1F4AA-1F3FE",sheet:[25,56]},{unified:"1F4AA-1F3FF",sheet:[26,0]}],shortName:"muscle"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["indifference","meh",":|","neutral"],sheet:[30,51],shortName:"neutral_face"},{name:"Baguette Bread",unified:"1F956",keywords:["food","bread","french"],sheet:[41,37],shortName:"baguette_bread"},{name:"North West Arrow",unified:"2196-FE0F",keywords:["blue-square","point","direction","diagonal","northwest"],sheet:[52,16],shortName:"arrow_upper_left"},{name:"Bermuda Flag",unified:"1F1E7-1F1F2",sheet:[1,1],shortName:"flag-bm"},{name:"Tennis Racquet and Ball",unified:"1F3BE",keywords:["sports","balls","green"],sheet:[8,36],shortName:"tennis"},{name:"Factory",unified:"1F3ED",keywords:["building","industry","pollution","smoke"],sheet:[11,7],shortName:"factory"},{name:"Dromedary Camel",unified:"1F42A",keywords:["animal","hot","desert","hump"],sheet:[12,14],shortName:"dromedary_camel"},{name:"Womans Hat",unified:"1F452",keywords:["fashion","accessories","female","lady","spring"],sheet:[14,6],shortName:"womans_hat"},{name:"Expressionless Face",unified:"1F611",keywords:["face","indifferent","-_-","meh","deadpan"],sheet:[30,52],shortName:"expressionless"},{name:"Pretzel",unified:"1F968",keywords:["food","bread","twisted"],sheet:[41,55],shortName:"pretzel"},{name:"Mechanical Arm",unified:"1F9BE",sheet:[44,6],shortName:"mechanical_arm"},{name:"Up Down Arrow",unified:"2195-FE0F",keywords:["blue-square","direction","way","vertical"],sheet:[52,15],shortName:"arrow_up_down"},{name:"Brunei Flag",unified:"1F1E7-1F1F3",sheet:[1,2],shortName:"flag-bn"},{name:"Top Hat",unified:"1F3A9",keywords:["magic","gentleman","classy","circus"],sheet:[8,15],shortName:"tophat"},{name:"Japanese Castle",unified:"1F3EF",keywords:["photo","building"],sheet:[11,9],shortName:"japanese_castle"},{name:"Bactrian Camel",unified:"1F42B",keywords:["animal","nature","hot","desert","hump"],sheet:[12,15],shortName:"camel"},{name:"Face Without Mouth",unified:"1F636",keywords:["face","hellokitty"],sheet:[31,32],shortName:"no_mouth"},{name:"Flying Disc",unified:"1F94F",keywords:["sports","frisbee","ultimate"],sheet:[41,30],shortName:"flying_disc"},{name:"Bagel",unified:"1F96F",keywords:["food","bread","bakery","schmear"],sheet:[42,5],shortName:"bagel"},{name:"Mechanical Leg",unified:"1F9BF",sheet:[44,7],shortName:"mechanical_leg"},{name:"Left Right Arrow",unified:"2194-FE0F",keywords:["shape","direction","horizontal","sideways"],sheet:[52,14],shortName:"left_right_arrow"},{name:"Bolivia Flag",unified:"1F1E7-1F1F4",sheet:[1,3],shortName:"flag-bo"},{name:"Graduation Cap",unified:"1F393",keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],sheet:[7,55],shortName:"mortar_board"},{name:"Bowling",unified:"1F3B3",keywords:["sports","fun","play"],sheet:[8,25],shortName:"bowling"},{name:"European Castle",unified:"1F3F0",keywords:["building","royalty","history"],sheet:[11,10],shortName:"european_castle"},{name:"Smirking Face",unified:"1F60F",keywords:["face","smile","mean","prank","smug","sarcasm"],sheet:[30,50],shortName:"smirk"},{name:"Pancakes",unified:"1F95E",keywords:["food","breakfast","flapjacks","hotcakes"],sheet:[41,45],shortName:"pancakes"},{name:"Llama",unified:"1F999",keywords:["animal","nature","alpaca"],sheet:[42,43],shortName:"llama"},{name:"Leg",unified:"1F9B5",keywords:["kick","limb"],sheet:[43,5],skinVariations:[{unified:"1F9B5-1F3FB",sheet:[43,6]},{unified:"1F9B5-1F3FC",sheet:[43,7]},{unified:"1F9B5-1F3FD",sheet:[43,8]},{unified:"1F9B5-1F3FE",sheet:[43,9]},{unified:"1F9B5-1F3FF",sheet:[43,10]}],shortName:"leg"},{name:"Leftwards Arrow with Hook",unified:"21A9-FE0F",keywords:["back","return","blue-square","undo","enter"],sheet:[52,20],shortName:"leftwards_arrow_with_hook"},{name:"Caribbean Netherlands Flag",unified:"1F1E7-1F1F6",sheet:[1,4],shortName:"flag-bq"},{name:"Cricket Bat and Ball",unified:"1F3CF",sheet:[10,34],shortName:"cricket_bat_and_ball"},{name:"Wedding",unified:"1F492",keywords:["love","like","affection","couple","marriage","bride","groom"],sheet:[25,28],shortName:"wedding"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,53],shortName:"unamused"},{name:"Giraffe Face",unified:"1F992",sheet:[42,36],shortName:"giraffe_face"},{name:"Foot",unified:"1F9B6",keywords:["kick","stomp"],sheet:[43,11],skinVariations:[{unified:"1F9B6-1F3FB",sheet:[43,12]},{unified:"1F9B6-1F3FC",sheet:[43,13]},{unified:"1F9B6-1F3FD",sheet:[43,14]},{unified:"1F9B6-1F3FE",sheet:[43,15]},{unified:"1F9B6-1F3FF",sheet:[43,16]}],shortName:"foot"},{name:"Waffle",unified:"1F9C7",sheet:[44,15],shortName:"waffle"},{name:"Billed Cap",unified:"1F9E2",sheet:[51,21],shortName:"billed_cap"},{name:"Rightwards Arrow with Hook",unified:"21AA-FE0F",keywords:["blue-square","return","rotate","direction"],sheet:[52,21],shortName:"arrow_right_hook"},{name:"Brazil Flag",unified:"1F1E7-1F1F7",sheet:[1,5],shortName:"flag-br"},{name:"Field Hockey Stick and Ball",unified:"1F3D1",sheet:[10,36],shortName:"field_hockey_stick_and_ball"},{name:"Elephant",unified:"1F418",keywords:["animal","nature","nose","th","circus"],sheet:[11,53],shortName:"elephant"},{name:"Ear",unified:"1F442",keywords:["face","hear","sound","listen"],sheet:[12,39],skinVariations:[{unified:"1F442-1F3FB",sheet:[12,40]},{unified:"1F442-1F3FC",sheet:[12,41]},{unified:"1F442-1F3FD",sheet:[12,42]},{unified:"1F442-1F3FE",sheet:[12,43]},{unified:"1F442-1F3FF",sheet:[12,44]}],shortName:"ear"},{name:"Tokyo Tower",unified:"1F5FC",keywords:["photo","japanese"],sheet:[30,31],shortName:"tokyo_tower"},{name:"Face with Rolling Eyes",unified:"1F644",sheet:[31,46],shortName:"face_with_rolling_eyes"},{name:"Cheese Wedge",unified:"1F9C0",sheet:[44,8],shortName:"cheese_wedge"},{name:"Helmet with White Cross",unified:"26D1-FE0F",sheet:[54,6],shortName:"helmet_with_white_cross"},{name:"Arrow Pointing Rightwards Then Curving Upwards",unified:"2934-FE0F",keywords:["blue-square","direction","top"],sheet:[55,35],shortName:"arrow_heading_up"},{name:"Bahamas Flag",unified:"1F1E7-1F1F8",sheet:[1,6],shortName:"flag-bs"},{name:"Meat on Bone",unified:"1F356",keywords:["good","food","drumstick"],sheet:[6,46],shortName:"meat_on_bone"},{name:"Ice Hockey Stick and Puck",unified:"1F3D2",sheet:[10,37],shortName:"ice_hockey_stick_and_puck"},{name:"Prayer Beads",unified:"1F4FF",keywords:["dhikr","religious"],sheet:[27,27],shortName:"prayer_beads"},{name:"Statue of Liberty",unified:"1F5FD",keywords:["american","newyork"],sheet:[30,32],shortName:"statue_of_liberty"},{name:"Grimacing Face",unified:"1F62C",keywords:["face","grimace","teeth"],sheet:[31,22],shortName:"grimacing"},{name:"Rhinoceros",unified:"1F98F",keywords:["animal","nature","horn"],sheet:[42,33],shortName:"rhinoceros"},{name:"Ear with Hearing Aid",unified:"1F9BB",sheet:[43,55],skinVariations:[{unified:"1F9BB-1F3FB",sheet:[43,56]},{unified:"1F9BB-1F3FC",sheet:[44,0]},{unified:"1F9BB-1F3FD",sheet:[44,1]},{unified:"1F9BB-1F3FE",sheet:[44,2]},{unified:"1F9BB-1F3FF",sheet:[44,3]}],shortName:"ear_with_hearing_aid"},{name:"Arrow Pointing Rightwards Then Curving Downwards",unified:"2935-FE0F",keywords:["blue-square","direction","bottom"],sheet:[55,36],shortName:"arrow_heading_down"},{name:"Bhutan Flag",unified:"1F1E7-1F1F9",sheet:[1,7],shortName:"flag-bt"},{name:"Poultry Leg",unified:"1F357",keywords:["food","meat","drumstick","bird","chicken","turkey"],sheet:[6,47],shortName:"poultry_leg"},{name:"Nose",unified:"1F443",keywords:["smell","sniff"],sheet:[12,45],skinVariations:[{unified:"1F443-1F3FB",sheet:[12,46]},{unified:"1F443-1F3FC",sheet:[12,47]},{unified:"1F443-1F3FD",sheet:[12,48]},{unified:"1F443-1F3FE",sheet:[12,49]},{unified:"1F443-1F3FF",sheet:[12,50]}],shortName:"nose"},{name:"Lipstick",unified:"1F484",keywords:["female","girl","fashion","woman"],sheet:[24,32],shortName:"lipstick"},{name:"Clockwise Downwards and Upwards Open Circle Arrows",unified:"1F503",keywords:["sync","cycle","round","repeat"],sheet:[27,31],shortName:"arrows_clockwise"},{name:"Lying Face",unified:"1F925",keywords:["face","lie","pinocchio"],sheet:[38,22],shortName:"lying_face"},{name:"Lacrosse Stick and Ball",unified:"1F94D",keywords:["sports","ball","stick"],sheet:[41,28],shortName:"lacrosse"},{name:"Hippopotamus",unified:"1F99B",keywords:["animal","nature"],sheet:[42,45],shortName:"hippopotamus"},{name:"Church",unified:"26EA",keywords:["building","religion","christ"],sheet:[54,10],shortName:"church"},{name:"Bouvet Island Flag",unified:"1F1E7-1F1FB",sheet:[1,8],shortName:"flag-bv"},{name:"Table Tennis Paddle and Ball",unified:"1F3D3",sheet:[10,38],shortName:"table_tennis_paddle_and_ball"},{name:"Mouse Face",unified:"1F42D",keywords:["animal","nature","cheese_wedge","rodent"],sheet:[12,17],shortName:"mouse"},{name:"Ring",unified:"1F48D",keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],sheet:[25,23],shortName:"ring"},{name:"Anticlockwise Downwards and Upwards Open Circle Arrows",unified:"1F504",keywords:["blue-square","sync","cycle"],sheet:[27,32],shortName:"arrows_counterclockwise"},{name:"Mosque",unified:"1F54C",keywords:["islam","worship","minaret"],sheet:[28,36],shortName:"mosque"},{name:"Relieved Face",unified:"1F60C",keywords:["face","relaxed","phew","massage","happiness"],sheet:[30,47],shortName:"relieved"},{name:"Cut of Meat",unified:"1F969",sheet:[41,56],shortName:"cut_of_meat"},{name:"Brain",unified:"1F9E0",keywords:["smart","intelligent"],sheet:[51,19],shortName:"brain"},{name:"Botswana Flag",unified:"1F1E7-1F1FC",sheet:[1,9],shortName:"flag-bw"},{name:"Badminton Racquet and Shuttlecock",unified:"1F3F8",sheet:[11,20],shortName:"badminton_racquet_and_shuttlecock"},{name:"Mouse",unified:"1F401",keywords:["animal","nature","rodent"],sheet:[11,29],shortName:"mouse2"},{name:"Gem Stone",unified:"1F48E",keywords:["blue","ruby","diamond","jewelry"],sheet:[25,24],shortName:"gem"},{name:"Back with Leftwards Arrow Above",unified:"1F519",keywords:["arrow","words","return"],sheet:[27,53],shortName:"back"},{name:"Pensive Face",unified:"1F614",keywords:["face","sad","depressed","upset"],sheet:[30,55],shortName:"pensive"},{name:"Hindu Temple",unified:"1F6D5",sheet:[36,41],shortName:"hindu_temple"},{name:"Bacon",unified:"1F953",keywords:["food","breakfast","pork","pig","meat"],sheet:[41,34],shortName:"bacon"},{name:"Tooth",unified:"1F9B7",keywords:["teeth","dentist"],sheet:[43,17],shortName:"tooth"},{name:"Belarus Flag",unified:"1F1E7-1F1FE",sheet:[1,10],shortName:"flag-by"},{name:"Hamburger",unified:"1F354",keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],sheet:[6,44],shortName:"hamburger"},{name:"Rat",unified:"1F400",keywords:["animal","mouse","rodent"],sheet:[11,28],shortName:"rat"},{name:"Speaker with Cancellation Stroke",unified:"1F507",keywords:["sound","volume","silence","quiet"],sheet:[27,35],shortName:"mute"},{name:"End with Leftwards Arrow Above",unified:"1F51A",keywords:["words","arrow"],sheet:[27,54],shortName:"end"},{name:"Synagogue",unified:"1F54D",keywords:["judaism","worship","temple","jewish"],sheet:[28,37],shortName:"synagogue"},{name:"Sleepy Face",unified:"1F62A",keywords:["face","tired","rest","nap"],sheet:[31,20],shortName:"sleepy"},{name:"Boxing Glove",unified:"1F94A",keywords:["sports","fighting"],sheet:[41,25],shortName:"boxing_glove"},{name:"Bone",unified:"1F9B4",keywords:["skeleton"],sheet:[43,4],shortName:"bone"},{name:"Belize Flag",unified:"1F1E7-1F1FF",sheet:[1,11],shortName:"flag-bz"},{name:"French Fries",unified:"1F35F",keywords:["chips","snack","fast food"],sheet:[6,55],shortName:"fries"},{name:"Hamster Face",unified:"1F439",keywords:["animal","nature"],sheet:[12,29],shortName:"hamster"},{name:"Eyes",unified:"1F440",keywords:["look","watch","stalk","peek","see"],sheet:[12,36],shortName:"eyes"},{name:"Speaker",unified:"1F508",keywords:["sound","volume","silence","broadcast"],sheet:[27,36],shortName:"speaker"},{name:"On with Exclamation Mark with Left Right Arrow Above",unified:"1F51B",keywords:["arrow","words"],sheet:[27,55],shortName:"on"},{name:"Drooling Face",unified:"1F924",keywords:["face"],sheet:[38,21],shortName:"drooling_face"},{name:"Martial Arts Uniform",unified:"1F94B",keywords:["judo","karate","taekwondo"],sheet:[41,26],shortName:"martial_arts_uniform"},{name:"Shinto Shrine",unified:"26E9-FE0F",keywords:["temple","japan","kyoto"],sheet:[54,9],shortName:"shinto_shrine"},{name:"Canada Flag",unified:"1F1E8-1F1E6",sheet:[1,12],shortName:"flag-ca"},{name:"Slice of Pizza",unified:"1F355",keywords:["food","party"],sheet:[6,45],shortName:"pizza"},{name:"Rabbit Face",unified:"1F430",keywords:["animal","nature","pet","spring","magic","bunny"],sheet:[12,20],shortName:"rabbit"},{name:"Eye",unified:"1F441-FE0F",keywords:["face","look","see","watch","stare"],sheet:[12,38],shortName:"eye"},{name:"Speaker with One Sound Wave",unified:"1F509",keywords:["volume","speaker","broadcast"],sheet:[27,37],shortName:"sound"},{name:"Soon with Rightwards Arrow Above",unified:"1F51C",keywords:["arrow","words"],sheet:[27,56],shortName:"soon"},{name:"Kaaba",unified:"1F54B",keywords:["mecca","mosque","islam"],sheet:[28,35],shortName:"kaaba"},{name:"Sleeping Face",unified:"1F634",keywords:["face","tired","sleepy","night","zzz"],sheet:[31,30],shortName:"sleeping"},{name:"Goal Net",unified:"1F945",keywords:["sports"],sheet:[41,21],shortName:"goal_net"},{name:"Cocos (keeling) Islands Flag",unified:"1F1E8-1F1E8",sheet:[1,13],shortName:"flag-cc"},{name:"Hot Dog",unified:"1F32D",keywords:["food","frankfurter"],sheet:[6,5],shortName:"hotdog"},{name:"Rabbit",unified:"1F407",keywords:["animal","nature","pet","magic","spring"],sheet:[11,35],shortName:"rabbit2"},{name:"Tongue",unified:"1F445",keywords:["mouth","playful"],sheet:[12,52],shortName:"tongue"},{name:"Speaker with Three Sound Waves",unified:"1F50A",keywords:["volume","noise","noisy","speaker","broadcast"],sheet:[27,38],shortName:"loud_sound"},{name:"Top with Upwards Arrow Above",unified:"1F51D",keywords:["words","blue-square"],sheet:[28,0],shortName:"top"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face","sick","ill","disease"],sheet:[31,33],shortName:"mask"},{name:"Fountain",unified:"26F2",keywords:["photo","summer","water","fresh"],sheet:[54,13],shortName:"fountain"},{name:"Flag in Hole",unified:"26F3",keywords:["sports","business","flag","hole","summer"],sheet:[54,14],shortName:"golf"},{name:"Congo - Kinshasa Flag",unified:"1F1E8-1F1E9",sheet:[1,14],shortName:"flag-cd"},{name:"Chipmunk",unified:"1F43F-FE0F",keywords:["animal","nature","rodent","squirrel"],sheet:[12,35],shortName:"chipmunk"},{name:"Mouth",unified:"1F444",keywords:["mouth","kiss"],sheet:[12,51],shortName:"lips"},{name:"Public Address Loudspeaker",unified:"1F4E2",keywords:["volume","sound"],sheet:[26,56],shortName:"loudspeaker"},{name:"Place of Worship",unified:"1F6D0",keywords:["religion","church","temple","prayer"],sheet:[36,38],shortName:"place_of_worship"},{name:"Face with Thermometer",unified:"1F912",keywords:["sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Sandwich",unified:"1F96A",keywords:["food","lunch","bread"],sheet:[42,0],shortName:"sandwich"},{name:"Ice Skate",unified:"26F8-FE0F",keywords:["sports"],sheet:[54,18],shortName:"ice_skate"},{name:"Tent",unified:"26FA",keywords:["photo","camping","outdoors"],sheet:[54,37],shortName:"tent"},{name:"Central African Republic Flag",unified:"1F1E8-1F1EB",sheet:[1,15],shortName:"flag-cf"},{name:"Foggy",unified:"1F301",keywords:["photo","mountain"],sheet:[5,20],shortName:"foggy"},{name:"Taco",unified:"1F32E",keywords:["food","mexican"],sheet:[6,6],shortName:"taco"},{name:"Fishing Pole and Fish",unified:"1F3A3",keywords:["food","hobby","summer"],sheet:[8,9],shortName:"fishing_pole_and_fish"},{name:"Baby",unified:"1F476",keywords:["child","boy","girl","toddler"],sheet:[23,4],skinVariations:[{unified:"1F476-1F3FB",sheet:[23,5]},{unified:"1F476-1F3FC",sheet:[23,6]},{unified:"1F476-1F3FD",sheet:[23,7]},{unified:"1F476-1F3FE",sheet:[23,8]},{unified:"1F476-1F3FF",sheet:[23,9]}],shortName:"baby"},{name:"Cheering Megaphone",unified:"1F4E3",keywords:["sound","speaker","volume"],sheet:[27,0],shortName:"mega"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Hedgehog",unified:"1F994",keywords:["animal","nature","spiny"],sheet:[42,38],shortName:"hedgehog"},{name:"Atom Symbol",unified:"269B-FE0F",keywords:["science","physics","chemistry"],sheet:[53,48],shortName:"atom_symbol"},{name:"Congo - Brazzaville Flag",unified:"1F1E8-1F1EC",sheet:[1,16],shortName:"flag-cg"},{name:"Night with Stars",unified:"1F303",keywords:["evening","city","downtown"],sheet:[5,22],shortName:"night_with_stars"},{name:"Burrito",unified:"1F32F",keywords:["food","mexican"],sheet:[6,7],shortName:"burrito"},{name:"Postal Horn",unified:"1F4EF",keywords:["instrument","music"],sheet:[27,12],shortName:"postal_horn"},{name:"Om Symbol",unified:"1F549-FE0F",sheet:[28,33],shortName:"om_symbol"},{name:"Nauseated Face",unified:"1F922",keywords:["face","vomit","gross","green","sick","throw up","ill"],sheet:[38,19],shortName:"nauseated_face"},{name:"Diving Mask",unified:"1F93F",sheet:[41,15],shortName:"diving_mask"},{name:"Bat",unified:"1F987",keywords:["animal","nature","blind","vampire"],sheet:[42,25],shortName:"bat"},{name:"Child",unified:"1F9D2",keywords:["gender-neutral","young"],sheet:[48,16],skinVariations:[{unified:"1F9D2-1F3FB",sheet:[48,17]},{unified:"1F9D2-1F3FC",sheet:[48,18]},{unified:"1F9D2-1F3FD",sheet:[48,19]},{unified:"1F9D2-1F3FE",sheet:[48,20]},{unified:"1F9D2-1F3FF",sheet:[48,21]}],shortName:"child"},{name:"Switzerland Flag",unified:"1F1E8-1F1ED",sheet:[1,17],shortName:"flag-ch"},{name:"Running Shirt with Sash",unified:"1F3BD",keywords:["play","pageant"],sheet:[8,35],shortName:"running_shirt_with_sash"},{name:"Cityscape",unified:"1F3D9-FE0F",keywords:["photo","night life","urban"],sheet:[10,44],shortName:"cityscape"},{name:"Bear Face",unified:"1F43B",keywords:["animal","nature","wild"],sheet:[12,31],shortName:"bear"},{name:"Boy",unified:"1F466",keywords:["man","male","guy","teenager"],sheet:[14,26],skinVariations:[{unified:"1F466-1F3FB",sheet:[14,27]},{unified:"1F466-1F3FC",sheet:[14,28]},{unified:"1F466-1F3FD",sheet:[14,29]},{unified:"1F466-1F3FE",sheet:[14,30]},{unified:"1F466-1F3FF",sheet:[14,31]}],shortName:"boy"},{name:"Bell",unified:"1F514",keywords:["sound","notification","christmas","xmas","chime"],sheet:[27,48],shortName:"bell"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",sheet:[38,48],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Stuffed Flatbread",unified:"1F959",keywords:["food","flatbread","stuffed","gyro"],sheet:[41,40],shortName:"stuffed_flatbread"},{name:"Star of David",unified:"2721-FE0F",keywords:["judaism"],sheet:[55,15],shortName:"star_of_david"},{name:"C\xf4te D\u2019ivoire Flag",unified:"1F1E8-1F1EE",sheet:[1,18],shortName:"flag-ci"},{name:"Sunrise over Mountains",unified:"1F304",keywords:["view","vacation","photo"],sheet:[5,23],shortName:"sunrise_over_mountains"},{name:"Ski and Ski Boot",unified:"1F3BF",keywords:["sports","winter","cold","snow"],sheet:[8,37],shortName:"ski"},{name:"Koala",unified:"1F428",keywords:["animal","nature"],sheet:[12,12],shortName:"koala"},{name:"Girl",unified:"1F467",keywords:["female","woman","teenager"],sheet:[14,32],skinVariations:[{unified:"1F467-1F3FB",sheet:[14,33]},{unified:"1F467-1F3FC",sheet:[14,34]},{unified:"1F467-1F3FD",sheet:[14,35]},{unified:"1F467-1F3FE",sheet:[14,36]},{unified:"1F467-1F3FF",sheet:[14,37]}],shortName:"girl"},{name:"Bell with Cancellation Stroke",unified:"1F515",keywords:["sound","volume","mute","quiet","silent"],sheet:[27,49],shortName:"no_bell"},{name:"Sneezing Face",unified:"1F927",keywords:["face","gesundheit","sneeze","sick","allergy"],sheet:[38,41],shortName:"sneezing_face"},{name:"Falafel",unified:"1F9C6",sheet:[44,14],shortName:"falafel"},{name:"Wheel of Dharma",unified:"2638-FE0F",keywords:["hinduism","buddhism","sikhism","jainism"],sheet:[53,15],shortName:"wheel_of_dharma"},{name:"Cook Islands Flag",unified:"1F1E8-1F1F0",sheet:[1,19],shortName:"flag-ck"},{name:"Sunrise",unified:"1F305",keywords:["morning","view","vacation","photo"],sheet:[5,24],shortName:"sunrise"},{name:"Musical Score",unified:"1F3BC",keywords:["treble","clef","compose"],sheet:[8,34],shortName:"musical_score"},{name:"Panda Face",unified:"1F43C",keywords:["animal","nature","panda"],sheet:[12,32],shortName:"panda_face"},{name:"Sled",unified:"1F6F7",keywords:["sleigh","luge","toboggan"],sheet:[36,56],shortName:"sled"},{name:"Egg",unified:"1F95A",keywords:["food","chicken","breakfast"],sheet:[41,41],shortName:"egg"},{name:"Overheated Face",unified:"1F975",sheet:[42,10],shortName:"hot_face"},{name:"Adult",unified:"1F9D1",keywords:["gender-neutral","person"],sheet:[48,10],skinVariations:[{unified:"1F9D1-1F3FB",sheet:[48,11]},{unified:"1F9D1-1F3FC",sheet:[48,12]},{unified:"1F9D1-1F3FD",sheet:[48,13]},{unified:"1F9D1-1F3FE",sheet:[48,14]},{unified:"1F9D1-1F3FF",sheet:[48,15]}],shortName:"adult"},{name:"Yin Yang",unified:"262F-FE0F",keywords:["balance"],sheet:[53,14],shortName:"yin_yang"},{name:"Chile Flag",unified:"1F1E8-1F1F1",sheet:[1,20],shortName:"flag-cl"},{name:"Cityscape at Dusk",unified:"1F306",keywords:["photo","evening","sky","buildings"],sheet:[5,25],shortName:"city_sunset"},{name:"Cooking",unified:"1F373",keywords:["food","breakfast","kitchen","egg"],sheet:[7,18],shortNames:["cooking"],shortName:"fried_egg"},{name:"Musical Note",unified:"1F3B5",keywords:["score","tone","sound"],sheet:[8,27],shortName:"musical_note"},{name:"Person with Blond Hair",unified:"1F471",sheet:[22,19],hidden:["facebook"],skinVariations:[{unified:"1F471-1F3FB",sheet:[22,20],hidden:["facebook"]},{unified:"1F471-1F3FC",sheet:[22,21],hidden:["facebook"]},{unified:"1F471-1F3FD",sheet:[22,22],hidden:["facebook"]},{unified:"1F471-1F3FE",sheet:[22,23],hidden:["facebook"]},{unified:"1F471-1F3FF",sheet:[22,24],hidden:["facebook"]}],shortName:"person_with_blond_hair",obsoletedBy:"1F471-200D-2642-FE0F"},{name:"Curling Stone",unified:"1F94C",keywords:["sports"],sheet:[41,27],shortName:"curling_stone"},{name:"Freezing Face",unified:"1F976",sheet:[42,11],shortName:"cold_face"},{name:"Sloth",unified:"1F9A5",sheet:[42,53],shortName:"sloth"},{name:"Latin Cross",unified:"271D-FE0F",keywords:["christianity"],sheet:[55,14],shortName:"latin_cross"},{name:"Cameroon Flag",unified:"1F1E8-1F1F2",sheet:[1,21],shortName:"flag-cm"},{name:"Sunset over Buildings",unified:"1F307",keywords:["photo","good morning","dawn"],sheet:[5,26],shortName:"city_sunrise"},{name:"Direct Hit",unified:"1F3AF",keywords:["game","play","bar","target","bullseye"],sheet:[8,21],shortName:"dart"},{name:"Multiple Musical Notes",unified:"1F3B6",keywords:["music","score"],sheet:[8,28],shortName:"notes"},{name:"Man",unified:"1F468",keywords:["mustache","father","dad","guy","classy","sir","moustache"],sheet:[17,22],skinVariations:[{unified:"1F468-1F3FB",sheet:[17,23]},{unified:"1F468-1F3FC",sheet:[17,24]},{unified:"1F468-1F3FD",sheet:[17,25]},{unified:"1F468-1F3FE",sheet:[17,26]},{unified:"1F468-1F3FF",sheet:[17,27]}],shortName:"man"},{name:"Shallow Pan of Food",unified:"1F958",keywords:["food","cooking","casserole","paella"],sheet:[41,39],shortName:"shallow_pan_of_food"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",sheet:[42,9],shortName:"woozy_face"},{name:"Otter",unified:"1F9A6",sheet:[42,54],shortName:"otter"},{name:"Orthodox Cross",unified:"2626-FE0F",keywords:["suppedaneum","religion"],sheet:[53,11],shortName:"orthodox_cross"},{name:"China Flag",unified:"1F1E8-1F1F3",keywords:["china","chinese","prc","flag","country","nation","banner"],sheet:[1,22],shortNames:["flag-cn"],shortName:"cn"},{name:"Bridge at Night",unified:"1F309",keywords:["photo","sanfrancisco"],sheet:[5,28],shortName:"bridge_at_night"},{name:"Pot of Food",unified:"1F372",keywords:["food","meat","soup"],sheet:[7,17],shortName:"stew"},{name:"Studio Microphone",unified:"1F399-FE0F",keywords:["sing","recording","artist","talkshow"],sheet:[8,1],shortName:"studio_microphone"},{name:"Dizzy Face",unified:"1F635",keywords:["spent","unconscious","xox","dizzy"],sheet:[31,31],shortName:"dizzy_face"},{name:"Skunk",unified:"1F9A8",sheet:[42,56],shortName:"skunk"},{name:"Bearded Person",unified:"1F9D4",keywords:["person","bewhiskered"],sheet:[48,28],skinVariations:[{unified:"1F9D4-1F3FB",sheet:[48,29]},{unified:"1F9D4-1F3FC",sheet:[48,30]},{unified:"1F9D4-1F3FD",sheet:[48,31]},{unified:"1F9D4-1F3FE",sheet:[48,32]},{unified:"1F9D4-1F3FF",sheet:[48,33]}],shortName:"bearded_person"},{name:"Yo-Yo",unified:"1FA80",sheet:[52,1],shortName:"yo-yo"},{name:"Star and Crescent",unified:"262A-FE0F",keywords:["islam"],sheet:[53,12],shortName:"star_and_crescent"},{name:"Colombia Flag",unified:"1F1E8-1F1F4",sheet:[1,23],shortName:"flag-co"},{name:"Level Slider",unified:"1F39A-FE0F",keywords:["scale"],sheet:[8,2],shortName:"level_slider"},{name:"Red Haired Man",unified:"1F468-200D-1F9B0",sheet:[16,23],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B0",sheet:[16,24]},{unified:"1F468-1F3FC-200D-1F9B0",sheet:[16,25]},{unified:"1F468-1F3FD-200D-1F9B0",sheet:[16,26]},{unified:"1F468-1F3FE-200D-1F9B0",sheet:[16,27]},{unified:"1F468-1F3FF-200D-1F9B0",sheet:[16,28]}],shortName:"red_haired_man"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["face","shocked","mind","blown"],sheet:[38,49],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Bowl with Spoon",unified:"1F963",keywords:["food","breakfast","cereal","oatmeal","porridge"],sheet:[41,50],shortName:"bowl_with_spoon"},{name:"Kangaroo",unified:"1F998",keywords:["animal","nature","australia","joey","hop","marsupial"],sheet:[42,42],shortName:"kangaroo"},{name:"Kite",unified:"1FA81",sheet:[52,2],shortName:"kite"},{name:"Peace Symbol",unified:"262E-FE0F",keywords:["hippie"],sheet:[53,13],shortName:"peace_symbol"},{name:"Hot Springs",unified:"2668-FE0F",keywords:["bath","warm","relax"],sheet:[53,37],shortName:"hotsprings"},{name:"Clipperton Island Flag",unified:"1F1E8-1F1F5",sheet:[1,24],shortName:"flag-cp"},{name:"Control Knobs",unified:"1F39B-FE0F",keywords:["dial"],sheet:[8,3],shortName:"control_knobs"},{name:"Carousel Horse",unified:"1F3A0",keywords:["photo","carnival"],sheet:[8,6],shortName:"carousel_horse"},{name:"Billiards",unified:"1F3B1",keywords:["pool","hobby","game","luck","magic"],sheet:[8,23],shortName:"8ball"},{name:"Curly Haired Man",unified:"1F468-200D-1F9B1",sheet:[16,29],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B1",sheet:[16,30]},{unified:"1F468-1F3FC-200D-1F9B1",sheet:[16,31]},{unified:"1F468-1F3FD-200D-1F9B1",sheet:[16,32]},{unified:"1F468-1F3FE-200D-1F9B1",sheet:[16,33]},{unified:"1F468-1F3FF-200D-1F9B1",sheet:[16,34]}],shortName:"curly_haired_man"},{name:"Menorah with Nine Branches",unified:"1F54E",sheet:[28,38],shortName:"menorah_with_nine_branches"},{name:"Face with Cowboy Hat",unified:"1F920",sheet:[38,17],shortName:"face_with_cowboy_hat"},{name:"Green Salad",unified:"1F957",keywords:["food","healthy","lettuce"],sheet:[41,38],shortName:"green_salad"},{name:"Badger",unified:"1F9A1",keywords:["animal","nature","honey"],sheet:[42,51],shortName:"badger"},{name:"Costa Rica Flag",unified:"1F1E8-1F1F7",sheet:[1,25],shortName:"flag-cr"},{name:"Popcorn",unified:"1F37F",keywords:["food","movie theater","films","snack"],sheet:[7,30],shortName:"popcorn"},{name:"Ferris Wheel",unified:"1F3A1",keywords:["photo","carnival","londoneye"],sheet:[8,7],shortName:"ferris_wheel"},{name:"Microphone",unified:"1F3A4",keywords:["sound","music","PA","sing","talkshow"],sheet:[8,10],shortName:"microphone"},{name:"Paw Prints",unified:"1F43E",sheet:[12,34],shortNames:["paw_prints"],shortName:"feet"},{name:"White Haired Man",unified:"1F468-200D-1F9B3",sheet:[16,41],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B3",sheet:[16,42]},{unified:"1F468-1F3FC-200D-1F9B3",sheet:[16,43]},{unified:"1F468-1F3FD-200D-1F9B3",sheet:[16,44]},{unified:"1F468-1F3FE-200D-1F9B3",sheet:[16,45]},{unified:"1F468-1F3FF-200D-1F9B3",sheet:[16,46]}],shortName:"white_haired_man"},{name:"Crystal Ball",unified:"1F52E",keywords:["disco","party","magic","circus","fortune_teller"],sheet:[28,17],shortName:"crystal_ball"},{name:"Six Pointed Star with Middle Dot",unified:"1F52F",keywords:["purple-square","religion","jewish","hexagram"],sheet:[28,18],shortName:"six_pointed_star"},{name:"Face with Party Horn and Party Hat",unified:"1F973",sheet:[42,8],shortName:"partying_face"},{name:"Cuba Flag",unified:"1F1E8-1F1FA",sheet:[1,26],shortName:"flag-cu"},{name:"Roller Coaster",unified:"1F3A2",keywords:["carnival","playground","photo","fun"],sheet:[8,8],shortName:"roller_coaster"},{name:"Headphone",unified:"1F3A7",keywords:["music","score","gadgets"],sheet:[8,13],shortName:"headphones"},{name:"Bald Man",unified:"1F468-200D-1F9B2",sheet:[16,35],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B2",sheet:[16,36]},{unified:"1F468-1F3FC-200D-1F9B2",sheet:[16,37]},{unified:"1F468-1F3FD-200D-1F9B2",sheet:[16,38]},{unified:"1F468-1F3FE-200D-1F9B2",sheet:[16,39]},{unified:"1F468-1F3FF-200D-1F9B2",sheet:[16,40]}],shortName:"bald_man"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["face","cool","smile","summer","beach","sunglass"],sheet:[30,49],shortName:"sunglasses"},{name:"Turkey",unified:"1F983",keywords:["animal","bird"],sheet:[42,21],shortName:"turkey"},{name:"Butter",unified:"1F9C8",sheet:[44,16],shortName:"butter"},{name:"Nazar Amulet",unified:"1F9FF",keywords:["bead","charm"],sheet:[51,50],shortName:"nazar_amulet"},{name:"Aries",unified:"2648",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,20],shortName:"aries"},{name:"Cape Verde Flag",unified:"1F1E8-1F1FB",sheet:[1,27],shortName:"flag-cv"},{name:"Video Game",unified:"1F3AE",keywords:["play","console","PS4","controller"],sheet:[8,20],shortName:"video_game"},{name:"Chicken",unified:"1F414",keywords:["animal","cluck","nature","bird"],sheet:[11,48],shortName:"chicken"},{name:"Woman",unified:"1F469",keywords:["female","girls","lady"],sheet:[20,9],skinVariations:[{unified:"1F469-1F3FB",sheet:[20,10]},{unified:"1F469-1F3FC",sheet:[20,11]},{unified:"1F469-1F3FD",sheet:[20,12]},{unified:"1F469-1F3FE",sheet:[20,13]},{unified:"1F469-1F3FF",sheet:[20,14]}],shortName:"woman"},{name:"Barber Pole",unified:"1F488",keywords:["hair","salon","style"],sheet:[25,18],shortName:"barber"},{name:"Radio",unified:"1F4FB",keywords:["communication","music","podcast","program"],sheet:[27,24],shortName:"radio"},{name:"Nerd Face",unified:"1F913",keywords:["face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Salt Shaker",unified:"1F9C2",keywords:["condiment","shaker"],sheet:[44,10],shortName:"salt"},{name:"Taurus",unified:"2649",keywords:["purple-square","sign","zodiac","astrology"],sheet:[53,21],shortName:"taurus"},{name:"Cura\xe7ao Flag",unified:"1F1E8-1F1FC",sheet:[1,28],shortName:"flag-cw"},{name:"Circus Tent",unified:"1F3AA",keywords:["festival","carnival","party"],sheet:[8,16],shortName:"circus_tent"},{name:"Saxophone",unified:"1F3B7",keywords:["music","instrument","jazz","blues"],sheet:[8,29],shortName:"saxophone"},{name:"Rooster",unified:"1F413",keywords:["animal","nature","chicken"],sheet:[11,47],shortName:"rooster"},{name:"Red Haired Woman",unified:"1F469-200D-1F9B0",sheet:[19,8],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B0",sheet:[19,9]},{unified:"1F469-1F3FC-200D-1F9B0",sheet:[19,10]},{unified:"1F469-1F3FD-200D-1F9B0",sheet:[19,11]},{unified:"1F469-1F3FE-200D-1F9B0",sheet:[19,12]},{unified:"1F469-1F3FF-200D-1F9B0",sheet:[19,13]}],shortName:"red_haired_woman"},{name:"Joystick",unified:"1F579-FE0F",keywords:["game","play"],sheet:[29,36],shortName:"joystick"},{name:"Canned Food",unified:"1F96B",keywords:["food","soup"],sheet:[42,1],shortName:"canned_food"},{name:"Face with Monocle",unified:"1F9D0",sheet:[45,16],shortName:"face_with_monocle"},{name:"Gemini",unified:"264A",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,22],shortName:"gemini"},{name:"Christmas Island Flag",unified:"1F1E8-1F1FD",sheet:[1,29],shortName:"flag-cx"},{name:"Bento Box",unified:"1F371",keywords:["food","japanese","box"],sheet:[7,16],shortName:"bento"},{name:"Slot Machine",unified:"1F3B0",keywords:["bet","gamble","vegas","fruit machine","luck","casino"],sheet:[8,22],shortName:"slot_machine"},{name:"Guitar",unified:"1F3B8",keywords:["music","instrument"],sheet:[8,30],shortName:"guitar"},{name:"Hatching Chick",unified:"1F423",keywords:["animal","chicken","egg","born","baby","bird"],sheet:[12,7],shortName:"hatching_chick"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["face","indifference","huh","weird","hmmm",":/"],sheet:[30,56],shortName:"confused"},{name:"Steam Locomotive",unified:"1F682",keywords:["transportation","vehicle","train"],sheet:[34,1],shortName:"steam_locomotive"},{name:"Red Haired Person",unified:"1F9D1-200D-1F9B0",sheet:[47,13],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B0",sheet:[47,14],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B0",sheet:[47,15],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B0",sheet:[47,16],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B0",sheet:[47,17],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B0",sheet:[47,18],hidden:["google","twitter","facebook"]}],shortName:"red_haired_person"},{name:"Cancer",unified:"264B",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,23],shortName:"cancer"},{name:"Cyprus Flag",unified:"1F1E8-1F1FE",sheet:[1,30],shortName:"flag-cy"},{name:"Rice Cracker",unified:"1F358",keywords:["food","japanese"],sheet:[6,48],shortName:"rice_cracker"},{name:"Game Die",unified:"1F3B2",keywords:["dice","random","tabletop","play","luck"],sheet:[8,24],shortName:"game_die"},{name:"Musical Keyboard",unified:"1F3B9",keywords:["piano","instrument","compose"],sheet:[8,31],shortName:"musical_keyboard"},{name:"Baby Chick",unified:"1F424",keywords:["animal","chicken","bird"],sheet:[12,8],shortName:"baby_chick"},{name:"Curly Haired Woman",unified:"1F469-200D-1F9B1",sheet:[19,14],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B1",sheet:[19,15]},{unified:"1F469-1F3FC-200D-1F9B1",sheet:[19,16]},{unified:"1F469-1F3FD-200D-1F9B1",sheet:[19,17]},{unified:"1F469-1F3FE-200D-1F9B1",sheet:[19,18]},{unified:"1F469-1F3FF-200D-1F9B1",sheet:[19,19]}],shortName:"curly_haired_woman"},{name:"Worried Face",unified:"1F61F",keywords:["face","concern","nervous",":("],sheet:[31,9],shortName:"worried"},{name:"Railway Car",unified:"1F683",keywords:["transportation","vehicle"],sheet:[34,2],shortName:"railway_car"},{name:"Leo",unified:"264C",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,24],shortName:"leo"},{name:"Czechia Flag",unified:"1F1E8-1F1FF",sheet:[1,31],shortName:"flag-cz"},{name:"Rice Ball",unified:"1F359",keywords:["food","japanese"],sheet:[6,49],shortName:"rice_ball"},{name:"Trumpet",unified:"1F3BA",keywords:["music","brass"],sheet:[8,32],shortName:"trumpet"},{name:"Front-Facing Baby Chick",unified:"1F425",keywords:["animal","chicken","baby","bird"],sheet:[12,9],shortName:"hatched_chick"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["face","frowning","disappointed","sad","upset"],sheet:[31,43],shortName:"slightly_frowning_face"},{name:"High-Speed Train",unified:"1F684",keywords:["transportation","vehicle"],sheet:[34,3],shortName:"bullettrain_side"},{name:"Curly Haired Person",unified:"1F9D1-200D-1F9B1",sheet:[47,19],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B1",sheet:[47,20],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B1",sheet:[47,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B1",sheet:[47,22],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B1",sheet:[47,23],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B1",sheet:[47,24],hidden:["google","twitter","facebook"]}],shortName:"curly_haired_person"},{name:"Jigsaw Puzzle Piece",unified:"1F9E9",keywords:["interlocking","puzzle","piece"],sheet:[51,28],shortName:"jigsaw"},{name:"Virgo",unified:"264D",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,25],shortName:"virgo"},{name:"Germany Flag",unified:"1F1E9-1F1EA",keywords:["german","nation","flag","country","banner"],sheet:[1,32],shortNames:["flag-de"],shortName:"de"},{name:"Cooked Rice",unified:"1F35A",keywords:["food","china","asian"],sheet:[6,50],shortName:"rice"},{name:"Violin",unified:"1F3BB",keywords:["music","instrument","orchestra","symphony"],sheet:[8,33],shortName:"violin"},{name:"Bird",unified:"1F426",keywords:["animal","nature","fly","tweet","spring"],sheet:[12,10],shortName:"bird"},{name:"White Haired Woman",unified:"1F469-200D-1F9B3",sheet:[19,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B3",sheet:[19,27]},{unified:"1F469-1F3FC-200D-1F9B3",sheet:[19,28]},{unified:"1F469-1F3FD-200D-1F9B3",sheet:[19,29]},{unified:"1F469-1F3FE-200D-1F9B3",sheet:[19,30]},{unified:"1F469-1F3FF-200D-1F9B3",sheet:[19,31]}],shortName:"white_haired_woman"},{name:"High-Speed Train with Bullet Nose",unified:"1F685",keywords:["transportation","vehicle","speed","fast","public","travel"],sheet:[34,4],shortName:"bullettrain_front"},{name:"Teddy Bear",unified:"1F9F8",keywords:["plush","stuffed"],sheet:[51,43],shortName:"teddy_bear"},{name:"White Frowning Face",unified:"2639-FE0F",sheet:[53,16],shortName:"white_frowning_face"},{name:"Libra",unified:"264E",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,26],shortName:"libra"},{name:"Diego Garcia Flag",unified:"1F1E9-1F1EC",sheet:[1,33],shortName:"flag-dg"},{name:"Curry and Rice",unified:"1F35B",keywords:["food","spicy","hot","indian"],sheet:[6,51],shortName:"curry"},{name:"Penguin",unified:"1F427",keywords:["animal","nature"],sheet:[12,11],shortName:"penguin"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face","surprise","impressed","wow","whoa",":O"],sheet:[31,24],shortName:"open_mouth"},{name:"Train",unified:"1F686",keywords:["transportation","vehicle"],sheet:[34,5],shortName:"train2"},{name:"White Haired Person",unified:"1F9D1-200D-1F9B3",sheet:[47,31],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B3",sheet:[47,32],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B3",sheet:[47,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B3",sheet:[47,34],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B3",sheet:[47,35],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B3",sheet:[47,36],hidden:["google","twitter","facebook"]}],shortName:"white_haired_person"},{name:"Banjo",unified:"1FA95",sheet:[52,9],shortName:"banjo"},{name:"Scorpius",unified:"264F",keywords:["sign","zodiac","purple-square","astrology","scorpio"],sheet:[53,27],shortName:"scorpius"},{name:"Black Spade Suit",unified:"2660-FE0F",keywords:["poker","cards","suits","magic"],sheet:[53,33],shortName:"spades"},{name:"Djibouti Flag",unified:"1F1E9-1F1EF",sheet:[1,34],shortName:"flag-dj"},{name:"Steaming Bowl",unified:"1F35C",keywords:["food","japanese","noodle","chopsticks"],sheet:[6,52],shortName:"ramen"},{name:"Bald Woman",unified:"1F469-200D-1F9B2",sheet:[19,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B2",sheet:[19,21]},{unified:"1F469-1F3FC-200D-1F9B2",sheet:[19,22]},{unified:"1F469-1F3FD-200D-1F9B2",sheet:[19,23]},{unified:"1F469-1F3FE-200D-1F9B2",sheet:[19,24]},{unified:"1F469-1F3FF-200D-1F9B2",sheet:[19,25]}],shortName:"bald_woman"},{name:"Dove of Peace",unified:"1F54A-FE0F",sheet:[28,34],shortName:"dove_of_peace"},{name:"Hushed Face",unified:"1F62F",keywords:["face","woo","shh"],sheet:[31,25],shortName:"hushed"},{name:"Metro",unified:"1F687",keywords:["transportation","blue-square","mrt","underground","tube"],sheet:[34,6],shortName:"metro"},{name:"Drum with Drumsticks",unified:"1F941",sheet:[41,17],shortName:"drum_with_drumsticks"},{name:"Sagittarius",unified:"2650",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,28],shortName:"sagittarius"},{name:"Black Heart Suit",unified:"2665-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,35],shortName:"hearts"},{name:"Denmark Flag",unified:"1F1E9-1F1F0",sheet:[1,35],shortName:"flag-dk"},{name:"Spaghetti",unified:"1F35D",keywords:["food","italian","noodle"],sheet:[6,53],shortName:"spaghetti"},{name:"Mobile Phone",unified:"1F4F1",keywords:["technology","apple","gadgets","dial"],sheet:[27,14],shortName:"iphone"},{name:"Astonished Face",unified:"1F632",keywords:["face","xox","surprised","poisoned"],sheet:[31,28],shortName:"astonished"},{name:"Light Rail",unified:"1F688",keywords:["transportation","vehicle"],sheet:[34,7],shortName:"light_rail"},{name:"Eagle",unified:"1F985",keywords:["animal","nature","bird"],sheet:[42,23],shortName:"eagle"},{name:"Bald Person",unified:"1F9D1-200D-1F9B2",sheet:[47,25],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B2",sheet:[47,26],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B2",sheet:[47,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B2",sheet:[47,28],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B2",sheet:[47,29],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B2",sheet:[47,30],hidden:["google","twitter","facebook"]}],shortName:"bald_person"},{name:"Capricorn",unified:"2651",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,29],shortName:"capricorn"},{name:"Black Diamond Suit",unified:"2666-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,36],shortName:"diamonds"},{name:"Dominica Flag",unified:"1F1E9-1F1F2",sheet:[1,36],shortName:"flag-dm"},{name:"Roasted Sweet Potato",unified:"1F360",keywords:["food","nature"],sheet:[6,56],shortName:"sweet_potato"},{name:"Blond Haired Woman",unified:"1F471-200D-2640-FE0F",sheet:[22,7],skinVariations:[{unified:"1F471-1F3FB-200D-2640-FE0F",sheet:[22,8]},{unified:"1F471-1F3FC-200D-2640-FE0F",sheet:[22,9]},{unified:"1F471-1F3FD-200D-2640-FE0F",sheet:[22,10]},{unified:"1F471-1F3FE-200D-2640-FE0F",sheet:[22,11]},{unified:"1F471-1F3FF-200D-2640-FE0F",sheet:[22,12]}],shortName:"blond-haired-woman"},{name:"Mobile Phone with Rightwards Arrow at Left",unified:"1F4F2",keywords:["iphone","incoming"],sheet:[27,15],shortName:"calling"},{name:"Flushed Face",unified:"1F633",keywords:["face","blush","shy","flattered"],sheet:[31,29],shortName:"flushed"},{name:"Station",unified:"1F689",keywords:["transportation","vehicle","public"],sheet:[34,8],shortName:"station"},{name:"Duck",unified:"1F986",keywords:["animal","nature","bird","mallard"],sheet:[42,24],shortName:"duck"},{name:"Aquarius",unified:"2652",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,30],shortName:"aquarius"},{name:"Black Club Suit",unified:"2663-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,34],shortName:"clubs"},{name:"Dominican Republic Flag",unified:"1F1E9-1F1F4",sheet:[1,37],shortName:"flag-do"},{name:"Oden",unified:"1F362",keywords:["food","japanese"],sheet:[7,1],shortName:"oden"},{name:"Blond Haired Man",unified:"1F471-200D-2642-FE0F",obsoletes:"1F471",sheet:[22,13],skinVariations:[{unified:"1F471-1F3FB-200D-2642-FE0F",sheet:[22,14]},{unified:"1F471-1F3FC-200D-2642-FE0F",sheet:[22,15]},{unified:"1F471-1F3FD-200D-2642-FE0F",sheet:[22,16]},{unified:"1F471-1F3FE-200D-2642-FE0F",sheet:[22,17]},{unified:"1F471-1F3FF-200D-2642-FE0F",sheet:[22,18]}],shortName:"blond-haired-man"},{name:"Tram",unified:"1F68A",keywords:["transportation","vehicle"],sheet:[34,9],shortName:"tram"},{name:"Face with Pleading Eyes",unified:"1F97A",sheet:[42,12],shortName:"pleading_face"},{name:"Swan",unified:"1F9A2",keywords:["animal","nature","bird"],sheet:[42,52],shortName:"swan"},{name:"Black Telephone",unified:"260E-FE0F",keywords:["technology","communication","dial","telephone"],sheet:[52,54],shortNames:["telephone"],shortName:"phone"},{name:"Pisces",unified:"2653",keywords:["purple-square","sign","zodiac","astrology"],sheet:[53,31],shortName:"pisces"},{name:"Chess Pawn",unified:"265F-FE0F",keywords:["expendable"],sheet:[53,32],shortName:"chess_pawn"},{name:"Playing Card Black Joker",unified:"1F0CF",keywords:["poker","cards","game","play","magic"],sheet:[0,15],shortName:"black_joker"},{name:"Algeria Flag",unified:"1F1E9-1F1FF",sheet:[1,38],shortName:"flag-dz"},{name:"Sushi",unified:"1F363",keywords:["food","fish","japanese","rice"],sheet:[7,2],shortName:"sushi"},{name:"Telephone Receiver",unified:"1F4DE",keywords:["technology","communication","dial"],sheet:[26,52],shortName:"telephone_receiver"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["face","aw","what"],sheet:[31,16],shortName:"frowning"},{name:"Monorail",unified:"1F69D",keywords:["transportation","vehicle"],sheet:[34,28],shortName:"monorail"},{name:"Owl",unified:"1F989",keywords:["animal","nature","bird","hoot"],sheet:[42,27],shortName:"owl"},{name:"Older Adult",unified:"1F9D3",keywords:["human","elder","senior","gender-neutral"],sheet:[48,22],skinVariations:[{unified:"1F9D3-1F3FB",sheet:[48,23]},{unified:"1F9D3-1F3FC",sheet:[48,24]},{unified:"1F9D3-1F3FD",sheet:[48,25]},{unified:"1F9D3-1F3FE",sheet:[48,26]},{unified:"1F9D3-1F3FF",sheet:[48,27]}],shortName:"older_adult"},{name:"Ophiuchus",unified:"26CE",keywords:["sign","purple-square","constellation","astrology"],sheet:[54,4],shortName:"ophiuchus"},{name:"Mahjong Tile Red Dragon",unified:"1F004",keywords:["game","play","chinese","kanji"],sheet:[0,14],shortName:"mahjong"},{name:"Ceuta & Melilla Flag",unified:"1F1EA-1F1E6",sheet:[1,39],shortName:"flag-ea"},{name:"Fried Shrimp",unified:"1F364",keywords:["food","animal","appetizer","summer"],sheet:[7,3],shortName:"fried_shrimp"},{name:"Older Man",unified:"1F474",keywords:["human","male","men","old","elder","senior"],sheet:[22,49],skinVariations:[{unified:"1F474-1F3FB",sheet:[22,50]},{unified:"1F474-1F3FC",sheet:[22,51]},{unified:"1F474-1F3FD",sheet:[22,52]},{unified:"1F474-1F3FE",sheet:[22,53]},{unified:"1F474-1F3FF",sheet:[22,54]}],shortName:"older_man"},{name:"Pager",unified:"1F4DF",keywords:["bbcall","oldschool","90s"],sheet:[26,53],shortName:"pager"},{name:"Twisted Rightwards Arrows",unified:"1F500",keywords:["blue-square","shuffle","music","random"],sheet:[27,28],shortName:"twisted_rightwards_arrows"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["face","stunned","nervous"],sheet:[31,17],shortName:"anguished"},{name:"Mountain Railway",unified:"1F69E",keywords:["transportation","vehicle"],sheet:[34,29],shortName:"mountain_railway"},{name:"Flamingo",unified:"1F9A9",sheet:[43,0],shortName:"flamingo"},{name:"Ecuador Flag",unified:"1F1EA-1F1E8",sheet:[1,40],shortName:"flag-ec"},{name:"Fish Cake with Swirl Design",unified:"1F365",keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],sheet:[7,4],shortName:"fish_cake"},{name:"Flower Playing Cards",unified:"1F3B4",keywords:["game","sunset","red"],sheet:[8,26],shortName:"flower_playing_cards"},{name:"Older Woman",unified:"1F475",keywords:["human","female","women","lady","old","elder","senior"],sheet:[22,55],skinVariations:[{unified:"1F475-1F3FB",sheet:[22,56]},{unified:"1F475-1F3FC",sheet:[23,0]},{unified:"1F475-1F3FD",sheet:[23,1]},{unified:"1F475-1F3FE",sheet:[23,2]},{unified:"1F475-1F3FF",sheet:[23,3]}],shortName:"older_woman"},{name:"Fax Machine",unified:"1F4E0",keywords:["communication","technology"],sheet:[26,54],shortName:"fax"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows",unified:"1F501",keywords:["loop","record"],sheet:[27,29],shortName:"repeat"},{name:"Fearful Face",unified:"1F628",keywords:["face","scared","terrified","nervous","oops","huh"],sheet:[31,18],shortName:"fearful"},{name:"Tram Car",unified:"1F68B",keywords:["transportation","vehicle","carriage","public","travel"],sheet:[34,10],shortName:"train"},{name:"Peacock",unified:"1F99A",keywords:["animal","nature","peahen","bird"],sheet:[42,44],shortName:"peacock"},{name:"Estonia Flag",unified:"1F1EA-1F1EA",sheet:[1,41],shortName:"flag-ee"},{name:"Performing Arts",unified:"1F3AD",keywords:["acting","theater","drama"],sheet:[8,19],shortName:"performing_arts"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay",unified:"1F502",keywords:["blue-square","loop"],sheet:[27,30],shortName:"repeat_one"},{name:"Battery",unified:"1F50B",keywords:["power","energy","sustain"],sheet:[27,39],shortName:"battery"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["face","nervous","sweat"],sheet:[31,26],shortName:"cold_sweat"},{name:"Person Frowning",unified:"1F64D",sheet:[33,26],hidden:["facebook"],skinVariations:[{unified:"1F64D-1F3FB",sheet:[33,27],hidden:["facebook"]},{unified:"1F64D-1F3FC",sheet:[33,28],hidden:["facebook"]},{unified:"1F64D-1F3FD",sheet:[33,29],hidden:["facebook"]},{unified:"1F64D-1F3FE",sheet:[33,30],hidden:["facebook"]},{unified:"1F64D-1F3FF",sheet:[33,31],hidden:["facebook"]}],shortName:"person_frowning",obsoletedBy:"1F64D-200D-2640-FE0F"},{name:"Bus",unified:"1F68C",keywords:["car","vehicle","transportation"],sheet:[34,11],shortName:"bus"},{name:"Moon Cake",unified:"1F96E",keywords:["food","autumn"],sheet:[42,4],shortName:"moon_cake"},{name:"Parrot",unified:"1F99C",keywords:["animal","nature","bird","pirate","talk"],sheet:[42,46],shortName:"parrot"},{name:"Egypt Flag",unified:"1F1EA-1F1EC",sheet:[1,42],shortName:"flag-eg"},{name:"Dango",unified:"1F361",keywords:["food","dessert","sweet","japanese","barbecue","meat"],sheet:[7,0],shortName:"dango"},{name:"Frog Face",unified:"1F438",keywords:["animal","nature","croak","toad"],sheet:[12,28],shortName:"frog"},{name:"Electric Plug",unified:"1F50C",keywords:["charger","power"],sheet:[27,40],shortName:"electric_plug"},{name:"Frame with Picture",unified:"1F5BC-FE0F",sheet:[30,14],shortName:"frame_with_picture"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["face","phew","sweat","nervous"],sheet:[31,15],shortName:"disappointed_relieved"},{name:"Man Frowning",unified:"1F64D-200D-2642-FE0F",sheet:[33,20],skinVariations:[{unified:"1F64D-1F3FB-200D-2642-FE0F",sheet:[33,21]},{unified:"1F64D-1F3FC-200D-2642-FE0F",sheet:[33,22]},{unified:"1F64D-1F3FD-200D-2642-FE0F",sheet:[33,23]},{unified:"1F64D-1F3FE-200D-2642-FE0F",sheet:[33,24]},{unified:"1F64D-1F3FF-200D-2642-FE0F",sheet:[33,25]}],shortName:"man-frowning"},{name:"Oncoming Bus",unified:"1F68D",keywords:["vehicle","transportation"],sheet:[34,12],shortName:"oncoming_bus"},{name:"Black Right-Pointing Triangle",unified:"25B6-FE0F",keywords:["blue-square","right","direction","play"],sheet:[52,43],shortName:"arrow_forward"},{name:"Western Sahara Flag",unified:"1F1EA-1F1ED",sheet:[1,43],shortName:"flag-eh"},{name:"Artist Palette",unified:"1F3A8",keywords:["design","paint","draw","colors"],sheet:[8,14],shortName:"art"},{name:"Crocodile",unified:"1F40A",keywords:["animal","nature","reptile","lizard","alligator"],sheet:[11,38],shortName:"crocodile"},{name:"Personal Computer",unified:"1F4BB",keywords:["technology","laptop","screen","display","monitor"],sheet:[26,17],shortName:"computer"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["face","tears","sad","depressed","upset",":'("],sheet:[31,12],shortName:"cry"},{name:"Woman Frowning",unified:"1F64D-200D-2640-FE0F",obsoletes:"1F64D",sheet:[33,14],skinVariations:[{unified:"1F64D-1F3FB-200D-2640-FE0F",sheet:[33,15]},{unified:"1F64D-1F3FC-200D-2640-FE0F",sheet:[33,16]},{unified:"1F64D-1F3FD-200D-2640-FE0F",sheet:[33,17]},{unified:"1F64D-1F3FE-200D-2640-FE0F",sheet:[33,18]},{unified:"1F64D-1F3FF-200D-2640-FE0F",sheet:[33,19]}],shortName:"woman-frowning"},{name:"Trolleybus",unified:"1F68E",keywords:["bart","transportation","vehicle"],sheet:[34,13],shortName:"trolleybus"},{name:"Dumpling",unified:"1F95F",keywords:["food","empanada","pierogi","potsticker"],sheet:[41,46],shortName:"dumpling"},{name:"Black Right-Pointing Double Triangle",unified:"23E9",keywords:["blue-square","play","speed","continue"],sheet:[52,26],shortName:"fast_forward"},{name:"Eritrea Flag",unified:"1F1EA-1F1F7",sheet:[1,44],shortName:"flag-er"},{name:"Turtle",unified:"1F422",keywords:["animal","slow","nature","tortoise"],sheet:[12,6],shortName:"turtle"},{name:"Desktop Computer",unified:"1F5A5-FE0F",keywords:["technology","computing","screen"],sheet:[30,10],shortName:"desktop_computer"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["face","cry","tears","sad","upset","depressed"],sheet:[31,23],shortName:"sob"},{name:"Person with Pouting Face",unified:"1F64E",sheet:[33,44],hidden:["facebook"],skinVariations:[{unified:"1F64E-1F3FB",sheet:[33,45],hidden:["facebook"]},{unified:"1F64E-1F3FC",sheet:[33,46],hidden:["facebook"]},{unified:"1F64E-1F3FD",sheet:[33,47],hidden:["facebook"]},{unified:"1F64E-1F3FE",sheet:[33,48],hidden:["facebook"]},{unified:"1F64E-1F3FF",sheet:[33,49],hidden:["facebook"]}],shortName:"person_with_pouting_face",obsoletedBy:"1F64E-200D-2640-FE0F"},{name:"Minibus",unified:"1F690",keywords:["vehicle","car","transportation"],sheet:[34,15],shortName:"minibus"},{name:"Fortune Cookie",unified:"1F960",keywords:["food","prophecy"],sheet:[41,47],shortName:"fortune_cookie"},{name:"Spool of Thread",unified:"1F9F5",keywords:["needle","sewing","spool","string"],sheet:[51,40],shortName:"thread"},{name:"Black Right Pointing Double Triangle with Vertical Bar",unified:"23ED-FE0F",sheet:[52,30],shortName:"black_right_pointing_double_triangle_with_vertical_bar"},{name:"Spain Flag",unified:"1F1EA-1F1F8",keywords:["spain","flag","nation","country","banner"],sheet:[1,45],shortNames:["flag-es"],shortName:"es"},{name:"Printer",unified:"1F5A8-FE0F",keywords:["paper","ink"],sheet:[30,11],shortName:"printer"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face","munch","scared","omg"],sheet:[31,27],shortName:"scream"},{name:"Man Pouting",unified:"1F64E-200D-2642-FE0F",sheet:[33,38],skinVariations:[{unified:"1F64E-1F3FB-200D-2642-FE0F",sheet:[33,39]},{unified:"1F64E-1F3FC-200D-2642-FE0F",sheet:[33,40]},{unified:"1F64E-1F3FD-200D-2642-FE0F",sheet:[33,41]},{unified:"1F64E-1F3FE-200D-2642-FE0F",sheet:[33,42]},{unified:"1F64E-1F3FF-200D-2642-FE0F",sheet:[33,43]}],shortName:"man-pouting"},{name:"Ambulance",unified:"1F691",keywords:["health","911","hospital"],sheet:[34,16],shortName:"ambulance"},{name:"Takeout Box",unified:"1F961",keywords:["food","leftovers"],sheet:[41,48],shortName:"takeout_box"},{name:"Lizard",unified:"1F98E",keywords:["animal","nature","reptile"],sheet:[42,32],shortName:"lizard"},{name:"Ball of Yarn",unified:"1F9F6",keywords:["ball","crochet","knit"],sheet:[51,41],shortName:"yarn"},{name:"Black Right Pointing Triangle with Double Vertical Bar",unified:"23EF-FE0F",sheet:[52,32],shortName:"black_right_pointing_triangle_with_double_vertical_bar"},{name:"Ethiopia Flag",unified:"1F1EA-1F1F9",sheet:[1,46],shortName:"flag-et"},{name:"Snake",unified:"1F40D",keywords:["animal","evil","nature","hiss","python"],sheet:[11,41],shortName:"snake"},{name:"Confounded Face",unified:"1F616",keywords:["face","confused","sick","unwell","oops",":S"],sheet:[31,0],shortName:"confounded"},{name:"Woman Pouting",unified:"1F64E-200D-2640-FE0F",obsoletes:"1F64E",sheet:[33,32],skinVariations:[{unified:"1F64E-1F3FB-200D-2640-FE0F",sheet:[33,33]},{unified:"1F64E-1F3FC-200D-2640-FE0F",sheet:[33,34]},{unified:"1F64E-1F3FD-200D-2640-FE0F",sheet:[33,35]},{unified:"1F64E-1F3FE-200D-2640-FE0F",sheet:[33,36]},{unified:"1F64E-1F3FF-200D-2640-FE0F",sheet:[33,37]}],shortName:"woman-pouting"},{name:"Fire Engine",unified:"1F692",keywords:["transportation","cars","vehicle"],sheet:[34,17],shortName:"fire_engine"},{name:"Crab",unified:"1F980",keywords:["animal","crustacean"],sheet:[42,18],shortName:"crab"},{name:"Keyboard",unified:"2328-FE0F",keywords:["technology","computer","type","input","text"],sheet:[52,24],shortName:"keyboard"},{name:"Black Left-Pointing Triangle",unified:"25C0-FE0F",keywords:["blue-square","left","direction"],sheet:[52,44],shortName:"arrow_backward"},{name:"European Union Flag",unified:"1F1EA-1F1FA",sheet:[1,47],shortName:"flag-eu"},{name:"Dragon Face",unified:"1F432",keywords:["animal","myth","nature","chinese","green"],sheet:[12,22],shortName:"dragon_face"},{name:"Three Button Mouse",unified:"1F5B1-FE0F",sheet:[30,12],shortName:"three_button_mouse"},{name:"Persevering Face",unified:"1F623",keywords:["face","sick","no","upset","oops"],sheet:[31,13],shortName:"persevere"},{name:"Face with No Good Gesture",unified:"1F645",sheet:[32,2],hidden:["facebook"],skinVariations:[{unified:"1F645-1F3FB",sheet:[32,3],hidden:["facebook"]},{unified:"1F645-1F3FC",sheet:[32,4],hidden:["facebook"]},{unified:"1F645-1F3FD",sheet:[32,5],hidden:["facebook"]},{unified:"1F645-1F3FE",sheet:[32,6],hidden:["facebook"]},{unified:"1F645-1F3FF",sheet:[32,7],hidden:["facebook"]}],shortName:"no_good",obsoletedBy:"1F645-200D-2640-FE0F"},{name:"Police Car",unified:"1F693",keywords:["vehicle","cars","transportation","law","legal","enforcement"],sheet:[34,18],shortName:"police_car"},{name:"Lobster",unified:"1F99E",keywords:["animal","nature","bisque","claws","seafood"],sheet:[42,48],shortName:"lobster"},{name:"Black Left-Pointing Double Triangle",unified:"23EA",keywords:["play","blue-square"],sheet:[52,27],shortName:"rewind"},{name:"Finland Flag",unified:"1F1EB-1F1EE",sheet:[1,48],shortName:"flag-fi"},{name:"Dragon",unified:"1F409",keywords:["animal","myth","nature","chinese","green"],sheet:[11,37],shortName:"dragon"},{name:"Trackball",unified:"1F5B2-FE0F",keywords:["technology","trackpad"],sheet:[30,13],shortName:"trackball"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["face","sad","upset","depressed",":("],sheet:[31,8],shortName:"disappointed"},{name:"Man Gesturing No",unified:"1F645-200D-2642-FE0F",sheet:[31,53],skinVariations:[{unified:"1F645-1F3FB-200D-2642-FE0F",sheet:[31,54]},{unified:"1F645-1F3FC-200D-2642-FE0F",sheet:[31,55]},{unified:"1F645-1F3FD-200D-2642-FE0F",sheet:[31,56]},{unified:"1F645-1F3FE-200D-2642-FE0F",sheet:[32,0]},{unified:"1F645-1F3FF-200D-2642-FE0F",sheet:[32,1]}],shortName:"man-gesturing-no"},{name:"Oncoming Police Car",unified:"1F694",keywords:["vehicle","law","legal","enforcement","911"],sheet:[34,19],shortName:"oncoming_police_car"},{name:"Shrimp",unified:"1F990",keywords:["animal","ocean","nature","seafood"],sheet:[42,34],shortName:"shrimp"},{name:"Black Left Pointing Double Triangle with Vertical Bar",unified:"23EE-FE0F",sheet:[52,31],shortName:"black_left_pointing_double_triangle_with_vertical_bar"},{name:"Fiji Flag",unified:"1F1EB-1F1EF",sheet:[1,49],shortName:"flag-fj"},{name:"Minidisc",unified:"1F4BD",keywords:["technology","record","data","disk","90s"],sheet:[26,19],shortName:"minidisc"},{name:"Up-Pointing Small Red Triangle",unified:"1F53C",keywords:["blue-square","triangle","direction","point","forward","top"],sheet:[28,31],shortName:"arrow_up_small"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["face","hot","sad","tired","exercise"],sheet:[30,54],shortName:"sweat"},{name:"Woman Gesturing No",unified:"1F645-200D-2640-FE0F",obsoletes:"1F645",sheet:[31,47],skinVariations:[{unified:"1F645-1F3FB-200D-2640-FE0F",sheet:[31,48]},{unified:"1F645-1F3FC-200D-2640-FE0F",sheet:[31,49]},{unified:"1F645-1F3FD-200D-2640-FE0F",sheet:[31,50]},{unified:"1F645-1F3FE-200D-2640-FE0F",sheet:[31,51]},{unified:"1F645-1F3FF-200D-2640-FE0F",sheet:[31,52]}],shortName:"woman-gesturing-no"},{name:"Taxi",unified:"1F695",keywords:["uber","vehicle","cars","transportation"],sheet:[34,20],shortName:"taxi"},{name:"Squid",unified:"1F991",keywords:["animal","nature","ocean","sea"],sheet:[42,35],shortName:"squid"},{name:"Sauropod",unified:"1F995",keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],sheet:[42,39],shortName:"sauropod"},{name:"Falkland Islands Flag",unified:"1F1EB-1F1F0",sheet:[1,50],shortName:"flag-fk"},{name:"Floppy Disk",unified:"1F4BE",keywords:["oldschool","technology","save","90s","80s"],sheet:[26,20],shortName:"floppy_disk"},{name:"Weary Face",unified:"1F629",keywords:["face","tired","sleepy","sad","frustrated","upset"],sheet:[31,19],shortName:"weary"},{name:"Face with Ok Gesture",unified:"1F646",keywords:["women","girl","female","pink","human","woman"],sheet:[32,20],hidden:["facebook"],skinVariations:[{unified:"1F646-1F3FB",sheet:[32,21],hidden:["facebook"]},{unified:"1F646-1F3FC",sheet:[32,22],hidden:["facebook"]},{unified:"1F646-1F3FD",sheet:[32,23],hidden:["facebook"]},{unified:"1F646-1F3FE",sheet:[32,24],hidden:["facebook"]},{unified:"1F646-1F3FF",sheet:[32,25],hidden:["facebook"]}],shortName:"ok_woman",obsoletedBy:"1F646-200D-2640-FE0F"},{name:"Oncoming Taxi",unified:"1F696",keywords:["vehicle","cars","uber"],sheet:[34,21],shortName:"oncoming_taxi"},{name:"T-Rex",unified:"1F996",keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],sheet:[42,40],shortName:"t-rex"},{name:"Oyster",unified:"1F9AA",sheet:[43,1],shortName:"oyster"},{name:"Black Up-Pointing Double Triangle",unified:"23EB",keywords:["blue-square","direction","top"],sheet:[52,28],shortName:"arrow_double_up"},{name:"Micronesia Flag",unified:"1F1EB-1F1F2",sheet:[1,51],shortName:"flag-fm"},{name:"Soft Ice Cream",unified:"1F366",keywords:["food","hot","dessert","summer"],sheet:[7,5],shortName:"icecream"},{name:"Spouting Whale",unified:"1F433",keywords:["animal","nature","sea","ocean"],sheet:[12,23],shortName:"whale"},{name:"Optical Disc",unified:"1F4BF",keywords:["technology","dvd","disk","disc","90s"],sheet:[26,21],shortName:"cd"},{name:"Down-Pointing Small Red Triangle",unified:"1F53D",keywords:["blue-square","direction","bottom"],sheet:[28,32],shortName:"arrow_down_small"},{name:"Tired Face",unified:"1F62B",keywords:["sick","whine","upset","frustrated"],sheet:[31,21],shortName:"tired_face"},{name:"Man Gesturing Ok",unified:"1F646-200D-2642-FE0F",sheet:[32,14],skinVariations:[{unified:"1F646-1F3FB-200D-2642-FE0F",sheet:[32,15]},{unified:"1F646-1F3FC-200D-2642-FE0F",sheet:[32,16]},{unified:"1F646-1F3FD-200D-2642-FE0F",sheet:[32,17]},{unified:"1F646-1F3FE-200D-2642-FE0F",sheet:[32,18]},{unified:"1F646-1F3FF-200D-2642-FE0F",sheet:[32,19]}],shortName:"man-gesturing-ok"},{name:"Automobile",unified:"1F697",sheet:[34,22],shortNames:["red_car"],shortName:"car"},{name:"Faroe Islands Flag",unified:"1F1EB-1F1F4",sheet:[1,52],shortName:"flag-fo"},{name:"Shaved Ice",unified:"1F367",keywords:["hot","dessert","summer"],sheet:[7,6],shortName:"shaved_ice"},{name:"Whale",unified:"1F40B",keywords:["animal","nature","sea","ocean"],sheet:[11,39],shortName:"whale2"},{name:"Dvd",unified:"1F4C0",keywords:["cd","disk","disc"],sheet:[26,22],shortName:"dvd"},{name:"Woman Gesturing Ok",unified:"1F646-200D-2640-FE0F",obsoletes:"1F646",sheet:[32,8],skinVariations:[{unified:"1F646-1F3FB-200D-2640-FE0F",sheet:[32,9]},{unified:"1F646-1F3FC-200D-2640-FE0F",sheet:[32,10]},{unified:"1F646-1F3FD-200D-2640-FE0F",sheet:[32,11]},{unified:"1F646-1F3FE-200D-2640-FE0F",sheet:[32,12]},{unified:"1F646-1F3FF-200D-2640-FE0F",sheet:[32,13]}],shortName:"woman-gesturing-ok"},{name:"Oncoming Automobile",unified:"1F698",keywords:["car","vehicle","transportation"],sheet:[34,23],shortName:"oncoming_automobile"},{name:"Yawning Face",unified:"1F971",sheet:[42,7],shortName:"yawning_face"},{name:"Black Down-Pointing Double Triangle",unified:"23EC",keywords:["blue-square","direction","bottom"],sheet:[52,29],shortName:"arrow_double_down"},{name:"France Flag",unified:"1F1EB-1F1F7",keywords:["banner","flag","nation","france","french","country"],sheet:[1,53],shortNames:["flag-fr"],shortName:"fr"},{name:"Ice Cream",unified:"1F368",keywords:["food","hot","dessert"],sheet:[7,7],shortName:"ice_cream"},{name:"Dolphin",unified:"1F42C",keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],sheet:[12,16],shortNames:["flipper"],shortName:"dolphin"},{name:"Information Desk Person",unified:"1F481",sheet:[24,2],hidden:["facebook"],skinVariations:[{unified:"1F481-1F3FB",sheet:[24,3],hidden:["facebook"]},{unified:"1F481-1F3FC",sheet:[24,4],hidden:["facebook"]},{unified:"1F481-1F3FD",sheet:[24,5],hidden:["facebook"]},{unified:"1F481-1F3FE",sheet:[24,6],hidden:["facebook"]},{unified:"1F481-1F3FF",sheet:[24,7],hidden:["facebook"]}],shortName:"information_desk_person",obsoletedBy:"1F481-200D-2640-FE0F"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face","gas","phew","proud","pride"],sheet:[31,14],shortName:"triumph"},{name:"Recreational Vehicle",unified:"1F699",keywords:["transportation","vehicle"],sheet:[34,24],shortName:"blue_car"},{name:"Abacus",unified:"1F9EE",keywords:["calculation"],sheet:[51,33],shortName:"abacus"},{name:"Double Vertical Bar",unified:"23F8-FE0F",sheet:[52,37],shortName:"double_vertical_bar"},{name:"Gabon Flag",unified:"1F1EC-1F1E6",sheet:[1,54],shortName:"flag-ga"},{name:"Doughnut",unified:"1F369",keywords:["food","dessert","snack","sweet","donut"],sheet:[7,8],shortName:"doughnut"},{name:"Movie Camera",unified:"1F3A5",keywords:["film","record"],sheet:[8,11],shortName:"movie_camera"},{name:"Fish",unified:"1F41F",keywords:["animal","food","nature"],sheet:[12,3],shortName:"fish"},{name:"Man Tipping Hand",unified:"1F481-200D-2642-FE0F",sheet:[23,53],skinVariations:[{unified:"1F481-1F3FB-200D-2642-FE0F",sheet:[23,54]},{unified:"1F481-1F3FC-200D-2642-FE0F",sheet:[23,55]},{unified:"1F481-1F3FD-200D-2642-FE0F",sheet:[23,56]},{unified:"1F481-1F3FE-200D-2642-FE0F",sheet:[24,0]},{unified:"1F481-1F3FF-200D-2642-FE0F",sheet:[24,1]}],shortName:"man-tipping-hand"},{name:"Pouting Face",unified:"1F621",keywords:["angry","mad","hate","despise"],sheet:[31,11],shortName:"rage"},{name:"Delivery Truck",unified:"1F69A",keywords:["cars","transportation"],sheet:[34,25],shortName:"truck"},{name:"Black Square for Stop",unified:"23F9-FE0F",sheet:[52,38],shortName:"black_square_for_stop"},{name:"United Kingdom Flag",unified:"1F1EC-1F1E7",sheet:[1,55],shortNames:["uk","flag-gb"],shortName:"gb"},{name:"Cookie",unified:"1F36A",keywords:["food","snack","oreo","chocolate","sweet","dessert"],sheet:[7,9],shortName:"cookie"},{name:"Film Frames",unified:"1F39E-FE0F",sheet:[8,4],shortName:"film_frames"},{name:"Tropical Fish",unified:"1F420",keywords:["animal","swim","ocean","beach","nemo"],sheet:[12,4],shortName:"tropical_fish"},{name:"Woman Tipping Hand",unified:"1F481-200D-2640-FE0F",obsoletes:"1F481",sheet:[23,47],skinVariations:[{unified:"1F481-1F3FB-200D-2640-FE0F",sheet:[23,48]},{unified:"1F481-1F3FC-200D-2640-FE0F",sheet:[23,49]},{unified:"1F481-1F3FD-200D-2640-FE0F",sheet:[23,50]},{unified:"1F481-1F3FE-200D-2640-FE0F",sheet:[23,51]},{unified:"1F481-1F3FF-200D-2640-FE0F",sheet:[23,52]}],shortName:"woman-tipping-hand"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["mad","face","annoyed","frustrated"],sheet:[31,10],shortName:"angry"},{name:"Articulated Lorry",unified:"1F69B",keywords:["vehicle","cars","transportation","express"],sheet:[34,26],shortName:"articulated_lorry"},{name:"Black Circle for Record",unified:"23FA-FE0F",sheet:[52,39],shortName:"black_circle_for_record"},{name:"Grenada Flag",unified:"1F1EC-1F1E9",sheet:[1,56],shortName:"flag-gd"},{name:"Birthday Cake",unified:"1F382",keywords:["food","dessert","cake"],sheet:[7,33],shortName:"birthday"},{name:"Blowfish",unified:"1F421",keywords:["animal","nature","food","sea","ocean"],sheet:[12,5],shortName:"blowfish"},{name:"Film Projector",unified:"1F4FD-FE0F",keywords:["video","tape","record","movie"],sheet:[27,26],shortName:"film_projector"},{name:"Happy Person Raising One Hand",unified:"1F64B",sheet:[33,2],hidden:["facebook"],skinVariations:[{unified:"1F64B-1F3FB",sheet:[33,3],hidden:["facebook"]},{unified:"1F64B-1F3FC",sheet:[33,4],hidden:["facebook"]},{unified:"1F64B-1F3FD",sheet:[33,5],hidden:["facebook"]},{unified:"1F64B-1F3FE",sheet:[33,6],hidden:["facebook"]},{unified:"1F64B-1F3FF",sheet:[33,7],hidden:["facebook"]}],shortName:"raising_hand",obsoletedBy:"1F64B-200D-2640-FE0F"},{name:"Tractor",unified:"1F69C",keywords:["vehicle","car","farming","agriculture"],sheet:[34,27],shortName:"tractor"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",sheet:[38,46],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Eject",unified:"23CF-FE0F",sheet:[52,25],shortName:"eject"},{name:"Georgia Flag",unified:"1F1EC-1F1EA",sheet:[2,0],shortName:"flag-ge"},{name:"Shortcake",unified:"1F370",keywords:["food","dessert"],sheet:[7,15],shortName:"cake"},{name:"Cinema",unified:"1F3A6",keywords:["blue-square","record","film","movie","curtain","stage","theater"],sheet:[8,12],shortName:"cinema"},{name:"Clapper Board",unified:"1F3AC",keywords:["movie","film","record"],sheet:[8,18],shortName:"clapper"},{name:"Racing Car",unified:"1F3CE-FE0F",keywords:["sports","race","fast","formula","f1"],sheet:[10,33],shortName:"racing_car"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["devil","horns"],sheet:[30,43],shortName:"smiling_imp"},{name:"Man Raising Hand",unified:"1F64B-200D-2642-FE0F",sheet:[32,53],skinVariations:[{unified:"1F64B-1F3FB-200D-2642-FE0F",sheet:[32,54]},{unified:"1F64B-1F3FC-200D-2642-FE0F",sheet:[32,55]},{unified:"1F64B-1F3FD-200D-2642-FE0F",sheet:[32,56]},{unified:"1F64B-1F3FE-200D-2642-FE0F",sheet:[33,0]},{unified:"1F64B-1F3FF-200D-2642-FE0F",sheet:[33,1]}],shortName:"man-raising-hand"},{name:"Shark",unified:"1F988",keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],sheet:[42,26],shortName:"shark"},{name:"French Guiana Flag",unified:"1F1EC-1F1EB",sheet:[2,1],shortName:"flag-gf"},{name:"Racing Motorcycle",unified:"1F3CD-FE0F",sheet:[10,32],shortName:"racing_motorcycle"},{name:"Octopus",unified:"1F419",keywords:["animal","creature","ocean","sea","nature","beach"],sheet:[11,54],shortName:"octopus"},{name:"Imp",unified:"1F47F",keywords:["devil","angry","horns"],sheet:[23,45],shortName:"imp"},{name:"Television",unified:"1F4FA",keywords:["technology","program","oldschool","show","television"],sheet:[27,23],shortName:"tv"},{name:"Low Brightness Symbol",unified:"1F505",keywords:["sun","afternoon","warm","summer"],sheet:[27,33],shortName:"low_brightness"},{name:"Woman Raising Hand",unified:"1F64B-200D-2640-FE0F",obsoletes:"1F64B",sheet:[32,47],skinVariations:[{unified:"1F64B-1F3FB-200D-2640-FE0F",sheet:[32,48]},{unified:"1F64B-1F3FC-200D-2640-FE0F",sheet:[32,49]},{unified:"1F64B-1F3FD-200D-2640-FE0F",sheet:[32,50]},{unified:"1F64B-1F3FE-200D-2640-FE0F",sheet:[32,51]},{unified:"1F64B-1F3FF-200D-2640-FE0F",sheet:[32,52]}],shortName:"woman-raising-hand"},{name:"Cupcake",unified:"1F9C1",keywords:["food","dessert","bakery","sweet"],sheet:[44,9],shortName:"cupcake"},{name:"Guernsey Flag",unified:"1F1EC-1F1EC",sheet:[2,2],shortName:"flag-gg"},{name:"Spiral Shell",unified:"1F41A",keywords:["nature","sea","beach"],sheet:[11,55],shortName:"shell"},{name:"Skull",unified:"1F480",keywords:["dead","skeleton","creepy","death"],sheet:[23,46],shortName:"skull"},{name:"Camera",unified:"1F4F7",keywords:["gadgets","photography"],sheet:[27,20],shortName:"camera"},{name:"High Brightness Symbol",unified:"1F506",keywords:["sun","light"],sheet:[27,34],shortName:"high_brightness"},{name:"Motor Scooter",unified:"1F6F5",keywords:["vehicle","vespa","sasha"],sheet:[36,54],shortName:"motor_scooter"},{name:"Pie",unified:"1F967",keywords:["food","dessert","pastry"],sheet:[41,54],shortName:"pie"},{name:"Deaf Person",unified:"1F9CF",sheet:[45,10],skinVariations:[{unified:"1F9CF-1F3FB",sheet:[45,11]},{unified:"1F9CF-1F3FC",sheet:[45,12]},{unified:"1F9CF-1F3FD",sheet:[45,13]},{unified:"1F9CF-1F3FE",sheet:[45,14]},{unified:"1F9CF-1F3FF",sheet:[45,15]}],shortName:"deaf_person"},{name:"Ghana Flag",unified:"1F1EC-1F1ED",sheet:[2,3],shortName:"flag-gh"},{name:"Chocolate Bar",unified:"1F36B",keywords:["food","snack","dessert","sweet"],sheet:[7,10],shortName:"chocolate_bar"},{name:"Snail",unified:"1F40C",keywords:["slow","animal","shell"],sheet:[11,40],shortName:"snail"},{name:"Antenna with Bars",unified:"1F4F6",keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],sheet:[27,19],shortName:"signal_strength"},{name:"Camera with Flash",unified:"1F4F8",sheet:[27,21],shortName:"camera_with_flash"},{name:"Manual Wheelchair",unified:"1F9BD",sheet:[44,5],shortName:"manual_wheelchair"},{name:"Deaf Man",unified:"1F9CF-200D-2642-FE0F",sheet:[45,4],skinVariations:[{unified:"1F9CF-1F3FB-200D-2642-FE0F",sheet:[45,5]},{unified:"1F9CF-1F3FC-200D-2642-FE0F",sheet:[45,6]},{unified:"1F9CF-1F3FD-200D-2642-FE0F",sheet:[45,7]},{unified:"1F9CF-1F3FE-200D-2642-FE0F",sheet:[45,8]},{unified:"1F9CF-1F3FF-200D-2642-FE0F",sheet:[45,9]}],shortName:"deaf_man"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["poison","danger","deadly","scary","death","pirate","evil"],sheet:[53,8],shortName:"skull_and_crossbones"},{name:"Gibraltar Flag",unified:"1F1EC-1F1EE",sheet:[2,4],shortName:"flag-gi"},{name:"Candy",unified:"1F36C",keywords:["snack","dessert","sweet","lolly"],sheet:[7,11],shortName:"candy"},{name:"Pile of Poo",unified:"1F4A9",sheet:[25,51],shortNames:["poop","shit"],shortName:"hankey"},{name:"Vibration Mode",unified:"1F4F3",keywords:["orange-square","phone"],sheet:[27,16],shortName:"vibration_mode"},{name:"Video Camera",unified:"1F4F9",keywords:["film","record"],sheet:[27,22],shortName:"video_camera"},{name:"Butterfly",unified:"1F98B",keywords:["animal","insect","nature","caterpillar"],sheet:[42,29],shortName:"butterfly"},{name:"Motorized Wheelchair",unified:"1F9BC",sheet:[44,4],shortName:"motorized_wheelchair"},{name:"Deaf Woman",unified:"1F9CF-200D-2640-FE0F",sheet:[44,55],skinVariations:[{unified:"1F9CF-1F3FB-200D-2640-FE0F",sheet:[44,56]},{unified:"1F9CF-1F3FC-200D-2640-FE0F",sheet:[45,0]},{unified:"1F9CF-1F3FD-200D-2640-FE0F",sheet:[45,1]},{unified:"1F9CF-1F3FE-200D-2640-FE0F",sheet:[45,2]},{unified:"1F9CF-1F3FF-200D-2640-FE0F",sheet:[45,3]}],shortName:"deaf_woman"},{name:"Greenland Flag",unified:"1F1EC-1F1F1",sheet:[2,5],shortName:"flag-gl"},{name:"Lollipop",unified:"1F36D",keywords:["food","snack","candy","sweet"],sheet:[7,12],shortName:"lollipop"},{name:"Bug",unified:"1F41B",keywords:["animal","insect","nature","worm"],sheet:[11,56],shortName:"bug"},{name:"Mobile Phone off",unified:"1F4F4",keywords:["mute","orange-square","silence","quiet"],sheet:[27,17],shortName:"mobile_phone_off"},{name:"Videocassette",unified:"1F4FC",keywords:["record","video","oldschool","90s","80s"],sheet:[27,25],shortName:"vhs"},{name:"Person Bowing Deeply",unified:"1F647",sheet:[32,38],hidden:["facebook"],skinVariations:[{unified:"1F647-1F3FB",sheet:[32,39],hidden:["facebook"]},{unified:"1F647-1F3FC",sheet:[32,40],hidden:["facebook"]},{unified:"1F647-1F3FD",sheet:[32,41],hidden:["facebook"]},{unified:"1F647-1F3FE",sheet:[32,42],hidden:["facebook"]},{unified:"1F647-1F3FF",sheet:[32,43],hidden:["facebook"]}],shortName:"bow",obsoletedBy:"1F647-200D-2642-FE0F"},{name:"Auto Rickshaw",unified:"1F6FA",sheet:[37,2],shortName:"auto_rickshaw"},{name:"Clown Face",unified:"1F921",keywords:["face"],sheet:[38,18],shortName:"clown_face"},{name:"Gambia Flag",unified:"1F1EC-1F1F2",sheet:[2,6],shortName:"flag-gm"},{name:"Custard",unified:"1F36E",keywords:["dessert","food"],sheet:[7,13],shortName:"custard"},{name:"Ant",unified:"1F41C",keywords:["animal","insect","nature","bug"],sheet:[12,0],shortName:"ant"},{name:"Japanese Ogre",unified:"1F479",keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,34],shortName:"japanese_ogre"},{name:"Left-Pointing Magnifying Glass",unified:"1F50D",keywords:["search","zoom","find","detective"],sheet:[27,41],shortName:"mag"},{name:"Man Bowing",unified:"1F647-200D-2642-FE0F",obsoletes:"1F647",sheet:[32,32],skinVariations:[{unified:"1F647-1F3FB-200D-2642-FE0F",sheet:[32,33]},{unified:"1F647-1F3FC-200D-2642-FE0F",sheet:[32,34]},{unified:"1F647-1F3FD-200D-2642-FE0F",sheet:[32,35]},{unified:"1F647-1F3FE-200D-2642-FE0F",sheet:[32,36]},{unified:"1F647-1F3FF-200D-2642-FE0F",sheet:[32,37]}],shortName:"man-bowing"},{name:"Bicycle",unified:"1F6B2",keywords:["sports","bicycle","exercise","hipster"],sheet:[35,9],shortName:"bike"},{name:"Female Sign",unified:"2640-FE0F",sheet:[53,18],hidden:["apple"],shortName:"female_sign"},{name:"Guinea Flag",unified:"1F1EC-1F1F3",sheet:[2,7],shortName:"flag-gn"},{name:"Honey Pot",unified:"1F36F",keywords:["bees","sweet","kitchen"],sheet:[7,14],shortName:"honey_pot"},{name:"Honeybee",unified:"1F41D",sheet:[12,1],shortNames:["honeybee"],shortName:"bee"},{name:"Japanese Goblin",unified:"1F47A",keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,35],shortName:"japanese_goblin"},{name:"Right-Pointing Magnifying Glass",unified:"1F50E",keywords:["search","zoom","find","detective"],sheet:[27,42],shortName:"mag_right"},{name:"Woman Bowing",unified:"1F647-200D-2640-FE0F",sheet:[32,26],skinVariations:[{unified:"1F647-1F3FB-200D-2640-FE0F",sheet:[32,27]},{unified:"1F647-1F3FC-200D-2640-FE0F",sheet:[32,28]},{unified:"1F647-1F3FD-200D-2640-FE0F",sheet:[32,29]},{unified:"1F647-1F3FE-200D-2640-FE0F",sheet:[32,30]},{unified:"1F647-1F3FF-200D-2640-FE0F",sheet:[32,31]}],shortName:"woman-bowing"},{name:"Scooter",unified:"1F6F4",sheet:[36,53],shortName:"scooter"},{name:"Male Sign",unified:"2642-FE0F",sheet:[53,19],hidden:["apple"],shortName:"male_sign"},{name:"Guadeloupe Flag",unified:"1F1EC-1F1F5",sheet:[2,8],shortName:"flag-gp"},{name:"Baby Bottle",unified:"1F37C",keywords:["food","container","milk"],sheet:[7,27],shortName:"baby_bottle"},{name:"Lady Beetle",unified:"1F41E",keywords:["animal","insect","nature","ladybug"],sheet:[12,2],shortName:"beetle"},{name:"Ghost",unified:"1F47B",keywords:["halloween","spooky","scary"],sheet:[23,36],shortName:"ghost"},{name:"Candle",unified:"1F56F-FE0F",keywords:["fire","wax"],sheet:[29,6],shortName:"candle"},{name:"Skateboard",unified:"1F6F9",keywords:["board"],sheet:[37,1],shortName:"skateboard"},{name:"Face Palm",unified:"1F926",sheet:[38,35],hidden:["facebook"],skinVariations:[{unified:"1F926-1F3FB",sheet:[38,36],hidden:["facebook"]},{unified:"1F926-1F3FC",sheet:[38,37],hidden:["facebook"]},{unified:"1F926-1F3FD",sheet:[38,38],hidden:["facebook"]},{unified:"1F926-1F3FE",sheet:[38,39],hidden:["facebook"]},{unified:"1F926-1F3FF",sheet:[38,40],hidden:["facebook"]}],shortName:"face_palm"},{name:"Medical Symbol",unified:"2695-FE0F",sheet:[53,44],hidden:["apple"],shortNames:["staff_of_aesculapius"],shortName:"medical_symbol"},{name:"Equatorial Guinea Flag",unified:"1F1EC-1F1F6",sheet:[2,9],shortName:"flag-gq"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["UFO","paul","weird","outer_space"],sheet:[23,43],shortName:"alien"},{name:"Electric Light Bulb",unified:"1F4A1",keywords:["light","electricity","idea"],sheet:[25,43],shortName:"bulb"},{name:"Bus Stop",unified:"1F68F",keywords:["transportation","wait"],sheet:[34,14],shortName:"busstop"},{name:"Man Facepalming",unified:"1F926-200D-2642-FE0F",sheet:[38,29],skinVariations:[{unified:"1F926-1F3FB-200D-2642-FE0F",sheet:[38,30]},{unified:"1F926-1F3FC-200D-2642-FE0F",sheet:[38,31]},{unified:"1F926-1F3FD-200D-2642-FE0F",sheet:[38,32]},{unified:"1F926-1F3FE-200D-2642-FE0F",sheet:[38,33]},{unified:"1F926-1F3FF-200D-2642-FE0F",sheet:[38,34]}],shortName:"man-facepalming"},{name:"Glass of Milk",unified:"1F95B",sheet:[41,42],shortName:"glass_of_milk"},{name:"Cricket",unified:"1F997",keywords:["sports"],sheet:[42,41],shortName:"cricket"},{name:"Infinity",unified:"267E-FE0F",keywords:["forever"],sheet:[53,39],shortName:"infinity"},{name:"Greece Flag",unified:"1F1EC-1F1F7",sheet:[2,10],shortName:"flag-gr"},{name:"Alien Monster",unified:"1F47E",keywords:["game","arcade","play"],sheet:[23,44],shortName:"space_invader"},{name:"Electric Torch",unified:"1F526",keywords:["dark","camping","sight","night"],sheet:[28,9],shortName:"flashlight"},{name:"Spider",unified:"1F577-FE0F",keywords:["animal","arachnid"],sheet:[29,34],shortName:"spider"},{name:"Motorway",unified:"1F6E3-FE0F",keywords:["road","cupertino","interstate","highway"],sheet:[36,45],shortName:"motorway"},{name:"Woman Facepalming",unified:"1F926-200D-2640-FE0F",sheet:[38,23],skinVariations:[{unified:"1F926-1F3FB-200D-2640-FE0F",sheet:[38,24]},{unified:"1F926-1F3FC-200D-2640-FE0F",sheet:[38,25]},{unified:"1F926-1F3FD-200D-2640-FE0F",sheet:[38,26]},{unified:"1F926-1F3FE-200D-2640-FE0F",sheet:[38,27]},{unified:"1F926-1F3FF-200D-2640-FE0F",sheet:[38,28]}],shortName:"woman-facepalming"},{name:"Hot Beverage",unified:"2615",keywords:["beverage","caffeine","latte","espresso"],sheet:[53,0],shortName:"coffee"},{name:"Black Universal Recycling Symbol",unified:"267B-FE0F",keywords:["arrow","environment","garbage","trash"],sheet:[53,38],shortName:"recycle"},{name:"South Georgia & South Sandwich Islands Flag",unified:"1F1EC-1F1F8",sheet:[2,11],shortName:"flag-gs"},{name:"Teacup Without Handle",unified:"1F375",keywords:["drink","bowl","breakfast","green","british"],sheet:[7,20],shortName:"tea"},{name:"Izakaya Lantern",unified:"1F3EE",keywords:["light","paper","halloween","spooky"],sheet:[11,8],shortNames:["lantern"],shortName:"izakaya_lantern"},{name:"Spider Web",unified:"1F578-FE0F",keywords:["animal","insect","arachnid","silk"],sheet:[29,35],shortName:"spider_web"},{name:"Railway Track",unified:"1F6E4-FE0F",keywords:["train","transportation"],sheet:[36,46],shortName:"railway_track"},{name:"Robot Face",unified:"1F916",sheet:[37,29],shortName:"robot_face"},{name:"Shrug",unified:"1F937",sheet:[39,47],hidden:["facebook"],skinVariations:[{unified:"1F937-1F3FB",sheet:[39,48],hidden:["facebook"]},{unified:"1F937-1F3FC",sheet:[39,49],hidden:["facebook"]},{unified:"1F937-1F3FD",sheet:[39,50],hidden:["facebook"]},{unified:"1F937-1F3FE",sheet:[39,51],hidden:["facebook"]},{unified:"1F937-1F3FF",sheet:[39,52],hidden:["facebook"]}],shortName:"shrug"},{name:"Fleur De Lis",unified:"269C-FE0F",keywords:["decorative","scout"],sheet:[53,49],shortName:"fleur_de_lis"},{name:"Guatemala Flag",unified:"1F1EC-1F1F9",sheet:[2,12],shortName:"flag-gt"},{name:"Sake Bottle and Cup",unified:"1F376",keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],sheet:[7,21],shortName:"sake"},{name:"Trident Emblem",unified:"1F531",keywords:["weapon","spear"],sheet:[28,20],shortName:"trident"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["animal","cats","happy","smile"],sheet:[31,36],shortName:"smiley_cat"},{name:"Oil Drum",unified:"1F6E2-FE0F",keywords:["barrell"],sheet:[36,44],shortName:"oil_drum"},{name:"Man Shrugging",unified:"1F937-200D-2642-FE0F",sheet:[39,41],skinVariations:[{unified:"1F937-1F3FB-200D-2642-FE0F",sheet:[39,42]},{unified:"1F937-1F3FC-200D-2642-FE0F",sheet:[39,43]},{unified:"1F937-1F3FD-200D-2642-FE0F",sheet:[39,44]},{unified:"1F937-1F3FE-200D-2642-FE0F",sheet:[39,45]},{unified:"1F937-1F3FF-200D-2642-FE0F",sheet:[39,46]}],shortName:"man-shrugging"},{name:"Scorpion",unified:"1F982",keywords:["animal","arachnid"],sheet:[42,20],shortName:"scorpion"},{name:"Diya Lamp",unified:"1FA94",sheet:[52,8],shortName:"diya_lamp"},{name:"Guam Flag",unified:"1F1EC-1F1FA",sheet:[2,13],shortName:"flag-gu"},{name:"Bottle with Popping Cork",unified:"1F37E",keywords:["drink","wine","bottle","celebration"],sheet:[7,29],shortName:"champagne"},{name:"Notebook with Decorative Cover",unified:"1F4D4",keywords:["classroom","notes","record","paper","study"],sheet:[26,42],shortName:"notebook_with_decorative_cover"},{name:"Name Badge",unified:"1F4DB",keywords:["fire","forbid"],sheet:[26,49],shortName:"name_badge"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["animal","cats","smile"],sheet:[31,34],shortName:"smile_cat"},{name:"Woman Shrugging",unified:"1F937-200D-2640-FE0F",sheet:[39,35],skinVariations:[{unified:"1F937-1F3FB-200D-2640-FE0F",sheet:[39,36]},{unified:"1F937-1F3FC-200D-2640-FE0F",sheet:[39,37]},{unified:"1F937-1F3FD-200D-2640-FE0F",sheet:[39,38]},{unified:"1F937-1F3FE-200D-2640-FE0F",sheet:[39,39]},{unified:"1F937-1F3FF-200D-2640-FE0F",sheet:[39,40]}],shortName:"woman-shrugging"},{name:"Mosquito",unified:"1F99F",keywords:["animal","nature","insect","malaria"],sheet:[42,49],shortName:"mosquito"},{name:"Fuel Pump",unified:"26FD",keywords:["gas station","petroleum"],sheet:[54,38],shortName:"fuelpump"},{name:"Guinea-Bissau Flag",unified:"1F1EC-1F1FC",sheet:[2,14],shortName:"flag-gw"},{name:"Wine Glass",unified:"1F377",keywords:["drink","beverage","drunk","alcohol","booze"],sheet:[7,22],shortName:"wine_glass"},{name:"Closed Book",unified:"1F4D5",keywords:["read","library","knowledge","textbook","learn"],sheet:[26,43],shortName:"closed_book"},{name:"Japanese Symbol for Beginner",unified:"1F530",keywords:["badge","shield"],sheet:[28,19],shortName:"beginner"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["animal","cats","haha","happy","tears"],sheet:[31,35],shortName:"joy_cat"},{name:"Police Cars Revolving Light",unified:"1F6A8",keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],sheet:[34,56],shortName:"rotating_light"},{name:"Microbe",unified:"1F9A0",keywords:["amoeba","bacteria","germs"],sheet:[42,50],shortName:"microbe"},{name:"Health Worker",unified:"1F9D1-200D-2695-FE0F",sheet:[47,49],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2695-FE0F",sheet:[47,50],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2695-FE0F",sheet:[47,51],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2695-FE0F",sheet:[47,52],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2695-FE0F",sheet:[47,53],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2695-FE0F",sheet:[47,54],hidden:["google","twitter","facebook"]}],shortName:"health_worker"},{name:"Guyana Flag",unified:"1F1EC-1F1FE",sheet:[2,15],shortName:"flag-gy"},{name:"Cocktail Glass",unified:"1F378",keywords:["drink","drunk","alcohol","beverage","booze","mojito"],sheet:[7,23],shortName:"cocktail"},{name:"Male Doctor",unified:"1F468-200D-2695-FE0F",sheet:[17,2],skinVariations:[{unified:"1F468-1F3FB-200D-2695-FE0F",sheet:[17,3]},{unified:"1F468-1F3FC-200D-2695-FE0F",sheet:[17,4]},{unified:"1F468-1F3FD-200D-2695-FE0F",sheet:[17,5]},{unified:"1F468-1F3FE-200D-2695-FE0F",sheet:[17,6]},{unified:"1F468-1F3FF-200D-2695-FE0F",sheet:[17,7]}],shortName:"male-doctor"},{name:"Bouquet",unified:"1F490",keywords:["flowers","nature","spring"],sheet:[25,26],shortName:"bouquet"},{name:"Open Book",unified:"1F4D6",sheet:[26,44],shortNames:["open_book"],shortName:"book"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["animal","love","like","affection","cats","valentines","heart"],sheet:[31,37],shortName:"heart_eyes_cat"},{name:"Horizontal Traffic Light",unified:"1F6A5",keywords:["transportation","signal"],sheet:[34,53],shortName:"traffic_light"},{name:"Heavy Large Circle",unified:"2B55",keywords:["circle","round"],sheet:[55,43],shortName:"o"},{name:"Hong Kong Sar China Flag",unified:"1F1ED-1F1F0",sheet:[2,16],shortName:"flag-hk"},{name:"Cherry Blossom",unified:"1F338",keywords:["nature","plant","spring","flower"],sheet:[6,16],shortName:"cherry_blossom"},{name:"Tropical Drink",unified:"1F379",keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],sheet:[7,24],shortName:"tropical_drink"},{name:"Female Doctor",unified:"1F469-200D-2695-FE0F",sheet:[19,44],skinVariations:[{unified:"1F469-1F3FB-200D-2695-FE0F",sheet:[19,45]},{unified:"1F469-1F3FC-200D-2695-FE0F",sheet:[19,46]},{unified:"1F469-1F3FD-200D-2695-FE0F",sheet:[19,47]},{unified:"1F469-1F3FE-200D-2695-FE0F",sheet:[19,48]},{unified:"1F469-1F3FF-200D-2695-FE0F",sheet:[19,49]}],shortName:"female-doctor"},{name:"Green Book",unified:"1F4D7",keywords:["read","library","knowledge","study"],sheet:[26,45],shortName:"green_book"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["animal","cats","smirk"],sheet:[31,38],shortName:"smirk_cat"},{name:"Vertical Traffic Light",unified:"1F6A6",keywords:["transportation","driving"],sheet:[34,54],shortName:"vertical_traffic_light"},{name:"White Heavy Check Mark",unified:"2705",keywords:["green-square","ok","agree","vote","election","answer","tick"],sheet:[54,40],shortName:"white_check_mark"},{name:"Heard & Mcdonald Islands Flag",unified:"1F1ED-1F1F2",sheet:[2,17],shortName:"flag-hm"},{name:"Beer Mug",unified:"1F37A",keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,25],shortName:"beer"},{name:"White Flower",unified:"1F4AE",keywords:["japanese","spring"],sheet:[26,4],shortName:"white_flower"},{name:"Blue Book",unified:"1F4D8",keywords:["read","library","knowledge","learn","study"],sheet:[26,46],shortName:"blue_book"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["animal","cats","kiss"],sheet:[31,39],shortName:"kissing_cat"},{name:"Octagonal Sign",unified:"1F6D1",sheet:[36,39],shortName:"octagonal_sign"},{name:"Student",unified:"1F9D1-200D-1F393",sheet:[45,29],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F393",sheet:[45,30],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F393",sheet:[45,31],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F393",sheet:[45,32],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F393",sheet:[45,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F393",sheet:[45,34],hidden:["google","twitter","facebook"]}],shortName:"student"},{name:"Ballot Box with Check",unified:"2611-FE0F",keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],sheet:[52,55],shortName:"ballot_box_with_check"},{name:"Honduras Flag",unified:"1F1ED-1F1F3",sheet:[2,18],shortName:"flag-hn"},{name:"Clinking Beer Mugs",unified:"1F37B",keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,26],shortName:"beers"},{name:"Rosette",unified:"1F3F5-FE0F",keywords:["flower","decoration","military"],sheet:[11,18],shortName:"rosette"},{name:"Male Student",unified:"1F468-200D-1F393",sheet:[14,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F393",sheet:[14,51]},{unified:"1F468-1F3FC-200D-1F393",sheet:[14,52]},{unified:"1F468-1F3FD-200D-1F393",sheet:[14,53]},{unified:"1F468-1F3FE-200D-1F393",sheet:[14,54]},{unified:"1F468-1F3FF-200D-1F393",sheet:[14,55]}],shortName:"male-student"},{name:"Orange Book",unified:"1F4D9",keywords:["read","library","knowledge","textbook","study"],sheet:[26,47],shortName:"orange_book"},{name:"Weary Cat Face",unified:"1F640",keywords:["animal","cats","munch","scared","scream"],sheet:[31,42],shortName:"scream_cat"},{name:"Construction Sign",unified:"1F6A7",keywords:["wip","progress","caution","warning"],sheet:[34,55],shortName:"construction"},{name:"Heavy Check Mark",unified:"2714-FE0F",keywords:["ok","nike","answer","yes","tick"],sheet:[55,12],shortName:"heavy_check_mark"},{name:"Croatia Flag",unified:"1F1ED-1F1F7",sheet:[2,19],shortName:"flag-hr"},{name:"Rose",unified:"1F339",keywords:["flowers","valentines","love","spring"],sheet:[6,17],shortName:"rose"},{name:"Female Student",unified:"1F469-200D-1F393",sheet:[17,40],skinVariations:[{unified:"1F469-1F3FB-200D-1F393",sheet:[17,41]},{unified:"1F469-1F3FC-200D-1F393",sheet:[17,42]},{unified:"1F469-1F3FD-200D-1F393",sheet:[17,43]},{unified:"1F469-1F3FE-200D-1F393",sheet:[17,44]},{unified:"1F469-1F3FF-200D-1F393",sheet:[17,45]}],shortName:"female-student"},{name:"Books",unified:"1F4DA",keywords:["literature","library","study"],sheet:[26,48],shortName:"books"},{name:"Crying Cat Face",unified:"1F63F",keywords:["animal","tears","weep","sad","cats","upset","cry"],sheet:[31,41],shortName:"crying_cat_face"},{name:"Clinking Glasses",unified:"1F942",keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],sheet:[41,18],shortName:"clinking_glasses"},{name:"Anchor",unified:"2693",keywords:["ship","ferry","sea","boat"],sheet:[53,42],shortName:"anchor"},{name:"Heavy Multiplication X",unified:"2716-FE0F",keywords:["math","calculation"],sheet:[55,13],shortName:"heavy_multiplication_x"},{name:"Haiti Flag",unified:"1F1ED-1F1F9",sheet:[2,20],shortName:"flag-ht"},{name:"Notebook",unified:"1F4D3",keywords:["stationery","record","notes","paper","study"],sheet:[26,41],shortName:"notebook"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["animal","cats"],sheet:[31,40],shortName:"pouting_cat"},{name:"Wilted Flower",unified:"1F940",keywords:["plant","nature","flower"],sheet:[41,16],shortName:"wilted_flower"},{name:"Tumbler Glass",unified:"1F943",keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],sheet:[41,19],shortName:"tumbler_glass"},{name:"Teacher",unified:"1F9D1-200D-1F3EB",sheet:[45,47],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3EB",sheet:[45,48],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F3EB",sheet:[45,49],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F3EB",sheet:[45,50],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F3EB",sheet:[45,51],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F3EB",sheet:[45,52],hidden:["google","twitter","facebook"]}],shortName:"teacher"},{name:"Sailboat",unified:"26F5",sheet:[54,16],shortNames:["sailboat"],shortName:"boat"},{name:"Cross Mark",unified:"274C",keywords:["no","delete","remove","cancel","red"],sheet:[55,21],shortName:"x"},{name:"Hungary Flag",unified:"1F1ED-1F1FA",sheet:[2,21],shortName:"flag-hu"},{name:"Hibiscus",unified:"1F33A",keywords:["plant","vegetable","flowers","beach"],sheet:[6,18],shortName:"hibiscus"},{name:"Male Teacher",unified:"1F468-200D-1F3EB",sheet:[15,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F3EB",sheet:[15,12]},{unified:"1F468-1F3FC-200D-1F3EB",sheet:[15,13]},{unified:"1F468-1F3FD-200D-1F3EB",sheet:[15,14]},{unified:"1F468-1F3FE-200D-1F3EB",sheet:[15,15]},{unified:"1F468-1F3FF-200D-1F3EB",sheet:[15,16]}],shortName:"male-teacher"},{name:"Ledger",unified:"1F4D2",keywords:["notes","paper"],sheet:[26,40],shortName:"ledger"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["monkey","animal","nature","haha"],sheet:[32,44],shortName:"see_no_evil"},{name:"Canoe",unified:"1F6F6",keywords:["boat","paddle","water","ship"],sheet:[36,55],shortName:"canoe"},{name:"Cup with Straw",unified:"1F964",keywords:["drink","soda"],sheet:[41,51],shortName:"cup_with_straw"},{name:"Negative Squared Cross Mark",unified:"274E",keywords:["x","green-square","no","deny"],sheet:[55,22],shortName:"negative_squared_cross_mark"},{name:"Canary Islands Flag",unified:"1F1EE-1F1E8",sheet:[2,22],shortName:"flag-ic"},{name:"Sunflower",unified:"1F33B",keywords:["nature","plant","fall"],sheet:[6,19],shortName:"sunflower"},{name:"Female Teacher",unified:"1F469-200D-1F3EB",sheet:[18,1],skinVariations:[{unified:"1F469-1F3FB-200D-1F3EB",sheet:[18,2]},{unified:"1F469-1F3FC-200D-1F3EB",sheet:[18,3]},{unified:"1F469-1F3FD-200D-1F3EB",sheet:[18,4]},{unified:"1F469-1F3FE-200D-1F3EB",sheet:[18,5]},{unified:"1F469-1F3FF-200D-1F3EB",sheet:[18,6]}],shortName:"female-teacher"},{name:"Page with Curl",unified:"1F4C3",keywords:["documents","office","paper"],sheet:[26,25],shortName:"page_with_curl"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["animal","monkey","nature"],sheet:[32,45],shortName:"hear_no_evil"},{name:"Speedboat",unified:"1F6A4",keywords:["ship","transportation","vehicle","summer"],sheet:[34,52],shortName:"speedboat"},{name:"Beverage Box",unified:"1F9C3",sheet:[44,11],shortName:"beverage_box"},{name:"Heavy Plus Sign",unified:"2795",keywords:["math","calculation","addition","more","increase"],sheet:[55,29],shortName:"heavy_plus_sign"},{name:"Indonesia Flag",unified:"1F1EE-1F1E9",sheet:[2,23],shortName:"flag-id"},{name:"Blossom",unified:"1F33C",keywords:["nature","flowers","yellow"],sheet:[6,20],shortName:"blossom"},{name:"Scroll",unified:"1F4DC",keywords:["documents","ancient","history","paper"],sheet:[26,50],shortName:"scroll"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["monkey","animal","nature","omg"],sheet:[32,46],shortName:"speak_no_evil"},{name:"Passenger Ship",unified:"1F6F3-FE0F",keywords:["yacht","cruise","ferry"],sheet:[36,52],shortName:"passenger_ship"},{name:"Mate Drink",unified:"1F9C9",sheet:[44,17],shortName:"mate_drink"},{name:"Judge",unified:"1F9D1-200D-2696-FE0F",sheet:[47,55],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2696-FE0F",sheet:[47,56],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2696-FE0F",sheet:[48,0],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2696-FE0F",sheet:[48,1],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2696-FE0F",sheet:[48,2],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2696-FE0F",sheet:[48,3],hidden:["google","twitter","facebook"]}],shortName:"judge"},{name:"Heavy Minus Sign",unified:"2796",keywords:["math","calculation","subtract","less"],sheet:[55,30],shortName:"heavy_minus_sign"},{name:"Ireland Flag",unified:"1F1EE-1F1EA",sheet:[2,24],shortName:"flag-ie"},{name:"Tulip",unified:"1F337",keywords:["flowers","plant","nature","summer","spring"],sheet:[6,15],shortName:"tulip"},{name:"Male Judge",unified:"1F468-200D-2696-FE0F",sheet:[17,8],skinVariations:[{unified:"1F468-1F3FB-200D-2696-FE0F",sheet:[17,9]},{unified:"1F468-1F3FC-200D-2696-FE0F",sheet:[17,10]},{unified:"1F468-1F3FD-200D-2696-FE0F",sheet:[17,11]},{unified:"1F468-1F3FE-200D-2696-FE0F",sheet:[17,12]},{unified:"1F468-1F3FF-200D-2696-FE0F",sheet:[17,13]}],shortName:"male-judge"},{name:"Kiss Mark",unified:"1F48B",keywords:["face","lips","love","like","affection","valentines"],sheet:[25,21],shortName:"kiss"},{name:"Page Facing Up",unified:"1F4C4",keywords:["documents","office","paper","information"],sheet:[26,26],shortName:"page_facing_up"},{name:"Ice Cube",unified:"1F9CA",sheet:[44,18],shortName:"ice_cube"},{name:"Ferry",unified:"26F4-FE0F",keywords:["boat","ship","yacht"],sheet:[54,15],shortName:"ferry"},{name:"Heavy Division Sign",unified:"2797",keywords:["divide","math","calculation"],sheet:[55,31],shortName:"heavy_division_sign"},{name:"Israel Flag",unified:"1F1EE-1F1F1",sheet:[2,25],shortName:"flag-il"},{name:"Seedling",unified:"1F331",keywords:["plant","nature","grass","lawn","spring"],sheet:[6,9],shortName:"seedling"},{name:"Female Judge",unified:"1F469-200D-2696-FE0F",sheet:[19,50],skinVariations:[{unified:"1F469-1F3FB-200D-2696-FE0F",sheet:[19,51]},{unified:"1F469-1F3FC-200D-2696-FE0F",sheet:[19,52]},{unified:"1F469-1F3FD-200D-2696-FE0F",sheet:[19,53]},{unified:"1F469-1F3FE-200D-2696-FE0F",sheet:[19,54]},{unified:"1F469-1F3FF-200D-2696-FE0F",sheet:[19,55]}],shortName:"female-judge"},{name:"Love Letter",unified:"1F48C",keywords:["email","like","affection","envelope","valentines"],sheet:[25,22],shortName:"love_letter"},{name:"Newspaper",unified:"1F4F0",keywords:["press","headline"],sheet:[27,13],shortName:"newspaper"},{name:"Motor Boat",unified:"1F6E5-FE0F",keywords:["ship"],sheet:[36,47],shortName:"motor_boat"},{name:"Chopsticks",unified:"1F962",keywords:["food"],sheet:[41,49],shortName:"chopsticks"},{name:"Curly Loop",unified:"27B0",keywords:["scribble","draw","shape","squiggle"],sheet:[55,33],shortName:"curly_loop"},{name:"Isle of Man Flag",unified:"1F1EE-1F1F2",sheet:[2,26],shortName:"flag-im"},{name:"Evergreen Tree",unified:"1F332",keywords:["plant","nature"],sheet:[6,10],shortName:"evergreen_tree"},{name:"Knife Fork Plate",unified:"1F37D-FE0F",sheet:[7,28],shortName:"knife_fork_plate"},{name:"Heart with Arrow",unified:"1F498",keywords:["love","like","heart","affection","valentines"],sheet:[25,34],shortName:"cupid"},{name:"Rolled Up Newspaper",unified:"1F5DE-FE0F",sheet:[30,23],shortName:"rolled_up_newspaper"},{name:"Ship",unified:"1F6A2",keywords:["transportation","titanic","deploy"],sheet:[34,33],shortName:"ship"},{name:"Farmer",unified:"1F9D1-200D-1F33E",sheet:[45,17],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F33E",sheet:[45,18],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F33E",sheet:[45,19],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F33E",sheet:[45,20],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F33E",sheet:[45,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F33E",sheet:[45,22],hidden:["google","twitter","facebook"]}],shortName:"farmer"},{name:"Double Curly Loop",unified:"27BF",keywords:["tape","cassette"],sheet:[55,34],shortName:"loop"},{name:"India Flag",unified:"1F1EE-1F1F3",sheet:[2,27],shortName:"flag-in"},{name:"Deciduous Tree",unified:"1F333",keywords:["plant","nature"],sheet:[6,11],shortName:"deciduous_tree"},{name:"Fork and Knife",unified:"1F374",keywords:["cutlery","kitchen"],sheet:[7,19],shortName:"fork_and_knife"},{name:"Male Farmer",unified:"1F468-200D-1F33E",sheet:[14,38],skinVariations:[{unified:"1F468-1F3FB-200D-1F33E",sheet:[14,39]},{unified:"1F468-1F3FC-200D-1F33E",sheet:[14,40]},{unified:"1F468-1F3FD-200D-1F33E",sheet:[14,41]},{unified:"1F468-1F3FE-200D-1F33E",sheet:[14,42]},{unified:"1F468-1F3FF-200D-1F33E",sheet:[14,43]}],shortName:"male-farmer"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["love","valentines"],sheet:[25,39],shortName:"gift_heart"},{name:"Bookmark Tabs",unified:"1F4D1",keywords:["favorite","save","order","tidy"],sheet:[26,39],shortName:"bookmark_tabs"},{name:"Airplane",unified:"2708-FE0F",keywords:["vehicle","transportation","flight","fly"],sheet:[54,41],shortName:"airplane"},{name:"Part Alternation Mark",unified:"303D-FE0F",keywords:["graph","presentation","stats","business","economics","bad"],sheet:[55,45],shortName:"part_alternation_mark"},{name:"British Indian Ocean Territory Flag",unified:"1F1EE-1F1F4",sheet:[2,28],shortName:"flag-io"},{name:"Palm Tree",unified:"1F334",keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],sheet:[6,12],shortName:"palm_tree"},{name:"Female Farmer",unified:"1F469-200D-1F33E",sheet:[17,28],skinVariations:[{unified:"1F469-1F3FB-200D-1F33E",sheet:[17,29]},{unified:"1F469-1F3FC-200D-1F33E",sheet:[17,30]},{unified:"1F469-1F3FD-200D-1F33E",sheet:[17,31]},{unified:"1F469-1F3FE-200D-1F33E",sheet:[17,32]},{unified:"1F469-1F3FF-200D-1F33E",sheet:[17,33]}],shortName:"female-farmer"},{name:"Sparkling Heart",unified:"1F496",keywords:["love","like","affection","valentines"],sheet:[25,32],shortName:"sparkling_heart"},{name:"Bookmark",unified:"1F516",keywords:["favorite","label","save"],sheet:[27,50],shortName:"bookmark"},{name:"Small Airplane",unified:"1F6E9-FE0F",keywords:["flight","transportation","fly","vehicle"],sheet:[36,48],shortName:"small_airplane"},{name:"Spoon",unified:"1F944",keywords:["cutlery","kitchen","tableware"],sheet:[41,20],shortName:"spoon"},{name:"Eight Spoked Asterisk",unified:"2733-FE0F",keywords:["star","sparkle","green-square"],sheet:[55,17],shortName:"eight_spoked_asterisk"},{name:"Iraq Flag",unified:"1F1EE-1F1F6",sheet:[2,29],shortName:"flag-iq"},{name:"Cactus",unified:"1F335",keywords:["vegetable","plant","nature"],sheet:[6,13],shortName:"cactus"},{name:"Label",unified:"1F3F7-FE0F",keywords:["sale","tag"],sheet:[11,19],shortName:"label"},{name:"Growing Heart",unified:"1F497",keywords:["like","love","affection","valentines","pink"],sheet:[25,33],shortName:"heartpulse"},{name:"Hocho",unified:"1F52A",keywords:["knife","blade","cutlery","kitchen","weapon"],sheet:[28,13],shortNames:["knife"],shortName:"hocho"},{name:"Airplane Departure",unified:"1F6EB",sheet:[36,49],shortName:"airplane_departure"},{name:"Cook",unified:"1F9D1-200D-1F373",sheet:[45,23],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F373",sheet:[45,24],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F373",sheet:[45,25],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F373",sheet:[45,26],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F373",sheet:[45,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F373",sheet:[45,28],hidden:["google","twitter","facebook"]}],shortName:"cook"},{name:"Eight Pointed Black Star",unified:"2734-FE0F",keywords:["orange-square","shape","polygon"],sheet:[55,18],shortName:"eight_pointed_black_star"},{name:"Iran Flag",unified:"1F1EE-1F1F7",sheet:[2,30],shortName:"flag-ir"},{name:"Ear of Rice",unified:"1F33E",keywords:["nature","plant"],sheet:[6,22],shortName:"ear_of_rice"},{name:"Amphora",unified:"1F3FA",keywords:["vase","jar"],sheet:[11,22],shortName:"amphora"},{name:"Male Cook",unified:"1F468-200D-1F373",sheet:[14,44],skinVariations:[{unified:"1F468-1F3FB-200D-1F373",sheet:[14,45]},{unified:"1F468-1F3FC-200D-1F373",sheet:[14,46]},{unified:"1F468-1F3FD-200D-1F373",sheet:[14,47]},{unified:"1F468-1F3FE-200D-1F373",sheet:[14,48]},{unified:"1F468-1F3FF-200D-1F373",sheet:[14,49]}],shortName:"male-cook"},{name:"Beating Heart",unified:"1F493",keywords:["love","like","affection","valentines","pink","heart"],sheet:[25,29],shortName:"heartbeat"},{name:"Money Bag",unified:"1F4B0",keywords:["dollar","payment","coins","sale"],sheet:[26,6],shortName:"moneybag"},{name:"Airplane Arriving",unified:"1F6EC",sheet:[36,50],shortName:"airplane_arriving"},{name:"Sparkle",unified:"2747-FE0F",keywords:["stars","green-square","awesome","good","fireworks"],sheet:[55,20],shortName:"sparkle"},{name:"Iceland Flag",unified:"1F1EE-1F1F8",sheet:[2,31],shortName:"flag-is"},{name:"Herb",unified:"1F33F",keywords:["vegetable","plant","medicine","weed","grass","lawn"],sheet:[6,23],shortName:"herb"},{name:"Female Cook",unified:"1F469-200D-1F373",sheet:[17,34],skinVariations:[{unified:"1F469-1F3FB-200D-1F373",sheet:[17,35]},{unified:"1F469-1F3FC-200D-1F373",sheet:[17,36]},{unified:"1F469-1F3FD-200D-1F373",sheet:[17,37]},{unified:"1F469-1F3FE-200D-1F373",sheet:[17,38]},{unified:"1F469-1F3FF-200D-1F373",sheet:[17,39]}],shortName:"female-cook"},{name:"Revolving Hearts",unified:"1F49E",keywords:["love","like","affection","valentines"],sheet:[25,40],shortName:"revolving_hearts"},{name:"Banknote with Yen Sign",unified:"1F4B4",keywords:["money","sales","japanese","dollar","currency"],sheet:[26,10],shortName:"yen"},{name:"Parachute",unified:"1FA82",sheet:[52,3],shortName:"parachute"},{name:"Double Exclamation Mark",unified:"203C-FE0F",keywords:["exclamation","surprise"],sheet:[52,10],shortName:"bangbang"},{name:"Italy Flag",unified:"1F1EE-1F1F9",keywords:["italy","flag","nation","country","banner"],sheet:[2,32],shortNames:["flag-it"],shortName:"it"},{name:"Two Hearts",unified:"1F495",keywords:["love","like","affection","valentines","heart"],sheet:[25,31],shortName:"two_hearts"},{name:"Banknote with Dollar Sign",unified:"1F4B5",keywords:["money","sales","bill","currency"],sheet:[26,11],shortName:"dollar"},{name:"Seat",unified:"1F4BA",keywords:["sit","airplane","transport","bus","flight","fly"],sheet:[26,16],shortName:"seat"},{name:"Mechanic",unified:"1F9D1-200D-1F527",sheet:[46,14],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F527",sheet:[46,15],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F527",sheet:[46,16],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F527",sheet:[46,17],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F527",sheet:[46,18],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F527",sheet:[46,19],hidden:["google","twitter","facebook"]}],shortName:"mechanic"},{name:"Exclamation Question Mark",unified:"2049-FE0F",keywords:["wat","punctuation","surprise"],sheet:[52,11],shortName:"interrobang"},{name:"Shamrock",unified:"2618-FE0F",keywords:["vegetable","plant","nature","irish","clover"],sheet:[53,1],shortName:"shamrock"},{name:"Jersey Flag",unified:"1F1EF-1F1EA",sheet:[2,33],shortName:"flag-je"},{name:"Four Leaf Clover",unified:"1F340",keywords:["vegetable","plant","nature","lucky","irish"],sheet:[6,24],shortName:"four_leaf_clover"},{name:"Male Mechanic",unified:"1F468-200D-1F527",sheet:[15,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F527",sheet:[15,51]},{unified:"1F468-1F3FC-200D-1F527",sheet:[15,52]},{unified:"1F468-1F3FD-200D-1F527",sheet:[15,53]},{unified:"1F468-1F3FE-200D-1F527",sheet:[15,54]},{unified:"1F468-1F3FF-200D-1F527",sheet:[15,55]}],shortName:"male-mechanic"},{name:"Heart Decoration",unified:"1F49F",keywords:["purple-square","love","like"],sheet:[25,41],shortName:"heart_decoration"},{name:"Banknote with Euro Sign",unified:"1F4B6",keywords:["money","sales","dollar","currency"],sheet:[26,12],shortName:"euro"},{name:"Helicopter",unified:"1F681",keywords:["transportation","vehicle","fly"],sheet:[34,0],shortName:"helicopter"},{name:"Black Question Mark Ornament",unified:"2753",keywords:["doubt","confused"],sheet:[55,23],shortName:"question"},{name:"Jamaica Flag",unified:"1F1EF-1F1F2",sheet:[2,34],shortName:"flag-jm"},{name:"Maple Leaf",unified:"1F341",keywords:["nature","plant","vegetable","ca","fall"],sheet:[6,25],shortName:"maple_leaf"},{name:"Female Mechanic",unified:"1F469-200D-1F527",sheet:[18,35],skinVariations:[{unified:"1F469-1F3FB-200D-1F527",sheet:[18,36]},{unified:"1F469-1F3FC-200D-1F527",sheet:[18,37]},{unified:"1F469-1F3FD-200D-1F527",sheet:[18,38]},{unified:"1F469-1F3FE-200D-1F527",sheet:[18,39]},{unified:"1F469-1F3FF-200D-1F527",sheet:[18,40]}],shortName:"female-mechanic"},{name:"Banknote with Pound Sign",unified:"1F4B7",keywords:["british","sterling","money","sales","bills","uk","england","currency"],sheet:[26,13],shortName:"pound"},{name:"Suspension Railway",unified:"1F69F",keywords:["vehicle","transportation"],sheet:[34,30],shortName:"suspension_railway"},{name:"White Question Mark Ornament",unified:"2754",keywords:["doubts","gray","huh","confused"],sheet:[55,24],shortName:"grey_question"},{name:"Heavy Heart Exclamation Mark Ornament",unified:"2763-FE0F",sheet:[55,27],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Jordan Flag",unified:"1F1EF-1F1F4",sheet:[2,35],shortName:"flag-jo"},{name:"Fallen Leaf",unified:"1F342",keywords:["nature","plant","vegetable","leaves"],sheet:[6,26],shortName:"fallen_leaf"},{name:"Broken Heart",unified:"1F494",text:"</3",emoticons:["</3"],keywords:["sad","sorry","break","heart","heartbreak"],sheet:[25,30],shortName:"broken_heart"},{name:"Money with Wings",unified:"1F4B8",keywords:["dollar","bills","payment","sale"],sheet:[26,14],shortName:"money_with_wings"},{name:"Mountain Cableway",unified:"1F6A0",keywords:["transportation","vehicle","ski"],sheet:[34,31],shortName:"mountain_cableway"},{name:"Factory Worker",unified:"1F9D1-200D-1F3ED",sheet:[45,53],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3ED",sheet:[45,54],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F3ED",sheet:[45,55],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F3ED",sheet:[45,56],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F3ED",sheet:[46,0],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F3ED",sheet:[46,1],hidden:["google","twitter","facebook"]}],shortName:"factory_worker"},{name:"White Exclamation Mark Ornament",unified:"2755",keywords:["surprise","punctuation","gray","wow","warning"],sheet:[55,25],shortName:"grey_exclamation"},{name:"Japan Flag",unified:"1F1EF-1F1F5",keywords:["japanese","nation","flag","country","banner"],sheet:[2,36],shortNames:["flag-jp"],shortName:"jp"},{name:"Leaf Fluttering in Wind",unified:"1F343",keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],sheet:[6,27],shortName:"leaves"},{name:"Male Factory Worker",unified:"1F468-200D-1F3ED",sheet:[15,17],skinVariations:[{unified:"1F468-1F3FB-200D-1F3ED",sheet:[15,18]},{unified:"1F468-1F3FC-200D-1F3ED",sheet:[15,19]},{unified:"1F468-1F3FD-200D-1F3ED",sheet:[15,20]},{unified:"1F468-1F3FE-200D-1F3ED",sheet:[15,21]},{unified:"1F468-1F3FF-200D-1F3ED",sheet:[15,22]}],shortName:"male-factory-worker"},{name:"Credit Card",unified:"1F4B3",keywords:["money","sales","dollar","bill","payment","shopping"],sheet:[26,9],shortName:"credit_card"},{name:"Aerial Tramway",unified:"1F6A1",keywords:["transportation","vehicle","ski"],sheet:[34,32],shortName:"aerial_tramway"},{name:"Heavy Exclamation Mark Symbol",unified:"2757",keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],sheet:[55,26],shortNames:["heavy_exclamation_mark"],shortName:"exclamation"},{name:"Heavy Black Heart",unified:"2764-FE0F",text:"<3",emoticons:["<3"],keywords:["love","like","valentines"],sheet:[55,28],shortName:"heart"},{name:"Kenya Flag",unified:"1F1F0-1F1EA",sheet:[2,37],shortName:"flag-ke"},{name:"Female Factory Worker",unified:"1F469-200D-1F3ED",sheet:[18,7],skinVariations:[{unified:"1F469-1F3FB-200D-1F3ED",sheet:[18,8]},{unified:"1F469-1F3FC-200D-1F3ED",sheet:[18,9]},{unified:"1F469-1F3FD-200D-1F3ED",sheet:[18,10]},{unified:"1F469-1F3FE-200D-1F3ED",sheet:[18,11]},{unified:"1F469-1F3FF-200D-1F3ED",sheet:[18,12]}],shortName:"female-factory-worker"},{name:"Satellite",unified:"1F6F0-FE0F",keywords:["communication","future","radio","space"],sheet:[36,51],shortName:"satellite"},{name:"Orange Heart",unified:"1F9E1",keywords:["love","like","affection","valentines"],sheet:[51,20],shortName:"orange_heart"},{name:"Receipt",unified:"1F9FE",keywords:["accounting","expenses"],sheet:[51,49],shortName:"receipt"},{name:"Wavy Dash",unified:"3030-FE0F",keywords:["draw","line","moustache","mustache","squiggle","scribble"],sheet:[55,44],shortName:"wavy_dash"},{name:"Copyright Sign",unified:"00A9-FE0F",keywords:["ip","license","circle","law","legal"],sheet:[0,12],hidden:["facebook"],shortName:"copyright"},{name:"Kyrgyzstan Flag",unified:"1F1F0-1F1EC",sheet:[2,38],shortName:"flag-kg"},{name:"Yellow Heart",unified:"1F49B",text:"<3",keywords:["love","like","affection","valentines"],sheet:[25,37],shortName:"yellow_heart"},{name:"Chart with Upwards Trend and Yen Sign",unified:"1F4B9",keywords:["green-square","graph","presentation","stats"],sheet:[26,15],shortName:"chart"},{name:"Rocket",unified:"1F680",keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],sheet:[33,56],shortName:"rocket"},{name:"Office Worker",unified:"1F9D1-200D-1F4BC",sheet:[46,8],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BC",sheet:[46,9],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F4BC",sheet:[46,10],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F4BC",sheet:[46,11],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F4BC",sheet:[46,12],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F4BC",sheet:[46,13],hidden:["google","twitter","facebook"]}],shortName:"office_worker"},{name:"Registered Sign",unified:"00AE-FE0F",keywords:["alphabet","circle"],sheet:[0,13],hidden:["facebook"],shortName:"registered"},{name:"Cambodia Flag",unified:"1F1F0-1F1ED",sheet:[2,39],shortName:"flag-kh"},{name:"Male Office Worker",unified:"1F468-200D-1F4BC",sheet:[15,44],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BC",sheet:[15,45]},{unified:"1F468-1F3FC-200D-1F4BC",sheet:[15,46]},{unified:"1F468-1F3FD-200D-1F4BC",sheet:[15,47]},{unified:"1F468-1F3FE-200D-1F4BC",sheet:[15,48]},{unified:"1F468-1F3FF-200D-1F4BC",sheet:[15,49]}],shortName:"male-office-worker"},{name:"Green Heart",unified:"1F49A",text:"<3",keywords:["love","like","affection","valentines"],sheet:[25,36],shortName:"green_heart"},{name:"Currency Exchange",unified:"1F4B1",keywords:["money","sales","dollar","travel"],sheet:[26,7],shortName:"currency_exchange"},{name:"Flying Saucer",unified:"1F6F8",keywords:["transportation","vehicle","ufo"],sheet:[37,0],shortName:"flying_saucer"},{name:"Kiribati Flag",unified:"1F1F0-1F1EE",sheet:[2,40],shortName:"flag-ki"},{name:"Female Office Worker",unified:"1F469-200D-1F4BC",sheet:[18,29],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BC",sheet:[18,30]},{unified:"1F469-1F3FC-200D-1F4BC",sheet:[18,31]},{unified:"1F469-1F3FD-200D-1F4BC",sheet:[18,32]},{unified:"1F469-1F3FE-200D-1F4BC",sheet:[18,33]},{unified:"1F469-1F3FF-200D-1F4BC",sheet:[18,34]}],shortName:"female-office-worker"},{name:"Blue Heart",unified:"1F499",text:"<3",keywords:["love","like","affection","valentines"],sheet:[25,35],shortName:"blue_heart"},{name:"Heavy Dollar Sign",unified:"1F4B2",keywords:["money","sales","payment","currency","buck"],sheet:[26,8],shortName:"heavy_dollar_sign"},{name:"Bellhop Bell",unified:"1F6CE-FE0F",keywords:["service"],sheet:[36,36],shortName:"bellhop_bell"},{name:"Trade Mark Sign",unified:"2122-FE0F",keywords:["trademark","brand","law","legal"],sheet:[52,12],shortName:"tm"},{name:"Hash Key",unified:"0023-FE0F-20E3",keywords:["symbol","blue-square","twitter"],sheet:[0,0],hidden:["facebook"],shortName:"hash"},{name:"Comoros Flag",unified:"1F1F0-1F1F2",sheet:[2,41],shortName:"flag-km"},{name:"Purple Heart",unified:"1F49C",text:"<3",keywords:["love","like","affection","valentines"],sheet:[25,38],shortName:"purple_heart"},{name:"Scientist",unified:"1F9D1-200D-1F52C",sheet:[46,20],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F52C",sheet:[46,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F52C",sheet:[46,22],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F52C",sheet:[46,23],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F52C",sheet:[46,24],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F52C",sheet:[46,25],hidden:["google","twitter","facebook"]}],shortName:"scientist"},{name:"Luggage",unified:"1F9F3",keywords:["packing","travel"],sheet:[51,38],shortName:"luggage"},{name:"Envelope",unified:"2709-FE0F",keywords:["letter","postal","inbox","communication"],sheet:[54,42],shortNames:["envelope"],shortName:"email"},{name:"Keycap Star",unified:"002A-FE0F-20E3",sheet:[0,1],hidden:["facebook"],shortName:"keycap_star"},{name:"St. Kitts & Nevis Flag",unified:"1F1F0-1F1F3",sheet:[2,42],shortName:"flag-kn"},{name:"Male Scientist",unified:"1F468-200D-1F52C",sheet:[15,56],skinVariations:[{unified:"1F468-1F3FB-200D-1F52C",sheet:[16,0]},{unified:"1F468-1F3FC-200D-1F52C",sheet:[16,1]},{unified:"1F468-1F3FD-200D-1F52C",sheet:[16,2]},{unified:"1F468-1F3FE-200D-1F52C",sheet:[16,3]},{unified:"1F468-1F3FF-200D-1F52C",sheet:[16,4]}],shortName:"male-scientist"},{name:"E-Mail Symbol",unified:"1F4E7",keywords:["communication","inbox"],sheet:[27,4],shortName:"e-mail"},{name:"Brown Heart",unified:"1F90E",sheet:[37,16],shortName:"brown_heart"},{name:"Hourglass",unified:"231B",keywords:["time","clock","oldschool","limit","exam","quiz","test"],sheet:[52,23],shortName:"hourglass"},{name:"Keycap 0",unified:"0030-FE0F-20E3",keywords:["0","numbers","blue-square","null"],sheet:[0,2],hidden:["facebook"],shortName:"zero"},{name:"North Korea Flag",unified:"1F1F0-1F1F5",sheet:[2,43],shortName:"flag-kp"},{name:"Female Scientist",unified:"1F469-200D-1F52C",sheet:[18,41],skinVariations:[{unified:"1F469-1F3FB-200D-1F52C",sheet:[18,42]},{unified:"1F469-1F3FC-200D-1F52C",sheet:[18,43]},{unified:"1F469-1F3FD-200D-1F52C",sheet:[18,44]},{unified:"1F469-1F3FE-200D-1F52C",sheet:[18,45]},{unified:"1F469-1F3FF-200D-1F52C",sheet:[18,46]}],shortName:"female-scientist"},{name:"Incoming Envelope",unified:"1F4E8",keywords:["email","inbox"],sheet:[27,5],shortName:"incoming_envelope"},{name:"Black Heart",unified:"1F5A4",keywords:["evil"],sheet:[30,9],shortName:"black_heart"},{name:"Hourglass with Flowing Sand",unified:"23F3",keywords:["oldschool","time","countdown"],sheet:[52,36],shortName:"hourglass_flowing_sand"},{name:"Keycap 1",unified:"0031-FE0F-20E3",keywords:["blue-square","numbers","1"],sheet:[0,3],hidden:["facebook"],shortName:"one"},{name:"South Korea Flag",unified:"1F1F0-1F1F7",keywords:["south","korea","nation","flag","country","banner"],sheet:[2,44],shortNames:["flag-kr"],shortName:"kr"},{name:"Envelope with Downwards Arrow Above",unified:"1F4E9",keywords:["email","communication"],sheet:[27,6],shortName:"envelope_with_arrow"},{name:"White Heart",unified:"1F90D",sheet:[37,15],shortName:"white_heart"},{name:"Technologist",unified:"1F9D1-200D-1F4BB",sheet:[46,2],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BB",sheet:[46,3],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F4BB",sheet:[46,4],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F4BB",sheet:[46,5],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F4BB",sheet:[46,6],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F4BB",sheet:[46,7],hidden:["google","twitter","facebook"]}],shortName:"technologist"},{name:"Watch",unified:"231A",keywords:["time","accessories"],sheet:[52,22],shortName:"watch"},{name:"Keycap 2",unified:"0032-FE0F-20E3",keywords:["numbers","2","prime","blue-square"],sheet:[0,4],hidden:["facebook"],shortName:"two"},{name:"Kuwait Flag",unified:"1F1F0-1F1FC",sheet:[2,45],shortName:"flag-kw"},{name:"Male Technologist",unified:"1F468-200D-1F4BB",sheet:[15,38],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BB",sheet:[15,39]},{unified:"1F468-1F3FC-200D-1F4BB",sheet:[15,40]},{unified:"1F468-1F3FD-200D-1F4BB",sheet:[15,41]},{unified:"1F468-1F3FE-200D-1F4BB",sheet:[15,42]},{unified:"1F468-1F3FF-200D-1F4BB",sheet:[15,43]}],shortName:"male-technologist"},{name:"Hundred Points Symbol",unified:"1F4AF",keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],sheet:[26,5],shortName:"100"},{name:"Outbox Tray",unified:"1F4E4",keywords:["inbox","email"],sheet:[27,1],shortName:"outbox_tray"},{name:"Alarm Clock",unified:"23F0",keywords:["time","wake"],sheet:[52,33],shortName:"alarm_clock"},{name:"Keycap 3",unified:"0033-FE0F-20E3",keywords:["3","numbers","prime","blue-square"],sheet:[0,5],hidden:["facebook"],shortName:"three"},{name:"Cayman Islands Flag",unified:"1F1F0-1F1FE",sheet:[2,46],shortName:"flag-ky"},{name:"Female Technologist",unified:"1F469-200D-1F4BB",sheet:[18,23],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BB",sheet:[18,24]},{unified:"1F469-1F3FC-200D-1F4BB",sheet:[18,25]},{unified:"1F469-1F3FD-200D-1F4BB",sheet:[18,26]},{unified:"1F469-1F3FE-200D-1F4BB",sheet:[18,27]},{unified:"1F469-1F3FF-200D-1F4BB",sheet:[18,28]}],shortName:"female-technologist"},{name:"Anger Symbol",unified:"1F4A2",keywords:["angry","mad"],sheet:[25,44],shortName:"anger"},{name:"Inbox Tray",unified:"1F4E5",keywords:["email","documents"],sheet:[27,2],shortName:"inbox_tray"},{name:"Stopwatch",unified:"23F1-FE0F",keywords:["time","deadline"],sheet:[52,34],shortName:"stopwatch"},{name:"Keycap 4",unified:"0034-FE0F-20E3",keywords:["4","numbers","blue-square"],sheet:[0,6],hidden:["facebook"],shortName:"four"},{name:"Kazakhstan Flag",unified:"1F1F0-1F1FF",sheet:[2,47],shortName:"flag-kz"},{name:"Collision Symbol",unified:"1F4A5",keywords:["bomb","explode","explosion","collision","blown"],sheet:[25,47],shortNames:["collision"],shortName:"boom"},{name:"Package",unified:"1F4E6",keywords:["mail","gift","cardboard","box","moving"],sheet:[27,3],shortName:"package"},{name:"Singer",unified:"1F9D1-200D-1F3A4",sheet:[45,35],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A4",sheet:[45,36],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F3A4",sheet:[45,37],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F3A4",sheet:[45,38],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F3A4",sheet:[45,39],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F3A4",sheet:[45,40],hidden:["google","twitter","facebook"]}],shortName:"singer"},{name:"Timer Clock",unified:"23F2-FE0F",keywords:["alarm"],sheet:[52,35],shortName:"timer_clock"},{name:"Keycap 5",unified:"0035-FE0F-20E3",keywords:["5","numbers","blue-square","prime"],sheet:[0,7],hidden:["facebook"],shortName:"five"},{name:"Laos Flag",unified:"1F1F1-1F1E6",sheet:[2,48],shortName:"flag-la"},{name:"Male Singer",unified:"1F468-200D-1F3A4",sheet:[14,56],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A4",sheet:[15,0]},{unified:"1F468-1F3FC-200D-1F3A4",sheet:[15,1]},{unified:"1F468-1F3FD-200D-1F3A4",sheet:[15,2]},{unified:"1F468-1F3FE-200D-1F3A4",sheet:[15,3]},{unified:"1F468-1F3FF-200D-1F3A4",sheet:[15,4]}],shortName:"male-singer"},{name:"Dizzy Symbol",unified:"1F4AB",keywords:["star","sparkle","shoot","magic"],sheet:[26,1],shortName:"dizzy"},{name:"Closed Mailbox with Raised Flag",unified:"1F4EB",keywords:["email","inbox","communication"],sheet:[27,8],shortName:"mailbox"},{name:"Mantelpiece Clock",unified:"1F570-FE0F",keywords:["time"],sheet:[29,7],shortName:"mantelpiece_clock"},{name:"Keycap 6",unified:"0036-FE0F-20E3",keywords:["6","numbers","blue-square"],sheet:[0,8],hidden:["facebook"],shortName:"six"},{name:"Lebanon Flag",unified:"1F1F1-1F1E7",sheet:[2,49],shortName:"flag-lb"},{name:"Female Singer",unified:"1F469-200D-1F3A4",sheet:[17,46],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A4",sheet:[17,47]},{unified:"1F469-1F3FC-200D-1F3A4",sheet:[17,48]},{unified:"1F469-1F3FD-200D-1F3A4",sheet:[17,49]},{unified:"1F469-1F3FE-200D-1F3A4",sheet:[17,50]},{unified:"1F469-1F3FF-200D-1F3A4",sheet:[17,51]}],shortName:"female-singer"},{name:"Splashing Sweat Symbol",unified:"1F4A6",keywords:["water","drip","oops"],sheet:[25,48],shortName:"sweat_drops"},{name:"Closed Mailbox with Lowered Flag",unified:"1F4EA",keywords:["email","communication","inbox"],sheet:[27,7],shortName:"mailbox_closed"},{name:"Clock Face Twelve Oclock",unified:"1F55B",keywords:["time","noon","midnight","midday","late","early","schedule"],sheet:[28,50],shortName:"clock12"},{name:"Keycap 7",unified:"0037-FE0F-20E3",keywords:["7","numbers","blue-square","prime"],sheet:[0,9],hidden:["facebook"],shortName:"seven"},{name:"St. Lucia Flag",unified:"1F1F1-1F1E8",sheet:[2,50],shortName:"flag-lc"},{name:"Dash Symbol",unified:"1F4A8",keywords:["wind","air","fast","shoo","fart","smoke","puff"],sheet:[25,50],shortName:"dash"},{name:"Open Mailbox with Raised Flag",unified:"1F4EC",keywords:["email","inbox","communication"],sheet:[27,9],shortName:"mailbox_with_mail"},{name:"Clock Face Twelve-Thirty",unified:"1F567",keywords:["time","late","early","schedule"],sheet:[29,5],shortName:"clock1230"},{name:"Artist",unified:"1F9D1-200D-1F3A8",sheet:[45,41],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A8",sheet:[45,42],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F3A8",sheet:[45,43],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F3A8",sheet:[45,44],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F3A8",sheet:[45,45],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F3A8",sheet:[45,46],hidden:["google","twitter","facebook"]}],shortName:"artist"},{name:"Keycap 8",unified:"0038-FE0F-20E3",keywords:["8","blue-square","numbers"],sheet:[0,10],hidden:["facebook"],shortName:"eight"},{name:"Liechtenstein Flag",unified:"1F1F1-1F1EE",sheet:[2,51],shortName:"flag-li"},{name:"Male Artist",unified:"1F468-200D-1F3A8",sheet:[15,5],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A8",sheet:[15,6]},{unified:"1F468-1F3FC-200D-1F3A8",sheet:[15,7]},{unified:"1F468-1F3FD-200D-1F3A8",sheet:[15,8]},{unified:"1F468-1F3FE-200D-1F3A8",sheet:[15,9]},{unified:"1F468-1F3FF-200D-1F3A8",sheet:[15,10]}],shortName:"male-artist"},{name:"Open Mailbox with Lowered Flag",unified:"1F4ED",keywords:["email","inbox"],sheet:[27,10],shortName:"mailbox_with_no_mail"},{name:"Clock Face One Oclock",unified:"1F550",keywords:["time","late","early","schedule"],sheet:[28,39],shortName:"clock1"},{name:"Hole",unified:"1F573-FE0F",keywords:["embarrassing"],sheet:[29,8],shortName:"hole"},{name:"Keycap 9",unified:"0039-FE0F-20E3",keywords:["blue-square","numbers","9"],sheet:[0,11],hidden:["facebook"],shortName:"nine"},{name:"Sri Lanka Flag",unified:"1F1F1-1F1F0",sheet:[2,52],shortName:"flag-lk"},{name:"Female Artist",unified:"1F469-200D-1F3A8",sheet:[17,52],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A8",sheet:[17,53]},{unified:"1F469-1F3FC-200D-1F3A8",sheet:[17,54]},{unified:"1F469-1F3FD-200D-1F3A8",sheet:[17,55]},{unified:"1F469-1F3FE-200D-1F3A8",sheet:[17,56]},{unified:"1F469-1F3FF-200D-1F3A8",sheet:[18,0]}],shortName:"female-artist"},{name:"Bomb",unified:"1F4A3",keywords:["boom","explode","explosion","terrorism"],sheet:[25,45],shortName:"bomb"},{name:"Postbox",unified:"1F4EE",keywords:["email","letter","envelope"],sheet:[27,11],shortName:"postbox"},{name:"Clock Face One-Thirty",unified:"1F55C",keywords:["time","late","early","schedule"],sheet:[28,51],shortName:"clock130"},{name:"Liberia Flag",unified:"1F1F1-1F1F7",sheet:[2,53],shortName:"flag-lr"},{name:"Speech Balloon",unified:"1F4AC",keywords:["bubble","words","message","talk","chatting"],sheet:[26,2],shortName:"speech_balloon"},{name:"Keycap Ten",unified:"1F51F",keywords:["numbers","10","blue-square"],sheet:[28,2],shortName:"keycap_ten"},{name:"Clock Face Two Oclock",unified:"1F551",keywords:["time","late","early","schedule"],sheet:[28,40],shortName:"clock2"},{name:"Ballot Box with Ballot",unified:"1F5F3-FE0F",sheet:[30,28],shortName:"ballot_box_with_ballot"},{name:"Pilot",unified:"1F9D1-200D-2708-FE0F",sheet:[48,4],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2708-FE0F",sheet:[48,5],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2708-FE0F",sheet:[48,6],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2708-FE0F",sheet:[48,7],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2708-FE0F",sheet:[48,8],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2708-FE0F",sheet:[48,9],hidden:["google","twitter","facebook"]}],shortName:"pilot"},{name:"Lesotho Flag",unified:"1F1F1-1F1F8",sheet:[2,54],shortName:"flag-ls"},{name:"Eye in Speech Bubble",unified:"1F441-FE0F-200D-1F5E8-FE0F",sheet:[12,37],hidden:["twitter","facebook"],shortName:"eye-in-speech-bubble"},{name:"Male Pilot",unified:"1F468-200D-2708-FE0F",sheet:[17,14],skinVariations:[{unified:"1F468-1F3FB-200D-2708-FE0F",sheet:[17,15]},{unified:"1F468-1F3FC-200D-2708-FE0F",sheet:[17,16]},{unified:"1F468-1F3FD-200D-2708-FE0F",sheet:[17,17]},{unified:"1F468-1F3FE-200D-2708-FE0F",sheet:[17,18]},{unified:"1F468-1F3FF-200D-2708-FE0F",sheet:[17,19]}],shortName:"male-pilot"},{name:"Input Symbol for Latin Capital Letters",unified:"1F520",keywords:["alphabet","words","blue-square"],sheet:[28,3],shortName:"capital_abcd"},{name:"Clock Face Two-Thirty",unified:"1F55D",keywords:["time","late","early","schedule"],sheet:[28,52],shortName:"clock230"},{name:"Pencil",unified:"270F-FE0F",keywords:["stationery","write","paper","writing","school","study"],sheet:[55,10],shortName:"pencil2"},{name:"Lithuania Flag",unified:"1F1F1-1F1F9",sheet:[2,55],shortName:"flag-lt"},{name:"Female Pilot",unified:"1F469-200D-2708-FE0F",sheet:[19,56],skinVariations:[{unified:"1F469-1F3FB-200D-2708-FE0F",sheet:[20,0]},{unified:"1F469-1F3FC-200D-2708-FE0F",sheet:[20,1]},{unified:"1F469-1F3FD-200D-2708-FE0F",sheet:[20,2]},{unified:"1F469-1F3FE-200D-2708-FE0F",sheet:[20,3]},{unified:"1F469-1F3FF-200D-2708-FE0F",sheet:[20,4]}],shortName:"female-pilot"},{name:"Input Symbol for Latin Small Letters",unified:"1F521",keywords:["blue-square","alphabet"],sheet:[28,4],shortName:"abcd"},{name:"Clock Face Three Oclock",unified:"1F552",keywords:["time","late","early","schedule"],sheet:[28,41],shortName:"clock3"},{name:"Left Speech Bubble",unified:"1F5E8-FE0F",keywords:["words","message","talk","chatting"],sheet:[30,26],shortName:"left_speech_bubble"},{name:"Black Nib",unified:"2712-FE0F",keywords:["pen","stationery","writing","write"],sheet:[55,11],shortName:"black_nib"},{name:"Luxembourg Flag",unified:"1F1F1-1F1FA",sheet:[2,56],shortName:"flag-lu"},{name:"Input Symbol for Numbers",unified:"1F522",keywords:["numbers","blue-square"],sheet:[28,5],shortName:"1234"},{name:"Clock Face Three-Thirty",unified:"1F55E",keywords:["time","late","early","schedule"],sheet:[28,53],shortName:"clock330"},{name:"Lower Left Fountain Pen",unified:"1F58B-FE0F",sheet:[29,45],shortName:"lower_left_fountain_pen"},{name:"Right Anger Bubble",unified:"1F5EF-FE0F",keywords:["caption","speech","thinking","mad"],sheet:[30,27],shortName:"right_anger_bubble"},{name:"Astronaut",unified:"1F9D1-200D-1F680",sheet:[46,26],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F680",sheet:[46,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F680",sheet:[46,28],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F680",sheet:[46,29],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F680",sheet:[46,30],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F680",sheet:[46,31],hidden:["google","twitter","facebook"]}],shortName:"astronaut"},{name:"Latvia Flag",unified:"1F1F1-1F1FB",sheet:[3,0],shortName:"flag-lv"},{name:"Male Astronaut",unified:"1F468-200D-1F680",sheet:[16,5],skinVariations:[{unified:"1F468-1F3FB-200D-1F680",sheet:[16,6]},{unified:"1F468-1F3FC-200D-1F680",sheet:[16,7]},{unified:"1F468-1F3FD-200D-1F680",sheet:[16,8]},{unified:"1F468-1F3FE-200D-1F680",sheet:[16,9]},{unified:"1F468-1F3FF-200D-1F680",sheet:[16,10]}],shortName:"male-astronaut"},{name:"Thought Balloon",unified:"1F4AD",keywords:["bubble","cloud","speech","thinking","dream"],sheet:[26,3],shortName:"thought_balloon"},{name:"Input Symbol for Symbols",unified:"1F523",keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],sheet:[28,6],shortName:"symbols"},{name:"Clock Face Four Oclock",unified:"1F553",keywords:["time","late","early","schedule"],sheet:[28,42],shortName:"clock4"},{name:"Lower Left Ballpoint Pen",unified:"1F58A-FE0F",sheet:[29,44],shortName:"lower_left_ballpoint_pen"},{name:"Libya Flag",unified:"1F1F1-1F1FE",sheet:[3,1],shortName:"flag-ly"},{name:"Female Astronaut",unified:"1F469-200D-1F680",sheet:[18,47],skinVariations:[{unified:"1F469-1F3FB-200D-1F680",sheet:[18,48]},{unified:"1F469-1F3FC-200D-1F680",sheet:[18,49]},{unified:"1F469-1F3FD-200D-1F680",sheet:[18,50]},{unified:"1F469-1F3FE-200D-1F680",sheet:[18,51]},{unified:"1F469-1F3FF-200D-1F680",sheet:[18,52]}],shortName:"female-astronaut"},{name:"Sleeping Symbol",unified:"1F4A4",keywords:["sleepy","tired","dream"],sheet:[25,46],shortName:"zzz"},{name:"Input Symbol for Latin Letters",unified:"1F524",keywords:["blue-square","alphabet"],sheet:[28,7],shortName:"abc"},{name:"Clock Face Four-Thirty",unified:"1F55F",keywords:["time","late","early","schedule"],sheet:[28,54],shortName:"clock430"},{name:"Lower Left Paintbrush",unified:"1F58C-FE0F",sheet:[29,46],shortName:"lower_left_paintbrush"},{name:"Negative Squared Latin Capital Letter a",unified:"1F170-FE0F",keywords:["red-square","alphabet","letter"],sheet:[0,16],shortName:"a"},{name:"Morocco Flag",unified:"1F1F2-1F1E6",sheet:[3,2],shortName:"flag-ma"},{name:"Clock Face Five Oclock",unified:"1F554",keywords:["time","late","early","schedule"],sheet:[28,43],shortName:"clock5"},{name:"Lower Left Crayon",unified:"1F58D-FE0F",sheet:[29,47],shortName:"lower_left_crayon"},{name:"Firefighter",unified:"1F9D1-200D-1F692",sheet:[46,32],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F692",sheet:[46,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F692",sheet:[46,34],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F692",sheet:[46,35],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F692",sheet:[46,36],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F692",sheet:[46,37],hidden:["google","twitter","facebook"]}],shortName:"firefighter"},{name:"Negative Squared Ab",unified:"1F18E",keywords:["red-square","alphabet"],sheet:[0,20],shortName:"ab"},{name:"Monaco Flag",unified:"1F1F2-1F1E8",sheet:[3,3],shortName:"flag-mc"},{name:"Male Firefighter",unified:"1F468-200D-1F692",sheet:[16,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F692",sheet:[16,12]},{unified:"1F468-1F3FC-200D-1F692",sheet:[16,13]},{unified:"1F468-1F3FD-200D-1F692",sheet:[16,14]},{unified:"1F468-1F3FE-200D-1F692",sheet:[16,15]},{unified:"1F468-1F3FF-200D-1F692",sheet:[16,16]}],shortName:"male-firefighter"},{name:"Memo",unified:"1F4DD",keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],sheet:[26,51],shortNames:["pencil"],shortName:"memo"},{name:"Clock Face Five-Thirty",unified:"1F560",keywords:["time","late","early","schedule"],sheet:[28,55],shortName:"clock530"},{name:"Negative Squared Latin Capital Letter B",unified:"1F171-FE0F",keywords:["red-square","alphabet","letter"],sheet:[0,17],shortName:"b"},{name:"Moldova Flag",unified:"1F1F2-1F1E9",sheet:[3,4],shortName:"flag-md"},{name:"Female Firefighter",unified:"1F469-200D-1F692",sheet:[18,53],skinVariations:[{unified:"1F469-1F3FB-200D-1F692",sheet:[18,54]},{unified:"1F469-1F3FC-200D-1F692",sheet:[18,55]},{unified:"1F469-1F3FD-200D-1F692",sheet:[18,56]},{unified:"1F469-1F3FE-200D-1F692",sheet:[19,0]},{unified:"1F469-1F3FF-200D-1F692",sheet:[19,1]}],shortName:"female-firefighter"},{name:"Briefcase",unified:"1F4BC",keywords:["business","documents","work","law","legal","job","career"],sheet:[26,18],shortName:"briefcase"},{name:"Clock Face Six Oclock",unified:"1F555",keywords:["time","late","early","schedule","dawn","dusk"],sheet:[28,44],shortName:"clock6"},{name:"Squared Cl",unified:"1F191",keywords:["alphabet","words","red-square"],sheet:[0,21],shortName:"cl"},{name:"Montenegro Flag",unified:"1F1F2-1F1EA",sheet:[3,5],shortName:"flag-me"},{name:"Police Officer",unified:"1F46E",sheet:[21,49],hidden:["facebook"],skinVariations:[{unified:"1F46E-1F3FB",sheet:[21,50],hidden:["facebook"]},{unified:"1F46E-1F3FC",sheet:[21,51],hidden:["facebook"]},{unified:"1F46E-1F3FD",sheet:[21,52],hidden:["facebook"]},{unified:"1F46E-1F3FE",sheet:[21,53],hidden:["facebook"]},{unified:"1F46E-1F3FF",sheet:[21,54],hidden:["facebook"]}],shortName:"cop",obsoletedBy:"1F46E-200D-2642-FE0F"},{name:"File Folder",unified:"1F4C1",keywords:["documents","business","office"],sheet:[26,23],shortName:"file_folder"},{name:"Clock Face Six-Thirty",unified:"1F561",keywords:["time","late","early","schedule"],sheet:[28,56],shortName:"clock630"},{name:"Squared Cool",unified:"1F192",keywords:["words","blue-square"],sheet:[0,22],shortName:"cool"},{name:"St. Martin Flag",unified:"1F1F2-1F1EB",sheet:[3,6],shortName:"flag-mf"},{name:"Male Police Officer",unified:"1F46E-200D-2642-FE0F",obsoletes:"1F46E",sheet:[21,43],skinVariations:[{unified:"1F46E-1F3FB-200D-2642-FE0F",sheet:[21,44]},{unified:"1F46E-1F3FC-200D-2642-FE0F",sheet:[21,45]},{unified:"1F46E-1F3FD-200D-2642-FE0F",sheet:[21,46]},{unified:"1F46E-1F3FE-200D-2642-FE0F",sheet:[21,47]},{unified:"1F46E-1F3FF-200D-2642-FE0F",sheet:[21,48]}],shortName:"male-police-officer"},{name:"Open File Folder",unified:"1F4C2",keywords:["documents","load"],sheet:[26,24],shortName:"open_file_folder"},{name:"Clock Face Seven Oclock",unified:"1F556",keywords:["time","late","early","schedule"],sheet:[28,45],shortName:"clock7"},{name:"Squared Free",unified:"1F193",keywords:["blue-square","words"],sheet:[0,23],shortName:"free"},{name:"Madagascar Flag",unified:"1F1F2-1F1EC",sheet:[3,7],shortName:"flag-mg"},{name:"Female Police Officer",unified:"1F46E-200D-2640-FE0F",sheet:[21,37],skinVariations:[{unified:"1F46E-1F3FB-200D-2640-FE0F",sheet:[21,38]},{unified:"1F46E-1F3FC-200D-2640-FE0F",sheet:[21,39]},{unified:"1F46E-1F3FD-200D-2640-FE0F",sheet:[21,40]},{unified:"1F46E-1F3FE-200D-2640-FE0F",sheet:[21,41]},{unified:"1F46E-1F3FF-200D-2640-FE0F",sheet:[21,42]}],shortName:"female-police-officer"},{name:"Clock Face Seven-Thirty",unified:"1F562",keywords:["time","late","early","schedule"],sheet:[29,0],shortName:"clock730"},{name:"Card Index Dividers",unified:"1F5C2-FE0F",keywords:["organizing","business","stationery"],sheet:[30,15],shortName:"card_index_dividers"},{name:"Marshall Islands Flag",unified:"1F1F2-1F1ED",sheet:[3,8],shortName:"flag-mh"},{name:"Calendar",unified:"1F4C5",keywords:["calendar","schedule"],sheet:[26,27],shortName:"date"},{name:"Clock Face Eight Oclock",unified:"1F557",keywords:["time","late","early","schedule"],sheet:[28,46],shortName:"clock8"},{name:"Sleuth or Spy",unified:"1F575-FE0F",sheet:[29,27],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB",sheet:[29,28],hidden:["facebook"]},{unified:"1F575-1F3FC",sheet:[29,29],hidden:["facebook"]},{unified:"1F575-1F3FD",sheet:[29,30],hidden:["facebook"]},{unified:"1F575-1F3FE",sheet:[29,31],hidden:["facebook"]},{unified:"1F575-1F3FF",sheet:[29,32],hidden:["facebook"]}],shortName:"sleuth_or_spy",obsoletedBy:"1F575-FE0F-200D-2642-FE0F"},{name:"Information Source",unified:"2139-FE0F",keywords:["blue-square","alphabet","letter"],sheet:[52,13],shortName:"information_source"},{name:"Squared Id",unified:"1F194",keywords:["purple-square","words"],sheet:[0,24],shortName:"id"},{name:"North Macedonia Flag",unified:"1F1F2-1F1F0",sheet:[3,9],shortName:"flag-mk"},{name:"Tear-off Calendar",unified:"1F4C6",keywords:["schedule","date","planning"],sheet:[26,28],shortName:"calendar"},{name:"Clock Face Eight-Thirty",unified:"1F563",keywords:["time","late","early","schedule"],sheet:[29,1],shortName:"clock830"},{name:"Male Detective",unified:"1F575-FE0F-200D-2642-FE0F",obsoletes:"1F575-FE0F",sheet:[29,21],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2642-FE0F",sheet:[29,22]},{unified:"1F575-1F3FC-200D-2642-FE0F",sheet:[29,23]},{unified:"1F575-1F3FD-200D-2642-FE0F",sheet:[29,24]},{unified:"1F575-1F3FE-200D-2642-FE0F",sheet:[29,25]},{unified:"1F575-1F3FF-200D-2642-FE0F",sheet:[29,26]}],shortName:"male-detective"},{name:"Mali Flag",unified:"1F1F2-1F1F1",sheet:[3,10],shortName:"flag-ml"},{name:"Clock Face Nine Oclock",unified:"1F558",keywords:["time","late","early","schedule"],sheet:[28,47],shortName:"clock9"},{name:"Female Detective",unified:"1F575-FE0F-200D-2640-FE0F",sheet:[29,15],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2640-FE0F",sheet:[29,16]},{unified:"1F575-1F3FC-200D-2640-FE0F",sheet:[29,17]},{unified:"1F575-1F3FD-200D-2640-FE0F",sheet:[29,18]},{unified:"1F575-1F3FE-200D-2640-FE0F",sheet:[29,19]},{unified:"1F575-1F3FF-200D-2640-FE0F",sheet:[29,20]}],shortName:"female-detective"},{name:"Spiral Note Pad",unified:"1F5D2-FE0F",sheet:[30,19],shortName:"spiral_note_pad"},{name:"Circled Latin Capital Letter M",unified:"24C2-FE0F",keywords:["alphabet","blue-circle","letter"],sheet:[52,40],shortName:"m"},{name:"Squared New",unified:"1F195",keywords:["blue-square","words","start"],sheet:[0,25],shortName:"new"},{name:"Myanmar (burma) Flag",unified:"1F1F2-1F1F2",sheet:[3,11],shortName:"flag-mm"},{name:"Guardsman",unified:"1F482",keywords:["uk","gb","british","male","guy","royal"],sheet:[24,20],hidden:["facebook"],skinVariations:[{unified:"1F482-1F3FB",sheet:[24,21],hidden:["facebook"]},{unified:"1F482-1F3FC",sheet:[24,22],hidden:["facebook"]},{unified:"1F482-1F3FD",sheet:[24,23],hidden:["facebook"]},{unified:"1F482-1F3FE",sheet:[24,24],hidden:["facebook"]},{unified:"1F482-1F3FF",sheet:[24,25],hidden:["facebook"]}],shortName:"guardsman",obsoletedBy:"1F482-200D-2642-FE0F"},{name:"Clock Face Nine-Thirty",unified:"1F564",keywords:["time","late","early","schedule"],sheet:[29,2],shortName:"clock930"},{name:"Spiral Calendar Pad",unified:"1F5D3-FE0F",sheet:[30,20],shortName:"spiral_calendar_pad"},{name:"Squared Ng",unified:"1F196",keywords:["blue-square","words","shape","icon"],sheet:[0,26],shortName:"ng"},{name:"Mongolia Flag",unified:"1F1F2-1F1F3",sheet:[3,12],shortName:"flag-mn"},{name:"Male Guard",unified:"1F482-200D-2642-FE0F",obsoletes:"1F482",sheet:[24,14],skinVariations:[{unified:"1F482-1F3FB-200D-2642-FE0F",sheet:[24,15]},{unified:"1F482-1F3FC-200D-2642-FE0F",sheet:[24,16]},{unified:"1F482-1F3FD-200D-2642-FE0F",sheet:[24,17]},{unified:"1F482-1F3FE-200D-2642-FE0F",sheet:[24,18]},{unified:"1F482-1F3FF-200D-2642-FE0F",sheet:[24,19]}],shortName:"male-guard"},{name:"Card Index",unified:"1F4C7",keywords:["business","stationery"],sheet:[26,29],shortName:"card_index"},{name:"Clock Face Ten Oclock",unified:"1F559",keywords:["time","late","early","schedule"],sheet:[28,48],shortName:"clock10"},{name:"Negative Squared Latin Capital Letter O",unified:"1F17E-FE0F",keywords:["alphabet","red-square","letter"],sheet:[0,18],shortName:"o2"},{name:"Macao Sar China Flag",unified:"1F1F2-1F1F4",sheet:[3,13],shortName:"flag-mo"},{name:"Female Guard",unified:"1F482-200D-2640-FE0F",sheet:[24,8],skinVariations:[{unified:"1F482-1F3FB-200D-2640-FE0F",sheet:[24,9]},{unified:"1F482-1F3FC-200D-2640-FE0F",sheet:[24,10]},{unified:"1F482-1F3FD-200D-2640-FE0F",sheet:[24,11]},{unified:"1F482-1F3FE-200D-2640-FE0F",sheet:[24,12]},{unified:"1F482-1F3FF-200D-2640-FE0F",sheet:[24,13]}],shortName:"female-guard"},{name:"Chart with Upwards Trend",unified:"1F4C8",keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],sheet:[26,30],shortName:"chart_with_upwards_trend"},{name:"Clock Face Ten-Thirty",unified:"1F565",keywords:["time","late","early","schedule"],sheet:[29,3],shortName:"clock1030"},{name:"Squared Ok",unified:"1F197",keywords:["good","agree","yes","blue-square"],sheet:[0,27],shortName:"ok"},{name:"Northern Mariana Islands Flag",unified:"1F1F2-1F1F5",sheet:[3,14],shortName:"flag-mp"},{name:"Construction Worker",unified:"1F477",sheet:[23,22],hidden:["facebook"],skinVariations:[{unified:"1F477-1F3FB",sheet:[23,23],hidden:["facebook"]},{unified:"1F477-1F3FC",sheet:[23,24],hidden:["facebook"]},{unified:"1F477-1F3FD",sheet:[23,25],hidden:["facebook"]},{unified:"1F477-1F3FE",sheet:[23,26],hidden:["facebook"]},{unified:"1F477-1F3FF",sheet:[23,27],hidden:["facebook"]}],shortName:"construction_worker",obsoletedBy:"1F477-200D-2642-FE0F"},{name:"Chart with Downwards Trend",unified:"1F4C9",keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],sheet:[26,31],shortName:"chart_with_downwards_trend"},{name:"Clock Face Eleven Oclock",unified:"1F55A",keywords:["time","late","early","schedule"],sheet:[28,49],shortName:"clock11"},{name:"Negative Squared Latin Capital Letter P",unified:"1F17F-FE0F",keywords:["cars","blue-square","alphabet","letter"],sheet:[0,19],shortName:"parking"},{name:"Martinique Flag",unified:"1F1F2-1F1F6",sheet:[3,15],shortName:"flag-mq"},{name:"Male Construction Worker",unified:"1F477-200D-2642-FE0F",obsoletes:"1F477",sheet:[23,16],skinVariations:[{unified:"1F477-1F3FB-200D-2642-FE0F",sheet:[23,17]},{unified:"1F477-1F3FC-200D-2642-FE0F",sheet:[23,18]},{unified:"1F477-1F3FD-200D-2642-FE0F",sheet:[23,19]},{unified:"1F477-1F3FE-200D-2642-FE0F",sheet:[23,20]},{unified:"1F477-1F3FF-200D-2642-FE0F",sheet:[23,21]}],shortName:"male-construction-worker"},{name:"Bar Chart",unified:"1F4CA",keywords:["graph","presentation","stats"],sheet:[26,32],shortName:"bar_chart"},{name:"Clock Face Eleven-Thirty",unified:"1F566",keywords:["time","late","early","schedule"],sheet:[29,4],shortName:"clock1130"},{name:"Squared Sos",unified:"1F198",keywords:["help","red-square","words","emergency","911"],sheet:[0,28],shortName:"sos"},{name:"Mauritania Flag",unified:"1F1F2-1F1F7",sheet:[3,16],shortName:"flag-mr"},{name:"New Moon Symbol",unified:"1F311",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,36],shortName:"new_moon"},{name:"Female Construction Worker",unified:"1F477-200D-2640-FE0F",sheet:[23,10],skinVariations:[{unified:"1F477-1F3FB-200D-2640-FE0F",sheet:[23,11]},{unified:"1F477-1F3FC-200D-2640-FE0F",sheet:[23,12]},{unified:"1F477-1F3FD-200D-2640-FE0F",sheet:[23,13]},{unified:"1F477-1F3FE-200D-2640-FE0F",sheet:[23,14]},{unified:"1F477-1F3FF-200D-2640-FE0F",sheet:[23,15]}],shortName:"female-construction-worker"},{name:"Clipboard",unified:"1F4CB",keywords:["stationery","documents"],sheet:[26,33],shortName:"clipboard"},{name:"Squared Up with Exclamation Mark",unified:"1F199",keywords:["blue-square","above","high"],sheet:[0,29],shortName:"up"},{name:"Montserrat Flag",unified:"1F1F2-1F1F8",sheet:[3,17],shortName:"flag-ms"},{name:"Waxing Crescent Moon Symbol",unified:"1F312",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,37],shortName:"waxing_crescent_moon"},{name:"Pushpin",unified:"1F4CC",keywords:["stationery","mark","here"],sheet:[26,34],shortName:"pushpin"},{name:"Prince",unified:"1F934",keywords:["boy","man","male","crown","royal","king"],sheet:[39,17],skinVariations:[{unified:"1F934-1F3FB",sheet:[39,18]},{unified:"1F934-1F3FC",sheet:[39,19]},{unified:"1F934-1F3FD",sheet:[39,20]},{unified:"1F934-1F3FE",sheet:[39,21]},{unified:"1F934-1F3FF",sheet:[39,22]}],shortName:"prince"},{name:"Squared Vs",unified:"1F19A",keywords:["words","orange-square"],sheet:[0,30],shortName:"vs"},{name:"Malta Flag",unified:"1F1F2-1F1F9",sheet:[3,18],shortName:"flag-mt"},{name:"First Quarter Moon Symbol",unified:"1F313",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,38],shortName:"first_quarter_moon"},{name:"Princess",unified:"1F478",keywords:["girl","woman","female","blond","crown","royal","queen"],sheet:[23,28],skinVariations:[{unified:"1F478-1F3FB",sheet:[23,29]},{unified:"1F478-1F3FC",sheet:[23,30]},{unified:"1F478-1F3FD",sheet:[23,31]},{unified:"1F478-1F3FE",sheet:[23,32]},{unified:"1F478-1F3FF",sheet:[23,33]}],shortName:"princess"},{name:"Round Pushpin",unified:"1F4CD",keywords:["stationery","location","map","here"],sheet:[26,35],shortName:"round_pushpin"},{name:"Mauritius Flag",unified:"1F1F2-1F1FA",sheet:[3,19],shortName:"flag-mu"},{name:"Squared Katakana Koko",unified:"1F201",keywords:["blue-square","here","katakana","japanese","destination"],sheet:[5,4],shortName:"koko"},{name:"Waxing Gibbous Moon Symbol",unified:"1F314",sheet:[5,39],shortNames:["waxing_gibbous_moon"],shortName:"moon"},{name:"Man with Turban",unified:"1F473",keywords:["male","indian","hinduism","arabs"],sheet:[22,43],hidden:["facebook"],skinVariations:[{unified:"1F473-1F3FB",sheet:[22,44],hidden:["facebook"]},{unified:"1F473-1F3FC",sheet:[22,45],hidden:["facebook"]},{unified:"1F473-1F3FD",sheet:[22,46],hidden:["facebook"]},{unified:"1F473-1F3FE",sheet:[22,47],hidden:["facebook"]},{unified:"1F473-1F3FF",sheet:[22,48],hidden:["facebook"]}],shortName:"man_with_turban",obsoletedBy:"1F473-200D-2642-FE0F"},{name:"Paperclip",unified:"1F4CE",keywords:["documents","stationery"],sheet:[26,36],shortName:"paperclip"},{name:"Maldives Flag",unified:"1F1F2-1F1FB",sheet:[3,20],shortName:"flag-mv"},{name:"Squared Katakana Sa",unified:"1F202-FE0F",keywords:["japanese","blue-square","katakana"],sheet:[5,5],shortName:"sa"},{name:"Full Moon Symbol",unified:"1F315",keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],sheet:[5,40],shortName:"full_moon"},{name:"Man Wearing Turban",unified:"1F473-200D-2642-FE0F",obsoletes:"1F473",sheet:[22,37],skinVariations:[{unified:"1F473-1F3FB-200D-2642-FE0F",sheet:[22,38]},{unified:"1F473-1F3FC-200D-2642-FE0F",sheet:[22,39]},{unified:"1F473-1F3FD-200D-2642-FE0F",sheet:[22,40]},{unified:"1F473-1F3FE-200D-2642-FE0F",sheet:[22,41]},{unified:"1F473-1F3FF-200D-2642-FE0F",sheet:[22,42]}],shortName:"man-wearing-turban"},{name:"Linked Paperclips",unified:"1F587-FE0F",sheet:[29,43],shortName:"linked_paperclips"},{name:"Malawi Flag",unified:"1F1F2-1F1FC",sheet:[3,21],shortName:"flag-mw"},{name:"Squared Cjk Unified Ideograph-6708",unified:"1F237-FE0F",keywords:["chinese","month","moon","japanese","orange-square","kanji"],sheet:[5,13],shortName:"u6708"},{name:"Waning Gibbous Moon Symbol",unified:"1F316",keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],sheet:[5,41],shortName:"waning_gibbous_moon"},{name:"Woman Wearing Turban",unified:"1F473-200D-2640-FE0F",sheet:[22,31],skinVariations:[{unified:"1F473-1F3FB-200D-2640-FE0F",sheet:[22,32]},{unified:"1F473-1F3FC-200D-2640-FE0F",sheet:[22,33]},{unified:"1F473-1F3FD-200D-2640-FE0F",sheet:[22,34]},{unified:"1F473-1F3FE-200D-2640-FE0F",sheet:[22,35]},{unified:"1F473-1F3FF-200D-2640-FE0F",sheet:[22,36]}],shortName:"woman-wearing-turban"},{name:"Straight Ruler",unified:"1F4CF",keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],sheet:[26,37],shortName:"straight_ruler"},{name:"Mexico Flag",unified:"1F1F2-1F1FD",sheet:[3,22],shortName:"flag-mx"},{name:"Squared Cjk Unified Ideograph-6709",unified:"1F236",keywords:["orange-square","chinese","have","kanji"],sheet:[5,12],shortName:"u6709"},{name:"Last Quarter Moon Symbol",unified:"1F317",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,42],shortName:"last_quarter_moon"},{name:"Man with Gua Pi Mao",unified:"1F472",keywords:["male","boy","chinese"],sheet:[22,25],skinVariations:[{unified:"1F472-1F3FB",sheet:[22,26]},{unified:"1F472-1F3FC",sheet:[22,27]},{unified:"1F472-1F3FD",sheet:[22,28]},{unified:"1F472-1F3FE",sheet:[22,29]},{unified:"1F472-1F3FF",sheet:[22,30]}],shortName:"man_with_gua_pi_mao"},{name:"Triangular Ruler",unified:"1F4D0",keywords:["stationery","math","architect","sketch"],sheet:[26,38],shortName:"triangular_ruler"},{name:"Malaysia Flag",unified:"1F1F2-1F1FE",sheet:[3,23],shortName:"flag-my"},{name:"Squared Cjk Unified Ideograph-6307",unified:"1F22F",keywords:["chinese","point","green-square","kanji"],sheet:[5,7],shortName:"u6307"},{name:"Waning Crescent Moon Symbol",unified:"1F318",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,43],shortName:"waning_crescent_moon"},{name:"Person with Headscarf",unified:"1F9D5",sheet:[48,34],skinVariations:[{unified:"1F9D5-1F3FB",sheet:[48,35]},{unified:"1F9D5-1F3FC",sheet:[48,36]},{unified:"1F9D5-1F3FD",sheet:[48,37]},{unified:"1F9D5-1F3FE",sheet:[48,38]},{unified:"1F9D5-1F3FF",sheet:[48,39]}],shortName:"person_with_headscarf"},{name:"Black Scissors",unified:"2702-FE0F",keywords:["stationery","cut"],sheet:[54,39],shortName:"scissors"},{name:"Mozambique Flag",unified:"1F1F2-1F1FF",sheet:[3,24],shortName:"flag-mz"},{name:"Circled Ideograph Advantage",unified:"1F250",keywords:["chinese","kanji","obtain","get","circle"],sheet:[5,17],shortName:"ideograph_advantage"},{name:"Crescent Moon",unified:"1F319",keywords:["night","sleep","sky","evening","magic"],sheet:[5,44],shortName:"crescent_moon"},{name:"Card File Box",unified:"1F5C3-FE0F",keywords:["business","stationery"],sheet:[30,16],shortName:"card_file_box"},{name:"Man in Tuxedo",unified:"1F935",keywords:["couple","marriage","wedding","groom"],sheet:[39,23],skinVariations:[{unified:"1F935-1F3FB",sheet:[39,24]},{unified:"1F935-1F3FC",sheet:[39,25]},{unified:"1F935-1F3FD",sheet:[39,26]},{unified:"1F935-1F3FE",sheet:[39,27]},{unified:"1F935-1F3FF",sheet:[39,28]}],shortName:"man_in_tuxedo"},{name:"Namibia Flag",unified:"1F1F3-1F1E6",sheet:[3,25],shortName:"flag-na"},{name:"Squared Cjk Unified Ideograph-5272",unified:"1F239",keywords:["cut","divide","chinese","kanji","pink-square"],sheet:[5,15],shortName:"u5272"},{name:"New Moon with Face",unified:"1F31A",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,45],shortName:"new_moon_with_face"},{name:"Bride with Veil",unified:"1F470",keywords:["couple","marriage","wedding","woman","bride"],sheet:[22,1],skinVariations:[{unified:"1F470-1F3FB",sheet:[22,2]},{unified:"1F470-1F3FC",sheet:[22,3]},{unified:"1F470-1F3FD",sheet:[22,4]},{unified:"1F470-1F3FE",sheet:[22,5]},{unified:"1F470-1F3FF",sheet:[22,6]}],shortName:"bride_with_veil"},{name:"File Cabinet",unified:"1F5C4-FE0F",keywords:["filing","organizing"],sheet:[30,17],shortName:"file_cabinet"},{name:"New Caledonia Flag",unified:"1F1F3-1F1E8",sheet:[3,26],shortName:"flag-nc"},{name:"Squared Cjk Unified Ideograph-7121",unified:"1F21A",keywords:["nothing","chinese","kanji","japanese","orange-square"],sheet:[5,6],shortName:"u7121"},{name:"First Quarter Moon with Face",unified:"1F31B",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,46],shortName:"first_quarter_moon_with_face"},{name:"Wastebasket",unified:"1F5D1-FE0F",keywords:["bin","trash","rubbish","garbage","toss"],sheet:[30,18],shortName:"wastebasket"},{name:"Pregnant Woman",unified:"1F930",keywords:["baby"],sheet:[38,50],skinVariations:[{unified:"1F930-1F3FB",sheet:[38,51]},{unified:"1F930-1F3FC",sheet:[38,52]},{unified:"1F930-1F3FD",sheet:[38,53]},{unified:"1F930-1F3FE",sheet:[38,54]},{unified:"1F930-1F3FF",sheet:[38,55]}],shortName:"pregnant_woman"},{name:"Niger Flag",unified:"1F1F3-1F1EA",sheet:[3,27],shortName:"flag-ne"},{name:"Squared Cjk Unified Ideograph-7981",unified:"1F232",keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],sheet:[5,8],shortName:"u7981"},{name:"Last Quarter Moon with Face",unified:"1F31C",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,47],shortName:"last_quarter_moon_with_face"},{name:"Lock",unified:"1F512",keywords:["security","password","padlock"],sheet:[27,46],shortName:"lock"},{name:"Breast-Feeding",unified:"1F931",sheet:[38,56],skinVariations:[{unified:"1F931-1F3FB",sheet:[39,0]},{unified:"1F931-1F3FC",sheet:[39,1]},{unified:"1F931-1F3FD",sheet:[39,2]},{unified:"1F931-1F3FE",sheet:[39,3]},{unified:"1F931-1F3FF",sheet:[39,4]}],shortName:"breast-feeding"},{name:"Norfolk Island Flag",unified:"1F1F3-1F1EB",sheet:[3,28],shortName:"flag-nf"},{name:"Circled Ideograph Accept",unified:"1F251",keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],sheet:[5,18],shortName:"accept"},{name:"Thermometer",unified:"1F321-FE0F",keywords:["weather","temperature","hot","cold"],sheet:[5,52],shortName:"thermometer"},{name:"Baby Angel",unified:"1F47C",keywords:["heaven","wings","halo"],sheet:[23,37],skinVariations:[{unified:"1F47C-1F3FB",sheet:[23,38]},{unified:"1F47C-1F3FC",sheet:[23,39]},{unified:"1F47C-1F3FD",sheet:[23,40]},{unified:"1F47C-1F3FE",sheet:[23,41]},{unified:"1F47C-1F3FF",sheet:[23,42]}],shortName:"angel"},{name:"Open Lock",unified:"1F513",keywords:["privacy","security"],sheet:[27,47],shortName:"unlock"},{name:"Nigeria Flag",unified:"1F1F3-1F1EC",sheet:[3,29],shortName:"flag-ng"},{name:"Squared Cjk Unified Ideograph-7533",unified:"1F238",keywords:["chinese","japanese","kanji","orange-square"],sheet:[5,14],shortName:"u7533"},{name:"Father Christmas",unified:"1F385",keywords:["festival","man","male","xmas","father christmas"],sheet:[7,36],skinVariations:[{unified:"1F385-1F3FB",sheet:[7,37]},{unified:"1F385-1F3FC",sheet:[7,38]},{unified:"1F385-1F3FD",sheet:[7,39]},{unified:"1F385-1F3FE",sheet:[7,40]},{unified:"1F385-1F3FF",sheet:[7,41]}],shortName:"santa"},{name:"Lock with Ink Pen",unified:"1F50F",keywords:["security","secret"],sheet:[27,43],shortName:"lock_with_ink_pen"},{name:"Black Sun with Rays",unified:"2600-FE0F",keywords:["weather","nature","brightness","summer","beach","spring"],sheet:[52,49],shortName:"sunny"},{name:"Nicaragua Flag",unified:"1F1F3-1F1EE",sheet:[3,30],shortName:"flag-ni"},{name:"Squared Cjk Unified Ideograph-5408",unified:"1F234",keywords:["japanese","chinese","join","kanji","red-square"],sheet:[5,10],shortName:"u5408"},{name:"Full Moon with Face",unified:"1F31D",keywords:["nature","twilight","planet","space","night","evening","sleep"],sheet:[5,48],shortName:"full_moon_with_face"},{name:"Closed Lock with Key",unified:"1F510",keywords:["security","privacy"],sheet:[27,44],shortName:"closed_lock_with_key"},{name:"Mother Christmas",unified:"1F936",keywords:["woman","female","xmas","mother christmas"],sheet:[39,29],skinVariations:[{unified:"1F936-1F3FB",sheet:[39,30]},{unified:"1F936-1F3FC",sheet:[39,31]},{unified:"1F936-1F3FD",sheet:[39,32]},{unified:"1F936-1F3FE",sheet:[39,33]},{unified:"1F936-1F3FF",sheet:[39,34]}],shortNames:["mother_christmas"],shortName:"mrs_claus"},{name:"Netherlands Flag",unified:"1F1F3-1F1F1",sheet:[3,31],shortName:"flag-nl"},{name:"Squared Cjk Unified Ideograph-7a7a",unified:"1F233",keywords:["kanji","japanese","chinese","empty","sky","blue-square"],sheet:[5,9],shortName:"u7a7a"},{name:"Sun with Face",unified:"1F31E",keywords:["nature","morning","sky"],sheet:[5,49],shortName:"sun_with_face"},{name:"Key",unified:"1F511",keywords:["lock","door","password"],sheet:[27,45],shortName:"key"},{name:"Superhero",unified:"1F9B8",sheet:[43,30],skinVariations:[{unified:"1F9B8-1F3FB",sheet:[43,31]},{unified:"1F9B8-1F3FC",sheet:[43,32]},{unified:"1F9B8-1F3FD",sheet:[43,33]},{unified:"1F9B8-1F3FE",sheet:[43,34]},{unified:"1F9B8-1F3FF",sheet:[43,35]}],shortName:"superhero"},{name:"Norway Flag",unified:"1F1F3-1F1F4",sheet:[3,32],shortName:"flag-no"},{name:"Old Key",unified:"1F5DD-FE0F",keywords:["lock","door","password"],sheet:[30,22],shortName:"old_key"},{name:"Male Superhero",unified:"1F9B8-200D-2642-FE0F",sheet:[43,24],skinVariations:[{unified:"1F9B8-1F3FB-200D-2642-FE0F",sheet:[43,25]},{unified:"1F9B8-1F3FC-200D-2642-FE0F",sheet:[43,26]},{unified:"1F9B8-1F3FD-200D-2642-FE0F",sheet:[43,27]},{unified:"1F9B8-1F3FE-200D-2642-FE0F",sheet:[43,28]},{unified:"1F9B8-1F3FF-200D-2642-FE0F",sheet:[43,29]}],shortName:"male_superhero"},{name:"Ringed Planet",unified:"1FA90",sheet:[52,4],shortName:"ringed_planet"},{name:"Circled Ideograph Congratulation",unified:"3297-FE0F",keywords:["chinese","kanji","japanese","red-circle"],sheet:[55,46],shortName:"congratulations"},{name:"Nepal Flag",unified:"1F1F3-1F1F5",sheet:[3,33],shortName:"flag-np"},{name:"Hammer",unified:"1F528",keywords:["tools","build","create"],sheet:[28,11],shortName:"hammer"},{name:"Female Superhero",unified:"1F9B8-200D-2640-FE0F",sheet:[43,18],skinVariations:[{unified:"1F9B8-1F3FB-200D-2640-FE0F",sheet:[43,19]},{unified:"1F9B8-1F3FC-200D-2640-FE0F",sheet:[43,20]},{unified:"1F9B8-1F3FD-200D-2640-FE0F",sheet:[43,21]},{unified:"1F9B8-1F3FE-200D-2640-FE0F",sheet:[43,22]},{unified:"1F9B8-1F3FF-200D-2640-FE0F",sheet:[43,23]}],shortName:"female_superhero"},{name:"White Medium Star",unified:"2B50",keywords:["night","yellow"],sheet:[55,42],shortName:"star"},{name:"Circled Ideograph Secret",unified:"3299-FE0F",keywords:["privacy","chinese","sshh","kanji","red-circle"],sheet:[55,47],shortName:"secret"},{name:"Nauru Flag",unified:"1F1F3-1F1F7",sheet:[3,34],shortName:"flag-nr"},{name:"Squared Cjk Unified Ideograph-55b6",unified:"1F23A",keywords:["japanese","opening hours","orange-square"],sheet:[5,16],shortName:"u55b6"},{name:"Glowing Star",unified:"1F31F",keywords:["night","sparkle","awesome","good","magic"],sheet:[5,50],shortName:"star2"},{name:"Supervillain",unified:"1F9B9",sheet:[43,48],skinVariations:[{unified:"1F9B9-1F3FB",sheet:[43,49]},{unified:"1F9B9-1F3FC",sheet:[43,50]},{unified:"1F9B9-1F3FD",sheet:[43,51]},{unified:"1F9B9-1F3FE",sheet:[43,52]},{unified:"1F9B9-1F3FF",sheet:[43,53]}],shortName:"supervillain"},{name:"Axe",unified:"1FA93",sheet:[52,7],shortName:"axe"},{name:"Niue Flag",unified:"1F1F3-1F1FA",sheet:[3,35],shortName:"flag-nu"},{name:"Squared Cjk Unified Ideograph-6e80",unified:"1F235",keywords:["full","chinese","japanese","red-square","kanji"],sheet:[5,11],shortName:"u6e80"},{name:"Shooting Star",unified:"1F320",keywords:["night","photo"],sheet:[5,51],shortName:"stars"},{name:"Male Supervillain",unified:"1F9B9-200D-2642-FE0F",sheet:[43,42],skinVariations:[{unified:"1F9B9-1F3FB-200D-2642-FE0F",sheet:[43,43]},{unified:"1F9B9-1F3FC-200D-2642-FE0F",sheet:[43,44]},{unified:"1F9B9-1F3FD-200D-2642-FE0F",sheet:[43,45]},{unified:"1F9B9-1F3FE-200D-2642-FE0F",sheet:[43,46]},{unified:"1F9B9-1F3FF-200D-2642-FE0F",sheet:[43,47]}],shortName:"male_supervillain"},{name:"Pick",unified:"26CF-FE0F",keywords:["tools","dig"],sheet:[54,5],shortName:"pick"},{name:"New Zealand Flag",unified:"1F1F3-1F1FF",sheet:[3,36],shortName:"flag-nz"},{name:"Milky Way",unified:"1F30C",keywords:["photo","space","stars"],sheet:[5,31],shortName:"milky_way"},{name:"Large Red Circle",unified:"1F534",keywords:["shape","error","danger"],sheet:[28,23],shortName:"red_circle"},{name:"Female Supervillain",unified:"1F9B9-200D-2640-FE0F",sheet:[43,36],skinVariations:[{unified:"1F9B9-1F3FB-200D-2640-FE0F",sheet:[43,37]},{unified:"1F9B9-1F3FC-200D-2640-FE0F",sheet:[43,38]},{unified:"1F9B9-1F3FD-200D-2640-FE0F",sheet:[43,39]},{unified:"1F9B9-1F3FE-200D-2640-FE0F",sheet:[43,40]},{unified:"1F9B9-1F3FF-200D-2640-FE0F",sheet:[43,41]}],shortName:"female_supervillain"},{name:"Hammer and Pick",unified:"2692-FE0F",keywords:["tools","build","create"],sheet:[53,41],shortName:"hammer_and_pick"},{name:"Oman Flag",unified:"1F1F4-1F1F2",sheet:[3,37],shortName:"flag-om"},{name:"Hammer and Wrench",unified:"1F6E0-FE0F",keywords:["tools","build","create"],sheet:[36,42],shortName:"hammer_and_wrench"},{name:"Large Orange Circle",unified:"1F7E0",sheet:[37,3],shortName:"large_orange_circle"},{name:"Mage",unified:"1F9D9",sheet:[49,49],skinVariations:[{unified:"1F9D9-1F3FB",sheet:[49,50]},{unified:"1F9D9-1F3FC",sheet:[49,51]},{unified:"1F9D9-1F3FD",sheet:[49,52]},{unified:"1F9D9-1F3FE",sheet:[49,53]},{unified:"1F9D9-1F3FF",sheet:[49,54]}],shortName:"mage",obsoletedBy:"1F9D9-200D-2640-FE0F"},{name:"Cloud",unified:"2601-FE0F",keywords:["weather","sky"],sheet:[52,50],shortName:"cloud"},{name:"Panama Flag",unified:"1F1F5-1F1E6",sheet:[3,38],shortName:"flag-pa"},{name:"Dagger Knife",unified:"1F5E1-FE0F",sheet:[30,24],shortName:"dagger_knife"},{name:"Large Yellow Circle",unified:"1F7E1",sheet:[37,4],shortName:"large_yellow_circle"},{name:"Male Mage",unified:"1F9D9-200D-2642-FE0F",sheet:[49,43],skinVariations:[{unified:"1F9D9-1F3FB-200D-2642-FE0F",sheet:[49,44]},{unified:"1F9D9-1F3FC-200D-2642-FE0F",sheet:[49,45]},{unified:"1F9D9-1F3FD-200D-2642-FE0F",sheet:[49,46]},{unified:"1F9D9-1F3FE-200D-2642-FE0F",sheet:[49,47]},{unified:"1F9D9-1F3FF-200D-2642-FE0F",sheet:[49,48]}],shortName:"male_mage"},{name:"Sun Behind Cloud",unified:"26C5",keywords:["weather","nature","cloudy","morning","fall","spring"],sheet:[54,2],shortName:"partly_sunny"},{name:"Peru Flag",unified:"1F1F5-1F1EA",sheet:[3,39],shortName:"flag-pe"},{name:"Large Green Circle",unified:"1F7E2",sheet:[37,5],shortName:"large_green_circle"},{name:"Female Mage",unified:"1F9D9-200D-2640-FE0F",obsoletes:"1F9D9",sheet:[49,37],skinVariations:[{unified:"1F9D9-1F3FB-200D-2640-FE0F",sheet:[49,38]},{unified:"1F9D9-1F3FC-200D-2640-FE0F",sheet:[49,39]},{unified:"1F9D9-1F3FD-200D-2640-FE0F",sheet:[49,40]},{unified:"1F9D9-1F3FE-200D-2640-FE0F",sheet:[49,41]},{unified:"1F9D9-1F3FF-200D-2640-FE0F",sheet:[49,42]}],shortName:"female_mage"},{name:"Crossed Swords",unified:"2694-FE0F",keywords:["weapon"],sheet:[53,43],shortName:"crossed_swords"},{name:"Thunder Cloud and Rain",unified:"26C8-FE0F",sheet:[54,3],shortName:"thunder_cloud_and_rain"},{name:"French Polynesia Flag",unified:"1F1F5-1F1EB",sheet:[3,40],shortName:"flag-pf"},{name:"Mostly Sunny",unified:"1F324-FE0F",sheet:[5,53],shortNames:["sun_small_cloud"],shortName:"mostly_sunny"},{name:"Pistol",unified:"1F52B",keywords:["violence","weapon","pistol","revolver"],sheet:[28,14],shortName:"gun"},{name:"Large Blue Circle",unified:"1F535",keywords:["shape","icon","button"],sheet:[28,24],shortName:"large_blue_circle"},{name:"Fairy",unified:"1F9DA",sheet:[50,10],skinVariations:[{unified:"1F9DA-1F3FB",sheet:[50,11],hidden:["facebook"]},{unified:"1F9DA-1F3FC",sheet:[50,12],hidden:["facebook"]},{unified:"1F9DA-1F3FD",sheet:[50,13],hidden:["facebook"]},{unified:"1F9DA-1F3FE",sheet:[50,14],hidden:["facebook"]},{unified:"1F9DA-1F3FF",sheet:[50,15],hidden:["facebook"]}],shortName:"fairy",obsoletedBy:"1F9DA-200D-2640-FE0F"},{name:"Papua New Guinea Flag",unified:"1F1F5-1F1EC",sheet:[3,41],shortName:"flag-pg"},{name:"Barely Sunny",unified:"1F325-FE0F",sheet:[5,54],shortNames:["sun_behind_cloud"],shortName:"barely_sunny"},{name:"Bow and Arrow",unified:"1F3F9",keywords:["sports"],sheet:[11,21],shortName:"bow_and_arrow"},{name:"Large Purple Circle",unified:"1F7E3",sheet:[37,6],shortName:"large_purple_circle"},{name:"Male Fairy",unified:"1F9DA-200D-2642-FE0F",sheet:[50,4],skinVariations:[{unified:"1F9DA-1F3FB-200D-2642-FE0F",sheet:[50,5],hidden:["facebook"]},{unified:"1F9DA-1F3FC-200D-2642-FE0F",sheet:[50,6],hidden:["facebook"]},{unified:"1F9DA-1F3FD-200D-2642-FE0F",sheet:[50,7],hidden:["facebook"]},{unified:"1F9DA-1F3FE-200D-2642-FE0F",sheet:[50,8],hidden:["facebook"]},{unified:"1F9DA-1F3FF-200D-2642-FE0F",sheet:[50,9],hidden:["facebook"]}],shortName:"male_fairy"},{name:"Philippines Flag",unified:"1F1F5-1F1ED",sheet:[3,42],shortName:"flag-ph"},{name:"Partly Sunny Rain",unified:"1F326-FE0F",sheet:[5,55],shortNames:["sun_behind_rain_cloud"],shortName:"partly_sunny_rain"},{name:"Shield",unified:"1F6E1-FE0F",keywords:["protection","security"],sheet:[36,43],shortName:"shield"},{name:"Large Brown Circle",unified:"1F7E4",sheet:[37,7],shortName:"large_brown_circle"},{name:"Female Fairy",unified:"1F9DA-200D-2640-FE0F",obsoletes:"1F9DA",sheet:[49,55],skinVariations:[{unified:"1F9DA-1F3FB-200D-2640-FE0F",sheet:[49,56],hidden:["facebook"]},{unified:"1F9DA-1F3FC-200D-2640-FE0F",sheet:[50,0],hidden:["facebook"]},{unified:"1F9DA-1F3FD-200D-2640-FE0F",sheet:[50,1],hidden:["facebook"]},{unified:"1F9DA-1F3FE-200D-2640-FE0F",sheet:[50,2],hidden:["facebook"]},{unified:"1F9DA-1F3FF-200D-2640-FE0F",sheet:[50,3],hidden:["facebook"]}],shortName:"female_fairy"},{name:"Pakistan Flag",unified:"1F1F5-1F1F0",sheet:[3,43],shortName:"flag-pk"},{name:"Rain Cloud",unified:"1F327-FE0F",sheet:[5,56],shortName:"rain_cloud"},{name:"Wrench",unified:"1F527",keywords:["tools","diy","ikea","fix","maintainer"],sheet:[28,10],shortName:"wrench"},{name:"Vampire",unified:"1F9DB",sheet:[50,28],skinVariations:[{unified:"1F9DB-1F3FB",sheet:[50,29]},{unified:"1F9DB-1F3FC",sheet:[50,30]},{unified:"1F9DB-1F3FD",sheet:[50,31]},{unified:"1F9DB-1F3FE",sheet:[50,32]},{unified:"1F9DB-1F3FF",sheet:[50,33]}],shortName:"vampire",obsoletedBy:"1F9DB-200D-2640-FE0F"},{name:"Medium Black Circle",unified:"26AB",keywords:["shape","button","round"],sheet:[53,53],shortName:"black_circle"},{name:"Poland Flag",unified:"1F1F5-1F1F1",sheet:[3,44],shortName:"flag-pl"},{name:"Snow Cloud",unified:"1F328-FE0F",sheet:[6,0],shortName:"snow_cloud"},{name:"Nut and Bolt",unified:"1F529",keywords:["handy","tools","fix"],sheet:[28,12],shortName:"nut_and_bolt"},{name:"Male Vampire",unified:"1F9DB-200D-2642-FE0F",sheet:[50,22],skinVariations:[{unified:"1F9DB-1F3FB-200D-2642-FE0F",sheet:[50,23]},{unified:"1F9DB-1F3FC-200D-2642-FE0F",sheet:[50,24]},{unified:"1F9DB-1F3FD-200D-2642-FE0F",sheet:[50,25]},{unified:"1F9DB-1F3FE-200D-2642-FE0F",sheet:[50,26]},{unified:"1F9DB-1F3FF-200D-2642-FE0F",sheet:[50,27]}],shortName:"male_vampire"},{name:"Medium White Circle",unified:"26AA",keywords:["shape","round"],sheet:[53,52],shortName:"white_circle"},{name:"St. Pierre & Miquelon Flag",unified:"1F1F5-1F1F2",sheet:[3,45],shortName:"flag-pm"},{name:"Lightning",unified:"1F329-FE0F",sheet:[6,1],shortNames:["lightning_cloud"],shortName:"lightning"},{name:"Large Red Square",unified:"1F7E5",sheet:[37,8],shortName:"large_red_square"},{name:"Female Vampire",unified:"1F9DB-200D-2640-FE0F",obsoletes:"1F9DB",sheet:[50,16],skinVariations:[{unified:"1F9DB-1F3FB-200D-2640-FE0F",sheet:[50,17]},{unified:"1F9DB-1F3FC-200D-2640-FE0F",sheet:[50,18]},{unified:"1F9DB-1F3FD-200D-2640-FE0F",sheet:[50,19]},{unified:"1F9DB-1F3FE-200D-2640-FE0F",sheet:[50,20]},{unified:"1F9DB-1F3FF-200D-2640-FE0F",sheet:[50,21]}],shortName:"female_vampire"},{name:"Gear",unified:"2699-FE0F",keywords:["cog"],sheet:[53,47],shortName:"gear"},{name:"Pitcairn Islands Flag",unified:"1F1F5-1F1F3",sheet:[3,46],shortName:"flag-pn"},{name:"Tornado",unified:"1F32A-FE0F",keywords:["weather","cyclone","twister"],sheet:[6,2],shortNames:["tornado_cloud"],shortName:"tornado"},{name:"Compression",unified:"1F5DC-FE0F",sheet:[30,21],shortName:"compression"},{name:"Large Orange Square",unified:"1F7E7",sheet:[37,10],shortName:"large_orange_square"},{name:"Merperson",unified:"1F9DC",sheet:[50,46],skinVariations:[{unified:"1F9DC-1F3FB",sheet:[50,47]},{unified:"1F9DC-1F3FC",sheet:[50,48]},{unified:"1F9DC-1F3FD",sheet:[50,49]},{unified:"1F9DC-1F3FE",sheet:[50,50]},{unified:"1F9DC-1F3FF",sheet:[50,51]}],shortName:"merperson",obsoletedBy:"1F9DC-200D-2642-FE0F"},{name:"Puerto Rico Flag",unified:"1F1F5-1F1F7",sheet:[3,47],shortName:"flag-pr"},{name:"Fog",unified:"1F32B-FE0F",keywords:["weather"],sheet:[6,3],shortName:"fog"},{name:"Large Yellow Square",unified:"1F7E8",sheet:[37,11],shortName:"large_yellow_square"},{name:"Merman",unified:"1F9DC-200D-2642-FE0F",obsoletes:"1F9DC",keywords:["man","male","triton"],sheet:[50,40],skinVariations:[{unified:"1F9DC-1F3FB-200D-2642-FE0F",sheet:[50,41]},{unified:"1F9DC-1F3FC-200D-2642-FE0F",sheet:[50,42]},{unified:"1F9DC-1F3FD-200D-2642-FE0F",sheet:[50,43]},{unified:"1F9DC-1F3FE-200D-2642-FE0F",sheet:[50,44]},{unified:"1F9DC-1F3FF-200D-2642-FE0F",sheet:[50,45]}],shortName:"merman"},{name:"Scales",unified:"2696-FE0F",sheet:[53,45],shortName:"scales"},{name:"Palestinian Territories Flag",unified:"1F1F5-1F1F8",sheet:[3,48],shortName:"flag-ps"},{name:"Wind Blowing Face",unified:"1F32C-FE0F",sheet:[6,4],shortName:"wind_blowing_face"},{name:"Large Green Square",unified:"1F7E9",sheet:[37,12],shortName:"large_green_square"},{name:"Probing Cane",unified:"1F9AF",sheet:[43,3],shortName:"probing_cane"},{name:"Mermaid",unified:"1F9DC-200D-2640-FE0F",keywords:["woman","female","merwoman","ariel"],sheet:[50,34],skinVariations:[{unified:"1F9DC-1F3FB-200D-2640-FE0F",sheet:[50,35]},{unified:"1F9DC-1F3FC-200D-2640-FE0F",sheet:[50,36]},{unified:"1F9DC-1F3FD-200D-2640-FE0F",sheet:[50,37]},{unified:"1F9DC-1F3FE-200D-2640-FE0F",sheet:[50,38]},{unified:"1F9DC-1F3FF-200D-2640-FE0F",sheet:[50,39]}],shortName:"mermaid"},{name:"Portugal Flag",unified:"1F1F5-1F1F9",sheet:[3,49],shortName:"flag-pt"},{name:"Cyclone",unified:"1F300",keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],sheet:[5,19],shortName:"cyclone"},{name:"Link Symbol",unified:"1F517",keywords:["rings","url"],sheet:[27,51],shortName:"link"},{name:"Large Blue Square",unified:"1F7E6",sheet:[37,9],shortName:"large_blue_square"},{name:"Elf",unified:"1F9DD",sheet:[51,7],skinVariations:[{unified:"1F9DD-1F3FB",sheet:[51,8]},{unified:"1F9DD-1F3FC",sheet:[51,9]},{unified:"1F9DD-1F3FD",sheet:[51,10]},{unified:"1F9DD-1F3FE",sheet:[51,11]},{unified:"1F9DD-1F3FF",sheet:[51,12]}],shortName:"elf",obsoletedBy:"1F9DD-200D-2642-FE0F"},{name:"Palau Flag",unified:"1F1F5-1F1FC",sheet:[3,50],shortName:"flag-pw"},{name:"Rainbow",unified:"1F308",keywords:["nature","happy","unicorn_face","photo","sky","spring"],sheet:[5,27],shortName:"rainbow"},{name:"Large Purple Square",unified:"1F7EA",sheet:[37,13],shortName:"large_purple_square"},{name:"Male Elf",unified:"1F9DD-200D-2642-FE0F",obsoletes:"1F9DD",sheet:[51,1],skinVariations:[{unified:"1F9DD-1F3FB-200D-2642-FE0F",sheet:[51,2]},{unified:"1F9DD-1F3FC-200D-2642-FE0F",sheet:[51,3]},{unified:"1F9DD-1F3FD-200D-2642-FE0F",sheet:[51,4]},{unified:"1F9DD-1F3FE-200D-2642-FE0F",sheet:[51,5]},{unified:"1F9DD-1F3FF-200D-2642-FE0F",sheet:[51,6]}],shortName:"male_elf"},{name:"Chains",unified:"26D3-FE0F",keywords:["lock","arrest"],sheet:[54,7],shortName:"chains"},{name:"Paraguay Flag",unified:"1F1F5-1F1FE",sheet:[3,51],shortName:"flag-py"},{name:"Closed Umbrella",unified:"1F302",keywords:["weather","rain","drizzle"],sheet:[5,21],shortName:"closed_umbrella"},{name:"Large Brown Square",unified:"1F7EB",sheet:[37,14],shortName:"large_brown_square"},{name:"Female Elf",unified:"1F9DD-200D-2640-FE0F",sheet:[50,52],skinVariations:[{unified:"1F9DD-1F3FB-200D-2640-FE0F",sheet:[50,53]},{unified:"1F9DD-1F3FC-200D-2640-FE0F",sheet:[50,54]},{unified:"1F9DD-1F3FD-200D-2640-FE0F",sheet:[50,55]},{unified:"1F9DD-1F3FE-200D-2640-FE0F",sheet:[50,56]},{unified:"1F9DD-1F3FF-200D-2640-FE0F",sheet:[51,0]}],shortName:"female_elf"},{name:"Toolbox",unified:"1F9F0",keywords:["tools","diy","fix","maintainer","mechanic"],sheet:[51,35],shortName:"toolbox"},{name:"Qatar Flag",unified:"1F1F6-1F1E6",sheet:[3,52],shortName:"flag-qa"},{name:"Genie",unified:"1F9DE",sheet:[51,15],shortName:"genie",obsoletedBy:"1F9DE-200D-2642-FE0F"},{name:"Magnet",unified:"1F9F2",keywords:["attraction","magnetic"],sheet:[51,37],shortName:"magnet"},{name:"Umbrella",unified:"2602-FE0F",keywords:["rainy","weather","spring"],sheet:[52,51],shortName:"umbrella"},{name:"Black Large Square",unified:"2B1B",keywords:["shape","icon","button"],sheet:[55,40],shortName:"black_large_square"},{name:"R\xe9union Flag",unified:"1F1F7-1F1EA",sheet:[3,53],shortName:"flag-re"},{name:"Male Genie",unified:"1F9DE-200D-2642-FE0F",obsoletes:"1F9DE",sheet:[51,14],shortName:"male_genie"},{name:"Umbrella with Rain Drops",unified:"2614",sheet:[52,56],shortName:"umbrella_with_rain_drops"},{name:"Alembic",unified:"2697-FE0F",keywords:["distilling","science","experiment","chemistry"],sheet:[53,46],shortName:"alembic"},{name:"White Large Square",unified:"2B1C",keywords:["shape","icon","stone","button"],sheet:[55,41],shortName:"white_large_square"},{name:"Romania Flag",unified:"1F1F7-1F1F4",sheet:[3,54],shortName:"flag-ro"},{name:"Female Genie",unified:"1F9DE-200D-2640-FE0F",sheet:[51,13],shortName:"female_genie"},{name:"Test Tube",unified:"1F9EA",keywords:["chemistry","experiment","lab","science"],sheet:[51,29],shortName:"test_tube"},{name:"Black Medium Square",unified:"25FC-FE0F",keywords:["shape","button","icon"],sheet:[52,46],shortName:"black_medium_square"},{name:"Umbrella on Ground",unified:"26F1-FE0F",sheet:[54,12],shortName:"umbrella_on_ground"},{name:"Serbia Flag",unified:"1F1F7-1F1F8",sheet:[3,55],shortName:"flag-rs"},{name:"Zombie",unified:"1F9DF",sheet:[51,18],shortName:"zombie",obsoletedBy:"1F9DF-200D-2642-FE0F"},{name:"Petri Dish",unified:"1F9EB",keywords:["bacteria","biology","culture","lab"],sheet:[51,30],shortName:"petri_dish"},{name:"White Medium Square",unified:"25FB-FE0F",keywords:["shape","stone","icon"],sheet:[52,45],shortName:"white_medium_square"},{name:"High Voltage Sign",unified:"26A1",keywords:["thunder","weather","lightning bolt","fast"],sheet:[53,51],shortName:"zap"},{name:"Russia Flag",unified:"1F1F7-1F1FA",keywords:["russian","federation","flag","nation","country","banner"],sheet:[3,56],shortNames:["flag-ru"],shortName:"ru"},{name:"Male Zombie",unified:"1F9DF-200D-2642-FE0F",obsoletes:"1F9DF",sheet:[51,17],shortName:"male_zombie"},{name:"Dna Double Helix",unified:"1F9EC",keywords:["biologist","genetics","life"],sheet:[51,31],shortName:"dna"},{name:"Black Medium Small Square",unified:"25FE",keywords:["icon","shape","button"],sheet:[52,48],shortName:"black_medium_small_square"},{name:"Snowflake",unified:"2744-FE0F",keywords:["winter","season","cold","weather","christmas","xmas"],sheet:[55,19],shortName:"snowflake"},{name:"Rwanda Flag",unified:"1F1F7-1F1FC",sheet:[4,0],shortName:"flag-rw"},{name:"Microscope",unified:"1F52C",keywords:["laboratory","experiment","zoomin","science","study"],sheet:[28,15],shortName:"microscope"},{name:"Female Zombie",unified:"1F9DF-200D-2640-FE0F",sheet:[51,16],shortName:"female_zombie"},{name:"White Medium Small Square",unified:"25FD",keywords:["shape","stone","icon","button"],sheet:[52,47],shortName:"white_medium_small_square"},{name:"Snowman",unified:"2603-FE0F",keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],sheet:[52,52],shortName:"snowman"},{name:"Saudi Arabia Flag",unified:"1F1F8-1F1E6",sheet:[4,1],shortName:"flag-sa"},{name:"Face Massage",unified:"1F486",sheet:[24,51],hidden:["facebook"],skinVariations:[{unified:"1F486-1F3FB",sheet:[24,52],hidden:["facebook"]},{unified:"1F486-1F3FC",sheet:[24,53],hidden:["facebook"]},{unified:"1F486-1F3FD",sheet:[24,54],hidden:["facebook"]},{unified:"1F486-1F3FE",sheet:[24,55],hidden:["facebook"]},{unified:"1F486-1F3FF",sheet:[24,56],hidden:["facebook"]}],shortName:"massage",obsoletedBy:"1F486-200D-2640-FE0F"},{name:"Telescope",unified:"1F52D",keywords:["stars","space","zoom","science","astronomy"],sheet:[28,16],shortName:"telescope"},{name:"Black Small Square",unified:"25AA-FE0F",keywords:["shape","icon"],sheet:[52,41],shortName:"black_small_square"},{name:"Snowman Without Snow",unified:"26C4",sheet:[54,1],shortName:"snowman_without_snow"},{name:"Solomon Islands Flag",unified:"1F1F8-1F1E7",sheet:[4,2],shortName:"flag-sb"},{name:"Man Getting Massage",unified:"1F486-200D-2642-FE0F",sheet:[24,45],skinVariations:[{unified:"1F486-1F3FB-200D-2642-FE0F",sheet:[24,46]},{unified:"1F486-1F3FC-200D-2642-FE0F",sheet:[24,47]},{unified:"1F486-1F3FD-200D-2642-FE0F",sheet:[24,48]},{unified:"1F486-1F3FE-200D-2642-FE0F",sheet:[24,49]},{unified:"1F486-1F3FF-200D-2642-FE0F",sheet:[24,50]}],shortName:"man-getting-massage"},{name:"Satellite Antenna",unified:"1F4E1",sheet:[26,55],shortName:"satellite_antenna"},{name:"White Small Square",unified:"25AB-FE0F",keywords:["shape","icon"],sheet:[52,42],shortName:"white_small_square"},{name:"Comet",unified:"2604-FE0F",keywords:["space"],sheet:[52,53],shortName:"comet"},{name:"Seychelles Flag",unified:"1F1F8-1F1E8",sheet:[4,3],shortName:"flag-sc"},{name:"Woman Getting Massage",unified:"1F486-200D-2640-FE0F",obsoletes:"1F486",sheet:[24,39],skinVariations:[{unified:"1F486-1F3FB-200D-2640-FE0F",sheet:[24,40]},{unified:"1F486-1F3FC-200D-2640-FE0F",sheet:[24,41]},{unified:"1F486-1F3FD-200D-2640-FE0F",sheet:[24,42]},{unified:"1F486-1F3FE-200D-2640-FE0F",sheet:[24,43]},{unified:"1F486-1F3FF-200D-2640-FE0F",sheet:[24,44]}],shortName:"woman-getting-massage"},{name:"Syringe",unified:"1F489",keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],sheet:[25,19],shortName:"syringe"},{name:"Fire",unified:"1F525",keywords:["hot","cook","flame"],sheet:[28,8],shortName:"fire"},{name:"Large Orange Diamond",unified:"1F536",keywords:["shape","jewel","gem"],sheet:[28,25],shortName:"large_orange_diamond"},{name:"Sudan Flag",unified:"1F1F8-1F1E9",sheet:[4,4],shortName:"flag-sd"},{name:"Haircut",unified:"1F487",sheet:[25,12],hidden:["facebook"],skinVariations:[{unified:"1F487-1F3FB",sheet:[25,13],hidden:["facebook"]},{unified:"1F487-1F3FC",sheet:[25,14],hidden:["facebook"]},{unified:"1F487-1F3FD",sheet:[25,15],hidden:["facebook"]},{unified:"1F487-1F3FE",sheet:[25,16],hidden:["facebook"]},{unified:"1F487-1F3FF",sheet:[25,17],hidden:["facebook"]}],shortName:"haircut",obsoletedBy:"1F487-200D-2640-FE0F"},{name:"Droplet",unified:"1F4A7",keywords:["water","drip","faucet","spring"],sheet:[25,49],shortName:"droplet"},{name:"Large Blue Diamond",unified:"1F537",keywords:["shape","jewel","gem"],sheet:[28,26],shortName:"large_blue_diamond"},{name:"Drop of Blood",unified:"1FA78",sheet:[51,55],shortName:"drop_of_blood"},{name:"Sweden Flag",unified:"1F1F8-1F1EA",sheet:[4,5],shortName:"flag-se"},{name:"Water Wave",unified:"1F30A",keywords:["sea","water","wave","nature","tsunami","disaster"],sheet:[5,29],shortName:"ocean"},{name:"Man Getting Haircut",unified:"1F487-200D-2642-FE0F",sheet:[25,6],skinVariations:[{unified:"1F487-1F3FB-200D-2642-FE0F",sheet:[25,7]},{unified:"1F487-1F3FC-200D-2642-FE0F",sheet:[25,8]},{unified:"1F487-1F3FD-200D-2642-FE0F",sheet:[25,9]},{unified:"1F487-1F3FE-200D-2642-FE0F",sheet:[25,10]},{unified:"1F487-1F3FF-200D-2642-FE0F",sheet:[25,11]}],shortName:"man-getting-haircut"},{name:"Pill",unified:"1F48A",keywords:["health","medicine","doctor","pharmacy","drug"],sheet:[25,20],shortName:"pill"},{name:"Small Orange Diamond",unified:"1F538",keywords:["shape","jewel","gem"],sheet:[28,27],shortName:"small_orange_diamond"},{name:"Singapore Flag",unified:"1F1F8-1F1EC",sheet:[4,6],shortName:"flag-sg"},{name:"Woman Getting Haircut",unified:"1F487-200D-2640-FE0F",obsoletes:"1F487",sheet:[25,0],skinVariations:[{unified:"1F487-1F3FB-200D-2640-FE0F",sheet:[25,1]},{unified:"1F487-1F3FC-200D-2640-FE0F",sheet:[25,2]},{unified:"1F487-1F3FD-200D-2640-FE0F",sheet:[25,3]},{unified:"1F487-1F3FE-200D-2640-FE0F",sheet:[25,4]},{unified:"1F487-1F3FF-200D-2640-FE0F",sheet:[25,5]}],shortName:"woman-getting-haircut"},{name:"Small Blue Diamond",unified:"1F539",keywords:["shape","jewel","gem"],sheet:[28,28],shortName:"small_blue_diamond"},{name:"Adhesive Bandage",unified:"1FA79",sheet:[51,56],shortName:"adhesive_bandage"},{name:"St. Helena Flag",unified:"1F1F8-1F1ED",sheet:[4,7],shortName:"flag-sh"},{name:"Up-Pointing Red Triangle",unified:"1F53A",keywords:["shape","direction","up","top"],sheet:[28,29],shortName:"small_red_triangle"},{name:"Pedestrian",unified:"1F6B6",sheet:[36,2],hidden:["facebook"],skinVariations:[{unified:"1F6B6-1F3FB",sheet:[36,3],hidden:["facebook"]},{unified:"1F6B6-1F3FC",sheet:[36,4],hidden:["facebook"]},{unified:"1F6B6-1F3FD",sheet:[36,5],hidden:["facebook"]},{unified:"1F6B6-1F3FE",sheet:[36,6],hidden:["facebook"]},{unified:"1F6B6-1F3FF",sheet:[36,7],hidden:["facebook"]}],shortName:"walking",obsoletedBy:"1F6B6-200D-2642-FE0F"},{name:"Stethoscope",unified:"1FA7A",sheet:[52,0],shortName:"stethoscope"},{name:"Slovenia Flag",unified:"1F1F8-1F1EE",sheet:[4,8],shortName:"flag-si"},{name:"Down-Pointing Red Triangle",unified:"1F53B",keywords:["shape","direction","bottom"],sheet:[28,30],shortName:"small_red_triangle_down"},{name:"Door",unified:"1F6AA",keywords:["house","entry","exit"],sheet:[35,1],shortName:"door"},{name:"Man Walking",unified:"1F6B6-200D-2642-FE0F",obsoletes:"1F6B6",sheet:[35,53],skinVariations:[{unified:"1F6B6-1F3FB-200D-2642-FE0F",sheet:[35,54]},{unified:"1F6B6-1F3FC-200D-2642-FE0F",sheet:[35,55]},{unified:"1F6B6-1F3FD-200D-2642-FE0F",sheet:[35,56]},{unified:"1F6B6-1F3FE-200D-2642-FE0F",sheet:[36,0]},{unified:"1F6B6-1F3FF-200D-2642-FE0F",sheet:[36,1]}],shortName:"man-walking"},{name:"Svalbard & Jan Mayen Flag",unified:"1F1F8-1F1EF",sheet:[4,9],shortName:"flag-sj"},{name:"Diamond Shape with a Dot Inside",unified:"1F4A0",keywords:["jewel","blue","gem","crystal","fancy"],sheet:[25,42],shortName:"diamond_shape_with_a_dot_inside"},{name:"Woman Walking",unified:"1F6B6-200D-2640-FE0F",sheet:[35,47],skinVariations:[{unified:"1F6B6-1F3FB-200D-2640-FE0F",sheet:[35,48]},{unified:"1F6B6-1F3FC-200D-2640-FE0F",sheet:[35,49]},{unified:"1F6B6-1F3FD-200D-2640-FE0F",sheet:[35,50]},{unified:"1F6B6-1F3FE-200D-2640-FE0F",sheet:[35,51]},{unified:"1F6B6-1F3FF-200D-2640-FE0F",sheet:[35,52]}],shortName:"woman-walking"},{name:"Bed",unified:"1F6CF-FE0F",keywords:["sleep","rest"],sheet:[36,37],shortName:"bed"},{name:"Slovakia Flag",unified:"1F1F8-1F1F0",sheet:[4,10],shortName:"flag-sk"},{name:"Radio Button",unified:"1F518",keywords:["input","old","music","circle"],sheet:[27,52],shortName:"radio_button"},{name:"Couch and Lamp",unified:"1F6CB-FE0F",keywords:["read","chill"],sheet:[36,28],shortName:"couch_and_lamp"},{name:"Standing Person",unified:"1F9CD",sheet:[44,31],skinVariations:[{unified:"1F9CD-1F3FB",sheet:[44,32]},{unified:"1F9CD-1F3FC",sheet:[44,33]},{unified:"1F9CD-1F3FD",sheet:[44,34]},{unified:"1F9CD-1F3FE",sheet:[44,35]},{unified:"1F9CD-1F3FF",sheet:[44,36]}],shortName:"standing_person"},{name:"Sierra Leone Flag",unified:"1F1F8-1F1F1",sheet:[4,11],shortName:"flag-sl"},{name:"White Square Button",unified:"1F533",keywords:["shape","input"],sheet:[28,22],shortName:"white_square_button"},{name:"Man Standing",unified:"1F9CD-200D-2642-FE0F",sheet:[44,25],skinVariations:[{unified:"1F9CD-1F3FB-200D-2642-FE0F",sheet:[44,26]},{unified:"1F9CD-1F3FC-200D-2642-FE0F",sheet:[44,27]},{unified:"1F9CD-1F3FD-200D-2642-FE0F",sheet:[44,28]},{unified:"1F9CD-1F3FE-200D-2642-FE0F",sheet:[44,29]},{unified:"1F9CD-1F3FF-200D-2642-FE0F",sheet:[44,30]}],shortName:"man_standing"},{name:"Chair",unified:"1FA91",sheet:[52,5],shortName:"chair"},{name:"San Marino Flag",unified:"1F1F8-1F1F2",sheet:[4,12],shortName:"flag-sm"},{name:"Black Square Button",unified:"1F532",keywords:["shape","input","frame"],sheet:[28,21],shortName:"black_square_button"},{name:"Toilet",unified:"1F6BD",keywords:["restroom","wc","washroom","bathroom","potty"],sheet:[36,14],shortName:"toilet"},{name:"Woman Standing",unified:"1F9CD-200D-2640-FE0F",sheet:[44,19],skinVariations:[{unified:"1F9CD-1F3FB-200D-2640-FE0F",sheet:[44,20]},{unified:"1F9CD-1F3FC-200D-2640-FE0F",sheet:[44,21]},{unified:"1F9CD-1F3FD-200D-2640-FE0F",sheet:[44,22]},{unified:"1F9CD-1F3FE-200D-2640-FE0F",sheet:[44,23]},{unified:"1F9CD-1F3FF-200D-2640-FE0F",sheet:[44,24]}],shortName:"woman_standing"},{name:"Senegal Flag",unified:"1F1F8-1F1F3",sheet:[4,13],shortName:"flag-sn"},{name:"Shower",unified:"1F6BF",keywords:["clean","water","bathroom"],sheet:[36,16],shortName:"shower"},{name:"Kneeling Person",unified:"1F9CE",sheet:[44,49],skinVariations:[{unified:"1F9CE-1F3FB",sheet:[44,50]},{unified:"1F9CE-1F3FC",sheet:[44,51]},{unified:"1F9CE-1F3FD",sheet:[44,52]},{unified:"1F9CE-1F3FE",sheet:[44,53]},{unified:"1F9CE-1F3FF",sheet:[44,54]}],shortName:"kneeling_person"},{name:"Somalia Flag",unified:"1F1F8-1F1F4",sheet:[4,14],shortName:"flag-so"},{name:"Bathtub",unified:"1F6C1",keywords:["clean","shower","bathroom"],sheet:[36,23],shortName:"bathtub"},{name:"Man Kneeling",unified:"1F9CE-200D-2642-FE0F",sheet:[44,43],skinVariations:[{unified:"1F9CE-1F3FB-200D-2642-FE0F",sheet:[44,44]},{unified:"1F9CE-1F3FC-200D-2642-FE0F",sheet:[44,45]},{unified:"1F9CE-1F3FD-200D-2642-FE0F",sheet:[44,46]},{unified:"1F9CE-1F3FE-200D-2642-FE0F",sheet:[44,47]},{unified:"1F9CE-1F3FF-200D-2642-FE0F",sheet:[44,48]}],shortName:"man_kneeling"},{name:"Suriname Flag",unified:"1F1F8-1F1F7",sheet:[4,15],shortName:"flag-sr"},{name:"Woman Kneeling",unified:"1F9CE-200D-2640-FE0F",sheet:[44,37],skinVariations:[{unified:"1F9CE-1F3FB-200D-2640-FE0F",sheet:[44,38]},{unified:"1F9CE-1F3FC-200D-2640-FE0F",sheet:[44,39]},{unified:"1F9CE-1F3FD-200D-2640-FE0F",sheet:[44,40]},{unified:"1F9CE-1F3FE-200D-2640-FE0F",sheet:[44,41]},{unified:"1F9CE-1F3FF-200D-2640-FE0F",sheet:[44,42]}],shortName:"woman_kneeling"},{name:"Razor",unified:"1FA92",sheet:[52,6],shortName:"razor"},{name:"South Sudan Flag",unified:"1F1F8-1F1F8",sheet:[4,16],shortName:"flag-ss"},{name:"Person with Probing Cane",unified:"1F9D1-200D-1F9AF",sheet:[47,7],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9AF",sheet:[47,8],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9AF",sheet:[47,9],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9AF",sheet:[47,10],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9AF",sheet:[47,11],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9AF",sheet:[47,12],hidden:["google","twitter","facebook"]}],shortName:"person_with_probing_cane"},{name:"Lotion Bottle",unified:"1F9F4",keywords:["moisturizer","sunscreen"],sheet:[51,39],shortName:"lotion_bottle"},{name:"S\xe3o Tom\xe9 & Pr\xedncipe Flag",unified:"1F1F8-1F1F9",sheet:[4,17],shortName:"flag-st"},{name:"Man with Probing Cane",unified:"1F468-200D-1F9AF",sheet:[16,17],skinVariations:[{unified:"1F468-1F3FB-200D-1F9AF",sheet:[16,18]},{unified:"1F468-1F3FC-200D-1F9AF",sheet:[16,19]},{unified:"1F468-1F3FD-200D-1F9AF",sheet:[16,20]},{unified:"1F468-1F3FE-200D-1F9AF",sheet:[16,21]},{unified:"1F468-1F3FF-200D-1F9AF",sheet:[16,22]}],shortName:"man_with_probing_cane"},{name:"Safety Pin",unified:"1F9F7",keywords:["diaper"],sheet:[51,42],shortName:"safety_pin"},{name:"El Salvador Flag",unified:"1F1F8-1F1FB",sheet:[4,18],shortName:"flag-sv"},{name:"Woman with Probing Cane",unified:"1F469-200D-1F9AF",sheet:[19,2],skinVariations:[{unified:"1F469-1F3FB-200D-1F9AF",sheet:[19,3]},{unified:"1F469-1F3FC-200D-1F9AF",sheet:[19,4]},{unified:"1F469-1F3FD-200D-1F9AF",sheet:[19,5]},{unified:"1F469-1F3FE-200D-1F9AF",sheet:[19,6]},{unified:"1F469-1F3FF-200D-1F9AF",sheet:[19,7]}],shortName:"woman_with_probing_cane"},{name:"Broom",unified:"1F9F9",keywords:["cleaning","sweeping","witch"],sheet:[51,44],shortName:"broom"},{name:"Sint Maarten Flag",unified:"1F1F8-1F1FD",sheet:[4,19],shortName:"flag-sx"},{name:"Person in Motorized Wheelchair",unified:"1F9D1-200D-1F9BC",sheet:[47,37],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BC",sheet:[47,38],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9BC",sheet:[47,39],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9BC",sheet:[47,40],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9BC",sheet:[47,41],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9BC",sheet:[47,42],hidden:["google","twitter","facebook"]}],shortName:"person_in_motorized_wheelchair"},{name:"Basket",unified:"1F9FA",keywords:["laundry"],sheet:[51,45],shortName:"basket"},{name:"Syria Flag",unified:"1F1F8-1F1FE",sheet:[4,20],shortName:"flag-sy"},{name:"Man in Motorized Wheelchair",unified:"1F468-200D-1F9BC",sheet:[16,47],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BC",sheet:[16,48]},{unified:"1F468-1F3FC-200D-1F9BC",sheet:[16,49]},{unified:"1F468-1F3FD-200D-1F9BC",sheet:[16,50]},{unified:"1F468-1F3FE-200D-1F9BC",sheet:[16,51]},{unified:"1F468-1F3FF-200D-1F9BC",sheet:[16,52]}],shortName:"man_in_motorized_wheelchair"},{name:"Roll of Paper",unified:"1F9FB",sheet:[51,46],shortName:"roll_of_paper"},{name:"Eswatini Flag",unified:"1F1F8-1F1FF",sheet:[4,21],shortName:"flag-sz"},{name:"Woman in Motorized Wheelchair",unified:"1F469-200D-1F9BC",sheet:[19,32],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BC",sheet:[19,33]},{unified:"1F469-1F3FC-200D-1F9BC",sheet:[19,34]},{unified:"1F469-1F3FD-200D-1F9BC",sheet:[19,35]},{unified:"1F469-1F3FE-200D-1F9BC",sheet:[19,36]},{unified:"1F469-1F3FF-200D-1F9BC",sheet:[19,37]}],shortName:"woman_in_motorized_wheelchair"},{name:"Bar of Soap",unified:"1F9FC",keywords:["bar","bathing","cleaning","lather"],sheet:[51,47],shortName:"soap"},{name:"Tristan Da Cunha Flag",unified:"1F1F9-1F1E6",sheet:[4,22],shortName:"flag-ta"},{name:"Person in Manual Wheelchair",unified:"1F9D1-200D-1F9BD",sheet:[47,43],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BD",sheet:[47,44],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9BD",sheet:[47,45],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9BD",sheet:[47,46],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9BD",sheet:[47,47],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9BD",sheet:[47,48],hidden:["google","twitter","facebook"]}],shortName:"person_in_manual_wheelchair"},{name:"Sponge",unified:"1F9FD",keywords:["absorbing","cleaning","porous"],sheet:[51,48],shortName:"sponge"},{name:"Turks & Caicos Islands Flag",unified:"1F1F9-1F1E8",sheet:[4,23],shortName:"flag-tc"},{name:"Man in Manual Wheelchair",unified:"1F468-200D-1F9BD",sheet:[16,53],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BD",sheet:[16,54]},{unified:"1F468-1F3FC-200D-1F9BD",sheet:[16,55]},{unified:"1F468-1F3FD-200D-1F9BD",sheet:[16,56]},{unified:"1F468-1F3FE-200D-1F9BD",sheet:[17,0]},{unified:"1F468-1F3FF-200D-1F9BD",sheet:[17,1]}],shortName:"man_in_manual_wheelchair"},{name:"Fire Extinguisher",unified:"1F9EF",keywords:["quench"],sheet:[51,34],shortName:"fire_extinguisher"},{name:"Chad Flag",unified:"1F1F9-1F1E9",sheet:[4,24],shortName:"flag-td"},{name:"Woman in Manual Wheelchair",unified:"1F469-200D-1F9BD",sheet:[19,38],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BD",sheet:[19,39]},{unified:"1F469-1F3FC-200D-1F9BD",sheet:[19,40]},{unified:"1F469-1F3FD-200D-1F9BD",sheet:[19,41]},{unified:"1F469-1F3FE-200D-1F9BD",sheet:[19,42]},{unified:"1F469-1F3FF-200D-1F9BD",sheet:[19,43]}],shortName:"woman_in_manual_wheelchair"},{name:"Shopping Trolley",unified:"1F6D2",sheet:[36,40],shortName:"shopping_trolley"},{name:"French Southern Territories Flag",unified:"1F1F9-1F1EB",sheet:[4,25],shortName:"flag-tf"},{name:"Runner",unified:"1F3C3",sheet:[9,1],hidden:["facebook"],skinVariations:[{unified:"1F3C3-1F3FB",sheet:[9,2],hidden:["facebook"]},{unified:"1F3C3-1F3FC",sheet:[9,3],hidden:["facebook"]},{unified:"1F3C3-1F3FD",sheet:[9,4],hidden:["facebook"]},{unified:"1F3C3-1F3FE",sheet:[9,5],hidden:["facebook"]},{unified:"1F3C3-1F3FF",sheet:[9,6],hidden:["facebook"]}],shortNames:["running"],shortName:"runner",obsoletedBy:"1F3C3-200D-2642-FE0F"},{name:"Smoking Symbol",unified:"1F6AC",keywords:["kills","tobacco","cigarette","joint","smoke"],sheet:[35,3],shortName:"smoking"},{name:"Togo Flag",unified:"1F1F9-1F1EC",sheet:[4,26],shortName:"flag-tg"},{name:"Man Running",unified:"1F3C3-200D-2642-FE0F",obsoletes:"1F3C3",sheet:[8,52],skinVariations:[{unified:"1F3C3-1F3FB-200D-2642-FE0F",sheet:[8,53]},{unified:"1F3C3-1F3FC-200D-2642-FE0F",sheet:[8,54]},{unified:"1F3C3-1F3FD-200D-2642-FE0F",sheet:[8,55]},{unified:"1F3C3-1F3FE-200D-2642-FE0F",sheet:[8,56]},{unified:"1F3C3-1F3FF-200D-2642-FE0F",sheet:[9,0]}],shortName:"man-running"},{name:"Coffin",unified:"26B0-FE0F",keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],sheet:[53,54],shortName:"coffin"},{name:"Thailand Flag",unified:"1F1F9-1F1ED",sheet:[4,27],shortName:"flag-th"},{name:"Woman Running",unified:"1F3C3-200D-2640-FE0F",sheet:[8,46],skinVariations:[{unified:"1F3C3-1F3FB-200D-2640-FE0F",sheet:[8,47]},{unified:"1F3C3-1F3FC-200D-2640-FE0F",sheet:[8,48]},{unified:"1F3C3-1F3FD-200D-2640-FE0F",sheet:[8,49]},{unified:"1F3C3-1F3FE-200D-2640-FE0F",sheet:[8,50]},{unified:"1F3C3-1F3FF-200D-2640-FE0F",sheet:[8,51]}],shortName:"woman-running"},{name:"Funeral Urn",unified:"26B1-FE0F",keywords:["dead","die","death","rip","ashes"],sheet:[53,55],shortName:"funeral_urn"},{name:"Tajikistan Flag",unified:"1F1F9-1F1EF",sheet:[4,28],shortName:"flag-tj"},{name:"Dancer",unified:"1F483",keywords:["female","girl","woman","fun"],sheet:[24,26],skinVariations:[{unified:"1F483-1F3FB",sheet:[24,27]},{unified:"1F483-1F3FC",sheet:[24,28]},{unified:"1F483-1F3FD",sheet:[24,29]},{unified:"1F483-1F3FE",sheet:[24,30]},{unified:"1F483-1F3FF",sheet:[24,31]}],shortName:"dancer"},{name:"Moyai",unified:"1F5FF",keywords:["rock","easter island","moai"],sheet:[30,34],shortName:"moyai"},{name:"Tokelau Flag",unified:"1F1F9-1F1F0",sheet:[4,29],shortName:"flag-tk"},{name:"Man Dancing",unified:"1F57A",keywords:["male","boy","fun","dancer"],sheet:[29,37],skinVariations:[{unified:"1F57A-1F3FB",sheet:[29,38]},{unified:"1F57A-1F3FC",sheet:[29,39]},{unified:"1F57A-1F3FD",sheet:[29,40]},{unified:"1F57A-1F3FE",sheet:[29,41]},{unified:"1F57A-1F3FF",sheet:[29,42]}],shortName:"man_dancing"},{name:"Timor-Leste Flag",unified:"1F1F9-1F1F1",sheet:[4,30],shortName:"flag-tl"},{name:"Man in Business Suit Levitating",unified:"1F574-FE0F",sheet:[29,9],skinVariations:[{unified:"1F574-1F3FB",sheet:[29,10]},{unified:"1F574-1F3FC",sheet:[29,11]},{unified:"1F574-1F3FD",sheet:[29,12]},{unified:"1F574-1F3FE",sheet:[29,13]},{unified:"1F574-1F3FF",sheet:[29,14]}],shortName:"man_in_business_suit_levitating"},{name:"Turkmenistan Flag",unified:"1F1F9-1F1F2",sheet:[4,31],shortName:"flag-tm"},{name:"Woman with Bunny Ears",unified:"1F46F",sheet:[22,0],shortName:"dancers",obsoletedBy:"1F46F-200D-2640-FE0F"},{name:"Tunisia Flag",unified:"1F1F9-1F1F3",sheet:[4,32],shortName:"flag-tn"},{name:"Man with Bunny Ears Partying",unified:"1F46F-200D-2642-FE0F",sheet:[21,56],shortName:"man-with-bunny-ears-partying"},{name:"Tonga Flag",unified:"1F1F9-1F1F4",sheet:[4,33],shortName:"flag-to"},{name:"Woman with Bunny Ears Partying",unified:"1F46F-200D-2640-FE0F",obsoletes:"1F46F",sheet:[21,55],shortName:"woman-with-bunny-ears-partying"},{name:"Turkey Flag",unified:"1F1F9-1F1F7",sheet:[4,34],shortName:"flag-tr"},{name:"Person in Steamy Room",unified:"1F9D6",sheet:[48,52],skinVariations:[{unified:"1F9D6-1F3FB",sheet:[48,53]},{unified:"1F9D6-1F3FC",sheet:[48,54]},{unified:"1F9D6-1F3FD",sheet:[48,55]},{unified:"1F9D6-1F3FE",sheet:[48,56]},{unified:"1F9D6-1F3FF",sheet:[49,0]}],shortName:"person_in_steamy_room",obsoletedBy:"1F9D6-200D-2642-FE0F"},{name:"Trinidad & Tobago Flag",unified:"1F1F9-1F1F9",sheet:[4,35],shortName:"flag-tt"},{name:"Man in Steamy Room",unified:"1F9D6-200D-2642-FE0F",obsoletes:"1F9D6",keywords:["male","man","spa","steamroom","sauna"],sheet:[48,46],skinVariations:[{unified:"1F9D6-1F3FB-200D-2642-FE0F",sheet:[48,47]},{unified:"1F9D6-1F3FC-200D-2642-FE0F",sheet:[48,48]},{unified:"1F9D6-1F3FD-200D-2642-FE0F",sheet:[48,49]},{unified:"1F9D6-1F3FE-200D-2642-FE0F",sheet:[48,50]},{unified:"1F9D6-1F3FF-200D-2642-FE0F",sheet:[48,51]}],shortName:"man_in_steamy_room"},{name:"Tuvalu Flag",unified:"1F1F9-1F1FB",sheet:[4,36],shortName:"flag-tv"},{name:"Woman in Steamy Room",unified:"1F9D6-200D-2640-FE0F",keywords:["female","woman","spa","steamroom","sauna"],sheet:[48,40],skinVariations:[{unified:"1F9D6-1F3FB-200D-2640-FE0F",sheet:[48,41]},{unified:"1F9D6-1F3FC-200D-2640-FE0F",sheet:[48,42]},{unified:"1F9D6-1F3FD-200D-2640-FE0F",sheet:[48,43]},{unified:"1F9D6-1F3FE-200D-2640-FE0F",sheet:[48,44]},{unified:"1F9D6-1F3FF-200D-2640-FE0F",sheet:[48,45]}],shortName:"woman_in_steamy_room"},{name:"Taiwan Flag",unified:"1F1F9-1F1FC",sheet:[4,37],shortName:"flag-tw"},{name:"Person Climbing",unified:"1F9D7",sheet:[49,13],skinVariations:[{unified:"1F9D7-1F3FB",sheet:[49,14]},{unified:"1F9D7-1F3FC",sheet:[49,15]},{unified:"1F9D7-1F3FD",sheet:[49,16]},{unified:"1F9D7-1F3FE",sheet:[49,17]},{unified:"1F9D7-1F3FF",sheet:[49,18]}],shortName:"person_climbing",obsoletedBy:"1F9D7-200D-2640-FE0F"},{name:"Tanzania Flag",unified:"1F1F9-1F1FF",sheet:[4,38],shortName:"flag-tz"},{name:"Man Climbing",unified:"1F9D7-200D-2642-FE0F",sheet:[49,7],skinVariations:[{unified:"1F9D7-1F3FB-200D-2642-FE0F",sheet:[49,8]},{unified:"1F9D7-1F3FC-200D-2642-FE0F",sheet:[49,9]},{unified:"1F9D7-1F3FD-200D-2642-FE0F",sheet:[49,10]},{unified:"1F9D7-1F3FE-200D-2642-FE0F",sheet:[49,11]},{unified:"1F9D7-1F3FF-200D-2642-FE0F",sheet:[49,12]}],shortName:"man_climbing"},{name:"Ukraine Flag",unified:"1F1FA-1F1E6",sheet:[4,39],shortName:"flag-ua"},{name:"Woman Climbing",unified:"1F9D7-200D-2640-FE0F",obsoletes:"1F9D7",sheet:[49,1],skinVariations:[{unified:"1F9D7-1F3FB-200D-2640-FE0F",sheet:[49,2]},{unified:"1F9D7-1F3FC-200D-2640-FE0F",sheet:[49,3]},{unified:"1F9D7-1F3FD-200D-2640-FE0F",sheet:[49,4]},{unified:"1F9D7-1F3FE-200D-2640-FE0F",sheet:[49,5]},{unified:"1F9D7-1F3FF-200D-2640-FE0F",sheet:[49,6]}],shortName:"woman_climbing"},{name:"Uganda Flag",unified:"1F1FA-1F1EC",sheet:[4,40],shortName:"flag-ug"},{name:"Fencer",unified:"1F93A",sheet:[40,32],shortName:"fencer"},{name:"U.s. Outlying Islands Flag",unified:"1F1FA-1F1F2",sheet:[4,41],shortName:"flag-um"},{name:"Horse Racing",unified:"1F3C7",keywords:["animal","betting","competition","gambling","luck"],sheet:[9,27],skinVariations:[{unified:"1F3C7-1F3FB",sheet:[9,28]},{unified:"1F3C7-1F3FC",sheet:[9,29]},{unified:"1F3C7-1F3FD",sheet:[9,30]},{unified:"1F3C7-1F3FE",sheet:[9,31]},{unified:"1F3C7-1F3FF",sheet:[9,32]}],shortName:"horse_racing"},{name:"United Nations Flag",unified:"1F1FA-1F1F3",sheet:[4,42],shortName:"flag-un"},{name:"Skier",unified:"26F7-FE0F",keywords:["sports","winter","snow"],sheet:[54,17],shortName:"skier"},{name:"United States Flag",unified:"1F1FA-1F1F8",keywords:["united","states","america","flag","nation","country","banner"],sheet:[4,43],shortNames:["flag-us"],shortName:"us"},{name:"Snowboarder",unified:"1F3C2",keywords:["sports","winter"],sheet:[8,40],skinVariations:[{unified:"1F3C2-1F3FB",sheet:[8,41]},{unified:"1F3C2-1F3FC",sheet:[8,42]},{unified:"1F3C2-1F3FD",sheet:[8,43]},{unified:"1F3C2-1F3FE",sheet:[8,44]},{unified:"1F3C2-1F3FF",sheet:[8,45]}],shortName:"snowboarder"},{name:"Uruguay Flag",unified:"1F1FA-1F1FE",sheet:[4,44],shortName:"flag-uy"},{name:"Golfer",unified:"1F3CC-FE0F",sheet:[10,26],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB",sheet:[10,27],hidden:["facebook"]},{unified:"1F3CC-1F3FC",sheet:[10,28],hidden:["facebook"]},{unified:"1F3CC-1F3FD",sheet:[10,29],hidden:["facebook"]},{unified:"1F3CC-1F3FE",sheet:[10,30],hidden:["facebook"]},{unified:"1F3CC-1F3FF",sheet:[10,31],hidden:["facebook"]}],shortName:"golfer",obsoletedBy:"1F3CC-FE0F-200D-2642-FE0F"},{name:"Uzbekistan Flag",unified:"1F1FA-1F1FF",sheet:[4,45],shortName:"flag-uz"},{name:"Man Golfing",unified:"1F3CC-FE0F-200D-2642-FE0F",obsoletes:"1F3CC-FE0F",sheet:[10,20],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2642-FE0F",sheet:[10,21]},{unified:"1F3CC-1F3FC-200D-2642-FE0F",sheet:[10,22]},{unified:"1F3CC-1F3FD-200D-2642-FE0F",sheet:[10,23]},{unified:"1F3CC-1F3FE-200D-2642-FE0F",sheet:[10,24]},{unified:"1F3CC-1F3FF-200D-2642-FE0F",sheet:[10,25]}],shortName:"man-golfing"},{name:"Vatican City Flag",unified:"1F1FB-1F1E6",sheet:[4,46],shortName:"flag-va"},{name:"Woman Golfing",unified:"1F3CC-FE0F-200D-2640-FE0F",sheet:[10,14],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2640-FE0F",sheet:[10,15]},{unified:"1F3CC-1F3FC-200D-2640-FE0F",sheet:[10,16]},{unified:"1F3CC-1F3FD-200D-2640-FE0F",sheet:[10,17]},{unified:"1F3CC-1F3FE-200D-2640-FE0F",sheet:[10,18]},{unified:"1F3CC-1F3FF-200D-2640-FE0F",sheet:[10,19]}],shortName:"woman-golfing"},{name:"St. Vincent & Grenadines Flag",unified:"1F1FB-1F1E8",sheet:[4,47],shortName:"flag-vc"},{name:"Surfer",unified:"1F3C4",sheet:[9,19],hidden:["facebook"],skinVariations:[{unified:"1F3C4-1F3FB",sheet:[9,20],hidden:["facebook"]},{unified:"1F3C4-1F3FC",sheet:[9,21],hidden:["facebook"]},{unified:"1F3C4-1F3FD",sheet:[9,22],hidden:["facebook"]},{unified:"1F3C4-1F3FE",sheet:[9,23],hidden:["facebook"]},{unified:"1F3C4-1F3FF",sheet:[9,24],hidden:["facebook"]}],shortName:"surfer",obsoletedBy:"1F3C4-200D-2642-FE0F"},{name:"Venezuela Flag",unified:"1F1FB-1F1EA",sheet:[4,48],shortName:"flag-ve"},{name:"Man Surfing",unified:"1F3C4-200D-2642-FE0F",obsoletes:"1F3C4",sheet:[9,13],skinVariations:[{unified:"1F3C4-1F3FB-200D-2642-FE0F",sheet:[9,14]},{unified:"1F3C4-1F3FC-200D-2642-FE0F",sheet:[9,15]},{unified:"1F3C4-1F3FD-200D-2642-FE0F",sheet:[9,16]},{unified:"1F3C4-1F3FE-200D-2642-FE0F",sheet:[9,17]},{unified:"1F3C4-1F3FF-200D-2642-FE0F",sheet:[9,18]}],shortName:"man-surfing"},{name:"British Virgin Islands Flag",unified:"1F1FB-1F1EC",sheet:[4,49],shortName:"flag-vg"},{name:"Woman Surfing",unified:"1F3C4-200D-2640-FE0F",sheet:[9,7],skinVariations:[{unified:"1F3C4-1F3FB-200D-2640-FE0F",sheet:[9,8]},{unified:"1F3C4-1F3FC-200D-2640-FE0F",sheet:[9,9]},{unified:"1F3C4-1F3FD-200D-2640-FE0F",sheet:[9,10]},{unified:"1F3C4-1F3FE-200D-2640-FE0F",sheet:[9,11]},{unified:"1F3C4-1F3FF-200D-2640-FE0F",sheet:[9,12]}],shortName:"woman-surfing"},{name:"U.s. Virgin Islands Flag",unified:"1F1FB-1F1EE",sheet:[4,50],shortName:"flag-vi"},{name:"Rowboat",unified:"1F6A3",sheet:[34,46],hidden:["facebook"],skinVariations:[{unified:"1F6A3-1F3FB",sheet:[34,47],hidden:["facebook"]},{unified:"1F6A3-1F3FC",sheet:[34,48],hidden:["facebook"]},{unified:"1F6A3-1F3FD",sheet:[34,49],hidden:["facebook"]},{unified:"1F6A3-1F3FE",sheet:[34,50],hidden:["facebook"]},{unified:"1F6A3-1F3FF",sheet:[34,51],hidden:["facebook"]}],shortName:"rowboat",obsoletedBy:"1F6A3-200D-2642-FE0F"},{name:"Vietnam Flag",unified:"1F1FB-1F1F3",sheet:[4,51],shortName:"flag-vn"},{name:"Man Rowing Boat",unified:"1F6A3-200D-2642-FE0F",obsoletes:"1F6A3",sheet:[34,40],skinVariations:[{unified:"1F6A3-1F3FB-200D-2642-FE0F",sheet:[34,41]},{unified:"1F6A3-1F3FC-200D-2642-FE0F",sheet:[34,42]},{unified:"1F6A3-1F3FD-200D-2642-FE0F",sheet:[34,43]},{unified:"1F6A3-1F3FE-200D-2642-FE0F",sheet:[34,44]},{unified:"1F6A3-1F3FF-200D-2642-FE0F",sheet:[34,45]}],shortName:"man-rowing-boat"},{name:"Vanuatu Flag",unified:"1F1FB-1F1FA",sheet:[4,52],shortName:"flag-vu"},{name:"Woman Rowing Boat",unified:"1F6A3-200D-2640-FE0F",sheet:[34,34],skinVariations:[{unified:"1F6A3-1F3FB-200D-2640-FE0F",sheet:[34,35]},{unified:"1F6A3-1F3FC-200D-2640-FE0F",sheet:[34,36]},{unified:"1F6A3-1F3FD-200D-2640-FE0F",sheet:[34,37]},{unified:"1F6A3-1F3FE-200D-2640-FE0F",sheet:[34,38]},{unified:"1F6A3-1F3FF-200D-2640-FE0F",sheet:[34,39]}],shortName:"woman-rowing-boat"},{name:"Wallis & Futuna Flag",unified:"1F1FC-1F1EB",sheet:[4,53],shortName:"flag-wf"},{name:"Swimmer",unified:"1F3CA",sheet:[9,47],hidden:["facebook"],skinVariations:[{unified:"1F3CA-1F3FB",sheet:[9,48],hidden:["facebook"]},{unified:"1F3CA-1F3FC",sheet:[9,49],hidden:["facebook"]},{unified:"1F3CA-1F3FD",sheet:[9,50],hidden:["facebook"]},{unified:"1F3CA-1F3FE",sheet:[9,51],hidden:["facebook"]},{unified:"1F3CA-1F3FF",sheet:[9,52],hidden:["facebook"]}],shortName:"swimmer",obsoletedBy:"1F3CA-200D-2642-FE0F"},{name:"Samoa Flag",unified:"1F1FC-1F1F8",sheet:[4,54],shortName:"flag-ws"},{name:"Man Swimming",unified:"1F3CA-200D-2642-FE0F",obsoletes:"1F3CA",sheet:[9,41],skinVariations:[{unified:"1F3CA-1F3FB-200D-2642-FE0F",sheet:[9,42]},{unified:"1F3CA-1F3FC-200D-2642-FE0F",sheet:[9,43]},{unified:"1F3CA-1F3FD-200D-2642-FE0F",sheet:[9,44]},{unified:"1F3CA-1F3FE-200D-2642-FE0F",sheet:[9,45]},{unified:"1F3CA-1F3FF-200D-2642-FE0F",sheet:[9,46]}],shortName:"man-swimming"},{name:"Kosovo Flag",unified:"1F1FD-1F1F0",sheet:[4,55],shortName:"flag-xk"},{name:"Woman Swimming",unified:"1F3CA-200D-2640-FE0F",sheet:[9,35],skinVariations:[{unified:"1F3CA-1F3FB-200D-2640-FE0F",sheet:[9,36]},{unified:"1F3CA-1F3FC-200D-2640-FE0F",sheet:[9,37]},{unified:"1F3CA-1F3FD-200D-2640-FE0F",sheet:[9,38]},{unified:"1F3CA-1F3FE-200D-2640-FE0F",sheet:[9,39]},{unified:"1F3CA-1F3FF-200D-2640-FE0F",sheet:[9,40]}],shortName:"woman-swimming"},{name:"Yemen Flag",unified:"1F1FE-1F1EA",sheet:[4,56],shortName:"flag-ye"},{name:"Person with Ball",unified:"26F9-FE0F",sheet:[54,31],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB",sheet:[54,32],hidden:["facebook"]},{unified:"26F9-1F3FC",sheet:[54,33],hidden:["facebook"]},{unified:"26F9-1F3FD",sheet:[54,34],hidden:["facebook"]},{unified:"26F9-1F3FE",sheet:[54,35],hidden:["facebook"]},{unified:"26F9-1F3FF",sheet:[54,36],hidden:["facebook"]}],shortName:"person_with_ball",obsoletedBy:"26F9-FE0F-200D-2642-FE0F"},{name:"Mayotte Flag",unified:"1F1FE-1F1F9",sheet:[5,0],shortName:"flag-yt"},{name:"Man Bouncing Ball",unified:"26F9-FE0F-200D-2642-FE0F",obsoletes:"26F9-FE0F",sheet:[54,25],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2642-FE0F",sheet:[54,26]},{unified:"26F9-1F3FC-200D-2642-FE0F",sheet:[54,27]},{unified:"26F9-1F3FD-200D-2642-FE0F",sheet:[54,28]},{unified:"26F9-1F3FE-200D-2642-FE0F",sheet:[54,29]},{unified:"26F9-1F3FF-200D-2642-FE0F",sheet:[54,30]}],shortName:"man-bouncing-ball"},{name:"South Africa Flag",unified:"1F1FF-1F1E6",sheet:[5,1],shortName:"flag-za"},{name:"Woman Bouncing Ball",unified:"26F9-FE0F-200D-2640-FE0F",sheet:[54,19],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2640-FE0F",sheet:[54,20]},{unified:"26F9-1F3FC-200D-2640-FE0F",sheet:[54,21]},{unified:"26F9-1F3FD-200D-2640-FE0F",sheet:[54,22]},{unified:"26F9-1F3FE-200D-2640-FE0F",sheet:[54,23]},{unified:"26F9-1F3FF-200D-2640-FE0F",sheet:[54,24]}],shortName:"woman-bouncing-ball"},{name:"Zambia Flag",unified:"1F1FF-1F1F2",sheet:[5,2],shortName:"flag-zm"},{name:"Weight Lifter",unified:"1F3CB-FE0F",sheet:[10,8],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB",sheet:[10,9],hidden:["facebook"]},{unified:"1F3CB-1F3FC",sheet:[10,10],hidden:["facebook"]},{unified:"1F3CB-1F3FD",sheet:[10,11],hidden:["facebook"]},{unified:"1F3CB-1F3FE",sheet:[10,12],hidden:["facebook"]},{unified:"1F3CB-1F3FF",sheet:[10,13],hidden:["facebook"]}],shortName:"weight_lifter",obsoletedBy:"1F3CB-FE0F-200D-2642-FE0F"},{name:"Zimbabwe Flag",unified:"1F1FF-1F1FC",sheet:[5,3],shortName:"flag-zw"},{name:"Man Lifting Weights",unified:"1F3CB-FE0F-200D-2642-FE0F",obsoletes:"1F3CB-FE0F",sheet:[10,2],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2642-FE0F",sheet:[10,3]},{unified:"1F3CB-1F3FC-200D-2642-FE0F",sheet:[10,4]},{unified:"1F3CB-1F3FD-200D-2642-FE0F",sheet:[10,5]},{unified:"1F3CB-1F3FE-200D-2642-FE0F",sheet:[10,6]},{unified:"1F3CB-1F3FF-200D-2642-FE0F",sheet:[10,7]}],shortName:"man-lifting-weights"},{name:"Woman Lifting Weights",unified:"1F3CB-FE0F-200D-2640-FE0F",sheet:[9,53],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2640-FE0F",sheet:[9,54]},{unified:"1F3CB-1F3FC-200D-2640-FE0F",sheet:[9,55]},{unified:"1F3CB-1F3FD-200D-2640-FE0F",sheet:[9,56]},{unified:"1F3CB-1F3FE-200D-2640-FE0F",sheet:[10,0]},{unified:"1F3CB-1F3FF-200D-2640-FE0F",sheet:[10,1]}],shortName:"woman-lifting-weights"},{name:"England Flag",unified:"1F3F4-E0067-E0062-E0065-E006E-E0067-E007F",sheet:[11,14],shortName:"flag-england"},{name:"Scotland Flag",unified:"1F3F4-E0067-E0062-E0073-E0063-E0074-E007F",sheet:[11,15],shortName:"flag-scotland"},{name:"Bicyclist",unified:"1F6B4",sheet:[35,23],hidden:["facebook"],skinVariations:[{unified:"1F6B4-1F3FB",sheet:[35,24],hidden:["facebook"]},{unified:"1F6B4-1F3FC",sheet:[35,25],hidden:["facebook"]},{unified:"1F6B4-1F3FD",sheet:[35,26],hidden:["facebook"]},{unified:"1F6B4-1F3FE",sheet:[35,27],hidden:["facebook"]},{unified:"1F6B4-1F3FF",sheet:[35,28],hidden:["facebook"]}],shortName:"bicyclist",obsoletedBy:"1F6B4-200D-2642-FE0F"},{name:"Wales Flag",unified:"1F3F4-E0067-E0062-E0077-E006C-E0073-E007F",sheet:[11,16],shortName:"flag-wales"},{name:"Man Biking",unified:"1F6B4-200D-2642-FE0F",obsoletes:"1F6B4",sheet:[35,17],skinVariations:[{unified:"1F6B4-1F3FB-200D-2642-FE0F",sheet:[35,18]},{unified:"1F6B4-1F3FC-200D-2642-FE0F",sheet:[35,19]},{unified:"1F6B4-1F3FD-200D-2642-FE0F",sheet:[35,20]},{unified:"1F6B4-1F3FE-200D-2642-FE0F",sheet:[35,21]},{unified:"1F6B4-1F3FF-200D-2642-FE0F",sheet:[35,22]}],shortName:"man-biking"},{name:"Woman Biking",unified:"1F6B4-200D-2640-FE0F",sheet:[35,11],skinVariations:[{unified:"1F6B4-1F3FB-200D-2640-FE0F",sheet:[35,12]},{unified:"1F6B4-1F3FC-200D-2640-FE0F",sheet:[35,13]},{unified:"1F6B4-1F3FD-200D-2640-FE0F",sheet:[35,14]},{unified:"1F6B4-1F3FE-200D-2640-FE0F",sheet:[35,15]},{unified:"1F6B4-1F3FF-200D-2640-FE0F",sheet:[35,16]}],shortName:"woman-biking"},{name:"Mountain Bicyclist",unified:"1F6B5",sheet:[35,41],hidden:["facebook"],skinVariations:[{unified:"1F6B5-1F3FB",sheet:[35,42],hidden:["facebook"]},{unified:"1F6B5-1F3FC",sheet:[35,43],hidden:["facebook"]},{unified:"1F6B5-1F3FD",sheet:[35,44],hidden:["facebook"]},{unified:"1F6B5-1F3FE",sheet:[35,45],hidden:["facebook"]},{unified:"1F6B5-1F3FF",sheet:[35,46],hidden:["facebook"]}],shortName:"mountain_bicyclist",obsoletedBy:"1F6B5-200D-2642-FE0F"},{name:"Man Mountain Biking",unified:"1F6B5-200D-2642-FE0F",obsoletes:"1F6B5",sheet:[35,35],skinVariations:[{unified:"1F6B5-1F3FB-200D-2642-FE0F",sheet:[35,36]},{unified:"1F6B5-1F3FC-200D-2642-FE0F",sheet:[35,37]},{unified:"1F6B5-1F3FD-200D-2642-FE0F",sheet:[35,38]},{unified:"1F6B5-1F3FE-200D-2642-FE0F",sheet:[35,39]},{unified:"1F6B5-1F3FF-200D-2642-FE0F",sheet:[35,40]}],shortName:"man-mountain-biking"},{name:"Woman Mountain Biking",unified:"1F6B5-200D-2640-FE0F",sheet:[35,29],skinVariations:[{unified:"1F6B5-1F3FB-200D-2640-FE0F",sheet:[35,30]},{unified:"1F6B5-1F3FC-200D-2640-FE0F",sheet:[35,31]},{unified:"1F6B5-1F3FD-200D-2640-FE0F",sheet:[35,32]},{unified:"1F6B5-1F3FE-200D-2640-FE0F",sheet:[35,33]},{unified:"1F6B5-1F3FF-200D-2640-FE0F",sheet:[35,34]}],shortName:"woman-mountain-biking"},{name:"Person Doing Cartwheel",unified:"1F938",sheet:[40,8],hidden:["facebook"],skinVariations:[{unified:"1F938-1F3FB",sheet:[40,9],hidden:["facebook"]},{unified:"1F938-1F3FC",sheet:[40,10],hidden:["facebook"]},{unified:"1F938-1F3FD",sheet:[40,11],hidden:["facebook"]},{unified:"1F938-1F3FE",sheet:[40,12],hidden:["facebook"]},{unified:"1F938-1F3FF",sheet:[40,13],hidden:["facebook"]}],shortName:"person_doing_cartwheel"},{name:"Man Cartwheeling",unified:"1F938-200D-2642-FE0F",sheet:[40,2],skinVariations:[{unified:"1F938-1F3FB-200D-2642-FE0F",sheet:[40,3]},{unified:"1F938-1F3FC-200D-2642-FE0F",sheet:[40,4]},{unified:"1F938-1F3FD-200D-2642-FE0F",sheet:[40,5]},{unified:"1F938-1F3FE-200D-2642-FE0F",sheet:[40,6]},{unified:"1F938-1F3FF-200D-2642-FE0F",sheet:[40,7]}],shortName:"man-cartwheeling"},{name:"Woman Cartwheeling",unified:"1F938-200D-2640-FE0F",sheet:[39,53],skinVariations:[{unified:"1F938-1F3FB-200D-2640-FE0F",sheet:[39,54]},{unified:"1F938-1F3FC-200D-2640-FE0F",sheet:[39,55]},{unified:"1F938-1F3FD-200D-2640-FE0F",sheet:[39,56]},{unified:"1F938-1F3FE-200D-2640-FE0F",sheet:[40,0]},{unified:"1F938-1F3FF-200D-2640-FE0F",sheet:[40,1]}],shortName:"woman-cartwheeling"},{name:"Wrestlers",unified:"1F93C",sheet:[40,35],shortName:"wrestlers"},{name:"Man Wrestling",unified:"1F93C-200D-2642-FE0F",sheet:[40,34],shortName:"man-wrestling"},{name:"Woman Wrestling",unified:"1F93C-200D-2640-FE0F",sheet:[40,33],shortName:"woman-wrestling"},{name:"Water Polo",unified:"1F93D",sheet:[40,48],hidden:["facebook"],skinVariations:[{unified:"1F93D-1F3FB",sheet:[40,49],hidden:["facebook"]},{unified:"1F93D-1F3FC",sheet:[40,50],hidden:["facebook"]},{unified:"1F93D-1F3FD",sheet:[40,51],hidden:["facebook"]},{unified:"1F93D-1F3FE",sheet:[40,52],hidden:["facebook"]},{unified:"1F93D-1F3FF",sheet:[40,53],hidden:["facebook"]}],shortName:"water_polo"},{name:"Man Playing Water Polo",unified:"1F93D-200D-2642-FE0F",sheet:[40,42],skinVariations:[{unified:"1F93D-1F3FB-200D-2642-FE0F",sheet:[40,43]},{unified:"1F93D-1F3FC-200D-2642-FE0F",sheet:[40,44]},{unified:"1F93D-1F3FD-200D-2642-FE0F",sheet:[40,45]},{unified:"1F93D-1F3FE-200D-2642-FE0F",sheet:[40,46]},{unified:"1F93D-1F3FF-200D-2642-FE0F",sheet:[40,47]}],shortName:"man-playing-water-polo"},{name:"Woman Playing Water Polo",unified:"1F93D-200D-2640-FE0F",sheet:[40,36],skinVariations:[{unified:"1F93D-1F3FB-200D-2640-FE0F",sheet:[40,37]},{unified:"1F93D-1F3FC-200D-2640-FE0F",sheet:[40,38]},{unified:"1F93D-1F3FD-200D-2640-FE0F",sheet:[40,39]},{unified:"1F93D-1F3FE-200D-2640-FE0F",sheet:[40,40]},{unified:"1F93D-1F3FF-200D-2640-FE0F",sheet:[40,41]}],shortName:"woman-playing-water-polo"},{name:"Handball",unified:"1F93E",sheet:[41,9],hidden:["facebook"],skinVariations:[{unified:"1F93E-1F3FB",sheet:[41,10],hidden:["facebook"]},{unified:"1F93E-1F3FC",sheet:[41,11],hidden:["facebook"]},{unified:"1F93E-1F3FD",sheet:[41,12],hidden:["facebook"]},{unified:"1F93E-1F3FE",sheet:[41,13],hidden:["facebook"]},{unified:"1F93E-1F3FF",sheet:[41,14],hidden:["facebook"]}],shortName:"handball"},{name:"Man Playing Handball",unified:"1F93E-200D-2642-FE0F",sheet:[41,3],skinVariations:[{unified:"1F93E-1F3FB-200D-2642-FE0F",sheet:[41,4]},{unified:"1F93E-1F3FC-200D-2642-FE0F",sheet:[41,5]},{unified:"1F93E-1F3FD-200D-2642-FE0F",sheet:[41,6]},{unified:"1F93E-1F3FE-200D-2642-FE0F",sheet:[41,7]},{unified:"1F93E-1F3FF-200D-2642-FE0F",sheet:[41,8]}],shortName:"man-playing-handball"},{name:"Woman Playing Handball",unified:"1F93E-200D-2640-FE0F",sheet:[40,54],skinVariations:[{unified:"1F93E-1F3FB-200D-2640-FE0F",sheet:[40,55]},{unified:"1F93E-1F3FC-200D-2640-FE0F",sheet:[40,56]},{unified:"1F93E-1F3FD-200D-2640-FE0F",sheet:[41,0]},{unified:"1F93E-1F3FE-200D-2640-FE0F",sheet:[41,1]},{unified:"1F93E-1F3FF-200D-2640-FE0F",sheet:[41,2]}],shortName:"woman-playing-handball"},{name:"Juggling",unified:"1F939",sheet:[40,26],skinVariations:[{unified:"1F939-1F3FB",sheet:[40,27]},{unified:"1F939-1F3FC",sheet:[40,28]},{unified:"1F939-1F3FD",sheet:[40,29]},{unified:"1F939-1F3FE",sheet:[40,30]},{unified:"1F939-1F3FF",sheet:[40,31]}],shortName:"juggling"},{name:"Man Juggling",unified:"1F939-200D-2642-FE0F",sheet:[40,20],skinVariations:[{unified:"1F939-1F3FB-200D-2642-FE0F",sheet:[40,21]},{unified:"1F939-1F3FC-200D-2642-FE0F",sheet:[40,22]},{unified:"1F939-1F3FD-200D-2642-FE0F",sheet:[40,23]},{unified:"1F939-1F3FE-200D-2642-FE0F",sheet:[40,24]},{unified:"1F939-1F3FF-200D-2642-FE0F",sheet:[40,25]}],shortName:"man-juggling"},{name:"Woman Juggling",unified:"1F939-200D-2640-FE0F",sheet:[40,14],skinVariations:[{unified:"1F939-1F3FB-200D-2640-FE0F",sheet:[40,15]},{unified:"1F939-1F3FC-200D-2640-FE0F",sheet:[40,16]},{unified:"1F939-1F3FD-200D-2640-FE0F",sheet:[40,17]},{unified:"1F939-1F3FE-200D-2640-FE0F",sheet:[40,18]},{unified:"1F939-1F3FF-200D-2640-FE0F",sheet:[40,19]}],shortName:"woman-juggling"},{name:"Person in Lotus Position",unified:"1F9D8",sheet:[49,31],skinVariations:[{unified:"1F9D8-1F3FB",sheet:[49,32]},{unified:"1F9D8-1F3FC",sheet:[49,33]},{unified:"1F9D8-1F3FD",sheet:[49,34]},{unified:"1F9D8-1F3FE",sheet:[49,35]},{unified:"1F9D8-1F3FF",sheet:[49,36]}],shortName:"person_in_lotus_position",obsoletedBy:"1F9D8-200D-2640-FE0F"},{name:"Man in Lotus Position",unified:"1F9D8-200D-2642-FE0F",keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],sheet:[49,25],skinVariations:[{unified:"1F9D8-1F3FB-200D-2642-FE0F",sheet:[49,26]},{unified:"1F9D8-1F3FC-200D-2642-FE0F",sheet:[49,27]},{unified:"1F9D8-1F3FD-200D-2642-FE0F",sheet:[49,28]},{unified:"1F9D8-1F3FE-200D-2642-FE0F",sheet:[49,29]},{unified:"1F9D8-1F3FF-200D-2642-FE0F",sheet:[49,30]}],shortName:"man_in_lotus_position"},{name:"Woman in Lotus Position",unified:"1F9D8-200D-2640-FE0F",obsoletes:"1F9D8",keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],sheet:[49,19],skinVariations:[{unified:"1F9D8-1F3FB-200D-2640-FE0F",sheet:[49,20]},{unified:"1F9D8-1F3FC-200D-2640-FE0F",sheet:[49,21]},{unified:"1F9D8-1F3FD-200D-2640-FE0F",sheet:[49,22]},{unified:"1F9D8-1F3FE-200D-2640-FE0F",sheet:[49,23]},{unified:"1F9D8-1F3FF-200D-2640-FE0F",sheet:[49,24]}],shortName:"woman_in_lotus_position"},{name:"Bath",unified:"1F6C0",keywords:["clean","shower","bathroom"],sheet:[36,17],skinVariations:[{unified:"1F6C0-1F3FB",sheet:[36,18]},{unified:"1F6C0-1F3FC",sheet:[36,19]},{unified:"1F6C0-1F3FD",sheet:[36,20]},{unified:"1F6C0-1F3FE",sheet:[36,21]},{unified:"1F6C0-1F3FF",sheet:[36,22]}],shortName:"bath"},{name:"Sleeping Accommodation",unified:"1F6CC",sheet:[36,29],skinVariations:[{unified:"1F6CC-1F3FB",sheet:[36,30]},{unified:"1F6CC-1F3FC",sheet:[36,31]},{unified:"1F6CC-1F3FD",sheet:[36,32]},{unified:"1F6CC-1F3FE",sheet:[36,33]},{unified:"1F6CC-1F3FF",sheet:[36,34]}],shortName:"sleeping_accommodation"},{name:"People Holding Hands",unified:"1F9D1-200D-1F91D-200D-1F9D1",sheet:[46,38],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FB",sheet:[46,39]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FC",sheet:[46,40],hidden:["google","facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FD",sheet:[46,41],hidden:["google","facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FE",sheet:[46,42],hidden:["google","facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FF",sheet:[46,43],hidden:["google","facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FB",sheet:[46,44]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FC",sheet:[46,45]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FD",sheet:[46,46],hidden:["google","facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FE",sheet:[46,47],hidden:["google","facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FF",sheet:[46,48],hidden:["google","facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FB",sheet:[46,49]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FC",sheet:[46,50]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FD",sheet:[46,51]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FE",sheet:[46,52],hidden:["google","facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FF",sheet:[46,53],hidden:["google","facebook"]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FB",sheet:[46,54]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FC",sheet:[46,55]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FD",sheet:[46,56]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,0]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,1],hidden:["google","facebook"]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,2]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,3]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,4]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,5]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,6]}],shortName:"people_holding_hands"},{name:"Two Women Holding Hands",unified:"1F46D",keywords:["pair","friendship","couple","love","like","female","people","human"],sheet:[21,11],skinVariations:[{unified:"1F46D-1F3FB",sheet:[21,12]},{unified:"1F46D-1F3FC",sheet:[21,13]},{unified:"1F46D-1F3FD",sheet:[21,14]},{unified:"1F46D-1F3FE",sheet:[21,15]},{unified:"1F46D-1F3FF",sheet:[21,16]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FC",sheet:[21,17],hidden:["google","facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FD",sheet:[21,18],hidden:["google","facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FE",sheet:[21,19],hidden:["google","facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FF",sheet:[21,20],hidden:["google","facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FB",sheet:[21,21]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FD",sheet:[21,22],hidden:["google","facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FE",sheet:[21,23],hidden:["google","facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FF",sheet:[21,24],hidden:["google","facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FB",sheet:[21,25]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FC",sheet:[21,26]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FE",sheet:[21,27],hidden:["google","facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FF",sheet:[21,28],hidden:["google","facebook"]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FB",sheet:[21,29]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FC",sheet:[21,30]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FD",sheet:[21,31]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FF",sheet:[21,32],hidden:["google","facebook"]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FB",sheet:[21,33]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FC",sheet:[21,34]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FD",sheet:[21,35]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FE",sheet:[21,36]}],shortNames:["women_holding_hands"],shortName:"two_women_holding_hands"},{name:"Man and Woman Holding Hands",unified:"1F46B",keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],sheet:[20,16],skinVariations:[{unified:"1F46B-1F3FB",sheet:[20,17]},{unified:"1F46B-1F3FC",sheet:[20,18]},{unified:"1F46B-1F3FD",sheet:[20,19]},{unified:"1F46B-1F3FE",sheet:[20,20]},{unified:"1F46B-1F3FF",sheet:[20,21]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[20,22]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[20,23]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[20,24]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[20,25]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[20,26]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[20,27]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[20,28]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[20,29]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[20,30]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[20,31]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[20,32]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[20,33]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[20,34]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[20,35]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[20,36]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[20,37]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[20,38]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[20,39]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[20,40]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[20,41]}],shortNames:["man_and_woman_holding_hands","woman_and_man_holding_hands"],shortName:"couple"},{name:"Two Men Holding Hands",unified:"1F46C",keywords:["pair","couple","love","like","bromance","friendship","people","human"],sheet:[20,42],skinVariations:[{unified:"1F46C-1F3FB",sheet:[20,43]},{unified:"1F46C-1F3FC",sheet:[20,44]},{unified:"1F46C-1F3FD",sheet:[20,45]},{unified:"1F46C-1F3FE",sheet:[20,46]},{unified:"1F46C-1F3FF",sheet:[20,47]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[20,48],hidden:["google","facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[20,49],hidden:["google","facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[20,50],hidden:["google","facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[20,51],hidden:["google","facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[20,52]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[20,53],hidden:["google","facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[20,54],hidden:["google","facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[20,55],hidden:["google","facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[20,56]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[21,0]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[21,1],hidden:["google","facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[21,2],hidden:["google","facebook"]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[21,3]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[21,4]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[21,5]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[21,6],hidden:["google","facebook"]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[21,7]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[21,8]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[21,9]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[21,10]}],shortNames:["men_holding_hands"],shortName:"two_men_holding_hands"},{name:"Kiss",unified:"1F48F",sheet:[25,25],shortName:"couplekiss",obsoletedBy:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468"},{name:"Woman Kiss Man",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468",obsoletes:"1F48F",sheet:[20,7],shortName:"woman-kiss-man"},{name:"Man Kiss Man",unified:"1F468-200D-2764-FE0F-200D-1F48B-200D-1F468",sheet:[17,21],shortName:"man-kiss-man"},{name:"Woman Kiss Woman",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F469",sheet:[20,8],shortName:"woman-kiss-woman"},{name:"Couple with Heart",unified:"1F491",sheet:[25,27],shortName:"couple_with_heart",obsoletedBy:"1F469-200D-2764-FE0F-200D-1F468"},{name:"Woman Heart Man",unified:"1F469-200D-2764-FE0F-200D-1F468",obsoletes:"1F491",sheet:[20,5],shortName:"woman-heart-man"},{name:"Man Heart Man",unified:"1F468-200D-2764-FE0F-200D-1F468",sheet:[17,20],shortName:"man-heart-man"},{name:"Woman Heart Woman",unified:"1F469-200D-2764-FE0F-200D-1F469",sheet:[20,6],shortName:"woman-heart-woman"},{name:"Family",unified:"1F46A",sheet:[20,15],shortNames:["man-woman-boy"],shortName:"family",obsoletedBy:"1F468-200D-1F469-200D-1F466"},{name:"Man Woman Boy",unified:"1F468-200D-1F469-200D-1F466",obsoletes:"1F46A",sheet:[15,33],shortNames:["family"],shortName:"man-woman-boy"},{name:"Man Woman Girl",unified:"1F468-200D-1F469-200D-1F467",sheet:[15,35],shortName:"man-woman-girl"},{name:"Man Woman Girl Boy",unified:"1F468-200D-1F469-200D-1F467-200D-1F466",sheet:[15,36],shortName:"man-woman-girl-boy"},{name:"Man Woman Boy Boy",unified:"1F468-200D-1F469-200D-1F466-200D-1F466",sheet:[15,34],shortName:"man-woman-boy-boy"},{name:"Man Woman Girl Girl",unified:"1F468-200D-1F469-200D-1F467-200D-1F467",sheet:[15,37],shortName:"man-woman-girl-girl"},{name:"Man Man Boy",unified:"1F468-200D-1F468-200D-1F466",sheet:[15,28],shortName:"man-man-boy"},{name:"Man Man Girl",unified:"1F468-200D-1F468-200D-1F467",sheet:[15,30],shortName:"man-man-girl"},{name:"Man Man Girl Boy",unified:"1F468-200D-1F468-200D-1F467-200D-1F466",sheet:[15,31],shortName:"man-man-girl-boy"},{name:"Man Man Boy Boy",unified:"1F468-200D-1F468-200D-1F466-200D-1F466",sheet:[15,29],shortName:"man-man-boy-boy"},{name:"Man Man Girl Girl",unified:"1F468-200D-1F468-200D-1F467-200D-1F467",sheet:[15,32],shortName:"man-man-girl-girl"},{name:"Woman Woman Boy",unified:"1F469-200D-1F469-200D-1F466",sheet:[18,18],shortName:"woman-woman-boy"},{name:"Woman Woman Girl",unified:"1F469-200D-1F469-200D-1F467",sheet:[18,20],shortName:"woman-woman-girl"},{name:"Woman Woman Girl Boy",unified:"1F469-200D-1F469-200D-1F467-200D-1F466",sheet:[18,21],shortName:"woman-woman-girl-boy"},{name:"Woman Woman Boy Boy",unified:"1F469-200D-1F469-200D-1F466-200D-1F466",sheet:[18,19],shortName:"woman-woman-boy-boy"},{name:"Woman Woman Girl Girl",unified:"1F469-200D-1F469-200D-1F467-200D-1F467",sheet:[18,22],shortName:"woman-woman-girl-girl"},{name:"Man Boy",unified:"1F468-200D-1F466",sheet:[15,24],shortName:"man-boy"},{name:"Man Boy Boy",unified:"1F468-200D-1F466-200D-1F466",sheet:[15,23],shortName:"man-boy-boy"},{name:"Man Girl",unified:"1F468-200D-1F467",sheet:[15,27],shortName:"man-girl"},{name:"Man Girl Boy",unified:"1F468-200D-1F467-200D-1F466",sheet:[15,25],shortName:"man-girl-boy"},{name:"Man Girl Girl",unified:"1F468-200D-1F467-200D-1F467",sheet:[15,26],shortName:"man-girl-girl"},{name:"Woman Boy",unified:"1F469-200D-1F466",sheet:[18,14],shortName:"woman-boy"},{name:"Woman Boy Boy",unified:"1F469-200D-1F466-200D-1F466",sheet:[18,13],shortName:"woman-boy-boy"},{name:"Woman Girl",unified:"1F469-200D-1F467",sheet:[18,17],shortName:"woman-girl"},{name:"Woman Girl Boy",unified:"1F469-200D-1F467-200D-1F466",sheet:[18,15],shortName:"woman-girl-boy"},{name:"Woman Girl Girl",unified:"1F469-200D-1F467-200D-1F467",sheet:[18,16],shortName:"woman-girl-girl"},{name:"Speaking Head in Silhouette",unified:"1F5E3-FE0F",sheet:[30,25],shortName:"speaking_head_in_silhouette"},{name:"Bust in Silhouette",unified:"1F464",keywords:["user","person","human"],sheet:[14,24],shortName:"bust_in_silhouette"},{name:"Busts in Silhouette",unified:"1F465",keywords:["user","person","human","group","team"],sheet:[14,25],shortName:"busts_in_silhouette"},{name:"Footprints",unified:"1F463",keywords:["feet","tracking","walking","beach"],sheet:[14,23],shortName:"footprints"}],d=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,f=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"],p=(e,t)=>`https://unpkg.com/emoji-datasource-${e}@5.0.1/img/${e}/sheets-256/${t}.png`;let m=(()=>{class e{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(h),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(t=>{const i=Object.assign({},t);if(i.shortNames||(i.shortNames=[]),i.shortNames.unshift(i.shortName),i.id=i.shortName,i.native=this.unifiedToNative(i.unified),i.skinVariations||(i.skinVariations=[]),i.keywords||(i.keywords=[]),i.emoticons||(i.emoticons=[]),i.hidden||(i.hidden=[]),i.text||(i.text=""),i.obsoletes){const t=e.find(e=>e.unified===i.obsoletes);t&&(i.keywords=t.keywords?[...i.keywords,...t.keywords,t.shortName]:[...i.keywords,t.shortName])}this.names[i.unified]=i;for(const e of i.shortNames)this.names[e]=i;return i})}getData(e,t,i){let n;if("string"==typeof e){const i=e.match(d);if(i&&(e=i[1],i[2]&&(t=parseInt(i[2],10))),!this.names.hasOwnProperty(e))return null;n=this.names[e]}else e.id?n=this.names[e.id]:e.unified&&(n=this.names[e.unified.toUpperCase()]);if(n||(n=e,n.custom=!0),n.skinVariations&&n.skinVariations.length&&t&&t>1&&i){n=Object.assign({},n);const e=f[t-1],s=n.skinVariations.find(t=>t.unified.includes(e));s.hidden&&s.hidden.includes(i)||(n.skinTone=t,n=Object.assign(Object.assign({},n),s)),n.native=this.unifiedToNative(n.unified)}return n.set=i||"",n}unifiedToNative(e){const t=e.split("-").map(e=>parseInt(`0x${e}`,16));return String.fromCodePoint(...t)}emojiSpriteStyles(e,t="apple",i=24,n=64,s=57,r=p,o=57){return{width:`${i}px`,height:`${i}px`,display:"inline-block","background-image":`url(${r(t,n)})`,"background-size":`${100*o}% ${100*s}%`,"background-position":this.getSpritePosition(e,o)}}getSpritePosition(e,t){const[i,n]=e,s=100/(t-1);return`${s*i}% ${s*n}%`}sanitize(e){if(null===e)return null;let t=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(t+=`:skin-tone-${e.skinTone}:`),e.colons=t,Object.assign({},e)}getSanitizedData(e,t,i){return this.sanitize(this.getData(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),g=(()=>{class e{constructor(e){this.emojiService=e,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.SHEET_COLUMNS=57,this.emojiOver=new n.n,this.emojiLeave=new n.n,this.emojiClick=new n.n,this.title="",this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=p}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(e.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=Object.assign(Object.assign({},this.style),e.spriteUrl&&this.sheetRows&&this.sheetColumns?{backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"});else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.SHEET_COLUMNS);return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(e){const t=this.getSanitizedData();this.emojiClick.emit({emoji:t,$event:e})}handleOver(e){const t=this.getSanitizedData();this.emojiOver.emit({emoji:t,$event:e})}handleLeave(e){const t=this.getSanitizedData();this.emojiLeave.emit({emoji:t,$event:e})}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(m))},e.\u0275cmp=n.Pb({type:e,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",hideObsolete:"hideObsolete",SHEET_COLUMNS:"SHEET_COLUMNS",backgroundImageFn:"backgroundImageFn",fallback:"fallback",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[n.Fb()],ngContentSelectors:l,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"title","click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"title","click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(n.vc(l),n.Wc(0,o,4,8,"button",0),n.Wc(1,c,4,8,"span",1)),2&e&&(n.wc("ngIf",t.useButton&&t.isVisible),n.Hb(1),n.wc("ngIf",!t.useButton&&t.isVisible))},directives:[s.q,s.r],encapsulation:2,changeDetection:0}),e})(),_=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[s.c]]}),e})();var b=i("3Pt+");function y(e,t){if(1&e){const e=n.cc();n.bc(0,"span",3),n.jc("click",(function(t){n.Mc(e);const i=n.nc().index;return n.nc().handleClick(t,i)})),n.bc(1,"div"),n.mc(),n.bc(2,"svg",4),n.Wb(3,"path"),n.ac(),n.ac(),n.lc(),n.Wb(4,"span",5),n.ac()}if(2&e){const e=n.nc().$implicit,t=n.nc();n.Vc("color",e.name===t.selected?t.color:null),n.Mb("emoji-mart-anchor-selected",e.name===t.selected),n.Ib("title",t.i18n.categories[e.id]),n.Hb(3),n.Ib("d",t.icons[e.id]),n.Hb(1),n.Vc("background-color",t.color)}}function v(e,t){1&e&&n.Wc(0,y,5,8,"span",2),2&e&&n.wc("ngIf",!1!==t.$implicit.anchor)}i.d(t,"a",(function(){return K})),i.d(t,"b",(function(){return ee}));const F=["container"],k=["label"];function w(e,t){if(1&e){const e=n.cc();n.bc(0,"ngx-emoji",8),n.jc("emojiOver",(function(t){return n.Mc(e),n.nc(2).emojiOver.emit(t)}))("emojiLeave",(function(t){return n.Mc(e),n.nc(2).emojiLeave.emit(t)}))("emojiClick",(function(t){return n.Mc(e),n.nc(2).emojiClick.emit(t)})),n.ac()}if(2&e){const e=t.$implicit,i=n.nc(2);n.wc("emoji",e)("size",i.emojiSize)("skin",i.emojiSkin)("isNative",i.emojiIsNative)("set",i.emojiSet)("sheetSize",i.emojiSheetSize)("forceSize",i.emojiForceSize)("tooltip",i.emojiTooltip)("backgroundImageFn",i.emojiBackgroundImageFn)("hideObsolete",i.hideObsolete)}}function S(e,t){if(1&e&&n.Wc(0,w,1,10,"ngx-emoji",7),2&e){const e=n.nc();n.wc("ngForOf",e.emojis)("ngForTrackBy",e.trackById)}}function T(e,t){if(1&e&&(n.bc(0,"div"),n.bc(1,"div"),n.Wb(2,"ngx-emoji",9),n.ac(),n.bc(3,"div",10),n.Yc(4),n.ac(),n.ac()),2&e){const e=n.nc();n.Hb(2),n.wc("emoji",e.notFoundEmoji)("skin",e.emojiSkin)("isNative",e.emojiIsNative)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("forceSize",e.emojiForceSize)("tooltip",e.emojiTooltip)("backgroundImageFn",e.emojiBackgroundImageFn)("useButton",e.emojiUseButton),n.Hb(2),n.ad(" ",e.i18n.notfound," ")}}const D=["scrollRef"],E=["previewRef"],M=["searchRef"],C=["categoryRef"];function O(e,t){if(1&e){const e=n.cc();n.bc(0,"emoji-search",8,9),n.jc("searchResults",(function(t){return n.Mc(e),n.nc().handleSearch(t)}))("enterKey",(function(t){return n.Mc(e),n.nc().handleEnterKey(t)})),n.ac()}if(2&e){const e=n.nc();n.wc("i18n",e.i18n)("include",e.include)("exclude",e.exclude)("custom",e.custom)("autoFocus",e.autoFocus)("icons",e.searchIcons)("emojisToShowFilter",e.emojisToShowFilter)}}function x(e,t){if(1&e){const e=n.cc();n.bc(0,"emoji-category",10,11),n.jc("emojiOver",(function(t){return n.Mc(e),n.nc().handleEmojiOver(t)}))("emojiLeave",(function(t){return n.Mc(e),n.nc().handleEmojiLeave()}))("emojiClick",(function(t){return n.Mc(e),n.nc().handleEmojiClick(t)})),n.ac()}if(2&e){const e=t.$implicit,i=n.nc();n.wc("id",e.id)("name",e.name)("emojis",e.emojis)("perLine",i.perLine)("totalFrequentLines",i.totalFrequentLines)("hasStickyPosition",i.isNative)("i18n",i.i18n)("hideObsolete",i.hideObsolete)("notFoundEmoji",i.notFoundEmoji)("custom",e.id==i.RECENT_CATEGORY.id?i.CUSTOM_CATEGORY.emojis:void 0)("recent",e.id==i.RECENT_CATEGORY.id?i.recent:void 0)("emojiIsNative",i.isNative)("emojiSkin",i.skin)("emojiSize",i.emojiSize)("emojiSet",i.set)("emojiSheetSize",i.sheetSize)("emojiForceSize",i.isNative)("emojiTooltip",i.emojiTooltip)("emojiBackgroundImageFn",i.backgroundImageFn)("emojiUseButton",!1)}}function L(e,t){if(1&e){const e=n.cc();n.bc(0,"div",1),n.bc(1,"emoji-preview",12,13),n.jc("skinChange",(function(t){return n.Mc(e),n.nc().handleSkinChange(t)})),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(1),n.wc("title",e.title)("emoji",e.previewEmoji)("idleEmoji",e.emoji)("emojiIsNative",e.isNative)("emojiSize",38)("emojiSkin",e.skin)("emojiSet",e.set)("i18n",e.i18n)("emojiSheetSize",e.sheetSize)("emojiBackgroundImageFn",e.backgroundImageFn)}}function j(e,t){if(1&e&&(n.bc(0,"span",6),n.Yc(1),n.ac()),2&e){const e=t.$implicit;n.Hb(1),n.ad(" :",e,": ")}}function I(e,t){if(1&e&&(n.bc(0,"span",10),n.Yc(1),n.ac()),2&e){const e=t.$implicit;n.Hb(1),n.ad(" ",e," ")}}function A(e,t){if(1&e&&(n.bc(0,"div",1),n.bc(1,"div",2),n.Wb(2,"ngx-emoji",3),n.ac(),n.bc(3,"div",4),n.bc(4,"div",5),n.Yc(5),n.ac(),n.bc(6,"div",6),n.Wc(7,j,2,1,"span",7),n.ac(),n.bc(8,"div",8),n.Wc(9,I,2,1,"span",9),n.ac(),n.ac(),n.ac()),2&e){const e=n.nc();n.Hb(2),n.wc("emoji",e.emoji)("size",38)("isNative",e.emojiIsNative)("skin",e.emojiSkin)("size",e.emojiSize)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("backgroundImageFn",e.emojiBackgroundImageFn),n.Hb(3),n.Zc(e.emojiData.name),n.Hb(2),n.wc("ngForOf",e.emojiData.shortNames),n.Hb(2),n.wc("ngForOf",e.listedEmoticons)}}function N(e,t){if(1&e&&n.Wb(0,"ngx-emoji",15),2&e){const e=n.nc(2);n.wc("isNative",e.emojiIsNative)("skin",e.emojiSkin)("set",e.emojiSet)("emoji",e.idleEmoji)("backgroundImageFn",e.emojiBackgroundImageFn)("size",38)}}function R(e,t){if(1&e){const e=n.cc();n.bc(0,"div",1),n.bc(1,"div",2),n.Wc(2,N,1,6,"ngx-emoji",11),n.ac(),n.bc(3,"div",4),n.bc(4,"span",12),n.Yc(5),n.ac(),n.ac(),n.bc(6,"div",13),n.bc(7,"emoji-skins",14),n.jc("changeSkin",(function(t){return n.Mc(e),n.nc().skinChange.emit(t)})),n.ac(),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(2),n.wc("ngIf",e.idleEmoji&&e.idleEmoji.length),n.Hb(3),n.Zc(e.title),n.Hb(2),n.wc("skin",e.emojiSkin)("i18n",e.i18n)}}const P=["inputRef"];function B(e,t){if(1&e){const e=n.cc();n.bc(0,"span",2),n.bc(1,"span",3),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc().handleClick(s)}))("keyup.enter",(function(i){n.Mc(e);const s=t.$implicit;return n.nc().handleClick(s)}))("keyup.space",(function(i){n.Mc(e);const s=t.$implicit;return n.nc().handleClick(s)})),n.ac(),n.ac()}if(2&e){const e=t.$implicit,i=n.nc();n.Mb("selected",e===i.skin),n.Hb(1),n.Kb("emoji-mart-skin emoji-mart-skin-tone-",e,""),n.wc("tabIndex",i.tabIndex(e))("title",i.i18n.skintones[e]),n.Ib("aria-hidden",!i.isVisible(e))("aria-pressed",i.pressed(e))("aria-haspopup",!!i.isSelected(e))("aria-expanded",i.expanded(e))("aria-label",i.i18n.skintones[e])}}let Y=(()=>{class e{constructor(){this.categories=[],this.icons={},this.anchorClick=new n.n}trackByFn(e,t){return t.id}handleClick(e,t){this.anchorClick.emit({category:this.categories[t],index:t})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",icons:"icons",color:"color",selected:"selected",i18n:"i18n"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(e,t){1&e&&(n.bc(0,"div",0),n.Wc(1,v,1,1,"ng-template",1),n.ac()),2&e&&(n.Hb(1),n.wc("ngForOf",t.categories)("ngForTrackBy",t.trackByFn))},directives:[s.p,s.q],encapsulation:2,changeDetection:0}),e})(),H=(()=>{class e{constructor(){this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse(localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,localStorage.setItem(`${this.NAMESPACE}.last`,e.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently))}get(e,t){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const t=[];for(let i=0;i<e;i++)this.defaults[this.DEFAULTS[i]]=e-i,t.push(this.DEFAULTS[i]);return t}const i=e*t,n=Object.keys(this.frequently).sort((e,t)=>this.frequently[e]-this.frequently[t]).reverse().slice(0,i),s=localStorage.getItem(`${this.NAMESPACE}.last`);return s&&!n.includes(s)&&(n.pop(),n.push(s)),n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),V=(()=>{class e{constructor(e,t,i){this.ref=e,this.emojiService=t,this.frequently=i,this.hasStickyPosition=!0,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.emojiOver=new n.n,this.emojiLeave=new n.n,this.emojiClick=new n.n,this.containerStyles={},this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0}ngOnInit(){this.emojis=this.getEmojis(),this.emojis||(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:t,height:i}=this.container.nativeElement.getBoundingClientRect(),n=e.getBoundingClientRect().top,s=this.label.nativeElement.getBoundingClientRect().height;this.top=t-n+e.scrollTop,this.maxMargin=0===i?0:i-s}handleScroll(e){let t=e-this.top;return t=t<this.minMargin?this.minMargin:t,t=t>this.maxMargin?this.maxMargin:t,t!==this.margin&&(this.hasStickyPosition||(this.label.nativeElement.style.top=`${t}px`),this.margin=t,!0)}getEmojis(){if("Recent"===this.name){let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);if(e&&e.length||(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(e=>this.custom.filter(t=>t.id===e)[0]||e).filter(e=>!!this.emojiService.getData(e))),(!this.emojis||0===this.emojis.length)&&e.length>0)return null}return this.emojis&&(this.emojis=this.emojis.slice(0)),this.emojis}updateDisplay(e){this.containerStyles.display=e,this.getEmojis(),this.ref.detectChanges()}trackById(e,t){return t}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.h),n.Vb(m),n.Vb(H))},e.\u0275cmp=n.Pb({type:e,selectors:[["emoji-category"]],viewQuery:function(e,t){var i;1&e&&(n.Tc(F,!0),n.Tc(k,!0)),2&e&&(n.Ic(i=n.kc())&&(t.container=i.first),n.Ic(i=n.kc())&&(t.label=i.first))},inputs:{hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",hideObsolete:"hideObsolete",emojis:"emojis",i18n:"i18n",id:"id",notFoundEmoji:"notFoundEmoji",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},decls:8,vars:10,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[3,"ngIf"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","hideObsolete","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","hideObsolete","emojiOver","emojiLeave","emojiClick"],["size","38",3,"emoji","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(e,t){1&e&&(n.bc(0,"section",0,1),n.bc(2,"div",2),n.bc(3,"span",3,4),n.Yc(5),n.ac(),n.ac(),n.Wc(6,S,1,2,"ng-template",5),n.Wc(7,T,5,10,"div",6),n.ac()),2&e&&(n.Mb("emoji-mart-no-results",t.emojis&&!t.emojis.length),n.wc("ngStyle",t.containerStyles),n.Ib("aria-label",t.i18n.categories[t.id]),n.Hb(2),n.wc("ngStyle",t.labelStyles),n.Ib("data-name",t.name),n.Hb(1),n.wc("ngStyle",t.labelSpanStyles),n.Hb(2),n.ad(" ",t.i18n.categories[t.id]," "),n.Hb(1),n.wc("ngIf",t.emojis),n.Hb(1),n.wc("ngIf",t.emojis&&!t.emojis.length))},directives:[s.r,s.q,s.p,g],encapsulation:2,changeDetection:0}),e})();function U(e){return e.reduce((e,t)=>(e.includes(t)||e.push(t),e),[])}function W(e,t){const i=U(e),n=U(t);return i.filter(e=>n.indexOf(e)>=0)}let z=(()=>{class e{constructor(e){this.emojiService=e,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const t of this.emojiService.emojis){const{shortNames:e,emoticons:i}=t,n=e[0];i.forEach(e=>{this.emoticonsList[e]||(this.emoticonsList[e]=n)}),this.emojisList[n]=this.emojiService.getSanitizedData(n),this.originalPool[n]=t}}addCustomToPool(e,t){e.forEach(e=>{const i=e.id||e.shortNames[0];i&&!t[i]&&(t[i]=this.emojiService.getData(e),this.emojisList[i]=this.emojiService.getSanitizedData(e))})}search(e,t,i=75,n=[],s=[],r=[]){let o;this.addCustomToPool(r,this.originalPool);let a=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let t=e.toLowerCase().split(/[\s|,|\-|_]+/),i=[];if(t.length>2&&(t=[t[0],t[1]]),(n.length||s.length)&&(a={},u.forEach(e=>{var t;const i=!n||!n.length||n.indexOf(e.id)>-1,r=!(!s||!s.length)&&s.indexOf(e.id)>-1;i&&!r&&(null===(t=e.emojis)||void 0===t||t.forEach(e=>{var t;const i=this.emojiService.getData(e);a[null!==(t=null==i?void 0:i.id)&&void 0!==t?t:""]=i}))}),r.length)){const e=!n||!n.length||n.indexOf("custom")>-1,t=!(!s||!s.length)&&s.indexOf("custom")>-1;e&&!t&&this.addCustomToPool(r,a)}i=t.map(e=>{let t=a,i=this.index,n=0;for(let s=0;s<e.length;s++){const r=e[s];if(n++,i[r]||(i[r]={}),i=i[r],!i.results){const s={};i.results=[],i.pool={};for(const r of Object.keys(t)){const o=t[r];this.emojiSearch[r]||(this.emojiSearch[r]=this.buildSearch(o.short_names,o.name,o.id,o.keywords,o.emoticons));const a=this.emojiSearch[r],c=e.substr(0,n),l=a.indexOf(c);if(-1!==l){let e=l+1;c===r&&(e=0),i.results.push(this.emojisList[r]),i.pool[r]=o,s[r]=e}}i.results.sort((e,t)=>s[e.id]-s[t.id])}t=i.pool}return i.results}).filter(e=>e),o=i.length>1?W.apply(null,i):i.length?i[0]:[]}return o&&(t&&(o=o.filter(e=>!(!e||!e.id)&&t(this.emojiService.names[e.id]))),o&&o.length>i&&(o=o.slice(0,i))),o||null}buildSearch(e,t,i,n,s){const r=[],o=(e,t)=>{e&&(Array.isArray(e)?e:[e]).forEach(e=>{(t?e.split(/[-|_|\s]+/):[e]).forEach(e=>{e=e.toLowerCase(),r.includes(e)||r.push(e)})})};return o(e,!0),o(t,!0),o(i,!0),o(n,!0),o(s,!1),r.join(",")}}return e.\u0275fac=function(t){return new(t||e)(n.fc(m))},e.\u0275prov=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(m))},token:e,providedIn:"root"}),e})();const $={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},G={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},q={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let K=(()=>{class e{constructor(e,t){this.ref=e,this.frequently=t,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=$,this.searchIcons=G,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.emojiClick=new n.n,this.emojiSelect=new n.n,this.skinChange=new n.n,this.scrollHeight=0,this.clientHeight=0,this.firstRender=!0,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(e,t)=>`https://unpkg.com/emoji-datasource-${this.set}@5.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function(){if("undefined"==typeof document)return 0;const e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}(),this.i18n=Object.assign(Object.assign({},q),this.i18n),this.i18n.categories=Object.assign(Object.assign({},q.categories),this.i18n.categories),this.skin=JSON.parse(localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const e=[...u];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(e=>Object.assign(Object.assign({},e),{id:e.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((e,t)=>this.include.indexOf(e.id)>this.include.indexOf(t.id)?1:-1);for(const r of e){const e=!this.include||!this.include.length||this.include.indexOf(r.id)>-1,t=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(r.id)>-1;if(e&&!t){if(this.emojisToShowFilter){const e=[],{emojis:t}=r;for(let i=0;i<t.length;i++){const n=t[i];this.emojisToShowFilter(n)&&e.push(n)}e.length&&this.categories.push({emojis:e,name:r.name,id:r.id})}else this.categories.push(r);this.categoriesIcons=Object.assign(Object.assign({},$),this.categoriesIcons),this.searchIcons=Object.assign(Object.assign({},G),this.searchIcons)}}const t=!this.include||!this.include.length||this.include.indexOf(this.RECENT_CATEGORY.id)>-1,i=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;t&&!i&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(e=>e.first)[0].name;const n=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,n));const s=this.categories[n-1].emojis.slice();this.categories[n-1].emojis=s.slice(0,60),this.ref.markForCheck(),setTimeout(()=>{this.categories[n-1].emojis=s,this.setActiveCategories(this.categories),this.ref.markForCheck(),setTimeout(()=>this.updateCategoriesSize())})}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(e=>e.name===this.selected||e===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef.clear(),void this.handleAnchorClick(e);const t=this.categoryRefs.find(t=>t.id===e.category.id);if(t){let{top:i}=t;e.category.first?i=0:i+=1,this.scrollRef.nativeElement.scrollTop=i}this.selected=e.category.name,this.nextScroll=e.category.name}categoryTrack(e,t){return t.id}handleScroll(){if(this.nextScroll)return this.selected=this.nextScroll,void(this.nextScroll=void 0);if(!this.scrollRef)return;if(this.showSingleCategory)return;let e=null;if(this.SEARCH_CATEGORY.emojis)e=this.SEARCH_CATEGORY;else{const t=this.scrollRef.nativeElement;if(0===t.scrollTop)e=this.categories.find(e=>!0===e.first);else if(t.scrollHeight-t.scrollTop===this.clientHeight)e=this.categories[this.categories.length-1];else for(const i of this.categories)this.categoryRefs.find(e=>e.id===i.id).handleScroll(t.scrollTop)&&(e=i);this.scrollTop=t.scrollTop}e&&(this.selected=e.name)}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const t of this.categoryRefs.toArray())"Search"===t.name?(t.emojis=e,t.updateDisplay(e?"block":"none")):t.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,t){if(!t&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(t=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:e,emoji:t})}this.hideRecent||this.recent||!t||this.frequently.add(t);const i=this.categoryRefs.toArray()[1];i&&this.enableFrequentEmojiSort&&(i.getEmojis(),i.ref.markForCheck())}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const t=this.CUSTOM_CATEGORY.emojis.find(t=>t.id===e.emoji.id);t&&(e.emoji=Object.assign({},t)),this.previewEmoji=e.emoji,clearTimeout(this.leaveTimeout)}handleEmojiLeave(){this.showPreview&&this.previewRef&&(this.leaveTimeout=setTimeout(()=>{this.previewEmoji=null,this.previewRef.ref.markForCheck()},16))}handleEmojiClick(e){this.emojiClick.emit(e),this.emojiSelect.emit(e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(`${this.NAMESPACE}.skin`,String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.h),n.Vb(H))},e.\u0275cmp=n.Pb({type:e,selectors:[["emoji-mart"]],viewQuery:function(e,t){var i;1&e&&(n.Tc(D,!0),n.fd(E,!0),n.Tc(M,!0),n.fd(C,!0)),2&e&&(n.Ic(i=n.kc())&&(t.scrollRef=i.first),n.Ic(i=n.kc())&&(t.previewRef=i.first),n.Ic(i=n.kc())&&(t.searchRef=i.first),n.Ic(i=n.kc())&&(t.categoryRefs=i))},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",backgroundImageFn:"backgroundImageFn",emojisToShowFilter:"emojisToShowFilter",include:"include",exclude:"exclude"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll",3,"scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],["searchRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],["categoryRef",""],[3,"title","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","skinChange"],["previewRef",""]],template:function(e,t){1&e&&(n.bc(0,"section",0),n.bc(1,"div",1),n.bc(2,"emoji-mart-anchors",2),n.jc("anchorClick",(function(e){return t.handleAnchorClick(e)})),n.ac(),n.ac(),n.Wc(3,O,2,7,"emoji-search",3),n.bc(4,"section",4,5),n.jc("scroll",(function(e){return t.handleScroll()})),n.Wc(6,x,2,20,"emoji-category",6),n.ac(),n.Wc(7,L,3,10,"div",7),n.ac()),2&e&&(n.Kb("emoji-mart ",t.darkMode?"emoji-mart-dark":"",""),n.Vc("width",t.getWidth()),n.wc("ngStyle",t.style),n.Hb(2),n.wc("categories",t.categories)("color",t.color)("selected",t.selected)("i18n",t.i18n)("icons",t.categoriesIcons),n.Hb(1),n.wc("ngIf",t.enableSearch),n.Hb(1),n.Ib("aria-label",t.i18n.emojilist),n.Hb(2),n.wc("ngForOf",t.activeCategories)("ngForTrackBy",t.categoryTrack),n.Hb(1),n.wc("ngIf",t.showPreview))},directives:function(){return[s.r,Y,s.q,s.p,X,V,J]},encapsulation:2,changeDetection:0}),e})(),J=(()=>{class e{constructor(e,t){this.ref=e,this.emojiService=t,this.skinChange=new n.n,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],t=[];(this.emojiData.emoticons||[]).forEach(i=>{e.indexOf(i.toLowerCase())>=0||(e.push(i.toLowerCase()),t.push(i))}),this.listedEmoticons=t}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.h),n.Vb(m))},e.\u0275cmp=n.Pb({type:e,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn"},outputs:{skinChange:"skinChange"},features:[n.Fb()],decls:2,vars:2,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview"],[1,"emoji-mart-preview-emoji"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size",4,"ngIf"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[3,"isNative","skin","set","emoji","backgroundImageFn","size"]],template:function(e,t){1&e&&(n.Wc(0,A,10,11,"div",0),n.Wc(1,R,8,4,"div",0)),2&e&&(n.wc("ngIf",t.emoji&&t.emojiData),n.Hb(1),n.wc("ngIf",!t.emoji))},directives:function(){return[s.q,g,s.p,Q]},encapsulation:2,changeDetection:0}),e})(),Z=0,X=(()=>{class e{constructor(e){this.emojiSearch=e,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new n.n,this.enterKey=new n.n,this.isSearching=!1,this.query="",this.inputId=`emoji-mart-search-${++Z}`}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(e){this.query&&(this.enterKey.emit(e),e.preventDefault())}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const t=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(t)}handleChange(){this.handleSearch(this.query)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(z))},e.\u0275cmp=n.Pb({type:e,selectors:[["emoji-search"]],viewQuery:function(e,t){var i;1&e&&n.Tc(P,!0),2&e&&n.Ic(i=n.kc())&&(t.inputRef=i.first)},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",include:"include",exclude:"exclude",custom:"custom",i18n:"i18n",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(e,t){1&e&&(n.bc(0,"div",0),n.bc(1,"input",1,2),n.jc("keyup.enter",(function(e){return t.handleEnterKey(e)}))("ngModelChange",(function(e){return t.query=e}))("ngModelChange",(function(e){return t.handleChange()})),n.ac(),n.bc(3,"label",3),n.Yc(4),n.ac(),n.bc(5,"button",4),n.jc("click",(function(e){return t.clear()}))("keyup.enter",(function(e){return t.clear()})),n.mc(),n.bc(6,"svg",5),n.Wb(7,"path"),n.ac(),n.ac(),n.ac()),2&e&&(n.Hb(1),n.wc("id",t.inputId)("placeholder",t.i18n.search)("autofocus",t.autoFocus)("ngModel",t.query),n.Hb(2),n.wc("htmlFor",t.inputId),n.Hb(1),n.ad(" ",t.i18n.search," "),n.Hb(1),n.wc("disabled",!t.isSearching),n.Ib("aria-label",t.i18n.clear),n.Hb(2),n.Ib("d",t.icon))},directives:[b.a,b.k,b.n],encapsulation:2}),e})(),Q=(()=>{class e{constructor(){this.changeSkin=new n.n,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","title","click","keyup.enter","keyup.space"]],template:function(e,t){1&e&&(n.bc(0,"section",0),n.Wc(1,B,2,12,"span",1),n.ac()),2&e&&(n.Mb("opened",t.opened),n.Hb(1),n.wc("ngForOf",t.skinTones))},directives:[s.p],encapsulation:2,changeDetection:0}),e})(),ee=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[s.c,b.g,_]]}),e})()},KSF8:function(e,t,i){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"sa":"SA":i?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wd/R"))},KTz0:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var s=t.words[n];return 1===n.length?i?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},Kc9Z:function(e,t,i){"use strict";var n=i("6fvh");t.min=function(e){return n.reduce("function"==typeof e?function(t,i){return e(t,i)<0?t:i}:function(e,t){return e<t?e:t})}},Kdsb:function(e,t,i){"use strict";i("mrSG");var n=i("XNiG"),s=i("xgIS"),r=i("VRyK"),o=i("3UWI"),a=i("1G5W"),c=i("/uUt"),l=i("7o/Q");function u(e){return t=>t.lift(new h(e))}class h{constructor(e){this.value=e}call(e,t){return t.subscribe(new d(e,this.value))}}class d extends l.a{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}var f=i("fXoL"),p=i("ofXK");function m(e){return getComputedStyle(e)}function g(e,t){for(var i in t){var n=t[i];"number"==typeof n&&(n+="px"),e.style[i]=n}return e}function _(e){var t=document.createElement("div");return t.className=e,t}var b="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function y(e,t){if(!b)throw new Error("No element matching method supported");return b.call(e,t)}function v(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function F(e,t){return Array.prototype.filter.call(e.children,(function(e){return y(e,t)}))}var k=function(e){return"ps__thumb-"+e},w=function(e){return"ps__rail-"+e},S=function(e){return"ps--active-"+e},T=function(e){return"ps--scrolling-"+e},D={x:null,y:null};function E(e,t){var i=e.element.classList,n=T(t);i.contains(n)?clearTimeout(D[t]):i.add(n)}function M(e,t){D[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(T(t))}),e.settings.scrollingThreshold)}var C=function(e){this.element=e,this.handlers={}},O={isEmpty:{configurable:!0}};C.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},C.prototype.unbind=function(e,t){var i=this;this.handlers[e]=this.handlers[e].filter((function(n){return!(!t||n===t)||(i.element.removeEventListener(e,n,!1),!1)}))},C.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},O.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(C.prototype,O);var x=function(){this.eventElements=[]};function L(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function j(e,t,i,n,s){var r;if(void 0===n&&(n=!0),void 0===s&&(s=!1),"top"===t)r=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");r=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,i,n,s){var r=i[0],o=i[1],a=i[2],c=i[3],l=i[4],u=i[5];void 0===n&&(n=!0),void 0===s&&(s=!1);var h=e.element;e.reach[c]=null,h[a]<1&&(e.reach[c]="start"),h[a]>e[r]-e[o]-1&&(e.reach[c]="end"),t&&(h.dispatchEvent(L("ps-scroll-"+c)),t<0?h.dispatchEvent(L("ps-scroll-"+l)):t>0&&h.dispatchEvent(L("ps-scroll-"+u)),n&&function(e,t){E(e,t),M(e,t)}(e,c)),e.reach[c]&&(t||s)&&h.dispatchEvent(L("ps-"+c+"-reach-"+e.reach[c]))}(e,i,r,n,s)}function I(e){return parseInt(e,10)||0}x.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new C(e),this.eventElements.push(t)),t},x.prototype.bind=function(e,t,i){this.eventElement(e).bind(t,i)},x.prototype.unbind=function(e,t,i){var n=this.eventElement(e);n.unbind(t,i),n.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(n),1)},x.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},x.prototype.once=function(e,t,i){var n=this.eventElement(e),s=function(e){n.unbind(t,s),i(e)};n.bind(t,s)};var A={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function N(e){var t=e.element,i=Math.floor(t.scrollTop),n=t.getBoundingClientRect();e.containerWidth=Math.ceil(n.width),e.containerHeight=Math.ceil(n.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(F(t,w("x")).forEach((function(e){return v(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(F(t,w("y")).forEach((function(e){return v(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=R(e,I(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=I((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=R(e,I(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=I(i*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var i={width:t.railXWidth},n=Math.floor(e.scrollTop);i.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:e.scrollLeft,t.isScrollbarXUsingBottom?i.bottom=t.scrollbarXBottom-n:i.top=t.scrollbarXTop+n,g(t.scrollbarXRail,i);var s={top:n,height:t.railYHeight};t.isScrollbarYUsingRight?s.right=t.isRtl?t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:t.scrollbarYRight-e.scrollLeft:s.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:t.scrollbarYLeft+e.scrollLeft,g(t.scrollbarYRail,s),g(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),g(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(S("x")):(t.classList.remove(S("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(S("y")):(t.classList.remove(S("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function R(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function P(e,t){var i=t[0],n=t[1],s=t[2],r=t[3],o=t[4],a=t[5],c=t[6],l=t[7],u=t[8],h=e.element,d=null,f=null,p=null;function m(t){t.touches&&t.touches[0]&&(t[s]=t.touches[0].pageY),h[c]=d+p*(t[s]-f),E(e,l),N(e),t.stopPropagation(),t.preventDefault()}function g(){M(e,l),e[u].classList.remove("ps--clicking"),e.event.unbind(e.ownerDocument,"mousemove",m)}function _(t,o){d=h[c],o&&t.touches&&(t[s]=t.touches[0].pageY),f=t[s],p=(e[n]-e[i])/(e[r]-e[a]),o?e.event.bind(e.ownerDocument,"touchmove",m):(e.event.bind(e.ownerDocument,"mousemove",m),e.event.once(e.ownerDocument,"mouseup",g),t.preventDefault()),e[u].classList.add("ps--clicking"),t.stopPropagation()}e.event.bind(e[o],"mousedown",(function(e){_(e)})),e.event.bind(e[o],"touchstart",(function(e){_(e,!0)}))}var B={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var i=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top;e.element.scrollTop+=(i>e.scrollbarYTop?1:-1)*e.containerHeight,N(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var i=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left;e.element.scrollLeft+=(i>e.scrollbarXLeft?1:-1)*e.containerWidth,N(e),t.stopPropagation()}))},"drag-thumb":function(e){P(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),P(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",(function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)&&(y(t,":hover")||y(e.scrollbarX,":focus")||y(e.scrollbarY,":focus"))){var n,s=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(s){if("IFRAME"===s.tagName)s=s.contentDocument.activeElement;else for(;s.shadowRoot;)s=s.shadowRoot.activeElement;if(y(n=s,"input,[contenteditable]")||y(n,"select,[contenteditable]")||y(n,"textarea,[contenteditable]")||y(n,"button,[contenteditable]"))return}var r=0,o=0;switch(i.which){case 37:r=i.metaKey?-e.contentWidth:i.altKey?-e.containerWidth:-30;break;case 38:o=i.metaKey?e.contentHeight:i.altKey?e.containerHeight:30;break;case 39:r=i.metaKey?e.contentWidth:i.altKey?e.containerWidth:30;break;case 40:o=i.metaKey?-e.contentHeight:i.altKey?-e.containerHeight:-30;break;case 32:o=i.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:o=e.containerHeight;break;case 34:o=-e.containerHeight;break;case 36:o=e.contentHeight;break;case 35:o=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==r||e.settings.suppressScrollY&&0!==o||(t.scrollTop-=o,t.scrollLeft+=r,N(e),function(i,n){var s=Math.floor(t.scrollTop);if(0===i){if(!e.scrollbarYActive)return!1;if(0===s&&n>0||s>=e.contentHeight-e.containerHeight&&n<0)return!e.settings.wheelPropagation}var r=t.scrollLeft;if(0===n){if(!e.scrollbarXActive)return!1;if(0===r&&i<0||r>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}(r,o)&&i.preventDefault())}}))},wheel:function(e){var t=e.element;function i(i){var n=function(e){var t=e.deltaX,i=-1*e.deltaY;return void 0!==t&&void 0!==i||(t=-1*e.wheelDeltaX/6,i=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,i*=10),t!=t&&i!=i&&(t=0,i=e.wheelDelta),e.shiftKey?[-i,-t]:[t,i]}(i),s=n[0],r=n[1];if(!function(e,i,n){if(!A.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var s=e;s&&s!==t;){if(s.classList.contains("ps__child--consume"))return!0;var r=m(s);if(n&&r.overflowY.match(/(scroll|auto)/)){var o=s.scrollHeight-s.clientHeight;if(o>0&&(s.scrollTop>0&&n<0||s.scrollTop<o&&n>0))return!0}if(i&&r.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&i<0||s.scrollLeft<a&&i>0))return!0}s=s.parentNode}return!1}(i.target,s,r)){var o=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(r?t.scrollTop-=r*e.settings.wheelSpeed:t.scrollTop+=s*e.settings.wheelSpeed,o=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(s?t.scrollLeft+=s*e.settings.wheelSpeed:t.scrollLeft-=r*e.settings.wheelSpeed,o=!0):(t.scrollTop-=r*e.settings.wheelSpeed,t.scrollLeft+=s*e.settings.wheelSpeed),N(e),(o=o||function(i,n){var s=Math.floor(t.scrollTop),r=0===t.scrollTop,o=s+t.offsetHeight===t.scrollHeight,a=0===t.scrollLeft,c=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(n)>Math.abs(i)?r||o:a||c)||!e.settings.wheelPropagation}(s,r))&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",i):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",i)},touch:function(e){if(A.supportsTouch||A.supportsIePointer){var t=e.element,i={},n=0,s={},r=null;A.supportsTouch?(e.event.bind(t,"touchstart",l),e.event.bind(t,"touchmove",u),e.event.bind(t,"touchend",h)):A.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",l),e.event.bind(t,"pointermove",u),e.event.bind(t,"pointerup",h)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",l),e.event.bind(t,"MSPointerMove",u),e.event.bind(t,"MSPointerUp",h)))}function o(i,n){t.scrollTop-=n,t.scrollLeft-=i,N(e)}function a(e){return e.targetTouches?e.targetTouches[0]:e}function c(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function l(e){if(c(e)){var t=a(e);i.pageX=t.pageX,i.pageY=t.pageY,n=(new Date).getTime(),null!==r&&clearInterval(r)}}function u(r){if(c(r)){var l=a(r),u={pageX:l.pageX,pageY:l.pageY},h=u.pageX-i.pageX,d=u.pageY-i.pageY;if(function(e,i,n){if(!t.contains(e))return!1;for(var s=e;s&&s!==t;){if(s.classList.contains("ps__child--consume"))return!0;var r=m(s);if(n&&r.overflowY.match(/(scroll|auto)/)){var o=s.scrollHeight-s.clientHeight;if(o>0&&(s.scrollTop>0&&n<0||s.scrollTop<o&&n>0))return!0}if(i&&r.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&i<0||s.scrollLeft<a&&i>0))return!0}s=s.parentNode}return!1}(r.target,h,d))return;o(h,d),i=u;var f=(new Date).getTime(),p=f-n;p>0&&(s.x=h/p,s.y=d/p,n=f),function(i,n){var s=Math.floor(t.scrollTop),r=t.scrollLeft,o=Math.abs(i),a=Math.abs(n);if(a>o){if(n<0&&s===e.contentHeight-e.containerHeight||n>0&&0===s)return 0===window.scrollY&&n>0&&A.isChrome}else if(o>a&&(i<0&&r===e.contentWidth-e.containerWidth||i>0&&0===r))return!0;return!0}(h,d)&&r.preventDefault()}}function h(){e.settings.swipeEasing&&(clearInterval(r),r=setInterval((function(){e.isInitialized?clearInterval(r):s.x||s.y?Math.abs(s.x)<.01&&Math.abs(s.y)<.01?clearInterval(r):(o(30*s.x,30*s.y),s.x*=.8,s.y*=.8):clearInterval(r)}),10))}}},Y=function(e,t){var i=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var n in this.element=e,e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[n]=t[n];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,r,o=function(){return e.classList.add("ps--focus")},a=function(){return e.classList.remove("ps--focus")};this.isRtl="rtl"===m(e).direction,!0===this.isRtl&&e.classList.add("ps__rtl"),this.isNegativeScroll=(r=e.scrollLeft,e.scrollLeft=-1,s=e.scrollLeft<0,e.scrollLeft=r,s),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new x,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=_(w("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=_(k("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var c=m(this.scrollbarXRail);this.scrollbarXBottom=parseInt(c.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=I(c.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=I(c.borderLeftWidth)+I(c.borderRightWidth),g(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=I(c.marginLeft)+I(c.marginRight),g(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=_(w("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=_(k("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var l=m(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=I(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=m(e);return I(t.width)+I(t.paddingLeft)+I(t.paddingRight)+I(t.borderLeftWidth)+I(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=I(l.borderTopWidth)+I(l.borderBottomWidth),g(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=I(l.marginTop)+I(l.marginBottom),g(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(e){return B[e](i)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return i.onScroll(e)})),N(this)};Y.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,g(this.scrollbarXRail,{display:"block"}),g(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=I(m(this.scrollbarXRail).marginLeft)+I(m(this.scrollbarXRail).marginRight),this.railYMarginHeight=I(m(this.scrollbarYRail).marginTop)+I(m(this.scrollbarYRail).marginBottom),g(this.scrollbarXRail,{display:"none"}),g(this.scrollbarYRail,{display:"none"}),N(this),j(this,"top",0,!1,!0),j(this,"left",0,!1,!0),g(this.scrollbarXRail,{display:""}),g(this.scrollbarYRail,{display:""}))},Y.prototype.onScroll=function(e){this.isAlive&&(N(this),j(this,"top",this.element.scrollTop-this.lastScrollTop),j(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Y.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),v(this.scrollbarX),v(this.scrollbarY),v(this.scrollbarXRail),v(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Y.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")};var H=Y,V=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var i=-1;return e.some((function(e,n){return e[0]===t&&(i=n,!0)})),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var i=e(this.__entries__,t),n=this.__entries__[i];return n&&n[1]},t.prototype.set=function(t,i){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=i:this.__entries__.push([t,i])},t.prototype.delete=function(t){var i=this.__entries__,n=e(i,t);~n&&i.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var i=0,n=this.__entries__;i<n.length;i++){var s=n[i];e.call(t,s[1],s[0])}},t}()}(),U="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,W="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),z="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(W):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},$=["top","right","bottom","left","width","height","size","weight"],G="undefined"!=typeof MutationObserver,q=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var i=!1,n=!1,s=0;function r(){i&&(i=!1,e()),n&&a()}function o(){z(r)}function a(){var e=Date.now();if(i){if(e-s<2)return;n=!0}else i=!0,n=!1,setTimeout(o,20);s=e}return a}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,i=t.indexOf(e);~i&&t.splice(i,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){U&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),G?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){U&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,i=void 0===t?"":t;$.some((function(e){return!!~i.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),K=function(e,t){for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i];Object.defineProperty(e,s,{value:t[s],enumerable:!1,writable:!1,configurable:!0})}return e},J=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||W},Z=te(0,0,0,0);function X(e){return parseFloat(e)||0}function Q(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return t.reduce((function(t,i){return t+X(e["border-"+i+"-width"])}),0)}var ee="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof J(e).SVGGraphicsElement}:function(e){return e instanceof J(e).SVGElement&&"function"==typeof e.getBBox};function te(e,t,i,n){return{x:e,y:t,width:i,height:n}}var ie=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=te(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e,t=(e=this.target,U?ee(e)?function(e){var t=e.getBBox();return te(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,i=e.clientHeight;if(!t&&!i)return Z;var n=J(e).getComputedStyle(e),s=function(e){for(var t={},i=0,n=["top","right","bottom","left"];i<n.length;i++){var s=n[i];t[s]=X(e["padding-"+s])}return t}(n),r=s.left+s.right,o=s.top+s.bottom,a=X(n.width),c=X(n.height);if("border-box"===n.boxSizing&&(Math.round(a+r)!==t&&(a-=Q(n,"left","right")+r),Math.round(c+o)!==i&&(c-=Q(n,"top","bottom")+o)),!function(e){return e===J(e).document.documentElement}(e)){var l=Math.round(a+r)-t,u=Math.round(c+o)-i;1!==Math.abs(l)&&(a-=l),1!==Math.abs(u)&&(c-=u)}return te(s.left,s.top,a,c)}(e):Z);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ne=function(e,t){var i,n,s,r,o,a,c,l=(n=(i=t).x,s=i.y,r=i.width,o=i.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),K(c,{x:n,y:s,width:r,height:o,top:s,right:n+r,bottom:o+s,left:n}),c);K(this,{target:e,contentRect:l})},se=function(){function e(e,t,i){if(this.activeObservations_=[],this.observations_=new V,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof J(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new ie(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof J(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new ne(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),re="undefined"!=typeof WeakMap?new WeakMap:new V,oe=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=q.getInstance(),n=new se(t,i,this);re.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){oe.prototype[e]=function(){var t;return(t=re.get(this))[e].apply(t,arguments)}}));var ae=void 0!==W.ResizeObserver?W.ResizeObserver:oe;function ce(e,t){if(1&e&&(f.bc(0,"div",3),f.Wb(1,"div",4),f.Wb(2,"div",5),f.Wb(3,"div",6),f.Wb(4,"div",7),f.ac()),2&e){const e=f.nc();f.Mb("ps-at-top",e.states.top)("ps-at-left",e.states.left)("ps-at-right",e.states.right)("ps-at-bottom",e.states.bottom),f.Hb(1),f.Mb("ps-indicator-show",e.indicatorY&&e.interaction),f.Hb(1),f.Mb("ps-indicator-show",e.indicatorX&&e.interaction),f.Hb(1),f.Mb("ps-indicator-show",e.indicatorX&&e.interaction),f.Hb(1),f.Mb("ps-indicator-show",e.indicatorY&&e.interaction)}}i.d(t,"a",(function(){return ue})),i.d(t,"b",(function(){return ge})),i.d(t,"c",(function(){return _e}));const le=["*"],ue=new f.q("PERFECT_SCROLLBAR_CONFIG");class he{constructor(e,t,i,n){this.x=e,this.y=t,this.w=i,this.h=n}}class de{constructor(e,t){this.x=e,this.y=t}}const fe=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class pe{constructor(e={}){this.assign(e)}assign(e={}){for(const t in e)this[t]=e[t]}}let me=(()=>{let e=class{constructor(e,t,i,s,r){this.zone=e,this.differs=t,this.elementRef=i,this.platformId=s,this.defaults=r,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new n.a,this.disabled=!1,this.psScrollY=new f.n,this.psScrollX=new f.n,this.psScrollUp=new f.n,this.psScrollDown=new f.n,this.psScrollLeft=new f.n,this.psScrollRight=new f.n,this.psYReachEnd=new f.n,this.psYReachStart=new f.n,this.psXReachEnd=new f.n,this.psXReachStart=new f.n}ngOnInit(){if(!this.disabled&&Object(p.H)(this.platformId)){const e=new pe(this.defaults);e.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new H(this.elementRef.nativeElement,e)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new ae(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{fe.forEach(e=>{const t=e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`);Object(s.a)(this.elementRef.nativeElement,t).pipe(Object(o.a)(20),Object(a.a)(this.ngDestroy)).subscribe(t=>{this[e].emit(t)})})})}}ngOnDestroy(){Object(p.H)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&Object(p.H)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(e){e.disabled&&!e.disabled.isFirstChange()&&Object(p.H)(this.platformId)&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue?this.ngOnDestroy():!1===e.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch(e){}},0))}geometry(e="scroll"){return new he(this.elementRef.nativeElement[e+"Left"],this.elementRef.nativeElement[e+"Top"],this.elementRef.nativeElement[e+"Width"],this.elementRef.nativeElement[e+"Height"])}position(e=!1){return!e&&this.instance?new de(this.instance.reach.x||0,this.instance.reach.y||0):new de(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(e="any"){const t=this.elementRef.nativeElement;return"any"===e?t.classList.contains("ps--active-x")||t.classList.contains("ps--active-y"):"both"===e?t.classList.contains("ps--active-x")&&t.classList.contains("ps--active-y"):t.classList.contains("ps--active-"+e)}scrollTo(e,t,i){this.disabled||(null==t&&null==i?this.animateScrolling("scrollTop",e,i):(null!=e&&this.animateScrolling("scrollLeft",e,i),null!=t&&this.animateScrolling("scrollTop",t,i)))}scrollToX(e,t){this.animateScrolling("scrollLeft",e,t)}scrollToY(e,t){this.animateScrolling("scrollTop",e,t)}scrollToTop(e,t){this.animateScrolling("scrollTop",e||0,t)}scrollToLeft(e,t){this.animateScrolling("scrollLeft",e||0,t)}scrollToRight(e,t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(e||0),t)}scrollToBottom(e,t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(e||0),t)}scrollToElement(e,t,i){const n=this.elementRef.nativeElement.querySelector(e);if(n){const e=n.getBoundingClientRect(),s=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",e.left-s.left+this.elementRef.nativeElement.scrollLeft+(t||0),i),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",e.top-s.top+this.elementRef.nativeElement.scrollTop+(t||0),i)}}animateScrolling(e,t,i){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),i&&"undefined"!=typeof window){if(t!==this.elementRef.nativeElement[e]){let n=0,s=0,r=performance.now(),o=this.elementRef.nativeElement[e];const a=(o-t)/2,c=l=>{s+=Math.PI/(i/(l-r)),n=Math.round(t+a+a*Math.cos(s)),this.elementRef.nativeElement[e]===o&&(s>=Math.PI?this.animateScrolling(e,t,0):(this.elementRef.nativeElement[e]=n,o=this.elementRef.nativeElement[e],r=l,this.animation=window.requestAnimationFrame(c)))};window.requestAnimationFrame(c)}}else this.elementRef.nativeElement[e]=t}};return e.\u0275fac=function(t){return new(t||e)(f.Vb(f.A),f.Vb(f.u),f.Vb(f.l),f.Vb(f.C),f.Vb(ue,8))},e.\u0275dir=f.Qb({type:e,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[f.Fb()]}),e})(),ge=(()=>{let e=class{constructor(e,t,i){this.zone=e,this.cdRef=t,this.platformId=i,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new n.a,this.stateUpdate=new n.a,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new f.n,this.psScrollX=new f.n,this.psScrollUp=new f.n,this.psScrollDown=new f.n,this.psScrollLeft=new f.n,this.psScrollRight=new f.n,this.psYReachEnd=new f.n,this.psYReachStart=new f.n,this.psXReachEnd=new f.n,this.psXReachStart=new f.n}ngOnInit(){Object(p.H)(this.platformId)&&(this.stateUpdate.pipe(Object(a.a)(this.ngDestroy),Object(c.a)((e,t)=>e===t&&!this.stateTimeout)).subscribe(e=>{this.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===e||"y"===e?(this.interaction=!1,"x"===e?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===e&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===e||"right"===e?(this.states.left=!1,this.states.right=!1,this.states[e]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):"top"!==e&&"bottom"!==e||(this.states.top=!1,this.states.bottom=!1,this.states[e]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&"undefined"!=typeof window&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const e=this.directiveRef.elementRef.nativeElement;Object(s.a)(e,"wheel").pipe(Object(a.a)(this.ngDestroy)).subscribe(e=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(e,e.deltaX,e.deltaY)}),Object(s.a)(e,"touchmove").pipe(Object(a.a)(this.ngDestroy)).subscribe(e=>{if(!this.disabled&&this.autoPropagation){const t=e.touches[0].clientX,i=e.touches[0].clientY;this.checkPropagation(e,t-this.scrollPositionX,i-this.scrollPositionY),this.scrollPositionX=t,this.scrollPositionY=i}}),Object(r.a)(Object(s.a)(e,"ps-scroll-x").pipe(u("x")),Object(s.a)(e,"ps-scroll-y").pipe(u("y")),Object(s.a)(e,"ps-x-reach-end").pipe(u("right")),Object(s.a)(e,"ps-y-reach-end").pipe(u("bottom")),Object(s.a)(e,"ps-x-reach-start").pipe(u("left")),Object(s.a)(e,"ps-y-reach-start").pipe(u("top"))).pipe(Object(a.a)(this.ngDestroy)).subscribe(e=>{this.disabled||!this.autoPropagation&&!this.scrollIndicators||this.stateUpdate.next(e)})}}),window.setTimeout(()=>{fe.forEach(e=>{this.directiveRef&&(this.directiveRef[e]=this[e])})},0))}ngOnDestroy(){Object(p.H)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if(Object(p.H)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const e=this.directiveRef.elementRef.nativeElement;this.usePropagationX=e.classList.contains("ps--active-x"),this.usePropagationY=e.classList.contains("ps--active-y")}}checkPropagation(e,t,i){this.interaction=!0;const n=t<0?-1:1,s=i<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==n)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==s))&&(e.preventDefault(),e.stopPropagation()),t&&(this.scrollDirectionX=n),i&&(this.scrollDirectionY=s),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}};return e.\u0275fac=function(t){return new(t||e)(f.Vb(f.A),f.Vb(f.h),f.Vb(f.C))},e.\u0275cmp=f.Pb({type:e,selectors:[["perfect-scrollbar"]],viewQuery:function(e,t){var i;1&e&&f.Tc(me,!0),2&e&&f.Ic(i=f.kc())&&(t.directiveRef=i.first)},hostVars:4,hostBindings:function(e,t){2&e&&f.Mb("ps-show-limits",t.autoPropagation)("ps-show-active",t.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:le,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(e,t){1&e&&(f.vc(),f.bc(0,"div",0),f.bc(1,"div",1),f.uc(2),f.ac(),f.Wc(3,ce,5,16,"div",2),f.ac()),2&e&&(f.Mb("ps",t.usePSClass),f.wc("perfectScrollbar",t.config)("disabled",t.disabled),f.Hb(3),f.wc("ngIf",t.scrollIndicators))},directives:[me,p.q],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"],encapsulation:2}),e})(),_e=(()=>{let e=class{};return e.\u0275mod=f.Tb({type:e}),e.\u0275inj=f.Sb({factory:function(t){return new(t||e)},imports:[[p.c],p.c]}),e})()},Kj3r:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("7o/Q"),s=i("D0XW");function r(e,t=s.a){return i=>i.lift(new o(e,t))}class o{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends n.a{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,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(c,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 c(e){e.debouncedNext()}},KjyA:function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return l}));var n=i("mrSG"),s=i("HR75"),r=i("9AQC"),o=i("9/Zf"),a=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._context={}}return e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){e._scopeListeners.forEach((function(t){t(e)})),e._notifyingListeners=!1})))},e.prototype._notifyEventProcessors=function(e,t,i,o){var a=this;return void 0===o&&(o=0),new s.a((function(s,c){var l=e[o];if(null===t||"function"!=typeof l)s(t);else{var u=l(n.a({},t),i);Object(r.m)(u)?u.then((function(t){return a._notifyEventProcessors(e,t,i,o+1).then(s)})).then(null,c):a._notifyEventProcessors(e,u,i,o+1).then(s).then(null,c)}}))},e.prototype.setUser=function(e){return this._user=e||{},this._notifyScopeListeners(),this},e.prototype.setTags=function(e){return this._tags=n.a({},this._tags,e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var i;return this._tags=n.a({},this._tags,((i={})[e]=t,i)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=n.a({},this._extra,e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var i;return this._extra=n.a({},this._extra,((i={})[e]=t,i)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this._transaction=e,this._span&&(this._span.transaction=e),this._notifyScopeListeners(),this},e.prototype.setContext=function(e,t){var i;return this._context=n.a({},this._context,((i={})[e]=t,i)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.clone=function(t){var i=new e;return t&&(i._breadcrumbs=n.g(t._breadcrumbs),i._tags=n.a({},t._tags),i._extra=n.a({},t._extra),i._context=n.a({},t._context),i._user=t._user,i._level=t._level,i._span=t._span,i._transaction=t._transaction,i._fingerprint=t._fingerprint,i._eventProcessors=n.g(t._eventProcessors)),i},e.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._context={},this._level=void 0,this._transaction=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var i=n.a({timestamp:Object(o.m)()},e);return this._breadcrumbs=void 0!==t&&t>=0?n.g(this._breadcrumbs,[i]).slice(-t):n.g(this._breadcrumbs,[i]),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e.prototype.applyToEvent=function(e,t){return this._extra&&Object.keys(this._extra).length&&(e.extra=n.a({},this._extra,e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=n.a({},this._tags,e.tags)),this._user&&Object.keys(this._user).length&&(e.user=n.a({},this._user,e.user)),this._context&&Object.keys(this._context).length&&(e.contexts=n.a({},this._context,e.contexts)),this._level&&(e.level=this._level),this._transaction&&(e.transaction=this._transaction),this._applyFingerprint(e),e.breadcrumbs=n.g(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(n.g(c(),this._eventProcessors),e,t)},e}();function c(){var e=Object(o.g)();return e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.globalEventProcessors=e.__SENTRY__.globalEventProcessors||[],e.__SENTRY__.globalEventProcessors}function l(e){c().push(e)}},Kqap:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(e,t){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new r(e,t,i))}}class r{constructor(e,t,i=!1){this.accumulator=e,this.seed=t,this.hasSeed=i}call(e,t){return t.subscribe(new o(e,this.accumulator,this.seed,this.hasSeed))}}class o extends n.a{constructor(e,t,i,n){super(e),this.accumulator=t,this._seed=i,this.hasSeed=n,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 i;try{i=this.accumulator(this.seed,e,t)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}},Kqb3:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.tap=function(e,t,i){return function(n){return n.lift(new r(e,t,i))}};var r=function(){function e(e,t,i){this.nextOrObserver=e,this.error=t,this.complete=i}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.nextOrObserver,this.error,this.complete))},e}(),o=function(e){function t(t,i,n,r){e.call(this,t);var o=new s.Subscriber(i,n,r);o.syncErrorThrowable=!0,this.add(o),this.safeSubscriber=o}return n(t,e),t.prototype._next=function(e){var t=this.safeSubscriber;t.next(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(e)},t.prototype._error=function(e){var t=this.safeSubscriber;t.error(e),this.destination.error(t.syncErrorThrown?t.syncErrorValue:e)},t.prototype._complete=function(){var e=this.safeSubscriber;e.complete(),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.complete()},t}(s.Subscriber)},KqfI:function(e,t,i){"use strict";function n(){}i.d(t,"a",(function(){return n}))},"L/jt":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("2fIB");t.first=function(e,t,i){return function(n){return n.lift(new o(e,t,i,n))}};var o=function(){function e(e,t,i,n){this.predicate=e,this.resultSelector=t,this.defaultValue=i,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.resultSelector,this.defaultValue,this.source))},e}(),a=function(e){function t(t,i,n,s,r){e.call(this,t),this.predicate=i,this.resultSelector=n,this.defaultValue=s,this.source=r,this.index=0,this.hasCompleted=!1,this._emitted=!1}return n(t,e),t.prototype._next=function(e){var t=this.index++;this.predicate?this._tryPredicate(e,t):this._emit(e,t)},t.prototype._tryPredicate=function(e,t){var i;try{i=this.predicate(e,t,this.source)}catch(n){return void this.destination.error(n)}i&&this._emit(e,t)},t.prototype._emit=function(e,t){this.resultSelector?this._tryResultSelector(e,t):this._emitFinal(e)},t.prototype._tryResultSelector=function(e,t){var i;try{i=this.resultSelector(e,t)}catch(n){return void this.destination.error(n)}this._emitFinal(i)},t.prototype._emitFinal=function(e){var t=this.destination;this._emitted||(this._emitted=!0,t.next(e),t.complete(),this.hasCompleted=!0)},t.prototype._complete=function(){var e=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||e.error(new r.EmptyError):(e.next(this.defaultValue),e.complete())},t}(s.Subscriber)},LAU0:function(e,t,i){"use strict";t.identity=function(e){return e}},LBXl:function(e,t,i){"use strict";t.UnsubscriptionError=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}()},LRne:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("z+Ro"),s=i("yCtX"),r=i("jZKg");function o(...e){let t=e[e.length-1];return Object(n.a)(t)?(e.pop(),Object(r.a)(e,t)):Object(s.a)(e)}},LSvS:function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return a})),i.d(t,"d",(function(){return u})),i.d(t,"c",(function(){return c}));var n=i("fXoL"),s=i("ofXK");let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(h){r=!1}let o=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(s.H)(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&&!r)&&"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)(n.fc(n.C,8))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.T)({factory:function(){return new e(Object(n.W)(n.C,8))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)}}),e})();const c=function(){var e={NORMAL:0,NEGATED:1,INVERTED:2};return e[e.NORMAL]="NORMAL",e[e.NEGATED]="NEGATED",e[e.INVERTED]="INVERTED",e}();let l;function u(){if("object"!=typeof document||!document)return c.NORMAL;if(!l){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),l=c.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,l=0===e.scrollLeft?c.NEGATED:c.INVERTED),e.parentNode.removeChild(e)}return l}},LWF9:function(e,t,i){"use strict";var n=i("/WK6"),s=i("/mOC");t.Map=n.root.Map||s.MapPolyfill},Lhse:function(e,t,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(t,"a",(function(){return s}));const s=n()},Lm2G:function(e,t,i){"use strict";i.d(t,"a",(function(){return S})),i.d(t,"b",(function(){return T}));var n=i("fXoL"),s=i("3Pt+"),r=i("ofXK");const o=function(e,t){return{"pull-left":e,"float-left":t}},a=function(e,t){return{"pull-right":e,"float-right":t}},c=function(e,t){return{disabled:e,currentPage:t}};function l(e,t){if(1&e){const e=n.cc();n.bc(0,"li",11),n.bc(1,"a",12),n.jc("click",(function(t){return n.Mc(e),n.nc().selectPage(1,t)})),n.Xb(2,13),n.ac(),n.ac()}if(2&e){const e=n.nc(),t=n.Jc(13);n.Mb("disabled",e.noPrevious()||e.disabled),n.Hb(2),n.wc("ngTemplateOutlet",e.customFirstTemplate||t)("ngTemplateOutletContext",n.Cc(4,c,e.noPrevious()||e.disabled,e.page))}}function u(e,t){if(1&e){const e=n.cc();n.bc(0,"li",14),n.bc(1,"a",12),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.selectPage(i.page-1,t)})),n.Xb(2,13),n.ac(),n.ac()}if(2&e){const e=n.nc(),t=n.Jc(11);n.Mb("disabled",e.noPrevious()||e.disabled),n.Hb(2),n.wc("ngTemplateOutlet",e.customPreviousTemplate||t)("ngTemplateOutletContext",n.Cc(4,c,e.noPrevious()||e.disabled,e.page))}}const h=function(e,t,i){return{disabled:e,$implicit:t,currentPage:i}};function d(e,t){if(1&e){const e=n.cc();n.bc(0,"li",15),n.bc(1,"a",12),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc().selectPage(s.number,i)})),n.Xb(2,13),n.ac(),n.ac()}if(2&e){const e=t.$implicit,i=n.nc(),s=n.Jc(7);n.Mb("active",e.active)("disabled",i.disabled&&!e.active),n.Hb(2),n.wc("ngTemplateOutlet",i.customPageTemplate||s)("ngTemplateOutletContext",n.Dc(6,h,i.disabled,e,i.page))}}function f(e,t){if(1&e){const e=n.cc();n.bc(0,"li",16),n.bc(1,"a",12),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.selectPage(i.page+1,t)})),n.Xb(2,13),n.ac(),n.ac()}if(2&e){const e=n.nc(),t=n.Jc(9);n.Mb("disabled",e.noNext()||e.disabled),n.Hb(2),n.wc("ngTemplateOutlet",e.customNextTemplate||t)("ngTemplateOutletContext",n.Cc(4,c,e.noNext()||e.disabled,e.page))}}function p(e,t){if(1&e){const e=n.cc();n.bc(0,"li",17),n.bc(1,"a",12),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.selectPage(i.totalPages,t)})),n.Xb(2,13),n.ac(),n.ac()}if(2&e){const e=n.nc(),t=n.Jc(15);n.Mb("disabled",e.noNext()||e.disabled),n.Hb(2),n.wc("ngTemplateOutlet",e.customLastTemplate||t)("ngTemplateOutletContext",n.Cc(4,c,e.noNext()||e.disabled,e.page))}}function m(e,t){1&e&&n.Yc(0),2&e&&n.Zc(t.$implicit.text)}function g(e,t){if(1&e&&n.Yc(0),2&e){const e=n.nc();n.Zc(e.getText("next"))}}function _(e,t){if(1&e&&n.Yc(0),2&e){const e=n.nc();n.Zc(e.getText("previous"))}}function b(e,t){if(1&e&&n.Yc(0),2&e){const e=n.nc();n.Zc(e.getText("first"))}}function y(e,t){if(1&e&&n.Yc(0),2&e){const e=n.nc();n.Zc(e.getText("last"))}}let v=(()=>{class e{constructor(){this.main={maxSize:void 0,itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const F={provide:s.j,useExisting:Object(n.V)(()=>k),multi:!0};let k=(()=>{class e{constructor(e,t,i){this.elementRef=e,this.changeDetection=i,this.numPages=new n.n,this.pageChanged=new n.n,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.inited=!1,this._page=1,this.elementRef=e,this.config||this.configureOptions(Object.assign({},t.main,t.pager))}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(e){this._itemsPerPage=e,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(e){this._totalItems=e,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(e){this._totalPages=e,this.numPages.emit(e),this.inited&&this.selectPage(this.page)}set page(e){const t=this._page;this._page=e>this.totalPages?this.totalPages:e||1,this.changeDetection.markForCheck(),t!==this._page&&void 0!==t&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}get page(){return this._page}configureOptions(e){this.config=Object.assign({},e)}ngOnInit(){"undefined"!=typeof window&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),this.maxSize=void 0!==this.maxSize?this.maxSize:this.config.maxSize,this.rotate=void 0!==this.rotate?this.rotate:this.config.rotate,this.boundaryLinks=void 0!==this.boundaryLinks?this.boundaryLinks:this.config.boundaryLinks,this.directionLinks=void 0!==this.directionLinks?this.directionLinks:this.config.directionLinks,this.pageBtnClass=void 0!==this.pageBtnClass?this.pageBtnClass:this.config.pageBtnClass,this.itemsPerPage=void 0!==this.itemsPerPage?this.itemsPerPage:this.config.itemsPerPage,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(e){this.page=e,this.pages=this.getPages(this.page,this.totalPages)}getText(e){return this[`${e}Text`]||this.config[`${e}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}selectPage(e,t){t&&t.preventDefault(),this.disabled||(t&&t.target&&t.target.blur(),this.writeValue(e),this.onChange(this.page))}makePage(e,t,i){return{text:t,number:e,active:i}}getPages(e,t){const i=[];let n=1,s=t;const r=void 0!==this.maxSize&&this.maxSize<t;r&&(this.rotate?(n=Math.max(e-Math.floor(this.maxSize/2),1),s=n+this.maxSize-1,s>t&&(s=t,n=s-this.maxSize+1)):(n=(Math.ceil(e/this.maxSize)-1)*this.maxSize+1,s=Math.min(n+this.maxSize-1,t)));for(let o=n;o<=s;o++){const t=this.makePage(o,o.toString(),o===e);i.push(t)}if(r&&!this.rotate){if(n>1){const e=this.makePage(n-1,"...",!1);i.unshift(e)}if(s<t){const e=this.makePage(s+1,"...",!1);i.push(e)}}return i}calculateTotalPages(){const e=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(e||0,1)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(v),n.Vb(n.h))},e.\u0275cmp=n.Pb({type:e,selectors:[["pager"]],inputs:{itemsPerPage:"itemsPerPage",totalItems:"totalItems",maxSize:"maxSize",rotate:"rotate",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",pageBtnClass:"pageBtnClass",align:"align",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",disabled:"disabled"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[n.Gb([F])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(e,t){1&e&&(n.bc(0,"ul",0),n.bc(1,"li",1),n.bc(2,"a",2),n.jc("click",(function(e){return t.selectPage(t.page-1,e)})),n.Yc(3),n.ac(),n.ac(),n.bc(4,"li",1),n.bc(5,"a",2),n.jc("click",(function(e){return t.selectPage(t.page+1,e)})),n.Yc(6),n.ac(),n.ac(),n.ac()),2&e&&(n.Hb(1),n.Jb(t.pageBtnClass),n.Mb("disabled",t.noPrevious())("previous",t.align),n.wc("ngClass",n.Cc(18,o,t.align,t.align)),n.Hb(2),n.Zc(t.getText("previous")),n.Hb(1),n.Jb(t.pageBtnClass),n.Mb("disabled",t.noNext())("next",t.align),n.wc("ngClass",n.Cc(21,a,t.align,t.align)),n.Hb(2),n.Zc(t.getText("next")))},directives:[r.o],encapsulation:2}),e})();const w={provide:s.j,useExisting:Object(n.V)(()=>S),multi:!0};let S=(()=>{class e{constructor(e,t,i){this.elementRef=e,this.changeDetection=i,this.numPages=new n.n,this.pageChanged=new n.n,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.inited=!1,this._page=1,this.elementRef=e,this.config||this.configureOptions(t.main)}get itemsPerPage(){return this._itemsPerPage}set itemsPerPage(e){this._itemsPerPage=e,this.totalPages=this.calculateTotalPages()}get totalItems(){return this._totalItems}set totalItems(e){this._totalItems=e,this.totalPages=this.calculateTotalPages()}get totalPages(){return this._totalPages}set totalPages(e){this._totalPages=e,this.numPages.emit(e),this.inited&&this.selectPage(this.page)}set page(e){const t=this._page;this._page=e>this.totalPages?this.totalPages:e||1,this.changeDetection.markForCheck(),t!==this._page&&void 0!==t&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})}get page(){return this._page}configureOptions(e){this.config=Object.assign({},e)}ngOnInit(){"undefined"!=typeof window&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),this.maxSize=void 0!==this.maxSize?this.maxSize:this.config.maxSize,this.rotate=void 0!==this.rotate?this.rotate:this.config.rotate,this.boundaryLinks=void 0!==this.boundaryLinks?this.boundaryLinks:this.config.boundaryLinks,this.directionLinks=void 0!==this.directionLinks?this.directionLinks:this.config.directionLinks,this.pageBtnClass=void 0!==this.pageBtnClass?this.pageBtnClass:this.config.pageBtnClass,this.itemsPerPage=void 0!==this.itemsPerPage?this.itemsPerPage:this.config.itemsPerPage,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0}writeValue(e){this.page=e,this.pages=this.getPages(this.page,this.totalPages)}getText(e){return this[`${e}Text`]||this.config[`${e}Text`]}noPrevious(){return 1===this.page}noNext(){return this.page===this.totalPages}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}selectPage(e,t){t&&t.preventDefault(),this.disabled||(t&&t.target&&t.target.blur(),this.writeValue(e),this.onChange(this.page))}makePage(e,t,i){return{text:t,number:e,active:i}}getPages(e,t){const i=[];let n=1,s=t;const r=void 0!==this.maxSize&&this.maxSize<t;r&&(this.rotate?(n=Math.max(e-Math.floor(this.maxSize/2),1),s=n+this.maxSize-1,s>t&&(s=t,n=s-this.maxSize+1)):(n=(Math.ceil(e/this.maxSize)-1)*this.maxSize+1,s=Math.min(n+this.maxSize-1,t)));for(let o=n;o<=s;o++){const t=this.makePage(o,o.toString(),o===e);i.push(t)}if(r&&!this.rotate){if(n>1){const e=this.makePage(n-1,"...",!1);i.unshift(e)}if(s<t){const e=this.makePage(s+1,"...",!1);i.push(e)}}return i}calculateTotalPages(){const e=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(e||0,1)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(v),n.Vb(n.h))},e.\u0275cmp=n.Pb({type:e,selectors:[["pagination"]],inputs:{itemsPerPage:"itemsPerPage",totalItems:"totalItems",maxSize:"maxSize",rotate:"rotate",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",pageBtnClass:"pageBtnClass",align:"align",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",disabled:"disabled",customPageTemplate:"customPageTemplate",customNextTemplate:"customNextTemplate",customPreviousTemplate:"customPreviousTemplate",customFirstTemplate:"customFirstTemplate",customLastTemplate:"customLastTemplate"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[n.Gb([w])],decls:16,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],["defaultPageTemplate",""],["defaultNextTemplate",""],["defaultPreviousTemplate",""],["defaultFirstTemplate",""],["defaultLastTemplate",""],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(e,t){1&e&&(n.bc(0,"ul",0),n.Wc(1,l,3,7,"li",1),n.Wc(2,u,3,7,"li",2),n.Wc(3,d,3,10,"li",3),n.Wc(4,f,3,7,"li",4),n.Wc(5,p,3,7,"li",5),n.ac(),n.Wc(6,m,1,1,"ng-template",null,6,n.Xc),n.Wc(8,g,1,1,"ng-template",null,7,n.Xc),n.Wc(10,_,1,1,"ng-template",null,8,n.Xc),n.Wc(12,b,1,1,"ng-template",null,9,n.Xc),n.Wc(14,y,1,1,"ng-template",null,10,n.Xc)),2&e&&(n.wc("ngClass",t.classMap),n.Hb(1),n.wc("ngIf",t.boundaryLinks),n.Hb(1),n.wc("ngIf",t.directionLinks),n.Hb(1),n.wc("ngForOf",t.pages),n.Hb(1),n.wc("ngIf",t.directionLinks),n.Hb(1),n.wc("ngIf",t.boundaryLinks))},directives:[r.o,r.q,r.p,r.u],encapsulation:2}),e})(),T=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})()},Loxo:function(e,t,i){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(i("wd/R"))},LqmK:function(e,t,i){"use strict";var n=i("MdjT"),s=i("MdjT");t.mergeStatic=s.merge,t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return t.lift.call(n.merge.apply(void 0,[t].concat(e)))}}},LvDl:function(e,t,i){(function(e){var n;(function(){var s="Expected a function",r="__lodash_placeholder__",o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],a="[object Arguments]",c="[object Array]",l="[object Boolean]",u="[object Date]",h="[object Error]",d="[object Function]",f="[object GeneratorFunction]",p="[object Map]",m="[object Number]",g="[object Object]",_="[object RegExp]",b="[object Set]",y="[object String]",v="[object Symbol]",F="[object WeakMap]",k="[object ArrayBuffer]",w="[object DataView]",S="[object Float32Array]",T="[object Float64Array]",D="[object Int8Array]",E="[object Int16Array]",M="[object Int32Array]",C="[object Uint8Array]",O="[object Uint16Array]",x="[object Uint32Array]",L=/\b__p \+= '';/g,j=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,A=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,R=RegExp(A.source),P=RegExp(N.source),B=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,$=RegExp(z.source),G=/^\s+/,q=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Q=/[()=,{}\[\]\/\s]/,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ie=/\w*$/,ne=/^[-+]0x[0-9a-f]+$/i,se=/^0b[01]+$/i,re=/^\[object .+?Constructor\]$/,oe=/^0o[0-7]+$/i,ae=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,ue=/['\n\r\u2028\u2029\\]/g,he="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fe="["+de+"]",pe="["+he+"]",me="\\d+",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+de+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",be="\\ud83c[\\udffb-\\udfff]",ye="[^\\ud800-\\udfff]",ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",ke="[A-Z\\xc0-\\xd6\\xd8-\\xde]",we="(?:"+ge+"|"+_e+")",Se="(?:"+ke+"|"+_e+")",Te="(?:"+pe+"|"+be+")?",De="[\\ufe0e\\ufe0f]?"+Te+"(?:\\u200d(?:"+[ye,ve,Fe].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*",Ee="(?:"+["[\\u2700-\\u27bf]",ve,Fe].join("|")+")"+De,Me="(?:"+[ye+pe+"?",pe,ve,Fe,"[\\ud800-\\udfff]"].join("|")+")",Ce=RegExp("['\u2019]","g"),Oe=RegExp(pe,"g"),xe=RegExp(be+"(?="+be+")|"+Me+De,"g"),Le=RegExp([ke+"?"+ge+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[fe,ke,"$"].join("|")+")",Se+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[fe,ke+we,"$"].join("|")+")",ke+"?"+we+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ke+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,Ee].join("|"),"g"),je=RegExp("[\\u200d\\ud800-\\udfff"+he+"\\ufe0e\\ufe0f]"),Ie=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ne=-1,Re={};Re[S]=Re[T]=Re[D]=Re[E]=Re[M]=Re[C]=Re["[object Uint8ClampedArray]"]=Re[O]=Re[x]=!0,Re[a]=Re[c]=Re[k]=Re[l]=Re[w]=Re[u]=Re[h]=Re[d]=Re[p]=Re[m]=Re[g]=Re[_]=Re[b]=Re[y]=Re[F]=!1;var Pe={};Pe[a]=Pe[c]=Pe[k]=Pe[w]=Pe[l]=Pe[u]=Pe[S]=Pe[T]=Pe[D]=Pe[E]=Pe[M]=Pe[p]=Pe[m]=Pe[g]=Pe[_]=Pe[b]=Pe[y]=Pe[v]=Pe[C]=Pe["[object Uint8ClampedArray]"]=Pe[O]=Pe[x]=!0,Pe[h]=Pe[d]=Pe[F]=!1;var Be={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ye=parseFloat,He=parseInt,Ve="object"==typeof global&&global&&global.Object===Object&&global,Ue="object"==typeof self&&self&&self.Object===Object&&self,We=Ve||Ue||Function("return this")(),ze=t&&!t.nodeType&&t,$e=ze&&"object"==typeof e&&e&&!e.nodeType&&e,Ge=$e&&$e.exports===ze,qe=Ge&&Ve.process,Ke=function(){try{return $e&&$e.require&&$e.require("util").types||qe&&qe.binding&&qe.binding("util")}catch(e){}}(),Je=Ke&&Ke.isArrayBuffer,Ze=Ke&&Ke.isDate,Xe=Ke&&Ke.isMap,Qe=Ke&&Ke.isRegExp,et=Ke&&Ke.isSet,tt=Ke&&Ke.isTypedArray;function it(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}function nt(e,t,i,n){for(var s=-1,r=null==e?0:e.length;++s<r;){var o=e[s];t(n,o,i(o),e)}return n}function st(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e}function rt(e,t){for(var i=null==e?0:e.length;i--&&!1!==t(e[i],i,e););return e}function ot(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(!t(e[i],i,e))return!1;return!0}function at(e,t){for(var i=-1,n=null==e?0:e.length,s=0,r=[];++i<n;){var o=e[i];t(o,i,e)&&(r[s++]=o)}return r}function ct(e,t){return!(null==e||!e.length)&&bt(e,t,0)>-1}function lt(e,t,i){for(var n=-1,s=null==e?0:e.length;++n<s;)if(i(t,e[n]))return!0;return!1}function ut(e,t){for(var i=-1,n=null==e?0:e.length,s=Array(n);++i<n;)s[i]=t(e[i],i,e);return s}function ht(e,t){for(var i=-1,n=t.length,s=e.length;++i<n;)e[s+i]=t[i];return e}function dt(e,t,i,n){var s=-1,r=null==e?0:e.length;for(n&&r&&(i=e[++s]);++s<r;)i=t(i,e[s],s,e);return i}function ft(e,t,i,n){var s=null==e?0:e.length;for(n&&s&&(i=e[--s]);s--;)i=t(i,e[s],s,e);return i}function pt(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1}var mt=kt("length");function gt(e,t,i){var n;return i(e,(function(e,i,s){if(t(e,i,s))return n=i,!1})),n}function _t(e,t,i,n){for(var s=e.length,r=i+(n?1:-1);n?r--:++r<s;)if(t(e[r],r,e))return r;return-1}function bt(e,t,i){return t==t?function(e,t,i){for(var n=i-1,s=e.length;++n<s;)if(e[n]===t)return n;return-1}(e,t,i):_t(e,vt,i)}function yt(e,t,i,n){for(var s=i-1,r=e.length;++s<r;)if(n(e[s],t))return s;return-1}function vt(e){return e!=e}function Ft(e,t){var i=null==e?0:e.length;return i?Tt(e,t)/i:NaN}function kt(e){return function(t){return null==t?void 0:t[e]}}function wt(e){return function(t){return null==e?void 0:e[t]}}function St(e,t,i,n,s){return s(e,(function(e,s,r){i=n?(n=!1,e):t(i,e,s,r)})),i}function Tt(e,t){for(var i,n=-1,s=e.length;++n<s;){var r=t(e[n]);void 0!==r&&(i=void 0===i?r:i+r)}return i}function Dt(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}function Et(e){return e?e.slice(0,zt(e)+1).replace(G,""):e}function Mt(e){return function(t){return e(t)}}function Ct(e,t){return ut(t,(function(t){return e[t]}))}function Ot(e,t){return e.has(t)}function xt(e,t){for(var i=-1,n=e.length;++i<n&&bt(t,e[i],0)>-1;);return i}function Lt(e,t){for(var i=e.length;i--&&bt(t,e[i],0)>-1;);return i}function jt(e,t){for(var i=e.length,n=0;i--;)e[i]===t&&++n;return n}var It=wt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),At=wt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Nt(e){return"\\"+Be[e]}function Rt(e){return je.test(e)}function Pt(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i}function Bt(e,t){return function(i){return e(t(i))}}function Yt(e,t){for(var i=-1,n=e.length,s=0,o=[];++i<n;){var a=e[i];a!==t&&a!==r||(e[i]=r,o[s++]=i)}return o}function Ht(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}function Vt(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=[e,e]})),i}function Ut(e){return Rt(e)?function(e){for(var t=xe.lastIndex=0;xe.test(e);)++t;return t}(e):mt(e)}function Wt(e){return Rt(e)?function(e){return e.match(xe)||[]}(e):function(e){return e.split("")}(e)}function zt(e){for(var t=e.length;t--&&q.test(e.charAt(t)););return t}var $t=wt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Gt=function e(t){var i,n=(t=null==t?We:Gt.defaults(We.Object(),t,Gt.pick(We,Ae))).Array,q=t.Date,he=t.Error,de=t.Function,fe=t.Math,pe=t.Object,me=t.RegExp,ge=t.String,_e=t.TypeError,be=n.prototype,ye=pe.prototype,ve=t["__core-js_shared__"],Fe=de.prototype.toString,ke=ye.hasOwnProperty,we=0,Se=(i=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",Te=ye.toString,De=Fe.call(pe),Ee=We._,Me=me("^"+Fe.call(ke).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xe=Ge?t.Buffer:void 0,je=t.Symbol,Be=t.Uint8Array,Ve=xe?xe.allocUnsafe:void 0,Ue=Bt(pe.getPrototypeOf,pe),ze=pe.create,$e=ye.propertyIsEnumerable,qe=be.splice,Ke=je?je.isConcatSpreadable:void 0,mt=je?je.iterator:void 0,wt=je?je.toStringTag:void 0,qt=function(){try{var e=Xs(pe,"defineProperty");return e({},"",{}),e}catch(t){}}(),Kt=t.clearTimeout!==We.clearTimeout&&t.clearTimeout,Jt=q&&q.now!==We.Date.now&&q.now,Zt=t.setTimeout!==We.setTimeout&&t.setTimeout,Xt=fe.ceil,Qt=fe.floor,ei=pe.getOwnPropertySymbols,ti=xe?xe.isBuffer:void 0,ii=t.isFinite,ni=be.join,si=Bt(pe.keys,pe),ri=fe.max,oi=fe.min,ai=q.now,ci=t.parseInt,li=fe.random,ui=be.reverse,hi=Xs(t,"DataView"),di=Xs(t,"Map"),fi=Xs(t,"Promise"),pi=Xs(t,"Set"),mi=Xs(t,"WeakMap"),gi=Xs(pe,"create"),_i=mi&&new mi,bi={},yi=Er(hi),vi=Er(di),Fi=Er(fi),ki=Er(pi),wi=Er(mi),Si=je?je.prototype:void 0,Ti=Si?Si.valueOf:void 0,Di=Si?Si.toString:void 0;function Ei(e){if(zo(e)&&!Io(e)&&!(e instanceof xi)){if(e instanceof Oi)return e;if(ke.call(e,"__wrapped__"))return Mr(e)}return new Oi(e)}var Mi=function(){function e(){}return function(t){if(!Wo(t))return{};if(ze)return ze(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();function Ci(){}function Oi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function xi(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Li(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function ji(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Ii(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Ai(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new Ii;++t<i;)this.add(e[t])}function Ni(e){var t=this.__data__=new ji(e);this.size=t.size}function Ri(e,t){var i=Io(e),n=!i&&jo(e),s=!i&&!n&&Po(e),r=!i&&!n&&!s&&Qo(e),o=i||n||s||r,a=o?Dt(e.length,ge):[],c=a.length;for(var l in e)!t&&!ke.call(e,l)||o&&("length"==l||s&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||rr(l,c))||a.push(l);return a}function Pi(e){var t=e.length;return t?e[An(0,t-1)]:void 0}function Bi(e,t){return kr(gs(e),qi(t,0,e.length))}function Yi(e){return kr(gs(e))}function Hi(e,t,i){(void 0===i||Oo(e[t],i))&&(void 0!==i||t in e)||$i(e,t,i)}function Vi(e,t,i){var n=e[t];ke.call(e,t)&&Oo(n,i)&&(void 0!==i||t in e)||$i(e,t,i)}function Ui(e,t){for(var i=e.length;i--;)if(Oo(e[i][0],t))return i;return-1}function Wi(e,t,i,n){return Qi(e,(function(e,s,r){t(n,e,i(e),r)})),n}function zi(e,t){return e&&_s(t,Fa(t),e)}function $i(e,t,i){"__proto__"==t&&qt?qt(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}function Gi(e,t){for(var i=-1,s=t.length,r=n(s),o=null==e;++i<s;)r[i]=o?void 0:ga(e,t[i]);return r}function qi(e,t,i){return e==e&&(void 0!==i&&(e=e<=i?e:i),void 0!==t&&(e=e>=t?e:t)),e}function Ki(e,t,i,n,s,r){var o,c=1&t,h=2&t,F=4&t;if(i&&(o=s?i(e,n,s,r):i(e)),void 0!==o)return o;if(!Wo(e))return e;var L=Io(e);if(L){if(o=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&ke.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(e),!c)return gs(e,o)}else{var j=tr(e),I=j==d||j==f;if(Po(e))return us(e,c);if(j==g||j==a||I&&!s){if(o=h||I?{}:nr(e),!c)return h?function(e,t){return _s(e,er(e),t)}(e,function(e,t){return e&&_s(t,ka(t),e)}(o,e)):function(e,t){return _s(e,Qs(e),t)}(e,zi(o,e))}else{if(!Pe[j])return s?e:{};o=function(e,t,i){var n=e.constructor;switch(t){case k:return hs(e);case l:case u:return new n(+e);case w:return function(e,t){var i=t?hs(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);case S:case T:case D:case E:case M:case C:case"[object Uint8ClampedArray]":case O:case x:return ds(e,i);case p:return new n;case m:case y:return new n(e);case _:return function(e){var t=new e.constructor(e.source,ie.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new n;case v:return Ti?pe(Ti.call(e)):{}}}(e,j,c)}}r||(r=new Ni);var A=r.get(e);if(A)return A;r.set(e,o),Jo(e)?e.forEach((function(n){o.add(Ki(n,t,i,n,e,r))})):$o(e)&&e.forEach((function(n,s){o.set(s,Ki(n,t,i,s,e,r))}));var N=L?void 0:(F?h?zs:Ws:h?ka:Fa)(e);return st(N||e,(function(n,s){N&&(n=e[s=n]),Vi(o,s,Ki(n,t,i,s,e,r))})),o}function Ji(e,t,i){var n=i.length;if(null==e)return!n;for(e=pe(e);n--;){var s=i[n],r=e[s];if(void 0===r&&!(s in e)||!(0,t[s])(r))return!1}return!0}function Zi(e,t,i){if("function"!=typeof e)throw new _e(s);return br((function(){e.apply(void 0,i)}),t)}function Xi(e,t,i,n){var s=-1,r=ct,o=!0,a=e.length,c=[],l=t.length;if(!a)return c;i&&(t=ut(t,Mt(i))),n?(r=lt,o=!1):t.length>=200&&(r=Ot,o=!1,t=new Ai(t));e:for(;++s<a;){var u=e[s],h=null==i?u:i(u);if(u=n||0!==u?u:0,o&&h==h){for(var d=l;d--;)if(t[d]===h)continue e;c.push(u)}else r(t,h,n)||c.push(u)}return c}Ei.templateSettings={escape:B,evaluate:Y,interpolate:H,variable:"",imports:{_:Ei}},(Ei.prototype=Ci.prototype).constructor=Ei,(Oi.prototype=Mi(Ci.prototype)).constructor=Oi,(xi.prototype=Mi(Ci.prototype)).constructor=xi,Li.prototype.clear=function(){this.__data__=gi?gi(null):{},this.size=0},Li.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Li.prototype.get=function(e){var t=this.__data__;if(gi){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return ke.call(t,e)?t[e]:void 0},Li.prototype.has=function(e){var t=this.__data__;return gi?void 0!==t[e]:ke.call(t,e)},Li.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=gi&&void 0===t?"__lodash_hash_undefined__":t,this},ji.prototype.clear=function(){this.__data__=[],this.size=0},ji.prototype.delete=function(e){var t=this.__data__,i=Ui(t,e);return!(i<0||(i==t.length-1?t.pop():qe.call(t,i,1),--this.size,0))},ji.prototype.get=function(e){var t=this.__data__,i=Ui(t,e);return i<0?void 0:t[i][1]},ji.prototype.has=function(e){return Ui(this.__data__,e)>-1},ji.prototype.set=function(e,t){var i=this.__data__,n=Ui(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this},Ii.prototype.clear=function(){this.size=0,this.__data__={hash:new Li,map:new(di||ji),string:new Li}},Ii.prototype.delete=function(e){var t=Js(this,e).delete(e);return this.size-=t?1:0,t},Ii.prototype.get=function(e){return Js(this,e).get(e)},Ii.prototype.has=function(e){return Js(this,e).has(e)},Ii.prototype.set=function(e,t){var i=Js(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this},Ai.prototype.add=Ai.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ai.prototype.has=function(e){return this.__data__.has(e)},Ni.prototype.clear=function(){this.__data__=new ji,this.size=0},Ni.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},Ni.prototype.get=function(e){return this.__data__.get(e)},Ni.prototype.has=function(e){return this.__data__.has(e)},Ni.prototype.set=function(e,t){var i=this.__data__;if(i instanceof ji){var n=i.__data__;if(!di||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Ii(n)}return i.set(e,t),this.size=i.size,this};var Qi=vs(cn),en=vs(ln,!0);function tn(e,t){var i=!0;return Qi(e,(function(e,n,s){return i=!!t(e,n,s)})),i}function nn(e,t,i){for(var n=-1,s=e.length;++n<s;){var r=e[n],o=t(r);if(null!=o&&(void 0===a?o==o&&!Xo(o):i(o,a)))var a=o,c=r}return c}function sn(e,t){var i=[];return Qi(e,(function(e,n,s){t(e,n,s)&&i.push(e)})),i}function rn(e,t,i,n,s){var r=-1,o=e.length;for(i||(i=sr),s||(s=[]);++r<o;){var a=e[r];t>0&&i(a)?t>1?rn(a,t-1,i,n,s):ht(s,a):n||(s[s.length]=a)}return s}var on=Fs(),an=Fs(!0);function cn(e,t){return e&&on(e,t,Fa)}function ln(e,t){return e&&an(e,t,Fa)}function un(e,t){return at(t,(function(t){return Ho(e[t])}))}function hn(e,t){for(var i=0,n=(t=os(t,e)).length;null!=e&&i<n;)e=e[Dr(t[i++])];return i&&i==n?e:void 0}function dn(e,t,i){var n=t(e);return Io(e)?n:ht(n,i(e))}function fn(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":wt&&wt in pe(e)?function(e){var t=ke.call(e,wt),i=e[wt];try{e[wt]=void 0;var n=!0}catch(r){}var s=Te.call(e);return n&&(t?e[wt]=i:delete e[wt]),s}(e):function(e){return Te.call(e)}(e)}function pn(e,t){return e>t}function mn(e,t){return null!=e&&ke.call(e,t)}function gn(e,t){return null!=e&&t in pe(e)}function _n(e,t,i){for(var s=i?lt:ct,r=e[0].length,o=e.length,a=o,c=n(o),l=1/0,u=[];a--;){var h=e[a];a&&t&&(h=ut(h,Mt(t))),l=oi(h.length,l),c[a]=!i&&(t||r>=120&&h.length>=120)?new Ai(a&&h):void 0}h=e[0];var d=-1,f=c[0];e:for(;++d<r&&u.length<l;){var p=h[d],m=t?t(p):p;if(p=i||0!==p?p:0,!(f?Ot(f,m):s(u,m,i))){for(a=o;--a;){var g=c[a];if(!(g?Ot(g,m):s(e[a],m,i)))continue e}f&&f.push(m),u.push(p)}}return u}function bn(e,t,i){var n=null==(e=pr(e,t=os(t,e)))?e:e[Dr(Br(t))];return null==n?void 0:it(n,e,i)}function yn(e){return zo(e)&&fn(e)==a}function vn(e,t,i,n,s){return e===t||(null==e||null==t||!zo(e)&&!zo(t)?e!=e&&t!=t:function(e,t,i,n,s,r){var o=Io(e),d=Io(t),f=o?c:tr(e),F=d?c:tr(t),S=(f=f==a?g:f)==g,T=(F=F==a?g:F)==g,D=f==F;if(D&&Po(e)){if(!Po(t))return!1;o=!0,S=!1}if(D&&!S)return r||(r=new Ni),o||Qo(e)?Vs(e,t,i,n,s,r):function(e,t,i,n,s,r,o){switch(i){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!r(new Be(e),new Be(t)));case l:case u:case m:return Oo(+e,+t);case h:return e.name==t.name&&e.message==t.message;case _:case y:return e==t+"";case p:var a=Pt;case b:if(a||(a=Ht),e.size!=t.size&&!(1&n))return!1;var c=o.get(e);if(c)return c==t;n|=2,o.set(e,t);var d=Vs(a(e),a(t),n,s,r,o);return o.delete(e),d;case v:if(Ti)return Ti.call(e)==Ti.call(t)}return!1}(e,t,f,i,n,s,r);if(!(1&i)){var E=S&&ke.call(e,"__wrapped__"),M=T&&ke.call(t,"__wrapped__");if(E||M){var C=E?e.value():e,O=M?t.value():t;return r||(r=new Ni),s(C,O,i,n,r)}}return!!D&&(r||(r=new Ni),function(e,t,i,n,s,r){var o=1&i,a=Ws(e),c=a.length;if(c!=Ws(t).length&&!o)return!1;for(var l=c;l--;){var u=a[l];if(!(o?u in t:ke.call(t,u)))return!1}var h=r.get(e),d=r.get(t);if(h&&d)return h==t&&d==e;var f=!0;r.set(e,t),r.set(t,e);for(var p=o;++l<c;){var m=e[u=a[l]],g=t[u];if(n)var _=o?n(g,m,u,t,e,r):n(m,g,u,e,t,r);if(!(void 0===_?m===g||s(m,g,i,n,r):_)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var b=e.constructor,y=t.constructor;b!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y)&&(f=!1)}return r.delete(e),r.delete(t),f}(e,t,i,n,s,r))}(e,t,i,n,vn,s))}function Fn(e,t,i,n){var s=i.length,r=s,o=!n;if(null==e)return!r;for(e=pe(e);s--;){var a=i[s];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++s<r;){var c=(a=i[s])[0],l=e[c],u=a[1];if(o&&a[2]){if(void 0===l&&!(c in e))return!1}else{var h=new Ni;if(n)var d=n(l,u,c,e,t,h);if(!(void 0===d?vn(u,l,3,n,h):d))return!1}}return!0}function kn(e){return!(!Wo(e)||(t=e,Se&&Se in t))&&(Ho(e)?Me:re).test(Er(e));var t}function wn(e){return"function"==typeof e?e:null==e?Ga:"object"==typeof e?Io(e)?Mn(e[0],e[1]):En(e):ic(e)}function Sn(e){if(!ur(e))return si(e);var t=[];for(var i in pe(e))ke.call(e,i)&&"constructor"!=i&&t.push(i);return t}function Tn(e,t){return e<t}function Dn(e,t){var i=-1,s=No(e)?n(e.length):[];return Qi(e,(function(e,n,r){s[++i]=t(e,n,r)})),s}function En(e){var t=Zs(e);return 1==t.length&&t[0][2]?dr(t[0][0],t[0][1]):function(i){return i===e||Fn(i,e,t)}}function Mn(e,t){return ar(e)&&hr(t)?dr(Dr(e),t):function(i){var n=ga(i,e);return void 0===n&&n===t?_a(i,e):vn(t,n,3)}}function Cn(e,t,i,n,s){e!==t&&on(t,(function(r,o){if(s||(s=new Ni),Wo(r))!function(e,t,i,n,s,r,o){var a=gr(e,i),c=gr(t,i),l=o.get(c);if(l)Hi(e,i,l);else{var u=r?r(a,c,i+"",e,t,o):void 0,h=void 0===u;if(h){var d=Io(c),f=!d&&Po(c),p=!d&&!f&&Qo(c);u=c,d||f||p?Io(a)?u=a:Ro(a)?u=gs(a):f?(h=!1,u=us(c,!0)):p?(h=!1,u=ds(c,!0)):u=[]:qo(c)||jo(c)?(u=a,jo(a)?u=aa(a):Wo(a)&&!Ho(a)||(u=nr(c))):h=!1}h&&(o.set(c,u),s(u,c,n,r,o),o.delete(c)),Hi(e,i,u)}}(e,t,o,i,Cn,n,s);else{var a=n?n(gr(e,o),r,o+"",e,t,s):void 0;void 0===a&&(a=r),Hi(e,o,a)}}),ka)}function On(e,t){var i=e.length;if(i)return rr(t+=t<0?i:0,i)?e[t]:void 0}function xn(e,t,i){t=t.length?ut(t,(function(e){return Io(e)?function(t){return hn(t,1===e.length?e[0]:e)}:e})):[Ga];var n=-1;return t=ut(t,Mt(Ks())),function(e,t){var n=e.length;for(e.sort((function(e,t){return function(e,t,i){for(var n=-1,s=e.criteria,r=t.criteria,o=s.length,a=i.length;++n<o;){var c=fs(s[n],r[n]);if(c)return n>=a?c:c*("desc"==i[n]?-1:1)}return e.index-t.index}(e,t,i)}));n--;)e[n]=e[n].value;return e}(Dn(e,(function(e,i,s){return{criteria:ut(t,(function(t){return t(e)})),index:++n,value:e}})))}function Ln(e,t,i){for(var n=-1,s=t.length,r={};++n<s;){var o=t[n],a=hn(e,o);i(a,o)&&Yn(r,os(o,e),a)}return r}function jn(e,t,i,n){var s=n?yt:bt,r=-1,o=t.length,a=e;for(e===t&&(t=gs(t)),i&&(a=ut(e,Mt(i)));++r<o;)for(var c=0,l=t[r],u=i?i(l):l;(c=s(a,u,c,n))>-1;)a!==e&&qe.call(a,c,1),qe.call(e,c,1);return e}function In(e,t){for(var i=e?t.length:0,n=i-1;i--;){var s=t[i];if(i==n||s!==r){var r=s;rr(s)?qe.call(e,s,1):Xn(e,s)}}return e}function An(e,t){return e+Qt(li()*(t-e+1))}function Nn(e,t){var i="";if(!e||t<1||t>9007199254740991)return i;do{t%2&&(i+=e),(t=Qt(t/2))&&(e+=e)}while(t);return i}function Rn(e,t){return yr(fr(e,t,Ga),e+"")}function Pn(e){return Pi(Oa(e))}function Bn(e,t){var i=Oa(e);return kr(i,qi(t,0,i.length))}function Yn(e,t,i,n){if(!Wo(e))return e;for(var s=-1,r=(t=os(t,e)).length,o=r-1,a=e;null!=a&&++s<r;){var c=Dr(t[s]),l=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(s!=o){var u=a[c];void 0===(l=n?n(u,c,a):void 0)&&(l=Wo(u)?u:rr(t[s+1])?[]:{})}Vi(a,c,l),a=a[c]}return e}var Hn=_i?function(e,t){return _i.set(e,t),e}:Ga,Vn=qt?function(e,t){return qt(e,"toString",{configurable:!0,enumerable:!1,value:Wa(t),writable:!0})}:Ga;function Un(e){return kr(Oa(e))}function Wn(e,t,i){var s=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(i=i>r?r:i)<0&&(i+=r),r=t>i?0:i-t>>>0,t>>>=0;for(var o=n(r);++s<r;)o[s]=e[s+t];return o}function zn(e,t){var i;return Qi(e,(function(e,n,s){return!(i=t(e,n,s))})),!!i}function $n(e,t,i){var n=0,s=null==e?n:e.length;if("number"==typeof t&&t==t&&s<=2147483647){for(;n<s;){var r=n+s>>>1,o=e[r];null!==o&&!Xo(o)&&(i?o<=t:o<t)?n=r+1:s=r}return s}return Gn(e,t,Ga,i)}function Gn(e,t,i,n){var s=0,r=null==e?0:e.length;if(0===r)return 0;for(var o=(t=i(t))!=t,a=null===t,c=Xo(t),l=void 0===t;s<r;){var u=Qt((s+r)/2),h=i(e[u]),d=void 0!==h,f=null===h,p=h==h,m=Xo(h);if(o)var g=n||p;else g=l?p&&(n||d):a?p&&d&&(n||!f):c?p&&d&&!f&&(n||!m):!f&&!m&&(n?h<=t:h<t);g?s=u+1:r=u}return oi(r,4294967294)}function qn(e,t){for(var i=-1,n=e.length,s=0,r=[];++i<n;){var o=e[i],a=t?t(o):o;if(!i||!Oo(a,c)){var c=a;r[s++]=0===o?0:o}}return r}function Kn(e){return"number"==typeof e?e:Xo(e)?NaN:+e}function Jn(e){if("string"==typeof e)return e;if(Io(e))return ut(e,Jn)+"";if(Xo(e))return Di?Di.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zn(e,t,i){var n=-1,s=ct,r=e.length,o=!0,a=[],c=a;if(i)o=!1,s=lt;else if(r>=200){var l=t?null:Ns(e);if(l)return Ht(l);o=!1,s=Ot,c=new Ai}else c=t?[]:a;e:for(;++n<r;){var u=e[n],h=t?t(u):u;if(u=i||0!==u?u:0,o&&h==h){for(var d=c.length;d--;)if(c[d]===h)continue e;t&&c.push(h),a.push(u)}else s(c,h,i)||(c!==a&&c.push(h),a.push(u))}return a}function Xn(e,t){return null==(e=pr(e,t=os(t,e)))||delete e[Dr(Br(t))]}function Qn(e,t,i,n){return Yn(e,t,i(hn(e,t)),n)}function es(e,t,i,n){for(var s=e.length,r=n?s:-1;(n?r--:++r<s)&&t(e[r],r,e););return i?Wn(e,n?0:r,n?r+1:s):Wn(e,n?r+1:0,n?s:r)}function ts(e,t){var i=e;return i instanceof xi&&(i=i.value()),dt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),i)}function is(e,t,i){var s=e.length;if(s<2)return s?Zn(e[0]):[];for(var r=-1,o=n(s);++r<s;)for(var a=e[r],c=-1;++c<s;)c!=r&&(o[r]=Xi(o[r]||a,e[c],t,i));return Zn(rn(o,1),t,i)}function ns(e,t,i){for(var n=-1,s=e.length,r=t.length,o={};++n<s;)i(o,e[n],n<r?t[n]:void 0);return o}function ss(e){return Ro(e)?e:[]}function rs(e){return"function"==typeof e?e:Ga}function os(e,t){return Io(e)?e:ar(e,t)?[e]:Tr(ca(e))}var as=Rn;function cs(e,t,i){var n=e.length;return i=void 0===i?n:i,!t&&i>=n?e:Wn(e,t,i)}var ls=Kt||function(e){return We.clearTimeout(e)};function us(e,t){if(t)return e.slice();var i=e.length,n=Ve?Ve(i):new e.constructor(i);return e.copy(n),n}function hs(e){var t=new e.constructor(e.byteLength);return new Be(t).set(new Be(e)),t}function ds(e,t){var i=t?hs(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}function fs(e,t){if(e!==t){var i=void 0!==e,n=null===e,s=e==e,r=Xo(e),o=void 0!==t,a=null===t,c=t==t,l=Xo(t);if(!a&&!l&&!r&&e>t||r&&o&&c&&!a&&!l||n&&o&&c||!i&&c||!s)return 1;if(!n&&!r&&!l&&e<t||l&&i&&s&&!n&&!r||a&&i&&s||!o&&s||!c)return-1}return 0}function ps(e,t,i,s){for(var r=-1,o=e.length,a=i.length,c=-1,l=t.length,u=ri(o-a,0),h=n(l+u),d=!s;++c<l;)h[c]=t[c];for(;++r<a;)(d||r<o)&&(h[i[r]]=e[r]);for(;u--;)h[c++]=e[r++];return h}function ms(e,t,i,s){for(var r=-1,o=e.length,a=-1,c=i.length,l=-1,u=t.length,h=ri(o-c,0),d=n(h+u),f=!s;++r<h;)d[r]=e[r];for(var p=r;++l<u;)d[p+l]=t[l];for(;++a<c;)(f||r<o)&&(d[p+i[a]]=e[r++]);return d}function gs(e,t){var i=-1,s=e.length;for(t||(t=n(s));++i<s;)t[i]=e[i];return t}function _s(e,t,i,n){var s=!i;i||(i={});for(var r=-1,o=t.length;++r<o;){var a=t[r],c=n?n(i[a],e[a],a,i,e):void 0;void 0===c&&(c=e[a]),s?$i(i,a,c):Vi(i,a,c)}return i}function bs(e,t){return function(i,n){var s=Io(i)?nt:Wi,r=t?t():{};return s(i,e,Ks(n,2),r)}}function ys(e){return Rn((function(t,i){var n=-1,s=i.length,r=s>1?i[s-1]:void 0,o=s>2?i[2]:void 0;for(r=e.length>3&&"function"==typeof r?(s--,r):void 0,o&&or(i[0],i[1],o)&&(r=s<3?void 0:r,s=1),t=pe(t);++n<s;){var a=i[n];a&&e(t,a,n,r)}return t}))}function vs(e,t){return function(i,n){if(null==i)return i;if(!No(i))return e(i,n);for(var s=i.length,r=t?s:-1,o=pe(i);(t?r--:++r<s)&&!1!==n(o[r],r,o););return i}}function Fs(e){return function(t,i,n){for(var s=-1,r=pe(t),o=n(t),a=o.length;a--;){var c=o[e?a:++s];if(!1===i(r[c],c,r))break}return t}}function ks(e){return function(t){var i=Rt(t=ca(t))?Wt(t):void 0,n=i?i[0]:t.charAt(0),s=i?cs(i,1).join(""):t.slice(1);return n[e]()+s}}function ws(e){return function(t){return dt(Ha(ja(t).replace(Ce,"")),e,"")}}function Ss(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var i=Mi(e.prototype),n=e.apply(i,t);return Wo(n)?n:i}}function Ts(e){return function(t,i,n){var s=pe(t);if(!No(t)){var r=Ks(i,3);t=Fa(t),i=function(e){return r(s[e],e,s)}}var o=e(t,i,n);return o>-1?s[r?t[o]:o]:void 0}}function Ds(e){return Us((function(t){var i=t.length,n=i,r=Oi.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new _e(s);if(r&&!a&&"wrapper"==Gs(o))var a=new Oi([],!0)}for(n=a?n:i;++n<i;){var c=Gs(o=t[n]),l="wrapper"==c?$s(o):void 0;a=l&&cr(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[Gs(l[0])].apply(a,l[3]):1==o.length&&cr(o)?a[c]():a.thru(o)}return function(){var e=arguments,n=e[0];if(a&&1==e.length&&Io(n))return a.plant(n).value();for(var s=0,r=i?t[s].apply(this,e):n;++s<i;)r=t[s].call(this,r);return r}}))}function Es(e,t,i,s,r,o,a,c,l,u){var h=128&t,d=1&t,f=2&t,p=24&t,m=512&t,g=f?void 0:Ss(e);return function _(){for(var b=arguments.length,y=n(b),v=b;v--;)y[v]=arguments[v];if(p)var F=qs(_),k=jt(y,F);if(s&&(y=ps(y,s,r,p)),o&&(y=ms(y,o,a,p)),b-=k,p&&b<u){var w=Yt(y,F);return Is(e,t,Es,_.placeholder,i,y,w,c,l,u-b)}var S=d?i:this,T=f?S[e]:e;return b=y.length,c?y=mr(y,c):m&&b>1&&y.reverse(),h&&l<b&&(y.length=l),this&&this!==We&&this instanceof _&&(T=g||Ss(T)),T.apply(S,y)}}function Ms(e,t){return function(i,n){return function(e,t,i,n){return cn(e,(function(e,s,r){t(n,i(e),s,r)})),n}(i,e,t(n),{})}}function Cs(e,t){return function(i,n){var s;if(void 0===i&&void 0===n)return t;if(void 0!==i&&(s=i),void 0!==n){if(void 0===s)return n;"string"==typeof i||"string"==typeof n?(i=Jn(i),n=Jn(n)):(i=Kn(i),n=Kn(n)),s=e(i,n)}return s}}function Os(e){return Us((function(t){return t=ut(t,Mt(Ks())),Rn((function(i){var n=this;return e(t,(function(e){return it(e,n,i)}))}))}))}function xs(e,t){var i=(t=void 0===t?" ":Jn(t)).length;if(i<2)return i?Nn(t,e):t;var n=Nn(t,Xt(e/Ut(t)));return Rt(t)?cs(Wt(n),0,e).join(""):n.slice(0,e)}function Ls(e){return function(t,i,s){return s&&"number"!=typeof s&&or(t,i,s)&&(i=s=void 0),t=na(t),void 0===i?(i=t,t=0):i=na(i),function(e,t,i,s){for(var r=-1,o=ri(Xt((t-e)/(i||1)),0),a=n(o);o--;)a[s?o:++r]=e,e+=i;return a}(t,i,s=void 0===s?t<i?1:-1:na(s),e)}}function js(e){return function(t,i){return"string"==typeof t&&"string"==typeof i||(t=oa(t),i=oa(i)),e(t,i)}}function Is(e,t,i,n,s,r,o,a,c,l){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var h=[e,t,s,u?r:void 0,u?o:void 0,u?void 0:r,u?void 0:o,a,c,l],d=i.apply(void 0,h);return cr(e)&&_r(d,h),d.placeholder=n,vr(d,e,t)}function As(e){var t=fe[e];return function(e,i){if(e=oa(e),(i=null==i?0:oi(sa(i),292))&&ii(e)){var n=(ca(e)+"e").split("e");return+((n=(ca(t(n[0]+"e"+(+n[1]+i)))+"e").split("e"))[0]+"e"+(+n[1]-i))}return t(e)}}var Ns=pi&&1/Ht(new pi([,-0]))[1]==1/0?function(e){return new pi(e)}:Xa;function Rs(e){return function(t){var i=tr(t);return i==p?Pt(t):i==b?Vt(t):function(e,t){return ut(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ps(e,t,i,o,a,c,l,u){var h=2&t;if(!h&&"function"!=typeof e)throw new _e(s);var d=o?o.length:0;if(d||(t&=-97,o=a=void 0),l=void 0===l?l:ri(sa(l),0),u=void 0===u?u:sa(u),d-=a?a.length:0,64&t){var f=o,p=a;o=a=void 0}var m=h?void 0:$s(e),g=[e,t,i,o,a,f,p,c,l,u];if(m&&function(e,t){var i=e[1],n=t[1],s=i|n;if(!(s<131||128==n&&8==i||128==n&&256==i&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==i))return e;1&n&&(e[2]=t[2],s|=1&i?0:4);var o=t[3];if(o){var a=e[3];e[3]=a?ps(a,o,t[4]):o,e[4]=a?Yt(e[3],r):t[4]}(o=t[5])&&(e[5]=(a=e[5])?ms(a,o,t[6]):o,e[6]=a?Yt(e[5],r):t[6]),(o=t[7])&&(e[7]=o),128&n&&(e[8]=null==e[8]?t[8]:oi(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=s}(g,m),e=g[0],t=g[1],i=g[2],o=g[3],a=g[4],!(u=g[9]=void 0===g[9]?h?0:e.length:ri(g[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||16==t?function(e,t,i){var s=Ss(e);return function r(){for(var o=arguments.length,a=n(o),c=o,l=qs(r);c--;)a[c]=arguments[c];var u=o<3&&a[0]!==l&&a[o-1]!==l?[]:Yt(a,l);if((o-=u.length)<i)return Is(e,t,Es,r.placeholder,void 0,a,u,void 0,void 0,i-o);var h=this&&this!==We&&this instanceof r?s:e;return it(h,this,a)}}(e,t,u):32!=t&&33!=t||a.length?Es.apply(void 0,g):function(e,t,i,s){var r=1&t,o=Ss(e);return function t(){for(var a=-1,c=arguments.length,l=-1,u=s.length,h=n(u+c),d=this&&this!==We&&this instanceof t?o:e;++l<u;)h[l]=s[l];for(;c--;)h[l++]=arguments[++a];return it(d,r?i:this,h)}}(e,t,i,o);else var _=function(e,t,i){var n=1&t,s=Ss(e);return function t(){var r=this&&this!==We&&this instanceof t?s:e;return r.apply(n?i:this,arguments)}}(e,t,i);return vr((m?Hn:_r)(_,g),e,t)}function Bs(e,t,i,n){return void 0===e||Oo(e,ye[i])&&!ke.call(n,i)?t:e}function Ys(e,t,i,n,s,r){return Wo(e)&&Wo(t)&&(r.set(t,e),Cn(e,t,void 0,Ys,r),r.delete(t)),e}function Hs(e){return qo(e)?void 0:e}function Vs(e,t,i,n,s,r){var o=1&i,a=e.length,c=t.length;if(a!=c&&!(o&&c>a))return!1;var l=r.get(e),u=r.get(t);if(l&&u)return l==t&&u==e;var h=-1,d=!0,f=2&i?new Ai:void 0;for(r.set(e,t),r.set(t,e);++h<a;){var p=e[h],m=t[h];if(n)var g=o?n(m,p,h,t,e,r):n(p,m,h,e,t,r);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!pt(t,(function(e,t){if(!Ot(f,t)&&(p===e||s(p,e,i,n,r)))return f.push(t)}))){d=!1;break}}else if(p!==m&&!s(p,m,i,n,r)){d=!1;break}}return r.delete(e),r.delete(t),d}function Us(e){return yr(fr(e,void 0,Ir),e+"")}function Ws(e){return dn(e,Fa,Qs)}function zs(e){return dn(e,ka,er)}var $s=_i?function(e){return _i.get(e)}:Xa;function Gs(e){for(var t=e.name+"",i=bi[t],n=ke.call(bi,t)?i.length:0;n--;){var s=i[n],r=s.func;if(null==r||r==e)return s.name}return t}function qs(e){return(ke.call(Ei,"placeholder")?Ei:e).placeholder}function Ks(){var e=Ei.iteratee||qa;return e=e===qa?wn:e,arguments.length?e(arguments[0],arguments[1]):e}function Js(e,t){var i,n,s=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?s["string"==typeof t?"string":"hash"]:s.map}function Zs(e){for(var t=Fa(e),i=t.length;i--;){var n=t[i],s=e[n];t[i]=[n,s,hr(s)]}return t}function Xs(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return kn(i)?i:void 0}var Qs=ei?function(e){return null==e?[]:(e=pe(e),at(ei(e),(function(t){return $e.call(e,t)})))}:rc,er=ei?function(e){for(var t=[];e;)ht(t,Qs(e)),e=Ue(e);return t}:rc,tr=fn;function ir(e,t,i){for(var n=-1,s=(t=os(t,e)).length,r=!1;++n<s;){var o=Dr(t[n]);if(!(r=null!=e&&i(e,o)))break;e=e[o]}return r||++n!=s?r:!!(s=null==e?0:e.length)&&Uo(s)&&rr(o,s)&&(Io(e)||jo(e))}function nr(e){return"function"!=typeof e.constructor||ur(e)?{}:Mi(Ue(e))}function sr(e){return Io(e)||jo(e)||!!(Ke&&e&&e[Ke])}function rr(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&ae.test(e))&&e>-1&&e%1==0&&e<t}function or(e,t,i){if(!Wo(i))return!1;var n=typeof t;return!!("number"==n?No(i)&&rr(t,i.length):"string"==n&&t in i)&&Oo(i[t],e)}function ar(e,t){if(Io(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!Xo(e))||U.test(e)||!V.test(e)||null!=t&&e in pe(t)}function cr(e){var t=Gs(e),i=Ei[t];if("function"!=typeof i||!(t in xi.prototype))return!1;if(e===i)return!0;var n=$s(i);return!!n&&e===n[0]}(hi&&tr(new hi(new ArrayBuffer(1)))!=w||di&&tr(new di)!=p||fi&&"[object Promise]"!=tr(fi.resolve())||pi&&tr(new pi)!=b||mi&&tr(new mi)!=F)&&(tr=function(e){var t=fn(e),i=t==g?e.constructor:void 0,n=i?Er(i):"";if(n)switch(n){case yi:return w;case vi:return p;case Fi:return"[object Promise]";case ki:return b;case wi:return F}return t});var lr=ve?Ho:oc;function ur(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ye)}function hr(e){return e==e&&!Wo(e)}function dr(e,t){return function(i){return null!=i&&i[e]===t&&(void 0!==t||e in pe(i))}}function fr(e,t,i){return t=ri(void 0===t?e.length-1:t,0),function(){for(var s=arguments,r=-1,o=ri(s.length-t,0),a=n(o);++r<o;)a[r]=s[t+r];r=-1;for(var c=n(t+1);++r<t;)c[r]=s[r];return c[t]=i(a),it(e,this,c)}}function pr(e,t){return t.length<2?e:hn(e,Wn(t,0,-1))}function mr(e,t){for(var i=e.length,n=oi(t.length,i),s=gs(e);n--;){var r=t[n];e[n]=rr(r,i)?s[r]:void 0}return e}function gr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var _r=Fr(Hn),br=Zt||function(e,t){return We.setTimeout(e,t)},yr=Fr(Vn);function vr(e,t,i){var n=t+"";return yr(e,function(e,t){var i=t.length;if(!i)return e;var n=i-1;return t[n]=(i>1?"& ":"")+t[n],t=t.join(i>2?", ":" "),e.replace(K,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return st(o,(function(i){var n="_."+i[0];t&i[1]&&!ct(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Z):[]}(n),i)))}function Fr(e){var t=0,i=0;return function(){var n=ai(),s=16-(n-i);if(i=n,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function kr(e,t){var i=-1,n=e.length,s=n-1;for(t=void 0===t?n:t;++i<t;){var r=An(i,s),o=e[r];e[r]=e[i],e[i]=o}return e.length=t,e}var wr,Sr,Tr=(wr=So((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,i,n,s){t.push(n?s.replace(ee,"$1"):i||e)})),t}),(function(e){return 500===Sr.size&&Sr.clear(),e})),Sr=wr.cache,wr);function Dr(e){if("string"==typeof e||Xo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Er(e){if(null!=e){try{return Fe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Mr(e){if(e instanceof xi)return e.clone();var t=new Oi(e.__wrapped__,e.__chain__);return t.__actions__=gs(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Cr=Rn((function(e,t){return Ro(e)?Xi(e,rn(t,1,Ro,!0)):[]})),Or=Rn((function(e,t){var i=Br(t);return Ro(i)&&(i=void 0),Ro(e)?Xi(e,rn(t,1,Ro,!0),Ks(i,2)):[]})),xr=Rn((function(e,t){var i=Br(t);return Ro(i)&&(i=void 0),Ro(e)?Xi(e,rn(t,1,Ro,!0),void 0,i):[]}));function Lr(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=null==i?0:sa(i);return s<0&&(s=ri(n+s,0)),_t(e,Ks(t,3),s)}function jr(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=n-1;return void 0!==i&&(s=sa(i),s=i<0?ri(n+s,0):oi(s,n-1)),_t(e,Ks(t,3),s,!0)}function Ir(e){return null!=e&&e.length?rn(e,1):[]}function Ar(e){return e&&e.length?e[0]:void 0}var Nr=Rn((function(e){var t=ut(e,ss);return t.length&&t[0]===e[0]?_n(t):[]})),Rr=Rn((function(e){var t=Br(e),i=ut(e,ss);return t===Br(i)?t=void 0:i.pop(),i.length&&i[0]===e[0]?_n(i,Ks(t,2)):[]})),Pr=Rn((function(e){var t=Br(e),i=ut(e,ss);return(t="function"==typeof t?t:void 0)&&i.pop(),i.length&&i[0]===e[0]?_n(i,void 0,t):[]}));function Br(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Yr=Rn(Hr);function Hr(e,t){return e&&e.length&&t&&t.length?jn(e,t):e}var Vr=Us((function(e,t){var i=null==e?0:e.length,n=Gi(e,t);return In(e,ut(t,(function(e){return rr(e,i)?+e:e})).sort(fs)),n}));function Ur(e){return null==e?e:ui.call(e)}var Wr=Rn((function(e){return Zn(rn(e,1,Ro,!0))})),zr=Rn((function(e){var t=Br(e);return Ro(t)&&(t=void 0),Zn(rn(e,1,Ro,!0),Ks(t,2))})),$r=Rn((function(e){var t=Br(e);return t="function"==typeof t?t:void 0,Zn(rn(e,1,Ro,!0),void 0,t)}));function Gr(e){if(!e||!e.length)return[];var t=0;return e=at(e,(function(e){if(Ro(e))return t=ri(e.length,t),!0})),Dt(t,(function(t){return ut(e,kt(t))}))}function qr(e,t){if(!e||!e.length)return[];var i=Gr(e);return null==t?i:ut(i,(function(e){return it(t,void 0,e)}))}var Kr=Rn((function(e,t){return Ro(e)?Xi(e,t):[]})),Jr=Rn((function(e){return is(at(e,Ro))})),Zr=Rn((function(e){var t=Br(e);return Ro(t)&&(t=void 0),is(at(e,Ro),Ks(t,2))})),Xr=Rn((function(e){var t=Br(e);return t="function"==typeof t?t:void 0,is(at(e,Ro),void 0,t)})),Qr=Rn(Gr),eo=Rn((function(e){var t=e.length,i=t>1?e[t-1]:void 0;return i="function"==typeof i?(e.pop(),i):void 0,qr(e,i)}));function to(e){var t=Ei(e);return t.__chain__=!0,t}function io(e,t){return t(e)}var no=Us((function(e){var t=e.length,i=t?e[0]:0,n=this.__wrapped__,s=function(t){return Gi(t,e)};return!(t>1||this.__actions__.length)&&n instanceof xi&&rr(i)?((n=n.slice(i,+i+(t?1:0))).__actions__.push({func:io,args:[s],thisArg:void 0}),new Oi(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(s)})),so=bs((function(e,t,i){ke.call(e,i)?++e[i]:$i(e,i,1)})),ro=Ts(Lr),oo=Ts(jr);function ao(e,t){return(Io(e)?st:Qi)(e,Ks(t,3))}function co(e,t){return(Io(e)?rt:en)(e,Ks(t,3))}var lo=bs((function(e,t,i){ke.call(e,i)?e[i].push(t):$i(e,i,[t])})),uo=Rn((function(e,t,i){var s=-1,r="function"==typeof t,o=No(e)?n(e.length):[];return Qi(e,(function(e){o[++s]=r?it(t,e,i):bn(e,t,i)})),o})),ho=bs((function(e,t,i){$i(e,i,t)}));function fo(e,t){return(Io(e)?ut:Dn)(e,Ks(t,3))}var po=bs((function(e,t,i){e[i?0:1].push(t)}),(function(){return[[],[]]})),mo=Rn((function(e,t){if(null==e)return[];var i=t.length;return i>1&&or(e,t[0],t[1])?t=[]:i>2&&or(t[0],t[1],t[2])&&(t=[t[0]]),xn(e,rn(t,1),[])})),go=Jt||function(){return We.Date.now()};function _o(e,t,i){return t=i?void 0:t,Ps(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function bo(e,t){var i;if("function"!=typeof t)throw new _e(s);return e=sa(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=void 0),i}}var yo=Rn((function(e,t,i){var n=1;if(i.length){var s=Yt(i,qs(yo));n|=32}return Ps(e,n,t,i,s)})),vo=Rn((function(e,t,i){var n=3;if(i.length){var s=Yt(i,qs(vo));n|=32}return Ps(t,n,e,i,s)}));function Fo(e,t,i){var n,r,o,a,c,l,u=0,h=!1,d=!1,f=!0;if("function"!=typeof e)throw new _e(s);function p(t){var i=n,s=r;return n=r=void 0,u=t,a=e.apply(s,i)}function m(e){return u=e,c=br(_,t),h?p(e):a}function g(e){var i=e-l;return void 0===l||i>=t||i<0||d&&e-u>=o}function _(){var e=go();if(g(e))return b(e);c=br(_,function(e){var i=t-(e-l);return d?oi(i,o-(e-u)):i}(e))}function b(e){return c=void 0,f&&n?p(e):(n=r=void 0,a)}function y(){var e=go(),i=g(e);if(n=arguments,r=this,l=e,i){if(void 0===c)return m(l);if(d)return ls(c),c=br(_,t),p(l)}return void 0===c&&(c=br(_,t)),a}return t=oa(t)||0,Wo(i)&&(h=!!i.leading,o=(d="maxWait"in i)?ri(oa(i.maxWait)||0,t):o,f="trailing"in i?!!i.trailing:f),y.cancel=function(){void 0!==c&&ls(c),u=0,n=l=r=c=void 0},y.flush=function(){return void 0===c?a:b(go())},y}var ko=Rn((function(e,t){return Zi(e,1,t)})),wo=Rn((function(e,t,i){return Zi(e,oa(t)||0,i)}));function So(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new _e(s);var i=function(){var n=arguments,s=t?t.apply(this,n):n[0],r=i.cache;if(r.has(s))return r.get(s);var o=e.apply(this,n);return i.cache=r.set(s,o)||r,o};return i.cache=new(So.Cache||Ii),i}function To(e){if("function"!=typeof e)throw new _e(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}So.Cache=Ii;var Do=as((function(e,t){var i=(t=1==t.length&&Io(t[0])?ut(t[0],Mt(Ks())):ut(rn(t,1),Mt(Ks()))).length;return Rn((function(n){for(var s=-1,r=oi(n.length,i);++s<r;)n[s]=t[s].call(this,n[s]);return it(e,this,n)}))})),Eo=Rn((function(e,t){return Ps(e,32,void 0,t,Yt(t,qs(Eo)))})),Mo=Rn((function(e,t){return Ps(e,64,void 0,t,Yt(t,qs(Mo)))})),Co=Us((function(e,t){return Ps(e,256,void 0,void 0,void 0,t)}));function Oo(e,t){return e===t||e!=e&&t!=t}var xo=js(pn),Lo=js((function(e,t){return e>=t})),jo=yn(function(){return arguments}())?yn:function(e){return zo(e)&&ke.call(e,"callee")&&!$e.call(e,"callee")},Io=n.isArray,Ao=Je?Mt(Je):function(e){return zo(e)&&fn(e)==k};function No(e){return null!=e&&Uo(e.length)&&!Ho(e)}function Ro(e){return zo(e)&&No(e)}var Po=ti||oc,Bo=Ze?Mt(Ze):function(e){return zo(e)&&fn(e)==u};function Yo(e){if(!zo(e))return!1;var t=fn(e);return t==h||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!qo(e)}function Ho(e){if(!Wo(e))return!1;var t=fn(e);return t==d||t==f||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Vo(e){return"number"==typeof e&&e==sa(e)}function Uo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Wo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zo(e){return null!=e&&"object"==typeof e}var $o=Xe?Mt(Xe):function(e){return zo(e)&&tr(e)==p};function Go(e){return"number"==typeof e||zo(e)&&fn(e)==m}function qo(e){if(!zo(e)||fn(e)!=g)return!1;var t=Ue(e);if(null===t)return!0;var i=ke.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&Fe.call(i)==De}var Ko=Qe?Mt(Qe):function(e){return zo(e)&&fn(e)==_},Jo=et?Mt(et):function(e){return zo(e)&&tr(e)==b};function Zo(e){return"string"==typeof e||!Io(e)&&zo(e)&&fn(e)==y}function Xo(e){return"symbol"==typeof e||zo(e)&&fn(e)==v}var Qo=tt?Mt(tt):function(e){return zo(e)&&Uo(e.length)&&!!Re[fn(e)]},ea=js(Tn),ta=js((function(e,t){return e<=t}));function ia(e){if(!e)return[];if(No(e))return Zo(e)?Wt(e):gs(e);if(mt&&e[mt])return function(e){for(var t,i=[];!(t=e.next()).done;)i.push(t.value);return i}(e[mt]());var t=tr(e);return(t==p?Pt:t==b?Ht:Oa)(e)}function na(e){return e?(e=oa(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function sa(e){var t=na(e),i=t%1;return t==t?i?t-i:t:0}function ra(e){return e?qi(sa(e),0,4294967295):0}function oa(e){if("number"==typeof e)return e;if(Xo(e))return NaN;if(Wo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Wo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Et(e);var i=se.test(e);return i||oe.test(e)?He(e.slice(2),i?2:8):ne.test(e)?NaN:+e}function aa(e){return _s(e,ka(e))}function ca(e){return null==e?"":Jn(e)}var la=ys((function(e,t){if(ur(t)||No(t))_s(t,Fa(t),e);else for(var i in t)ke.call(t,i)&&Vi(e,i,t[i])})),ua=ys((function(e,t){_s(t,ka(t),e)})),ha=ys((function(e,t,i,n){_s(t,ka(t),e,n)})),da=ys((function(e,t,i,n){_s(t,Fa(t),e,n)})),fa=Us(Gi),pa=Rn((function(e,t){e=pe(e);var i=-1,n=t.length,s=n>2?t[2]:void 0;for(s&&or(t[0],t[1],s)&&(n=1);++i<n;)for(var r=t[i],o=ka(r),a=-1,c=o.length;++a<c;){var l=o[a],u=e[l];(void 0===u||Oo(u,ye[l])&&!ke.call(e,l))&&(e[l]=r[l])}return e})),ma=Rn((function(e){return e.push(void 0,Ys),it(Sa,void 0,e)}));function ga(e,t,i){var n=null==e?void 0:hn(e,t);return void 0===n?i:n}function _a(e,t){return null!=e&&ir(e,t,gn)}var ba=Ms((function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),e[t]=i}),Wa(Ga)),ya=Ms((function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),ke.call(e,t)?e[t].push(i):e[t]=[i]}),Ks),va=Rn(bn);function Fa(e){return No(e)?Ri(e):Sn(e)}function ka(e){return No(e)?Ri(e,!0):function(e){if(!Wo(e))return function(e){var t=[];if(null!=e)for(var i in pe(e))t.push(i);return t}(e);var t=ur(e),i=[];for(var n in e)("constructor"!=n||!t&&ke.call(e,n))&&i.push(n);return i}(e)}var wa=ys((function(e,t,i){Cn(e,t,i)})),Sa=ys((function(e,t,i,n){Cn(e,t,i,n)})),Ta=Us((function(e,t){var i={};if(null==e)return i;var n=!1;t=ut(t,(function(t){return t=os(t,e),n||(n=t.length>1),t})),_s(e,zs(e),i),n&&(i=Ki(i,7,Hs));for(var s=t.length;s--;)Xn(i,t[s]);return i})),Da=Us((function(e,t){return null==e?{}:function(e,t){return Ln(e,t,(function(t,i){return _a(e,i)}))}(e,t)}));function Ea(e,t){if(null==e)return{};var i=ut(zs(e),(function(e){return[e]}));return t=Ks(t),Ln(e,i,(function(e,i){return t(e,i[0])}))}var Ma=Rs(Fa),Ca=Rs(ka);function Oa(e){return null==e?[]:Ct(e,Fa(e))}var xa=ws((function(e,t,i){return t=t.toLowerCase(),e+(i?La(t):t)}));function La(e){return Ya(ca(e).toLowerCase())}function ja(e){return(e=ca(e))&&e.replace(ce,It).replace(Oe,"")}var Ia=ws((function(e,t,i){return e+(i?"-":"")+t.toLowerCase()})),Aa=ws((function(e,t,i){return e+(i?" ":"")+t.toLowerCase()})),Na=ks("toLowerCase"),Ra=ws((function(e,t,i){return e+(i?"_":"")+t.toLowerCase()})),Pa=ws((function(e,t,i){return e+(i?" ":"")+Ya(t)})),Ba=ws((function(e,t,i){return e+(i?" ":"")+t.toUpperCase()})),Ya=ks("toUpperCase");function Ha(e,t,i){return e=ca(e),void 0===(t=i?void 0:t)?function(e){return Ie.test(e)}(e)?function(e){return e.match(Le)||[]}(e):function(e){return e.match(X)||[]}(e):e.match(t)||[]}var Va=Rn((function(e,t){try{return it(e,void 0,t)}catch(i){return Yo(i)?i:new he(i)}})),Ua=Us((function(e,t){return st(t,(function(t){t=Dr(t),$i(e,t,yo(e[t],e))})),e}));function Wa(e){return function(){return e}}var za=Ds(),$a=Ds(!0);function Ga(e){return e}function qa(e){return wn("function"==typeof e?e:Ki(e,1))}var Ka=Rn((function(e,t){return function(i){return bn(i,e,t)}})),Ja=Rn((function(e,t){return function(i){return bn(e,i,t)}}));function Za(e,t,i){var n=Fa(t),s=un(t,n);null!=i||Wo(t)&&(s.length||!n.length)||(i=t,t=e,e=this,s=un(t,Fa(t)));var r=!(Wo(i)&&"chain"in i&&!i.chain),o=Ho(e);return st(s,(function(i){var n=t[i];e[i]=n,o&&(e.prototype[i]=function(){var t=this.__chain__;if(r||t){var i=e(this.__wrapped__),s=i.__actions__=gs(this.__actions__);return s.push({func:n,args:arguments,thisArg:e}),i.__chain__=t,i}return n.apply(e,ht([this.value()],arguments))})})),e}function Xa(){}var Qa=Os(ut),ec=Os(ot),tc=Os(pt);function ic(e){return ar(e)?kt(Dr(e)):function(e){return function(t){return hn(t,e)}}(e)}var nc=Ls(),sc=Ls(!0);function rc(){return[]}function oc(){return!1}var ac,cc=Cs((function(e,t){return e+t}),0),lc=As("ceil"),uc=Cs((function(e,t){return e/t}),1),hc=As("floor"),dc=Cs((function(e,t){return e*t}),1),fc=As("round"),pc=Cs((function(e,t){return e-t}),0);return Ei.after=function(e,t){if("function"!=typeof t)throw new _e(s);return e=sa(e),function(){if(--e<1)return t.apply(this,arguments)}},Ei.ary=_o,Ei.assign=la,Ei.assignIn=ua,Ei.assignInWith=ha,Ei.assignWith=da,Ei.at=fa,Ei.before=bo,Ei.bind=yo,Ei.bindAll=Ua,Ei.bindKey=vo,Ei.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Io(e)?e:[e]},Ei.chain=to,Ei.chunk=function(e,t,i){t=(i?or(e,t,i):void 0===t)?1:ri(sa(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var r=0,o=0,a=n(Xt(s/t));r<s;)a[o++]=Wn(e,r,r+=t);return a},Ei.compact=function(e){for(var t=-1,i=null==e?0:e.length,n=0,s=[];++t<i;){var r=e[t];r&&(s[n++]=r)}return s},Ei.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),i=arguments[0],s=e;s--;)t[s-1]=arguments[s];return ht(Io(i)?gs(i):[i],rn(t,1))},Ei.cond=function(e){var t=null==e?0:e.length,i=Ks();return e=t?ut(e,(function(e){if("function"!=typeof e[1])throw new _e(s);return[i(e[0]),e[1]]})):[],Rn((function(i){for(var n=-1;++n<t;){var s=e[n];if(it(s[0],this,i))return it(s[1],this,i)}}))},Ei.conforms=function(e){return function(e){var t=Fa(e);return function(i){return Ji(i,e,t)}}(Ki(e,1))},Ei.constant=Wa,Ei.countBy=so,Ei.create=function(e,t){var i=Mi(e);return null==t?i:zi(i,t)},Ei.curry=function e(t,i,n){var s=Ps(t,8,void 0,void 0,void 0,void 0,void 0,i=n?void 0:i);return s.placeholder=e.placeholder,s},Ei.curryRight=function e(t,i,n){var s=Ps(t,16,void 0,void 0,void 0,void 0,void 0,i=n?void 0:i);return s.placeholder=e.placeholder,s},Ei.debounce=Fo,Ei.defaults=pa,Ei.defaultsDeep=ma,Ei.defer=ko,Ei.delay=wo,Ei.difference=Cr,Ei.differenceBy=Or,Ei.differenceWith=xr,Ei.drop=function(e,t,i){var n=null==e?0:e.length;return n?Wn(e,(t=i||void 0===t?1:sa(t))<0?0:t,n):[]},Ei.dropRight=function(e,t,i){var n=null==e?0:e.length;return n?Wn(e,0,(t=n-(t=i||void 0===t?1:sa(t)))<0?0:t):[]},Ei.dropRightWhile=function(e,t){return e&&e.length?es(e,Ks(t,3),!0,!0):[]},Ei.dropWhile=function(e,t){return e&&e.length?es(e,Ks(t,3),!0):[]},Ei.fill=function(e,t,i,n){var s=null==e?0:e.length;return s?(i&&"number"!=typeof i&&or(e,t,i)&&(i=0,n=s),function(e,t,i,n){var s=e.length;for((i=sa(i))<0&&(i=-i>s?0:s+i),(n=void 0===n||n>s?s:sa(n))<0&&(n+=s),n=i>n?0:ra(n);i<n;)e[i++]=t;return e}(e,t,i,n)):[]},Ei.filter=function(e,t){return(Io(e)?at:sn)(e,Ks(t,3))},Ei.flatMap=function(e,t){return rn(fo(e,t),1)},Ei.flatMapDeep=function(e,t){return rn(fo(e,t),1/0)},Ei.flatMapDepth=function(e,t,i){return i=void 0===i?1:sa(i),rn(fo(e,t),i)},Ei.flatten=Ir,Ei.flattenDeep=function(e){return null!=e&&e.length?rn(e,1/0):[]},Ei.flattenDepth=function(e,t){return null!=e&&e.length?rn(e,t=void 0===t?1:sa(t)):[]},Ei.flip=function(e){return Ps(e,512)},Ei.flow=za,Ei.flowRight=$a,Ei.fromPairs=function(e){for(var t=-1,i=null==e?0:e.length,n={};++t<i;){var s=e[t];n[s[0]]=s[1]}return n},Ei.functions=function(e){return null==e?[]:un(e,Fa(e))},Ei.functionsIn=function(e){return null==e?[]:un(e,ka(e))},Ei.groupBy=lo,Ei.initial=function(e){return null!=e&&e.length?Wn(e,0,-1):[]},Ei.intersection=Nr,Ei.intersectionBy=Rr,Ei.intersectionWith=Pr,Ei.invert=ba,Ei.invertBy=ya,Ei.invokeMap=uo,Ei.iteratee=qa,Ei.keyBy=ho,Ei.keys=Fa,Ei.keysIn=ka,Ei.map=fo,Ei.mapKeys=function(e,t){var i={};return t=Ks(t,3),cn(e,(function(e,n,s){$i(i,t(e,n,s),e)})),i},Ei.mapValues=function(e,t){var i={};return t=Ks(t,3),cn(e,(function(e,n,s){$i(i,n,t(e,n,s))})),i},Ei.matches=function(e){return En(Ki(e,1))},Ei.matchesProperty=function(e,t){return Mn(e,Ki(t,1))},Ei.memoize=So,Ei.merge=wa,Ei.mergeWith=Sa,Ei.method=Ka,Ei.methodOf=Ja,Ei.mixin=Za,Ei.negate=To,Ei.nthArg=function(e){return e=sa(e),Rn((function(t){return On(t,e)}))},Ei.omit=Ta,Ei.omitBy=function(e,t){return Ea(e,To(Ks(t)))},Ei.once=function(e){return bo(2,e)},Ei.orderBy=function(e,t,i,n){return null==e?[]:(Io(t)||(t=null==t?[]:[t]),Io(i=n?void 0:i)||(i=null==i?[]:[i]),xn(e,t,i))},Ei.over=Qa,Ei.overArgs=Do,Ei.overEvery=ec,Ei.overSome=tc,Ei.partial=Eo,Ei.partialRight=Mo,Ei.partition=po,Ei.pick=Da,Ei.pickBy=Ea,Ei.property=ic,Ei.propertyOf=function(e){return function(t){return null==e?void 0:hn(e,t)}},Ei.pull=Yr,Ei.pullAll=Hr,Ei.pullAllBy=function(e,t,i){return e&&e.length&&t&&t.length?jn(e,t,Ks(i,2)):e},Ei.pullAllWith=function(e,t,i){return e&&e.length&&t&&t.length?jn(e,t,void 0,i):e},Ei.pullAt=Vr,Ei.range=nc,Ei.rangeRight=sc,Ei.rearg=Co,Ei.reject=function(e,t){return(Io(e)?at:sn)(e,To(Ks(t,3)))},Ei.remove=function(e,t){var i=[];if(!e||!e.length)return i;var n=-1,s=[],r=e.length;for(t=Ks(t,3);++n<r;){var o=e[n];t(o,n,e)&&(i.push(o),s.push(n))}return In(e,s),i},Ei.rest=function(e,t){if("function"!=typeof e)throw new _e(s);return Rn(e,t=void 0===t?t:sa(t))},Ei.reverse=Ur,Ei.sampleSize=function(e,t,i){return t=(i?or(e,t,i):void 0===t)?1:sa(t),(Io(e)?Bi:Bn)(e,t)},Ei.set=function(e,t,i){return null==e?e:Yn(e,t,i)},Ei.setWith=function(e,t,i,n){return n="function"==typeof n?n:void 0,null==e?e:Yn(e,t,i,n)},Ei.shuffle=function(e){return(Io(e)?Yi:Un)(e)},Ei.slice=function(e,t,i){var n=null==e?0:e.length;return n?(i&&"number"!=typeof i&&or(e,t,i)?(t=0,i=n):(t=null==t?0:sa(t),i=void 0===i?n:sa(i)),Wn(e,t,i)):[]},Ei.sortBy=mo,Ei.sortedUniq=function(e){return e&&e.length?qn(e):[]},Ei.sortedUniqBy=function(e,t){return e&&e.length?qn(e,Ks(t,2)):[]},Ei.split=function(e,t,i){return i&&"number"!=typeof i&&or(e,t,i)&&(t=i=void 0),(i=void 0===i?4294967295:i>>>0)?(e=ca(e))&&("string"==typeof t||null!=t&&!Ko(t))&&!(t=Jn(t))&&Rt(e)?cs(Wt(e),0,i):e.split(t,i):[]},Ei.spread=function(e,t){if("function"!=typeof e)throw new _e(s);return t=null==t?0:ri(sa(t),0),Rn((function(i){var n=i[t],s=cs(i,0,t);return n&&ht(s,n),it(e,this,s)}))},Ei.tail=function(e){var t=null==e?0:e.length;return t?Wn(e,1,t):[]},Ei.take=function(e,t,i){return e&&e.length?Wn(e,0,(t=i||void 0===t?1:sa(t))<0?0:t):[]},Ei.takeRight=function(e,t,i){var n=null==e?0:e.length;return n?Wn(e,(t=n-(t=i||void 0===t?1:sa(t)))<0?0:t,n):[]},Ei.takeRightWhile=function(e,t){return e&&e.length?es(e,Ks(t,3),!1,!0):[]},Ei.takeWhile=function(e,t){return e&&e.length?es(e,Ks(t,3)):[]},Ei.tap=function(e,t){return t(e),e},Ei.throttle=function(e,t,i){var n=!0,r=!0;if("function"!=typeof e)throw new _e(s);return Wo(i)&&(n="leading"in i?!!i.leading:n,r="trailing"in i?!!i.trailing:r),Fo(e,t,{leading:n,maxWait:t,trailing:r})},Ei.thru=io,Ei.toArray=ia,Ei.toPairs=Ma,Ei.toPairsIn=Ca,Ei.toPath=function(e){return Io(e)?ut(e,Dr):Xo(e)?[e]:gs(Tr(ca(e)))},Ei.toPlainObject=aa,Ei.transform=function(e,t,i){var n=Io(e),s=n||Po(e)||Qo(e);if(t=Ks(t,4),null==i){var r=e&&e.constructor;i=s?n?new r:[]:Wo(e)&&Ho(r)?Mi(Ue(e)):{}}return(s?st:cn)(e,(function(e,n,s){return t(i,e,n,s)})),i},Ei.unary=function(e){return _o(e,1)},Ei.union=Wr,Ei.unionBy=zr,Ei.unionWith=$r,Ei.uniq=function(e){return e&&e.length?Zn(e):[]},Ei.uniqBy=function(e,t){return e&&e.length?Zn(e,Ks(t,2)):[]},Ei.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zn(e,void 0,t):[]},Ei.unset=function(e,t){return null==e||Xn(e,t)},Ei.unzip=Gr,Ei.unzipWith=qr,Ei.update=function(e,t,i){return null==e?e:Qn(e,t,rs(i))},Ei.updateWith=function(e,t,i,n){return n="function"==typeof n?n:void 0,null==e?e:Qn(e,t,rs(i),n)},Ei.values=Oa,Ei.valuesIn=function(e){return null==e?[]:Ct(e,ka(e))},Ei.without=Kr,Ei.words=Ha,Ei.wrap=function(e,t){return Eo(rs(t),e)},Ei.xor=Jr,Ei.xorBy=Zr,Ei.xorWith=Xr,Ei.zip=Qr,Ei.zipObject=function(e,t){return ns(e||[],t||[],Vi)},Ei.zipObjectDeep=function(e,t){return ns(e||[],t||[],Yn)},Ei.zipWith=eo,Ei.entries=Ma,Ei.entriesIn=Ca,Ei.extend=ua,Ei.extendWith=ha,Za(Ei,Ei),Ei.add=cc,Ei.attempt=Va,Ei.camelCase=xa,Ei.capitalize=La,Ei.ceil=lc,Ei.clamp=function(e,t,i){return void 0===i&&(i=t,t=void 0),void 0!==i&&(i=(i=oa(i))==i?i:0),void 0!==t&&(t=(t=oa(t))==t?t:0),qi(oa(e),t,i)},Ei.clone=function(e){return Ki(e,4)},Ei.cloneDeep=function(e){return Ki(e,5)},Ei.cloneDeepWith=function(e,t){return Ki(e,5,t="function"==typeof t?t:void 0)},Ei.cloneWith=function(e,t){return Ki(e,4,t="function"==typeof t?t:void 0)},Ei.conformsTo=function(e,t){return null==t||Ji(e,t,Fa(t))},Ei.deburr=ja,Ei.defaultTo=function(e,t){return null==e||e!=e?t:e},Ei.divide=uc,Ei.endsWith=function(e,t,i){e=ca(e),t=Jn(t);var n=e.length,s=i=void 0===i?n:qi(sa(i),0,n);return(i-=t.length)>=0&&e.slice(i,s)==t},Ei.eq=Oo,Ei.escape=function(e){return(e=ca(e))&&P.test(e)?e.replace(N,At):e},Ei.escapeRegExp=function(e){return(e=ca(e))&&$.test(e)?e.replace(z,"\\$&"):e},Ei.every=function(e,t,i){var n=Io(e)?ot:tn;return i&&or(e,t,i)&&(t=void 0),n(e,Ks(t,3))},Ei.find=ro,Ei.findIndex=Lr,Ei.findKey=function(e,t){return gt(e,Ks(t,3),cn)},Ei.findLast=oo,Ei.findLastIndex=jr,Ei.findLastKey=function(e,t){return gt(e,Ks(t,3),ln)},Ei.floor=hc,Ei.forEach=ao,Ei.forEachRight=co,Ei.forIn=function(e,t){return null==e?e:on(e,Ks(t,3),ka)},Ei.forInRight=function(e,t){return null==e?e:an(e,Ks(t,3),ka)},Ei.forOwn=function(e,t){return e&&cn(e,Ks(t,3))},Ei.forOwnRight=function(e,t){return e&&ln(e,Ks(t,3))},Ei.get=ga,Ei.gt=xo,Ei.gte=Lo,Ei.has=function(e,t){return null!=e&&ir(e,t,mn)},Ei.hasIn=_a,Ei.head=Ar,Ei.identity=Ga,Ei.includes=function(e,t,i,n){e=No(e)?e:Oa(e),i=i&&!n?sa(i):0;var s=e.length;return i<0&&(i=ri(s+i,0)),Zo(e)?i<=s&&e.indexOf(t,i)>-1:!!s&&bt(e,t,i)>-1},Ei.indexOf=function(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=null==i?0:sa(i);return s<0&&(s=ri(n+s,0)),bt(e,t,s)},Ei.inRange=function(e,t,i){return t=na(t),void 0===i?(i=t,t=0):i=na(i),function(e,t,i){return e>=oi(t,i)&&e<ri(t,i)}(e=oa(e),t,i)},Ei.invoke=va,Ei.isArguments=jo,Ei.isArray=Io,Ei.isArrayBuffer=Ao,Ei.isArrayLike=No,Ei.isArrayLikeObject=Ro,Ei.isBoolean=function(e){return!0===e||!1===e||zo(e)&&fn(e)==l},Ei.isBuffer=Po,Ei.isDate=Bo,Ei.isElement=function(e){return zo(e)&&1===e.nodeType&&!qo(e)},Ei.isEmpty=function(e){if(null==e)return!0;if(No(e)&&(Io(e)||"string"==typeof e||"function"==typeof e.splice||Po(e)||Qo(e)||jo(e)))return!e.length;var t=tr(e);if(t==p||t==b)return!e.size;if(ur(e))return!Sn(e).length;for(var i in e)if(ke.call(e,i))return!1;return!0},Ei.isEqual=function(e,t){return vn(e,t)},Ei.isEqualWith=function(e,t,i){var n=(i="function"==typeof i?i:void 0)?i(e,t):void 0;return void 0===n?vn(e,t,void 0,i):!!n},Ei.isError=Yo,Ei.isFinite=function(e){return"number"==typeof e&&ii(e)},Ei.isFunction=Ho,Ei.isInteger=Vo,Ei.isLength=Uo,Ei.isMap=$o,Ei.isMatch=function(e,t){return e===t||Fn(e,t,Zs(t))},Ei.isMatchWith=function(e,t,i){return i="function"==typeof i?i:void 0,Fn(e,t,Zs(t),i)},Ei.isNaN=function(e){return Go(e)&&e!=+e},Ei.isNative=function(e){if(lr(e))throw new he("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return kn(e)},Ei.isNil=function(e){return null==e},Ei.isNull=function(e){return null===e},Ei.isNumber=Go,Ei.isObject=Wo,Ei.isObjectLike=zo,Ei.isPlainObject=qo,Ei.isRegExp=Ko,Ei.isSafeInteger=function(e){return Vo(e)&&e>=-9007199254740991&&e<=9007199254740991},Ei.isSet=Jo,Ei.isString=Zo,Ei.isSymbol=Xo,Ei.isTypedArray=Qo,Ei.isUndefined=function(e){return void 0===e},Ei.isWeakMap=function(e){return zo(e)&&tr(e)==F},Ei.isWeakSet=function(e){return zo(e)&&"[object WeakSet]"==fn(e)},Ei.join=function(e,t){return null==e?"":ni.call(e,t)},Ei.kebabCase=Ia,Ei.last=Br,Ei.lastIndexOf=function(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=n;return void 0!==i&&(s=(s=sa(i))<0?ri(n+s,0):oi(s,n-1)),t==t?function(e,t,i){for(var n=i+1;n--;)if(e[n]===t)return n;return n}(e,t,s):_t(e,vt,s,!0)},Ei.lowerCase=Aa,Ei.lowerFirst=Na,Ei.lt=ea,Ei.lte=ta,Ei.max=function(e){return e&&e.length?nn(e,Ga,pn):void 0},Ei.maxBy=function(e,t){return e&&e.length?nn(e,Ks(t,2),pn):void 0},Ei.mean=function(e){return Ft(e,Ga)},Ei.meanBy=function(e,t){return Ft(e,Ks(t,2))},Ei.min=function(e){return e&&e.length?nn(e,Ga,Tn):void 0},Ei.minBy=function(e,t){return e&&e.length?nn(e,Ks(t,2),Tn):void 0},Ei.stubArray=rc,Ei.stubFalse=oc,Ei.stubObject=function(){return{}},Ei.stubString=function(){return""},Ei.stubTrue=function(){return!0},Ei.multiply=dc,Ei.nth=function(e,t){return e&&e.length?On(e,sa(t)):void 0},Ei.noConflict=function(){return We._===this&&(We._=Ee),this},Ei.noop=Xa,Ei.now=go,Ei.pad=function(e,t,i){e=ca(e);var n=(t=sa(t))?Ut(e):0;if(!t||n>=t)return e;var s=(t-n)/2;return xs(Qt(s),i)+e+xs(Xt(s),i)},Ei.padEnd=function(e,t,i){e=ca(e);var n=(t=sa(t))?Ut(e):0;return t&&n<t?e+xs(t-n,i):e},Ei.padStart=function(e,t,i){e=ca(e);var n=(t=sa(t))?Ut(e):0;return t&&n<t?xs(t-n,i)+e:e},Ei.parseInt=function(e,t,i){return i||null==t?t=0:t&&(t=+t),ci(ca(e).replace(G,""),t||0)},Ei.random=function(e,t,i){if(i&&"boolean"!=typeof i&&or(e,t,i)&&(t=i=void 0),void 0===i&&("boolean"==typeof t?(i=t,t=void 0):"boolean"==typeof e&&(i=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=na(e),void 0===t?(t=e,e=0):t=na(t)),e>t){var n=e;e=t,t=n}if(i||e%1||t%1){var s=li();return oi(e+s*(t-e+Ye("1e-"+((s+"").length-1))),t)}return An(e,t)},Ei.reduce=function(e,t,i){var n=Io(e)?dt:St,s=arguments.length<3;return n(e,Ks(t,4),i,s,Qi)},Ei.reduceRight=function(e,t,i){var n=Io(e)?ft:St,s=arguments.length<3;return n(e,Ks(t,4),i,s,en)},Ei.repeat=function(e,t,i){return t=(i?or(e,t,i):void 0===t)?1:sa(t),Nn(ca(e),t)},Ei.replace=function(){var e=arguments,t=ca(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Ei.result=function(e,t,i){var n=-1,s=(t=os(t,e)).length;for(s||(s=1,e=void 0);++n<s;){var r=null==e?void 0:e[Dr(t[n])];void 0===r&&(n=s,r=i),e=Ho(r)?r.call(e):r}return e},Ei.round=fc,Ei.runInContext=e,Ei.sample=function(e){return(Io(e)?Pi:Pn)(e)},Ei.size=function(e){if(null==e)return 0;if(No(e))return Zo(e)?Ut(e):e.length;var t=tr(e);return t==p||t==b?e.size:Sn(e).length},Ei.snakeCase=Ra,Ei.some=function(e,t,i){var n=Io(e)?pt:zn;return i&&or(e,t,i)&&(t=void 0),n(e,Ks(t,3))},Ei.sortedIndex=function(e,t){return $n(e,t)},Ei.sortedIndexBy=function(e,t,i){return Gn(e,t,Ks(i,2))},Ei.sortedIndexOf=function(e,t){var i=null==e?0:e.length;if(i){var n=$n(e,t);if(n<i&&Oo(e[n],t))return n}return-1},Ei.sortedLastIndex=function(e,t){return $n(e,t,!0)},Ei.sortedLastIndexBy=function(e,t,i){return Gn(e,t,Ks(i,2),!0)},Ei.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var i=$n(e,t,!0)-1;if(Oo(e[i],t))return i}return-1},Ei.startCase=Pa,Ei.startsWith=function(e,t,i){return e=ca(e),i=null==i?0:qi(sa(i),0,e.length),t=Jn(t),e.slice(i,i+t.length)==t},Ei.subtract=pc,Ei.sum=function(e){return e&&e.length?Tt(e,Ga):0},Ei.sumBy=function(e,t){return e&&e.length?Tt(e,Ks(t,2)):0},Ei.template=function(e,t,i){var n=Ei.templateSettings;i&&or(e,t,i)&&(t=void 0),e=ca(e),t=ha({},t,n,Bs);var s,r,o=ha({},t.imports,n.imports,Bs),a=Fa(o),c=Ct(o,a),l=0,u=t.interpolate||le,h="__p += '",d=me((t.escape||le).source+"|"+u.source+"|"+(u===H?te:le).source+"|"+(t.evaluate||le).source+"|$","g"),f="//# sourceURL="+(ke.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ne+"]")+"\n";e.replace(d,(function(t,i,n,o,a,c){return n||(n=o),h+=e.slice(l,c).replace(ue,Nt),i&&(s=!0,h+="' +\n__e("+i+") +\n'"),a&&(r=!0,h+="';\n"+a+";\n__p += '"),n&&(h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),l=c+t.length,t})),h+="';\n";var p=ke.call(t,"variable")&&t.variable;if(p){if(Q.test(p))throw new he("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(r?h.replace(L,""):h).replace(j,"$1").replace(I,"$1;"),h="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=Va((function(){return de(a,f+"return "+h).apply(void 0,c)}));if(m.source=h,Yo(m))throw m;return m},Ei.times=function(e,t){if((e=sa(e))<1||e>9007199254740991)return[];var i=4294967295,n=oi(e,4294967295);e-=4294967295;for(var s=Dt(n,t=Ks(t));++i<e;)t(i);return s},Ei.toFinite=na,Ei.toInteger=sa,Ei.toLength=ra,Ei.toLower=function(e){return ca(e).toLowerCase()},Ei.toNumber=oa,Ei.toSafeInteger=function(e){return e?qi(sa(e),-9007199254740991,9007199254740991):0===e?e:0},Ei.toString=ca,Ei.toUpper=function(e){return ca(e).toUpperCase()},Ei.trim=function(e,t,i){if((e=ca(e))&&(i||void 0===t))return Et(e);if(!e||!(t=Jn(t)))return e;var n=Wt(e),s=Wt(t);return cs(n,xt(n,s),Lt(n,s)+1).join("")},Ei.trimEnd=function(e,t,i){if((e=ca(e))&&(i||void 0===t))return e.slice(0,zt(e)+1);if(!e||!(t=Jn(t)))return e;var n=Wt(e);return cs(n,0,Lt(n,Wt(t))+1).join("")},Ei.trimStart=function(e,t,i){if((e=ca(e))&&(i||void 0===t))return e.replace(G,"");if(!e||!(t=Jn(t)))return e;var n=Wt(e);return cs(n,xt(n,Wt(t))).join("")},Ei.truncate=function(e,t){var i=30,n="...";if(Wo(t)){var s="separator"in t?t.separator:s;i="length"in t?sa(t.length):i,n="omission"in t?Jn(t.omission):n}var r=(e=ca(e)).length;if(Rt(e)){var o=Wt(e);r=o.length}if(i>=r)return e;var a=i-Ut(n);if(a<1)return n;var c=o?cs(o,0,a).join(""):e.slice(0,a);if(void 0===s)return c+n;if(o&&(a+=c.length-a),Ko(s)){if(e.slice(a).search(s)){var l,u=c;for(s.global||(s=me(s.source,ca(ie.exec(s))+"g")),s.lastIndex=0;l=s.exec(u);)var h=l.index;c=c.slice(0,void 0===h?a:h)}}else if(e.indexOf(Jn(s),a)!=a){var d=c.lastIndexOf(s);d>-1&&(c=c.slice(0,d))}return c+n},Ei.unescape=function(e){return(e=ca(e))&&R.test(e)?e.replace(A,$t):e},Ei.uniqueId=function(e){var t=++we;return ca(e)+t},Ei.upperCase=Ba,Ei.upperFirst=Ya,Ei.each=ao,Ei.eachRight=co,Ei.first=Ar,Za(Ei,(ac={},cn(Ei,(function(e,t){ke.call(Ei.prototype,t)||(ac[t]=e)})),ac),{chain:!1}),Ei.VERSION="4.17.21",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Ei[e].placeholder=Ei})),st(["drop","take"],(function(e,t){xi.prototype[e]=function(i){i=void 0===i?1:ri(sa(i),0);var n=this.__filtered__&&!t?new xi(this):this.clone();return n.__filtered__?n.__takeCount__=oi(i,n.__takeCount__):n.__views__.push({size:oi(i,4294967295),type:e+(n.__dir__<0?"Right":"")}),n},xi.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var i=t+1,n=1==i||3==i;xi.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ks(e,3),type:i}),t.__filtered__=t.__filtered__||n,t}})),st(["head","last"],(function(e,t){var i="take"+(t?"Right":"");xi.prototype[e]=function(){return this[i](1).value()[0]}})),st(["initial","tail"],(function(e,t){var i="drop"+(t?"":"Right");xi.prototype[e]=function(){return this.__filtered__?new xi(this):this[i](1)}})),xi.prototype.compact=function(){return this.filter(Ga)},xi.prototype.find=function(e){return this.filter(e).head()},xi.prototype.findLast=function(e){return this.reverse().find(e)},xi.prototype.invokeMap=Rn((function(e,t){return"function"==typeof e?new xi(this):this.map((function(i){return bn(i,e,t)}))})),xi.prototype.reject=function(e){return this.filter(To(Ks(e)))},xi.prototype.slice=function(e,t){e=sa(e);var i=this;return i.__filtered__&&(e>0||t<0)?new xi(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),void 0!==t&&(i=(t=sa(t))<0?i.dropRight(-t):i.take(t-e)),i)},xi.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},xi.prototype.toArray=function(){return this.take(4294967295)},cn(xi.prototype,(function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),s=Ei[n?"take"+("last"==t?"Right":""):t],r=n||/^find/.test(t);s&&(Ei.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,a=t instanceof xi,c=o[0],l=a||Io(t),u=function(e){var t=s.apply(Ei,ht([e],o));return n&&h?t[0]:t};l&&i&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,d=!!this.__actions__.length,f=r&&!h,p=a&&!d;if(!r&&l){t=p?t:new xi(this);var m=e.apply(t,o);return m.__actions__.push({func:io,args:[u],thisArg:void 0}),new Oi(m,h)}return f&&p?e.apply(this,o):(m=this.thru(u),f?n?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Ei.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var s=this.value();return t.apply(Io(s)?s:[],e)}return this[i]((function(i){return t.apply(Io(i)?i:[],e)}))}})),cn(xi.prototype,(function(e,t){var i=Ei[t];if(i){var n=i.name+"";ke.call(bi,n)||(bi[n]=[]),bi[n].push({name:t,func:i})}})),bi[Es(void 0,2).name]=[{name:"wrapper",func:void 0}],xi.prototype.clone=function(){var e=new xi(this.__wrapped__);return e.__actions__=gs(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=gs(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=gs(this.__views__),e},xi.prototype.reverse=function(){if(this.__filtered__){var e=new xi(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},xi.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,i=Io(e),n=t<0,s=i?e.length:0,r=function(e,t,i){for(var n=-1,s=i.length;++n<s;){var r=i[n],o=r.size;switch(r.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=oi(t,e+o);break;case"takeRight":e=ri(e,t-o)}}return{start:e,end:t}}(0,s,this.__views__),o=r.start,a=r.end,c=a-o,l=n?a:o-1,u=this.__iteratees__,h=u.length,d=0,f=oi(c,this.__takeCount__);if(!i||!n&&s==c&&f==c)return ts(e,this.__actions__);var p=[];e:for(;c--&&d<f;){for(var m=-1,g=e[l+=t];++m<h;){var _=u[m],b=_.type,y=(0,_.iteratee)(g);if(2==b)g=y;else if(!y){if(1==b)continue e;break e}}p[d++]=g}return p},Ei.prototype.at=no,Ei.prototype.chain=function(){return to(this)},Ei.prototype.commit=function(){return new Oi(this.value(),this.__chain__)},Ei.prototype.next=function(){void 0===this.__values__&&(this.__values__=ia(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Ei.prototype.plant=function(e){for(var t,i=this;i instanceof Ci;){var n=Mr(i);n.__index__=0,n.__values__=void 0,t?s.__wrapped__=n:t=n;var s=n;i=i.__wrapped__}return s.__wrapped__=e,t},Ei.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof xi){var t=e;return this.__actions__.length&&(t=new xi(this)),(t=t.reverse()).__actions__.push({func:io,args:[Ur],thisArg:void 0}),new Oi(t,this.__chain__)}return this.thru(Ur)},Ei.prototype.toJSON=Ei.prototype.valueOf=Ei.prototype.value=function(){return ts(this.__wrapped__,this.__actions__)},Ei.prototype.first=Ei.prototype.head,mt&&(Ei.prototype[mt]=function(){return this}),Ei}();We._=Gt,void 0===(n=(function(){return Gt}).call(t,i,t,e))||(e.exports=n)}).call(this)}).call(this,i("YuTi")(e))},LwO5:function(e,t,i){"use strict";var n=i("fXoL"),s=i("7zfz"),r=i("ofXK"),o=0;i.d(t,"a",(function(){return C})),i.d(t,"b",(function(){return O}));const a=["itemsContainer"];function c(e,t){1&e&&(n.bc(0,"div",10),n.uc(1),n.ac())}function l(e,t){1&e&&n.Xb(0)}const u=function(e,t,i){return{"ui-carousel-item ui-carousel-item-cloned":!0,"ui-carousel-item-active":e,"ui-carousel-item-start":t,"ui-carousel-item-end":i}},h=function(e){return{$implicit:e}};function d(e,t){if(1&e&&(n.bc(0,"div",4),n.Wc(1,l,1,0,"ng-container",11),n.ac()),2&e){const e=t.$implicit,i=t.index,s=n.nc();n.wc("ngClass",n.Dc(3,u,-1*s.totalShiftedItems===s.value.length,0===i,s.clonedItemsForStarting.length-1===i)),n.Hb(1),n.wc("ngTemplateOutlet",s.itemTemplate)("ngTemplateOutletContext",n.Bc(7,h,e))}}function f(e,t){1&e&&n.Xb(0)}const p=function(e,t,i){return{"ui-carousel-item":!0,"ui-carousel-item-active":e,"ui-carousel-item-start":t,"ui-carousel-item-end":i}};function m(e,t){if(1&e&&(n.bc(0,"div",4),n.Wc(1,f,1,0,"ng-container",11),n.ac()),2&e){const e=t.$implicit,i=t.index,s=n.nc();n.wc("ngClass",n.Dc(3,p,s.firstIndex()<=i&&s.lastIndex()>=i,s.firstIndex()===i,s.lastIndex()===i)),n.Hb(1),n.wc("ngTemplateOutlet",s.itemTemplate)("ngTemplateOutletContext",n.Bc(7,h,e))}}function g(e,t){1&e&&n.Xb(0)}function _(e,t){if(1&e&&(n.bc(0,"div",4),n.Wc(1,g,1,0,"ng-container",11),n.ac()),2&e){const e=t.$implicit,i=t.index,s=n.nc();n.wc("ngClass",n.Dc(3,u,-1*s.totalShiftedItems===s.numVisible,0===i,s.clonedItemsForFinishing.length-1===i)),n.Hb(1),n.wc("ngTemplateOutlet",s.itemTemplate)("ngTemplateOutletContext",n.Bc(7,h,e))}}const b=function(e){return{"ui-carousel-dot-item":!0,"ui-state-highlight":e}},y=function(e,t){return{"ui-carousel-dot-icon pi":!0,"pi-circle-on":e,"pi-circle-off":t}};function v(e,t){if(1&e){const e=n.cc();n.bc(0,"li",4),n.bc(1,"button",12),n.jc("click",(function(i){n.Mc(e);const s=t.index;return n.nc().onDotClick(i,s)})),n.Wb(2,"span",4),n.ac(),n.ac()}if(2&e){const e=t.index,i=n.nc();n.wc("ngClass",n.Bc(2,b,i._page===e)),n.Hb(2),n.wc("ngClass",n.Cc(4,y,i._page===e,!(i._page===e)))}}function F(e,t){1&e&&(n.bc(0,"div",13),n.uc(1,1),n.ac())}const k=[[["p-header"]],[["p-footer"]]],w=function(e){return{"ui-carousel-prev ui-button ui-widget ui-state-default ui-corner-all":!0,"ui-state-disabled":e}},S=function(e,t){return{"ui-carousel-prev-icon pi":!0,"pi-chevron-left":e,"pi-chevron-up":t}},T=function(e){return{height:e}},D=function(e){return{"ui-carousel-next ui-button ui-widget ui-state-default ui-corner-all":!0,"ui-state-disabled":e}},E=function(e,t){return{"ui-carousel-next-icon pi":!0,"pi-chevron-right":e,"pi-chevron-down":t}},M=["p-header","p-footer"];let C=(()=>{let e=class{constructor(e,t){this.el=e,this.zone=t,this.orientation="horizontal",this.verticalViewPortHeight="300px",this.contentClass="",this.dotsContainerClass="",this.circular=!1,this.autoplayInterval=0,this.onPage=new n.n,this._numVisible=1,this._numScroll=1,this._oldNumScroll=0,this.prevState={numScroll:0,numVisible:0,value:[]},this.defaultNumScroll=1,this.defaultNumVisible=1,this._page=0,this.isRemainingItemsAdded=!1,this.remainingItems=0,this.swipeThreshold=20,this.totalShiftedItems=this.page*this.numScroll*-1}get page(){return this._page}set page(e){this.isCreated&&e!==this._page&&(this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),e>this._page&&e<this.totalDots()-1?this.step(-1,e):e<this._page&&0!==e&&this.step(1,e)),this._page=e}get numVisible(){return this._numVisible}set numVisible(e){this._numVisible=e}get numScroll(){return this._numVisible}set numScroll(e){this._numScroll=e}get value(){return this._value}set value(e){this._value=e,this.circular&&this._value&&this.setCloneItems()}ngAfterContentInit(){this.id=`pr_id_${++o}`,this.allowAutoplay=!!this.autoplayInterval,this.circular&&this.setCloneItems(),this.responsiveOptions&&(this.defaultNumScroll=this._numScroll,this.defaultNumVisible=this._numVisible),this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners(),this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template}})}ngAfterContentChecked(){const e=this.isCircular();let t=this.totalShiftedItems;if(this.value&&(this.prevState.numScroll!==this._numScroll||this.prevState.numVisible!==this._numVisible||this.prevState.value.length!==this.value.length)){this.autoplayInterval&&this.stopAutoplay(),this.remainingItems=(this.value.length-this._numVisible)%this._numScroll;let i=this._page;0!==this.totalDots()&&i>=this.totalDots()&&(i=this.totalDots()-1,this._page=i,this.onPage.emit({page:this.page})),t=i*this._numScroll*-1,e&&(t-=this._numVisible),i===this.totalDots()-1&&this.remainingItems>0?(t+=-1*this.remainingItems+this._numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,t!==this.totalShiftedItems&&(this.totalShiftedItems=t),this._oldNumScroll=this._numScroll,this.prevState.numScroll=this._numScroll,this.prevState.numVisible=this._numVisible,this.prevState.value=this._value,this.totalDots()>0&&this.itemsContainer&&this.itemsContainer.nativeElement&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${t*(100/this._numVisible)}%, 0)`:`translate3d(${t*(100/this._numVisible)}%, 0, 0)`),this.isCreated=!0,this.autoplayInterval&&this.isAutoplay()&&this.startAutoplay()}e&&(0===this.page?t=-1*this._numVisible:0===t&&(t=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),t!==this.totalShiftedItems&&(this.totalShiftedItems=t))}createStyle(){this.carouselStyle||(this.carouselStyle=document.createElement("style"),this.carouselStyle.type="text/css",document.body.appendChild(this.carouselStyle));let e=`\n            #${this.id} .ui-carousel-item {\n\t\t\t\tflex: 1 0 ${100/this.numVisible}%\n\t\t\t}\n        `;if(this.responsiveOptions){this.responsiveOptions.sort((e,t)=>{const i=e.breakpoint,n=t.breakpoint;let s=null;return s=null==i&&null!=n?-1:null!=i&&null==n?1:null==i&&null==n?0:"string"==typeof i&&"string"==typeof n?i.localeCompare(n,void 0,{numeric:!0}):i<n?-1:i>n?1:0,-1*s});for(let t=0;t<this.responsiveOptions.length;t++){let i=this.responsiveOptions[t];e+=`\n                    @media screen and (max-width: ${i.breakpoint}) {\n                        #${this.id} .ui-carousel-item {\n                            flex: 1 0 ${100/i.numVisible}%\n                        }\n                    }\n                `}}this.carouselStyle.innerHTML=e}calculatePosition(){if(this.itemsContainer&&this.responsiveOptions){let e=window.innerWidth,t={numVisible:this.defaultNumVisible,numScroll:this.defaultNumScroll};for(let i=0;i<this.responsiveOptions.length;i++){let n=this.responsiveOptions[i];parseInt(n.breakpoint,10)>=e&&(t=n)}if(this._numScroll!==t.numScroll){let e=this._page;e=Math.floor(e*this._numScroll/t.numScroll);let i=t.numScroll*this.page*-1;this.isCircular()&&(i-=t.numVisible),this.totalShiftedItems=i,this._numScroll=t.numScroll,this._page=e,this.onPage.emit({page:this.page})}this._numVisible!==t.numVisible&&(this._numVisible=t.numVisible,this.setCloneItems())}}setCloneItems(){this.clonedItemsForStarting=[],this.clonedItemsForFinishing=[],this.isCircular()&&(this.clonedItemsForStarting.push(...this.value.slice(-1*this._numVisible)),this.clonedItemsForFinishing.push(...this.value.slice(0,this._numVisible)))}firstIndex(){return this.isCircular()?-1*(this.totalShiftedItems+this.numVisible):-1*this.totalShiftedItems}lastIndex(){return this.firstIndex()+this.numVisible-1}totalDots(){return this.value?Math.ceil((this.value.length-this._numVisible)/this._numScroll)+1:0}totalDotsArray(){const e=this.totalDots();return e<=0?[]:Array(e).fill(0)}containerClass(){return{"ui-carousel ui-widget":!0,"ui-carousel-vertical":this.isVertical(),"ui-carousel-horizontal":!this.isVertical()}}contentClasses(){return"ui-carousel-content "+this.contentClass}dotsContentClasses(){return"ui-carousel-dots-container ui-helper-reset "+this.dotsContainerClass}isVertical(){return"vertical"===this.orientation}isCircular(){return this.circular&&this.value&&this.value.length>=this.numVisible}isAutoplay(){return this.autoplayInterval&&this.allowAutoplay}isForwardNavDisabled(){return this.isEmpty()||this._page>=this.totalDots()-1&&!this.isCircular()}isBackwardNavDisabled(){return this.isEmpty()||this._page<=0&&!this.isCircular()}isEmpty(){return!this.value||0===this.value.length}navForward(e,t){(this.isCircular()||this._page<this.totalDots()-1)&&this.step(-1,t),this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),e&&e.cancelable&&e.preventDefault()}navBackward(e,t){(this.isCircular()||0!==this._page)&&this.step(1,t),this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),e&&e.cancelable&&e.preventDefault()}onDotClick(e,t){let i=this._page;this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),t>i?this.navForward(e,t):t<i&&this.navBackward(e,t)}step(e,t){let i=this.totalShiftedItems;const n=this.isCircular();null!=t?(i=this._numScroll*t*-1,n&&(i-=this._numVisible),this.isRemainingItemsAdded=!1):(i+=this._numScroll*e,this.isRemainingItemsAdded&&(i+=this.remainingItems-this._numScroll*e,this.isRemainingItemsAdded=!1),t=Math.abs(Math.floor((n?i+this._numVisible:i)/this._numScroll))),n&&this.page===this.totalDots()-1&&-1===e?(i=-1*(this.value.length+this._numVisible),t=0):n&&0===this.page&&1===e?(i=0,t=this.totalDots()-1):t===this.totalDots()-1&&this.remainingItems>0&&(i+=-1*this.remainingItems-this._numScroll*e,this.isRemainingItemsAdded=!0),this.itemsContainer&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${i*(100/this._numVisible)}%, 0)`:`translate3d(${i*(100/this._numVisible)}%, 0, 0)`,this.itemsContainer.nativeElement.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=i,this._page=t,this.onPage.emit({page:this.page})}startAutoplay(){this.interval=setInterval(()=>{this.totalDots()>0&&(this.page===this.totalDots()-1?this.step(-1,0):this.step(-1,this.page+1))},this.autoplayInterval)}stopAutoplay(){this.interval&&clearInterval(this.interval)}onTransitionEnd(){this.itemsContainer&&(this.itemsContainer.nativeElement.style.transition="",0!==this.page&&this.page!==this.totalDots()-1||!this.isCircular()||(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${this.totalShiftedItems*(100/this._numVisible)}%, 0)`:`translate3d(${this.totalShiftedItems*(100/this._numVisible)}%, 0, 0)`))}onTouchStart(e){let t=e.changedTouches[0];this.startPos={x:t.pageX,y:t.pageY}}onTouchMove(e){e.cancelable&&e.preventDefault()}onTouchEnd(e){let t=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,t.pageY-this.startPos.y):this.changePageOnTouch(e,t.pageX-this.startPos.x)}changePageOnTouch(e,t){Math.abs(t)>this.swipeThreshold&&(t<0?this.navForward(e):this.navBackward(e))}bindDocumentListeners(){this.documentResizeListener||(this.documentResizeListener=e=>{this.calculatePosition()},window.addEventListener("resize",this.documentResizeListener))}unbindDocumentListeners(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}ngOnDestroy(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.A))},e.\u0275cmp=n.Pb({type:e,selectors:[["p-carousel"]],contentQueries:function(e,t,i){var r;1&e&&(n.Nb(i,s.b,!0),n.Nb(i,s.a,!0),n.Nb(i,s.c,!1)),2&e&&(n.Ic(r=n.kc())&&(t.headerFacet=r.first),n.Ic(r=n.kc())&&(t.footerFacet=r.first),n.Ic(r=n.kc())&&(t.templates=r))},viewQuery:function(e,t){var i;1&e&&n.fd(a,!0),2&e&&n.Ic(i=n.kc())&&(t.itemsContainer=i.first)},inputs:{orientation:"orientation",verticalViewPortHeight:"verticalViewPortHeight",contentClass:"contentClass",dotsContainerClass:"dotsContainerClass",circular:"circular",autoplayInterval:"autoplayInterval",page:"page",numVisible:"numVisible",numScroll:"numScroll",value:"value",responsiveOptions:"responsiveOptions",style:"style",styleClass:"styleClass"},outputs:{onPage:"onPage"},ngContentSelectors:M,decls:17,vars:34,consts:[[3,"ngClass","ngStyle"],["class","ui-carousel-header",4,"ngIf"],[1,"ui-carousel-container"],[3,"ngClass","disabled","click"],[3,"ngClass"],[1,"ui-carousel-items-content",3,"ngStyle"],[1,"ui-carousel-items-container",3,"transitionend","touchend","touchstart","touchmove"],["itemsContainer",""],[3,"ngClass",4,"ngFor","ngForOf"],["class","ui-carousel-footer",4,"ngIf"],[1,"ui-carousel-header"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ui-button","ui-widget","ui-state-default","ui-corner-all",3,"click"],[1,"ui-carousel-footer"]],template:function(e,t){1&e&&(n.vc(k),n.bc(0,"div",0),n.Wc(1,c,2,0,"div",1),n.bc(2,"div"),n.bc(3,"div",2),n.bc(4,"button",3),n.jc("click",(function(e){return t.navBackward(e)})),n.Wb(5,"span",4),n.ac(),n.bc(6,"div",5),n.bc(7,"div",6,7),n.jc("transitionend",(function(e){return t.onTransitionEnd()}))("touchend",(function(e){return t.onTouchEnd(e)}))("touchstart",(function(e){return t.onTouchStart(e)}))("touchmove",(function(e){return t.onTouchMove(e)})),n.Wc(9,d,2,9,"div",8),n.Wc(10,m,2,9,"div",8),n.Wc(11,_,2,9,"div",8),n.ac(),n.ac(),n.bc(12,"button",3),n.jc("click",(function(e){return t.navForward(e)})),n.Wb(13,"span",4),n.ac(),n.ac(),n.bc(14,"ul"),n.Wc(15,v,3,7,"li",8),n.ac(),n.ac(),n.Wc(16,F,2,0,"div",9),n.ac()),2&e&&(n.Jb(t.styleClass),n.wc("ngClass",t.containerClass())("ngStyle",t.style),n.Ib("id",t.id),n.Hb(1),n.wc("ngIf",t.headerFacet),n.Hb(1),n.Jb(t.contentClasses()),n.Hb(2),n.wc("ngClass",n.Bc(22,w,t.isBackwardNavDisabled()))("disabled",t.isBackwardNavDisabled()),n.Hb(1),n.wc("ngClass",n.Cc(24,S,!t.isVertical(),t.isVertical())),n.Hb(1),n.wc("ngStyle",n.Bc(27,T,t.isVertical()?t.verticalViewPortHeight:"auto")),n.Hb(3),n.wc("ngForOf",t.clonedItemsForStarting),n.Hb(1),n.wc("ngForOf",t.value),n.Hb(1),n.wc("ngForOf",t.clonedItemsForFinishing),n.Hb(1),n.wc("ngClass",n.Bc(29,D,t.isForwardNavDisabled()))("disabled",t.isForwardNavDisabled()),n.Hb(1),n.wc("ngClass",n.Cc(31,E,!t.isVertical(),t.isVertical())),n.Hb(1),n.Jb(t.dotsContentClasses()),n.Hb(1),n.wc("ngForOf",t.totalDotsArray()),n.Hb(1),n.wc("ngIf",t.footerFacet))},directives:[r.o,r.r,r.q,r.p,r.u],encapsulation:2}),e})(),O=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[r.c,s.d],r.c,s.d]}),e})()},"M+L2":function(e,t,i){"use strict";var n=i("fXoL"),s=i("LSvS"),r=i("XNiG"),o=i("itXk"),a=i("7Hc7"),c=i("04ZW"),l=i("Kj3r"),u=i("lJxs"),h=i("JX91"),d=i("1G5W"),f=i("dEu6");const p=new Set;let m,g=(()=>{class e{constructor(e){this.platform=e,this._matchMedia=this.platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_}matchMedia(e){return this.platform.WEBKIT&&function(e){if(!p.has(e))try{m||(m=document.createElement("style"),m.setAttribute("type","text/css"),document.head.appendChild(m)),m.sheet&&(m.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),p.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(s.a))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.T)({factory:function(){return new e(Object(n.W)(s.a))},token:e,providedIn:"root"}),e})();function _(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let b=(()=>{class e{constructor(e,t){this.mediaMatcher=e,this.zone=t,this._queries=new Map,this._destroySubject=new r.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return y(Object(f.a)(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){const t=y(Object(f.a)(e)).map(e=>this._registerQuery(e).observable);return Object(o.a)(t).pipe(Object(l.a)(0,a.a),Object(u.a)(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(e=>{t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this.mediaMatcher.matchMedia(e);let i;const n={observable:Object(c.a)(e=>{i=t=>this.zone.run(()=>e(t)),t.addListener(i)},()=>t.removeListener(i)).pipe(Object(h.a)(t),Object(u.a)(t=>({query:e,matches:t.matches})),Object(d.a)(this._destroySubject)),mql:t};return this._queries.set(e,n),n}}return e.\u0275fac=function(t){return new(t||e)(n.fc(g),n.fc(n.A))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.T)({factory:function(){return new e(Object(n.W)(g),Object(n.W)(n.A))},token:e,providedIn:"root"}),e})();function y(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}i.d(t,"a",(function(){return v}));let v=(()=>{class e{constructor(e){this.breakpointObserver=e,this.resize=new n.n,this.breakpointObserver.observe(["(max-width: 1280px)","(min-width: 1281px) and (max-width: 1600px)","(min-width: 1601px)"]).subscribe(t=>{this.small=e.isMatched("(max-width: 1280px)"),this.medium=e.isMatched("(min-width: 1281px) and (max-width: 1600px)"),this.large=e.isMatched("(min-width: 1601px)"),this.resize.emit()})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(b))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},M6BU:function(e,t,i){"use strict";var n=i("6fvh");function s(e,t,i){return 0===i?[t]:(e.push(t),e)}t.toArray=function(){return n.reduce(s,[])}},MHPA:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.takeUntil=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.notifier))},e}(),a=function(e){function t(t,i){e.call(this,t),this.notifier=i,this.add(r.subscribeToResult(this,i))}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.complete()},t.prototype.notifyComplete=function(){},t}(s.OuterSubscriber)},"MO+k":function(e,t,i){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},i=function(e,i){return function(e){var i={};for(var n in t)t.hasOwnProperty(n)&&(i[t[n]]=n);var s=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in s)if(s.hasOwnProperty(r)){if(!("channels"in s[r]))throw new Error("missing channels property: "+r);if(!("labels"in s[r]))throw new Error("missing channel labels property: "+r);if(s[r].labels.length!==s[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=s[r].channels,a=s[r].labels;delete s[r].channels,delete s[r].labels,Object.defineProperty(s[r],"channels",{value:o}),Object.defineProperty(s[r],"labels",{value:a})}s.rgb.hsl=function(e){var t,i,n=e[0]/255,s=e[1]/255,r=e[2]/255,o=Math.min(n,s,r),a=Math.max(n,s,r),c=a-o;return a===o?t=0:n===a?t=(s-r)/c:s===a?t=2+(r-n)/c:r===a&&(t=4+(n-s)/c),(t=Math.min(60*t,360))<0&&(t+=360),i=(o+a)/2,[t,100*(a===o?0:i<=.5?c/(a+o):c/(2-a-o)),100*i]},s.rgb.hsv=function(e){var t,i,n,s,r,o=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(o,a,c),u=l-Math.min(o,a,c),h=function(e){return(l-e)/6/u+.5};return 0===u?s=r=0:(r=u/l,t=h(o),i=h(a),n=h(c),o===l?s=n-i:a===l?s=1/3+t-n:c===l&&(s=2/3+i-t),s<0?s+=1:s>1&&(s-=1)),[360*s,100*r,100*l]},s.rgb.hwb=function(e){var t=e[0],i=e[1],n=e[2];return[s.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(i,n))*100,100*(n=1-1/255*Math.max(t,Math.max(i,n)))]},s.rgb.cmyk=function(e){var t,i=e[0]/255,n=e[1]/255,s=e[2]/255;return[100*((1-i-(t=Math.min(1-i,1-n,1-s)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-s-t)/(1-t)||0),100*t]},s.rgb.keyword=function(e){var n=i[e];if(n)return n;var s,r,o,a=1/0;for(var c in t)if(t.hasOwnProperty(c)){var l=(r=e,o=t[c],Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));l<a&&(a=l,s=c)}return s},s.keyword.rgb=function(e){return t[e]},s.rgb.xyz=function(e){var t=e[0]/255,i=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]},s.rgb.lab=function(e){var t=s.rgb.xyz(e),i=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},s.hsl.rgb=function(e){var t,i,n,s,r,o=e[0]/360,a=e[1]/100,c=e[2]/100;if(0===a)return[r=255*c,r,r];t=2*c-(i=c<.5?c*(1+a):c+a-c*a),s=[0,0,0];for(var l=0;l<3;l++)(n=o+1/3*-(l-1))<0&&n++,n>1&&n--,s[l]=255*(r=6*n<1?t+6*(i-t)*n:2*n<1?i:3*n<2?t+(i-t)*(2/3-n)*6:t);return s},s.hsl.hsv=function(e){var t=e[0],i=e[1]/100,n=e[2]/100,s=i,r=Math.max(n,.01);return i*=(n*=2)<=1?n:2-n,s*=r<=1?r:2-r,[t,100*(0===n?2*s/(r+s):2*i/(n+i)),(n+i)/2*100]},s.hsv.rgb=function(e){var t=e[0]/60,i=e[1]/100,n=e[2]/100,s=Math.floor(t)%6,r=t-Math.floor(t),o=255*n*(1-i),a=255*n*(1-i*r),c=255*n*(1-i*(1-r));switch(n*=255,s){case 0:return[n,c,o];case 1:return[a,n,o];case 2:return[o,n,c];case 3:return[o,a,n];case 4:return[c,o,n];case 5:return[n,o,a]}},s.hsv.hsl=function(e){var t,i,n,s=e[0],r=e[1]/100,o=e[2]/100,a=Math.max(o,.01);return n=(2-r)*o,i=r*a,[s,100*(i=(i/=(t=(2-r)*a)<=1?t:2-t)||0),100*(n/=2)]},s.hwb.rgb=function(e){var t,i,n,s,r,o,a,c=e[0]/360,l=e[1]/100,u=e[2]/100,h=l+u;switch(h>1&&(l/=h,u/=h),n=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(n=1-n),s=l+n*((i=1-u)-l),t){default:case 6:case 0:r=i,o=s,a=l;break;case 1:r=s,o=i,a=l;break;case 2:r=l,o=i,a=s;break;case 3:r=l,o=s,a=i;break;case 4:r=s,o=l,a=i;break;case 5:r=i,o=l,a=s}return[255*r,255*o,255*a]},s.cmyk.rgb=function(e){var t=e[1]/100,i=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-n)+n)),255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n))]},s.xyz.rgb=function(e){var t,i,n,s=e[0]/100,r=e[1]/100,o=e[2]/100;return i=-.9689*s+1.8758*r+.0415*o,n=.0557*s+-.204*r+1.057*o,t=(t=3.2406*s+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]},s.xyz.lab=function(e){var t=e[0],i=e[1],n=e[2];return i/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(t-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},s.lab.xyz=function(e){var t,i,n;t=e[1]/500+(i=(e[0]+16)/116),n=i-e[2]/200;var s=Math.pow(i,3),r=Math.pow(t,3),o=Math.pow(n,3);return i=s>.008856?s:(i-16/116)/7.787,t=r>.008856?r:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,i*=100,n*=108.883]},s.lab.lch=function(e){var t,i=e[0],n=e[1],s=e[2];return(t=360*Math.atan2(s,n)/2/Math.PI)<0&&(t+=360),[i,Math.sqrt(n*n+s*s),t]},s.lch.lab=function(e){var t,i=e[1];return t=e[2]/360*2*Math.PI,[e[0],i*Math.cos(t),i*Math.sin(t)]},s.rgb.ansi16=function(e){var t=e[0],i=e[1],n=e[2],r=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return 2===r&&(o+=60),o},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],i=e[1],n=e[2];return t===i&&i===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var i;return e-=16,[Math.floor(e/36)/5*255,Math.floor((i=e%36)/6)/5*255,i%6/5*255]},s.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var i=t[0];3===t[0].length&&(i=i.split("").map((function(e){return e+e})).join(""));var n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},s.rgb.hcg=function(e){var t,i=e[0]/255,n=e[1]/255,s=e[2]/255,r=Math.max(Math.max(i,n),s),o=Math.min(Math.min(i,n),s),a=r-o;return t=a<=0?0:r===i?(n-s)/a%6:r===n?2+(s-i)/a:4+(i-n)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?o/(1-a):0)]},s.hsl.hcg=function(e){var t,i=e[1]/100,n=e[2]/100,s=0;return(t=n<.5?2*i*n:2*i*(1-n))<1&&(s=(n-.5*t)/(1-t)),[e[0],100*t,100*s]},s.hsv.hcg=function(e){var t=e[2]/100,i=e[1]/100*t,n=0;return i<1&&(n=(t-i)/(1-i)),[e[0],100*i,100*n]},s.hcg.rgb=function(e){var t=e[1]/100,i=e[2]/100;if(0===t)return[255*i,255*i,255*i];var n,s=[0,0,0],r=e[0]/360%1*6,o=r%1,a=1-o;switch(Math.floor(r)){case 0:s[0]=1,s[1]=o,s[2]=0;break;case 1:s[0]=a,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=o;break;case 3:s[0]=0,s[1]=a,s[2]=1;break;case 4:s[0]=o,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=a}return[255*(t*s[0]+(n=(1-t)*i)),255*(t*s[1]+n),255*(t*s[2]+n)]},s.hcg.hsv=function(e){var t=e[1]/100,i=t+e[2]/100*(1-t),n=0;return i>0&&(n=t/i),[e[0],100*n,100*i]},s.hcg.hsl=function(e){var t=e[1]/100,i=e[2]/100*(1-t)+.5*t,n=0;return i>0&&i<.5?n=t/(2*i):i>=.5&&i<1&&(n=t/(2*(1-i))),[e[0],100*n,100*i]},s.hcg.hwb=function(e){var t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},s.hwb.hcg=function(e){var t=1-e[2]/100,i=t-e[1]/100,n=0;return i<1&&(n=(t-i)/(1-i)),[e[0],100*i,100*n]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(i={exports:{}}),i.exports}();function n(e,t){return function(i){return t(e(i))}}function s(e,t){for(var s=[t[e].parent,e],r=i[t[e].parent][e],o=t[e].parent;t[o].parent;)s.unshift(t[o].parent),r=n(i[t[o].parent][o],r),o=t[o].parent;return r.conversion=s,r}var r={};Object.keys(i).forEach((function(e){r[e]={},Object.defineProperty(r[e],"channels",{value:i[e].channels}),Object.defineProperty(r[e],"labels",{value:i[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(i),n=t.length,s=0;s<n;s++)e[t[s]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var s=n.pop(),r=Object.keys(i[s]),o=r.length,a=0;a<o;a++){var c=r[a],l=t[c];-1===l.distance&&(l.distance=t[s].distance+1,l.parent=s,n.unshift(c))}return t}(e),n={},r=Object.keys(t),o=r.length,a=0;a<o;a++){var c=r[a];null!==t[c].parent&&(n[c]=s(c,t))}return n}(e);Object.keys(t).forEach((function(i){var n=t[i];r[e][i]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var i=e(t);if("object"==typeof i)for(var n=i.length,s=0;s<n;s++)i[s]=Math.round(i[s]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}(n),r[e][i].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var o=r,a={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},c={getRgba:l,getHsla:u,getRgb:function(e){var t=l(e);return t&&t.slice(0,3)},getHsl:function(e){var t=u(e);return t&&t.slice(0,3)},getHwb:h,getAlpha:function(e){var t=l(e);return t?t[3]:(t=u(e))?t[3]:(t=h(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+g(e[0])+g(e[1])+g(e[2])+(t>=0&&t<1?g(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?d(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:d,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return _[e.slice(0,3)]}};function l(e){if(e){var t=[0,0,0],i=1,n=e.match(/^#([a-fA-F0-9]{3,4})$/i),s="";if(n){s=(n=n[1])[3];for(var r=0;r<t.length;r++)t[r]=parseInt(n[r]+n[r],16);s&&(i=Math.round(parseInt(s+s,16)/255*100)/100)}else if(n=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(s=n[2],n=n[1],r=0;r<t.length;r++)t[r]=parseInt(n.slice(2*r,2*r+2),16);s&&(i=Math.round(parseInt(s,16)/255*100)/100)}else if(n=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=parseInt(n[r+1]);i=parseFloat(n[4])}else if(n=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=Math.round(2.55*parseFloat(n[r+1]));i=parseFloat(n[4])}else if(n=e.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(t=a[n[1]]))return}for(r=0;r<t.length;r++)t[r]=m(t[r],0,255);return i=i||0==i?m(i,0,1):1,t[3]=i,t}}function u(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var i=parseFloat(t[4]);return[m(parseInt(t[1]),0,360),m(parseFloat(t[2]),0,100),m(parseFloat(t[3]),0,100),m(isNaN(i)?1:i,0,1)]}}}function h(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var i=parseFloat(t[4]);return[m(parseInt(t[1]),0,360),m(parseFloat(t[2]),0,100),m(parseFloat(t[3]),0,100),m(isNaN(i)?1:i,0,1)]}}}function d(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function f(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function p(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function m(e,t,i){return Math.min(Math.max(t,e),i)}function g(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var _={};for(var b in a)_[a[b]]=b;var y=function(e){return e instanceof y?e:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=c.getRgba(e))?this.setValues("rgb",t):(t=c.getHsla(e))?this.setValues("hsl",t):(t=c.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new y(e);var t};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return c.hexString(this.values.rgb)},rgbString:function(){return c.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return c.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return c.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return c.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return c.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return c.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return c.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],i=0;i<e.length;i++){var n=e[i]/255;t[i]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),i=e.luminosity();return t>i?(t+.05)/(i+.05):(i+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,i=(t[0]+e)%360;return t[0]=i<0?360+i:i,this.setValues("hsl",t),this},mix:function(e,t){var i=e,n=void 0===t?.5:t,s=2*n-1,r=this.alpha()-i.alpha(),o=((s*r==-1?s:(s+r)/(1+s*r))+1)/2,a=1-o;return this.rgb(o*this.red()+a*i.red(),o*this.green()+a*i.green(),o*this.blue()+a*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var e,t,i=new y,n=this.values,s=i.values;for(var r in n)n.hasOwnProperty(r)&&("[object Array]"===(t={}.toString.call(e=n[r]))?s[r]=e.slice(0):"[object Number]"===t?s[r]=e:console.error("unexpected color value:",e));return i}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(e){for(var t=this.values,i={},n=0;n<e.length;n++)i[e.charAt(n)]=t[e][n];return 1!==t.alpha&&(i.a=t.alpha),i},y.prototype.setValues=function(e,t){var i,n,s=this.values,r=this.spaces,a=this.maxes,c=1;if(this.valid=!0,"alpha"===e)c=t;else if(t.length)s[e]=t.slice(0,e.length),c=t[e.length];else if(void 0!==t[e.charAt(0)]){for(i=0;i<e.length;i++)s[e][i]=t[e.charAt(i)];c=t.a}else if(void 0!==t[r[e][0]]){var l=r[e];for(i=0;i<e.length;i++)s[e][i]=t[l[i]];c=t.alpha}if(s.alpha=Math.max(0,Math.min(1,void 0===c?s.alpha:c)),"alpha"===e)return!1;for(i=0;i<e.length;i++)n=Math.max(0,Math.min(a[e][i],s[e][i])),s[e][i]=Math.round(n);for(var u in r)u!==e&&(s[u]=o[e][u](s[e]));return!0},y.prototype.setSpace=function(e,t){var i=t[0];return void 0===i?this.getValues(e):("number"==typeof i&&(i=Array.prototype.slice.call(t)),this.setValues(e,i),this)},y.prototype.setChannel=function(e,t,i){var n=this.values[e];return void 0===i?n[t]:i===n[t]?this:(n[t]=i,this.setValues(e,n),this)},"undefined"!=typeof window&&(window.Color=y);var v,F=y,k={noop:function(){},uid:(v=0,function(){return v++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,i){return k.valueOrDefault(k.isArray(e)?e[t]:e,i)},callback:function(e,t,i){if(e&&"function"==typeof e.call)return e.apply(i,t)},each:function(e,t,i,n){var s,r,o;if(k.isArray(e))if(r=e.length,n)for(s=r-1;s>=0;s--)t.call(i,e[s],s);else for(s=0;s<r;s++)t.call(i,e[s],s);else if(k.isObject(e))for(r=(o=Object.keys(e)).length,s=0;s<r;s++)t.call(i,e[o[s]],o[s])},arrayEquals:function(e,t){var i,n,s,r;if(!e||!t||e.length!==t.length)return!1;for(i=0,n=e.length;i<n;++i)if(r=t[i],(s=e[i])instanceof Array&&r instanceof Array){if(!k.arrayEquals(s,r))return!1}else if(s!==r)return!1;return!0},clone:function(e){if(k.isArray(e))return e.map(k.clone);if(k.isObject(e)){for(var t={},i=Object.keys(e),n=i.length,s=0;s<n;++s)t[i[s]]=k.clone(e[i[s]]);return t}return e},_merger:function(e,t,i,n){var s=t[e],r=i[e];k.isObject(s)&&k.isObject(r)?k.merge(s,r,n):t[e]=k.clone(r)},_mergerIf:function(e,t,i){var n=t[e],s=i[e];k.isObject(n)&&k.isObject(s)?k.mergeIf(n,s):t.hasOwnProperty(e)||(t[e]=k.clone(s))},merge:function(e,t,i){var n,s,r,o,a,c=k.isArray(t)?t:[t],l=c.length;if(!k.isObject(e))return e;for(n=(i=i||{}).merger||k._merger,s=0;s<l;++s)if(k.isObject(t=c[s]))for(a=0,o=(r=Object.keys(t)).length;a<o;++a)n(r[a],e,t,i);return e},mergeIf:function(e,t){return k.merge(e,t,{merger:k._mergerIf})},extend:Object.assign||function(e){return k.merge(e,[].slice.call(arguments,1),{merger:function(e,t,i){t[e]=i[e]}})},inherits:function(e){var t=this,i=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=t.prototype,i.prototype=new n,i.extend=k.inherits,e&&k.extend(i.prototype,e),i.__super__=t.prototype,i},_deprecated:function(e,t,i,n){void 0!==t&&console.warn(e+': "'+i+'" is deprecated. Please use "'+n+'" instead')}},w=k;k.callCallback=k.callback,k.indexOf=function(e,t,i){return Array.prototype.indexOf.call(e,t,i)},k.getValueOrDefault=k.valueOrDefault,k.getValueAtIndexOrDefault=k.valueAtIndexOrDefault;var S={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:1===e?1:(i||(i=.3),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i))},easeOutElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:1===e?1:(i||(i=.3),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},easeInOutElastic:function(e){var t=1.70158,i=0,n=1;return 0===e?0:2==(e/=.5)?1:(i||(i=.45),n<1?(n=1,t=i/4):t=i/(2*Math.PI)*Math.asin(1/n),e<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-S.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*S.easeInBounce(2*e):.5*S.easeOutBounce(2*e-1)+.5}},T={effects:S};w.easingEffects=S;var D=Math.PI,E=D/180,M=2*D,C=D/2,O=D/4,x=2*D/3,L={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,i,n,s,r){if(r){var o=Math.min(r,s/2,n/2),a=t+o,c=i+o,l=t+n-o,u=i+s-o;e.moveTo(t,c),a<l&&c<u?(e.arc(a,c,o,-D,-C),e.arc(l,c,o,-C,0),e.arc(l,u,o,0,C),e.arc(a,u,o,C,D)):a<l?(e.moveTo(a,i),e.arc(l,c,o,-C,C),e.arc(a,c,o,C,D+C)):c<u?(e.arc(a,c,o,-D,0),e.arc(a,u,o,0,D)):e.arc(a,c,o,-D,D),e.closePath(),e.moveTo(t,i)}else e.rect(t,i,n,s)},drawPoint:function(e,t,i,n,s,r){var o,a,c,l,u,h=(r||0)*E;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(o=t.toString())||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(n,s),e.rotate(h),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(i)||i<=0)){switch(e.beginPath(),t){default:e.arc(n,s,i,0,M),e.closePath();break;case"triangle":e.moveTo(n+Math.sin(h)*i,s-Math.cos(h)*i),h+=x,e.lineTo(n+Math.sin(h)*i,s-Math.cos(h)*i),h+=x,e.lineTo(n+Math.sin(h)*i,s-Math.cos(h)*i),e.closePath();break;case"rectRounded":l=i-(u=.516*i),a=Math.cos(h+O)*l,c=Math.sin(h+O)*l,e.arc(n-a,s-c,u,h-D,h-C),e.arc(n+c,s-a,u,h-C,h),e.arc(n+a,s+c,u,h,h+C),e.arc(n-c,s+a,u,h+C,h+D),e.closePath();break;case"rect":if(!r){l=Math.SQRT1_2*i,e.rect(n-l,s-l,2*l,2*l);break}h+=O;case"rectRot":a=Math.cos(h)*i,c=Math.sin(h)*i,e.moveTo(n-a,s-c),e.lineTo(n+c,s-a),e.lineTo(n+a,s+c),e.lineTo(n-c,s+a),e.closePath();break;case"crossRot":h+=O;case"cross":a=Math.cos(h)*i,c=Math.sin(h)*i,e.moveTo(n-a,s-c),e.lineTo(n+a,s+c),e.moveTo(n+c,s-a),e.lineTo(n-c,s+a);break;case"star":a=Math.cos(h)*i,c=Math.sin(h)*i,e.moveTo(n-a,s-c),e.lineTo(n+a,s+c),e.moveTo(n+c,s-a),e.lineTo(n-c,s+a),h+=O,a=Math.cos(h)*i,c=Math.sin(h)*i,e.moveTo(n-a,s-c),e.lineTo(n+a,s+c),e.moveTo(n+c,s-a),e.lineTo(n-c,s+a);break;case"line":a=Math.cos(h)*i,c=Math.sin(h)*i,e.moveTo(n-a,s-c),e.lineTo(n+a,s+c);break;case"dash":e.moveTo(n,s),e.lineTo(n+Math.cos(h)*i,s+Math.sin(h)*i)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,i,n){var s=i.steppedLine;if(s){if("middle"===s){var r=(t.x+i.x)/2;e.lineTo(r,n?i.y:t.y),e.lineTo(r,n?t.y:i.y)}else"after"===s&&!n||"after"!==s&&n?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}else i.tension?e.bezierCurveTo(n?t.controlPointPreviousX:t.controlPointNextX,n?t.controlPointPreviousY:t.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):e.lineTo(i.x,i.y)}},j=L;w.clear=L.clear,w.drawRoundedRectangle=function(e){e.beginPath(),L.roundedRect.apply(L,arguments)};var I={_set:function(e,t){return w.merge(this[e]||(this[e]={}),t)}};I._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var A=I,N=w.valueOrDefault,R={toLineHeight:function(e,t){var i=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*t;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,i,n,s;return w.isObject(e)?(t=+e.top||0,i=+e.right||0,n=+e.bottom||0,s=+e.left||0):t=i=n=s=+e||0,{top:t,right:i,bottom:n,left:s,height:t+n,width:s+i}},_parseFont:function(e){var t=A.global,i=N(e.fontSize,t.defaultFontSize),n={family:N(e.fontFamily,t.defaultFontFamily),lineHeight:w.options.toLineHeight(N(e.lineHeight,t.defaultLineHeight),i),size:i,style:N(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return n.string=function(e){return!e||w.isNullOrUndef(e.size)||w.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(n),n},resolve:function(e,t,i,n){var s,r,o,a=!0;for(s=0,r=e.length;s<r;++s)if(void 0!==(o=e[s])&&(void 0!==t&&"function"==typeof o&&(o=o(t),a=!1),void 0!==i&&w.isArray(o)&&(o=o[i],a=!1),void 0!==o))return n&&!a&&(n.cacheable=!1),o}},P={_factorize:function(e){var t,i=[],n=Math.sqrt(e);for(t=1;t<n;t++)e%t==0&&(i.push(t),i.push(e/t));return n===(0|n)&&i.push(n),i.sort((function(e,t){return e-t})).pop(),i},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,i=Math.round(t);return e===Math.pow(10,i)?i:t}},B=P;w.log10=P.log10;var Y=w,H=j,V=R,U=B;Y.easing=T,Y.canvas=H,Y.options=V,Y.math=U,Y.rtl={getRtlAdapter:function(e,t,i){return e?function(e,t){return{x:function(i){return e+e+t-i},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,i):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var i,n;"ltr"!==t&&"rtl"!==t||(n=[(i=e.canvas.style).getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=n)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};var W=function(e){Y.extend(this,e),this.initialize.apply(this,arguments)};Y.extend(W.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=Y.extend({},e._model)),e._start={},e},transition:function(e){var t=this,i=t._model,n=t._start,s=t._view;return i&&1!==e?(s||(s=t._view={}),n||(n=t._start={}),function(e,t,i,n){var s,r,o,a,c,l,u,h,d,f=Object.keys(i);for(s=0,r=f.length;s<r;++s)if(l=i[o=f[s]],t.hasOwnProperty(o)||(t[o]=l),(a=t[o])!==l&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=a),(u=typeof l)==typeof(c=e[o]))if("string"===u){if((h=F(c)).valid&&(d=F(l)).valid){t[o]=d.mix(h,n).rgbString();continue}}else if(Y.isFinite(c)&&Y.isFinite(l)){t[o]=c+(l-c)*n;continue}t[o]=l}}(n,s,i,e),t):(t._view=Y.extend({},i),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Y.isNumber(this._model.x)&&Y.isNumber(this._model.y)}}),W.extend=Y.inherits;var z=W,$=z.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),G=$;Object.defineProperty($.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty($.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),A._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Y.noop,onComplete:Y.noop}});var q={animations:[],request:null,addAnimation:function(e,t,i,n){var s,r,o=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=i,n||(e.animating=!0),s=0,r=o.length;s<r;++s)if(o[s].chart===e)return void(o[s]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=Y.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=Y.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var e,t,i,n,s=this.animations,r=0;r<s.length;)t=(e=s[r]).chart,i=e.numSteps,n=Math.floor((Date.now()-e.startTime)/e.duration*i)+1,e.currentStep=Math.min(n,i),Y.callback(e.render,[t,e],t),Y.callback(e.onAnimationProgress,[e],t),e.currentStep>=i?(Y.callback(e.onAnimationComplete,[e],t),t.animating=!1,s.splice(r,1)):++r}},K=Y.options.resolve,J=["push","pop","shift","splice","unshift"];function Z(e,t){var i=e._chartjs;if(i){var n=i.listeners,s=n.indexOf(t);-1!==s&&n.splice(s,1),n.length>0||(J.forEach((function(t){delete e[t]})),delete e._chartjs)}}var X=function(e,t){this.initialize(e,t)};Y.extend(X.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var i=this;i.chart=e,i.index=t,i.linkScales(),i.addElements(),i._type=i.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,i=t.scales,n=this.getDataset(),s=t.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!n.xAxisID||(e.xAxisID=n.xAxisID||s.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!n.yAxisID||(e.yAxisID=n.yAxisID||s.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Z(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,i=this.getMeta(),n=this.getDataset().data||[],s=i.data;for(e=0,t=n.length;e<t;++e)s[e]=s[e]||this.createMetaData(e);i.dataset=i.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,t,i=this,n=i.getDataset(),s=n.data||(n.data=[]);i._data!==s&&(i._data&&Z(i._data,i),s&&Object.isExtensible(s)&&(t=i,(e=s)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),J.forEach((function(t){var i="onData"+t.charAt(0).toUpperCase()+t.slice(1),n=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),s=n.apply(this,t);return Y.each(e._chartjs.listeners,(function(e){"function"==typeof e[i]&&e[i].apply(e,t)})),s}})})))),i._data=s),i.resyncElements()},_configure:function(){this._config=Y.merge({},[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,i){"_meta"!==e&&"data"!==e&&Y._merger(e,t,i)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:Y.noop,transition:function(e){for(var t=this.getMeta(),i=t.data||[],n=i.length,s=0;s<n;++s)i[s].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],i=t.length,n=0;for(e.dataset&&e.dataset.draw();n<i;++n)t[n].draw()},getStyle:function(e){var t,i=this.getMeta(),n=i.dataset;return this._configure(),!1!==(t=n&&void 0===e?this._resolveDatasetElementOptions(n||{}):this._resolveDataElementOptions(i.data[e=e||0]||{},e)).fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var i,n,s,r,o=this,a=o.chart,c=o._config,l=e.custom||{},u=a.options.elements[o.datasetElementType.prototype._type]||{},h=o._datasetElementOptions,d={},f={chart:a,dataset:o.getDataset(),datasetIndex:o.index,hover:t};for(i=0,n=h.length;i<n;++i)s=h[i],r=t?"hover"+s.charAt(0).toUpperCase()+s.slice(1):s,d[s]=K([l[r],c[r],u[r]],f);return d},_resolveDataElementOptions:function(e,t){var i=this,n=e&&e.custom,s=i._cachedDataOpts;if(s&&!n)return s;var r,o,a,c,l=i.chart,u=i._config,h=l.options.elements[i.dataElementType.prototype._type]||{},d=i._dataElementOptions,f={},p={chart:l,dataIndex:t,dataset:i.getDataset(),datasetIndex:i.index},m={cacheable:!n};if(n=n||{},Y.isArray(d))for(o=0,a=d.length;o<a;++o)f[c=d[o]]=K([n[c],u[c],h[c]],p,t,m);else for(o=0,a=(r=Object.keys(d)).length;o<a;++o)f[c=r[o]]=K([n[c],u[d[c]],u[c],h[c]],p,t,m);return m.cacheable&&(i._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){Y.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],i=e._index,n=e.custom||{},s=e._model,r=Y.getHoverColor;e.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=K([n.hoverBackgroundColor,t.hoverBackgroundColor,r(s.backgroundColor)],void 0,i),s.borderColor=K([n.hoverBorderColor,t.hoverBorderColor,r(s.borderColor)],void 0,i),s.borderWidth=K([n.hoverBorderWidth,t.hoverBorderWidth,s.borderWidth],void 0,i)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,i,n,s,r,o=this.getMeta().dataset,a={};if(o){for(r=o._model,s=this._resolveDatasetElementOptions(o,!0),e=0,t=(n=Object.keys(s)).length;e<t;++e)a[i=n[e]]=r[i],r[i]=s[i];o.$previousStyle=a}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,i=e.data.length,n=t.length;n<i?e.data.splice(n,i-n):n>i&&this.insertElements(i,n-i)},insertElements:function(e,t){for(var i=0;i<t;++i)this.addElementAndReset(e+i)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),X.extend=Y.inherits;var Q=X,ee=2*Math.PI;function te(e,t){var i=t.startAngle,n=t.endAngle,s=t.pixelMargin,r=s/t.outerRadius,o=t.x,a=t.y;e.beginPath(),e.arc(o,a,t.outerRadius,i-r,n+r),t.innerRadius>s?e.arc(o,a,t.innerRadius-s,n+(r=s/t.innerRadius),i-r,!0):e.arc(o,a,s,n+Math.PI/2,i-Math.PI/2),e.closePath(),e.clip()}A._set("global",{elements:{arc:{backgroundColor:A.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ie=z.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var i=this._view;if(i){for(var n=Y.getAngleFromPoint(i,{x:e,y:t}),s=n.angle,r=n.distance,o=i.startAngle,a=i.endAngle;a<o;)a+=ee;for(;s>a;)s-=ee;for(;s<o;)s+=ee;return s>=o&&s<=a&&r>=i.innerRadius&&r<=i.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,i=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*i,y:e.y+Math.sin(t)*i}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,i=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*i,y:e.y+Math.sin(t)*i}},draw:function(){var e,t=this._chart.ctx,i=this._view,n="inner"===i.borderAlign?.33:0,s={x:i.x,y:i.y,innerRadius:i.innerRadius,outerRadius:Math.max(i.outerRadius-n,0),pixelMargin:n,startAngle:i.startAngle,endAngle:i.endAngle,fullCircles:Math.floor(i.circumference/ee)};if(t.save(),t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,s.fullCircles){for(s.endAngle=s.startAngle+ee,t.beginPath(),t.arc(s.x,s.y,s.outerRadius,s.startAngle,s.endAngle),t.arc(s.x,s.y,s.innerRadius,s.endAngle,s.startAngle,!0),t.closePath(),e=0;e<s.fullCircles;++e)t.fill();s.endAngle=s.startAngle+i.circumference%ee}t.beginPath(),t.arc(s.x,s.y,s.outerRadius,s.startAngle,s.endAngle),t.arc(s.x,s.y,s.innerRadius,s.endAngle,s.startAngle,!0),t.closePath(),t.fill(),i.borderWidth&&function(e,t,i){var n="inner"===t.borderAlign;n?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),i.fullCircles&&function(e,t,i,n){var s,r=i.endAngle;for(n&&(i.endAngle=i.startAngle+ee,te(e,i),i.endAngle=r,i.endAngle===i.startAngle&&i.fullCircles&&(i.endAngle+=ee,i.fullCircles--)),e.beginPath(),e.arc(i.x,i.y,i.innerRadius,i.startAngle+ee,i.startAngle,!0),s=0;s<i.fullCircles;++s)e.stroke();for(e.beginPath(),e.arc(i.x,i.y,t.outerRadius,i.startAngle,i.startAngle+ee),s=0;s<i.fullCircles;++s)e.stroke()}(e,t,i,n),n&&te(e,i),e.beginPath(),e.arc(i.x,i.y,t.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),e.stroke()}(t,i,s),t.restore()}}),ne=Y.valueOrDefault,se=A.global.defaultColor;A._set("global",{elements:{line:{tension:.4,backgroundColor:se,borderWidth:3,borderColor:se,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var re=z.extend({_type:"line",draw:function(){var e,t,i,n=this,s=n._view,r=n._chart.ctx,o=s.spanGaps,a=n._children.slice(),c=A.global,l=c.elements.line,u=-1,h=n._loop;if(a.length){if(n._loop){for(e=0;e<a.length;++e)if(t=Y.previousItem(a,e),!a[e]._view.skip&&t._view.skip){a=a.slice(e).concat(a.slice(0,e)),h=o;break}h&&a.push(a[0])}for(r.save(),r.lineCap=s.borderCapStyle||l.borderCapStyle,r.setLineDash&&r.setLineDash(s.borderDash||l.borderDash),r.lineDashOffset=ne(s.borderDashOffset,l.borderDashOffset),r.lineJoin=s.borderJoinStyle||l.borderJoinStyle,r.lineWidth=ne(s.borderWidth,l.borderWidth),r.strokeStyle=s.borderColor||c.defaultColor,r.beginPath(),(i=a[0]._view).skip||(r.moveTo(i.x,i.y),u=0),e=1;e<a.length;++e)i=a[e]._view,t=-1===u?Y.previousItem(a,e):a[u],i.skip||(u!==e-1&&!o||-1===u?r.moveTo(i.x,i.y):Y.canvas.lineTo(r,t._view,i),u=e);h&&r.closePath(),r.stroke(),r.restore()}}}),oe=Y.valueOrDefault,ae=A.global.defaultColor;function ce(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}A._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:ae,borderColor:ae,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var le=z.extend({_type:"point",inRange:function(e,t){var i=this._view;return!!i&&Math.pow(e-i.x,2)+Math.pow(t-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:ce,inXRange:ce,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,i=this._chart.ctx,n=t.pointStyle,s=t.rotation,r=t.radius,o=t.x,a=t.y,c=A.global,l=c.defaultColor;t.skip||(void 0===e||Y.canvas._isPointInArea(t,e))&&(i.strokeStyle=t.borderColor||l,i.lineWidth=oe(t.borderWidth,c.elements.point.borderWidth),i.fillStyle=t.backgroundColor||l,Y.canvas.drawPoint(i,n,r,o,a,s))}}),ue=A.global.defaultColor;function he(e){return e&&void 0!==e.width}function de(e){var t,i,n,s,r;return he(e)?(t=e.x-(r=e.width/2),i=e.x+r,n=Math.min(e.y,e.base),s=Math.max(e.y,e.base)):(r=e.height/2,t=Math.min(e.x,e.base),i=Math.max(e.x,e.base),n=e.y-r,s=e.y+r),{left:t,top:n,right:i,bottom:s}}function fe(e,t,i){return e===t?i:e===i?t:e}function pe(e,t,i){var n=null===t,s=null===i,r=!(!e||n&&s)&&de(e);return r&&(n||t>=r.left&&t<=r.right)&&(s||i>=r.top&&i<=r.bottom)}A._set("global",{elements:{rectangle:{backgroundColor:ue,borderColor:ue,borderSkipped:"bottom",borderWidth:0}}});var me=z.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,i=function(e){var t=de(e),i=t.right-t.left,n=t.bottom-t.top,s=function(e,t,i){var n,s,r,o,a=e.borderWidth,c=function(e){var t=e.borderSkipped,i={};return t?(e.horizontal?e.base>e.x&&(t=fe(t,"left","right")):e.base<e.y&&(t=fe(t,"bottom","top")),i[t]=!0,i):i}(e);return Y.isObject(a)?(n=+a.top||0,s=+a.right||0,r=+a.bottom||0,o=+a.left||0):n=s=r=o=+a||0,{t:c.top||n<0?0:n>i?i:n,r:c.right||s<0?0:s>t?t:s,b:c.bottom||r<0?0:r>i?i:r,l:c.left||o<0?0:o>t?t:o}}(e,i/2,n/2);return{outer:{x:t.left,y:t.top,w:i,h:n},inner:{x:t.left+s.l,y:t.top+s.t,w:i-s.l-s.r,h:n-s.t-s.b}}}(t),n=i.outer,s=i.inner;e.fillStyle=t.backgroundColor,e.fillRect(n.x,n.y,n.w,n.h),n.w===s.w&&n.h===s.h||(e.save(),e.beginPath(),e.rect(n.x,n.y,n.w,n.h),e.clip(),e.fillStyle=t.borderColor,e.rect(s.x,s.y,s.w,s.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return pe(this._view,e,t)},inLabelRange:function(e,t){var i=this._view;return he(i)?pe(i,e,null):pe(i,null,t)},inXRange:function(e){return pe(this._view,e,null)},inYRange:function(e){return pe(this._view,null,e)},getCenterPoint:function(){var e,t,i=this._view;return he(i)?(e=i.x,t=(i.y+i.base)/2):(e=(i.x+i.base)/2,t=i.y),{x:e,y:t}},getArea:function(){var e=this._view;return he(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),ge={},_e=re,be=le,ye=me;ge.Arc=ie,ge.Line=_e,ge.Point=be,ge.Rectangle=ye;var ve=Y._deprecated,Fe=Y.valueOrDefault;A._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),A._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var ke=Q.extend({dataElementType:ge.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,i=this;Q.prototype.initialize.apply(i,arguments),(e=i.getMeta()).stack=i.getDataset().stack,e.bar=!0,t=i._getIndexScale().options,ve("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ve("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ve("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ve("bar chart",i._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ve("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,i=n.length;t<i;++t)this.updateElement(n[t],t,e)},updateElement:function(e,t,i){var n=this,s=n.getMeta(),r=n.getDataset(),o=n._resolveDataElementOptions(e,t);e._xScale=n.getScaleForId(s.xAxisID),e._yScale=n.getScaleForId(s.yAxisID),e._datasetIndex=n.index,e._index=t,e._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:n.chart.data.labels[t]},Y.isArray(r.data[t])&&(e._model.borderSkipped=null),n._updateElementGeometry(e,t,i,o),e.pivot()},_updateElementGeometry:function(e,t,i,n){var s=this,r=e._model,o=s._getValueScale(),a=o.getBasePixel(),c=o.isHorizontal(),l=s._ruler||s.getRuler(),u=s.calculateBarValuePixels(s.index,t,n),h=s.calculateBarIndexPixels(s.index,t,l,n);r.horizontal=c,r.base=i?a:u.base,r.x=c?i?a:u.head:h.center,r.y=c?h.center:i?a:u.head,r.height=c?h.size:void 0,r.width=c?void 0:h.size},_getStacks:function(e){var t,i,n=this._getIndexScale(),s=n._getMatchingVisibleMetas(this._type),r=n.options.stacked,o=s.length,a=[];for(t=0;t<o&&(i=s[t],(!1===r||-1===a.indexOf(i.stack)||void 0===r&&void 0===i.stack)&&a.push(i.stack),i.index!==e);++t);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var i=this._getStacks(e),n=void 0!==t?i.indexOf(t):-1;return-1===n?i.length-1:n},getRuler:function(){var e,t,i=this._getIndexScale(),n=[];for(e=0,t=this.getMeta().data.length;e<t;++e)n.push(i.getPixelForValue(null,e,this.index));return{pixels:n,start:i._startPixel,end:i._endPixel,stackCount:this.getStackCount(),scale:i}},calculateBarValuePixels:function(e,t,i){var n,s,r,o,a,c,l,u=this.chart,h=this._getValueScale(),d=h.isHorizontal(),f=u.data.datasets,p=h._getMatchingVisibleMetas(this._type),m=h._parseValue(f[e].data[t]),g=i.minBarLength,_=h.options.stacked,b=this.getMeta().stack,y=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,v=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,F=p.length;if(_||void 0===_&&void 0!==b)for(n=0;n<F&&(s=p[n]).index!==e;++n)s.stack===b&&(r=void 0===(l=h._parseValue(f[s.index].data[t])).start?l.end:l.min>=0&&l.max>=0?l.max:l.min,(m.min<0&&r<0||m.max>=0&&r>0)&&(y+=r));return o=h.getPixelForValue(y),c=(a=h.getPixelForValue(y+v))-o,void 0!==g&&Math.abs(c)<g&&(c=g,a=v>=0&&!d||v<0&&d?o-g:o+g),{size:c,base:o,head:a,center:a+c/2}},calculateBarIndexPixels:function(e,t,i,n){var s="flex"===n.barThickness?function(e,t,i){var n,s=t.pixels,r=s[e],o=e>0?s[e-1]:null,a=e<s.length-1?s[e+1]:null,c=i.categoryPercentage;return null===o&&(o=r-(null===a?t.end-t.start:a-r)),null===a&&(a=r+r-o),n=r-(r-Math.min(o,a))/2*c,{chunk:Math.abs(a-o)/2*c/t.stackCount,ratio:i.barPercentage,start:n}}(t,i,n):function(e,t,i){var n,s,r=i.barThickness,o=t.stackCount,a=t.pixels[e],c=Y.isNullOrUndef(r)?function(e,t){var i,n,s,r,o=e._length;for(s=1,r=t.length;s<r;++s)o=Math.min(o,Math.abs(t[s]-t[s-1]));for(s=0,r=e.getTicks().length;s<r;++s)n=e.getPixelForTick(s),o=s>0?Math.min(o,Math.abs(n-i)):o,i=n;return o}(t.scale,t.pixels):-1;return Y.isNullOrUndef(r)?(n=c*i.categoryPercentage,s=i.barPercentage):(n=r*o,s=1),{chunk:n/o,ratio:s,start:a-n/2}}(t,i,n),r=this.getStackIndex(e,this.getMeta().stack),o=s.start+s.chunk*r+s.chunk/2,a=Math.min(Fe(n.maxBarThickness,1/0),s.chunk*s.ratio);return{base:o-a/2,head:o+a/2,center:o,size:a}},draw:function(){var e=this.chart,t=this._getValueScale(),i=this.getMeta().data,n=this.getDataset(),s=i.length,r=0;for(Y.canvas.clipArea(e.ctx,e.chartArea);r<s;++r){var o=t._parseValue(n.data[r]);isNaN(o.min)||isNaN(o.max)||i[r].draw()}Y.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=Y.extend({},Q.prototype._resolveDataElementOptions.apply(e,arguments)),i=e._getIndexScale().options,n=e._getValueScale().options;return t.barPercentage=Fe(i.barPercentage,t.barPercentage),t.barThickness=Fe(i.barThickness,t.barThickness),t.categoryPercentage=Fe(i.categoryPercentage,t.categoryPercentage),t.maxBarThickness=Fe(i.maxBarThickness,t.maxBarThickness),t.minBarLength=Fe(n.minBarLength,t.minBarLength),t}}),we=Y.valueOrDefault,Se=Y.options.resolve;A._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": ("+e.xLabel+", "+e.yLabel+", "+t.datasets[e.datasetIndex].data[e.index].r+")"}}}});var Te=Q.extend({dataElementType:ge.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,i=t.getMeta();Y.each(i.data,(function(i,n){t.updateElement(i,n,e)}))},updateElement:function(e,t,i){var n=this,s=n.getMeta(),r=e.custom||{},o=n.getScaleForId(s.xAxisID),a=n.getScaleForId(s.yAxisID),c=n._resolveDataElementOptions(e,t),l=n.getDataset().data[t],u=n.index,h=i?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof l?l:NaN,t,u),d=i?a.getBasePixel():a.getPixelForValue(l,t,u);e._xScale=o,e._yScale=a,e._options=c,e._datasetIndex=u,e._index=t,e._model={backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,hitRadius:c.hitRadius,pointStyle:c.pointStyle,rotation:c.rotation,radius:i?0:c.radius,skip:r.skip||isNaN(h)||isNaN(d),x:h,y:d},e.pivot()},setHoverStyle:function(e){var t=e._model,i=e._options,n=Y.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=we(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=we(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=we(i.hoverBorderWidth,i.borderWidth),t.radius=i.radius+i.hoverRadius},_resolveDataElementOptions:function(e,t){var i=this,n=i.chart,s=i.getDataset(),r=e.custom||{},o=s.data[t]||{},a=Q.prototype._resolveDataElementOptions.apply(i,arguments),c={chart:n,dataIndex:t,dataset:s,datasetIndex:i.index};return i._cachedDataOpts===a&&(a=Y.extend({},a)),a.radius=Se([r.radius,o.r,i._config.radius,n.options.elements.point.radius],c,t),a}}),De=Y.valueOrDefault,Ee=Math.PI,Me=2*Ee,Ce=Ee/2;A._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,i,n,s=document.createElement("ul"),r=e.data,o=r.datasets,a=r.labels;if(s.setAttribute("class",e.id+"-legend"),o.length)for(t=0,i=o[0].data.length;t<i;++t)(n=s.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],a[t]&&n.appendChild(document.createTextNode(a[t]));return s.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(i,n){var s=e.getDatasetMeta(0),r=s.controller.getStyle(n);return{text:i,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(t.datasets[0].data[n])||s.data[n].hidden,index:n}})):[]}},onClick:function(e,t){var i,n,s,r=t.index,o=this.chart;for(i=0,n=(o.data.datasets||[]).length;i<n;++i)(s=o.getDatasetMeta(i)).data[r]&&(s.data[r].hidden=!s.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Ce,circumference:Me,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var i=t.labels[e.index],n=": "+t.datasets[e.datasetIndex].data[e.index];return Y.isArray(i)?(i=i.slice())[0]+=n:i+=n,i}}}});var Oe=Q.extend({dataElementType:ge.Arc,linkScales:Y.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,i=0;i<e;++i)this.chart.isDatasetVisible(i)&&++t;return t},update:function(e){var t,i,n=this,s=n.chart,r=s.chartArea,o=s.options,a=1,c=1,l=0,u=0,h=n.getMeta(),d=h.data,f=o.cutoutPercentage/100||0,p=o.circumference,m=n._getRingWeight(n.index);if(p<Me){var g=o.rotation%Me,_=(g+=g>=Ee?-Me:g<-Ee?Me:0)+p,b=Math.cos(g),y=Math.sin(g),v=Math.cos(_),F=Math.sin(_),k=g<=0&&_>=0||_>=Me,w=g<=Ce&&_>=Ce||_>=Me+Ce,S=g<=-Ce&&_>=-Ce||_>=Ee+Ce,T=g===-Ee||_>=Ee?-1:Math.min(b,b*f,v,v*f),D=S?-1:Math.min(y,y*f,F,F*f),E=k?1:Math.max(b,b*f,v,v*f),M=w?1:Math.max(y,y*f,F,F*f);a=(E-T)/2,c=(M-D)/2,l=-(E+T)/2,u=-(M+D)/2}for(t=0,i=d.length;t<i;++t)d[t]._options=n._resolveDataElementOptions(d[t],t);for(s.borderWidth=n.getMaxBorderWidth(),s.outerRadius=Math.max(Math.min((r.right-r.left-s.borderWidth)/a,(r.bottom-r.top-s.borderWidth)/c)/2,0),s.innerRadius=Math.max(s.outerRadius*f,0),s.radiusLength=(s.outerRadius-s.innerRadius)/(n._getVisibleDatasetWeightTotal()||1),s.offsetX=l*s.outerRadius,s.offsetY=u*s.outerRadius,h.total=n.calculateTotal(),n.outerRadius=s.outerRadius-s.radiusLength*n._getRingWeightOffset(n.index),n.innerRadius=Math.max(n.outerRadius-s.radiusLength*m,0),t=0,i=d.length;t<i;++t)n.updateElement(d[t],t,e)},updateElement:function(e,t,i){var n=this,s=n.chart,r=s.chartArea,o=s.options,a=o.animation,c=(r.left+r.right)/2,l=(r.top+r.bottom)/2,u=o.rotation,h=o.rotation,d=n.getDataset(),f=i&&a.animateRotate?0:e.hidden?0:n.calculateCircumference(d.data[t])*(o.circumference/Me),p=e._options||{};Y.extend(e,{_datasetIndex:n.index,_index:t,_model:{backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,borderAlign:p.borderAlign,x:c+s.offsetX,y:l+s.offsetY,startAngle:u,endAngle:h,circumference:f,outerRadius:i&&a.animateScale?0:n.outerRadius,innerRadius:i&&a.animateScale?0:n.innerRadius,label:Y.valueAtIndexOrDefault(d.label,t,s.data.labels[t])}});var m=e._model;i&&a.animateRotate||(m.startAngle=0===t?o.rotation:n.getMeta().data[t-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),i=this.getMeta(),n=0;return Y.each(i.data,(function(i,s){e=t.data[s],isNaN(e)||i.hidden||(n+=Math.abs(e))})),n},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?Me*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,i,n,s,r,o,a,c,l=0,u=this.chart;if(!e)for(t=0,i=u.data.datasets.length;t<i;++t)if(u.isDatasetVisible(t)){e=(n=u.getDatasetMeta(t)).data,t!==this.index&&(r=n.controller);break}if(!e)return 0;for(t=0,i=e.length;t<i;++t)s=e[t],r?(r._configure(),o=r._resolveDataElementOptions(s,t)):o=s._options,"inner"!==o.borderAlign&&(l=(c=o.hoverBorderWidth)>(l=(a=o.borderWidth)>l?a:l)?c:l);return l},setHoverStyle:function(e){var t=e._model,i=e._options,n=Y.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=De(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=De(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=De(i.hoverBorderWidth,i.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t},_getRingWeight:function(e){return Math.max(De(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});A._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),A._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var xe=ke.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Le=Y.valueOrDefault,je=Y.options.resolve,Ie=Y.canvas._isPointInArea;function Ae(e,t){var i=e&&e.options.ticks||{},n=i.reverse,s=void 0===i.min?t:0,r=void 0===i.max?t:0;return{start:n?r:s,end:n?s:r}}function Ne(e,t,i){var n=i/2,s=Ae(e,n),r=Ae(t,n);return{top:r.end,right:s.end,bottom:r.start,left:s.start}}function Re(e){var t,i,n,s;return Y.isObject(e)?(t=e.top,i=e.right,n=e.bottom,s=e.left):t=i=n=s=e,{top:t,right:i,bottom:n,left:s}}A._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Pe=Q.extend({datasetElementType:ge.Line,dataElementType:ge.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,i,n=this,s=n.getMeta(),r=s.dataset,o=s.data||[],a=n._config,c=n._showLine=Le(a.showLine,n.chart.options.showLines);for(n._xScale=n.getScaleForId(s.xAxisID),n._yScale=n.getScaleForId(s.yAxisID),c&&(void 0!==a.tension&&void 0===a.lineTension&&(a.lineTension=a.tension),r._scale=n._yScale,r._datasetIndex=n.index,r._children=o,r._model=n._resolveDatasetElementOptions(r),r.pivot()),t=0,i=o.length;t<i;++t)n.updateElement(o[t],t,e);for(c&&0!==r._model.tension&&n.updateBezierControlPoints(),t=0,i=o.length;t<i;++t)o[t].pivot()},updateElement:function(e,t,i){var n,s,r=this,o=r.getMeta(),a=e.custom||{},c=r.getDataset(),l=r.index,u=c.data[t],h=r._xScale,d=r._yScale,f=o.dataset._model,p=r._resolveDataElementOptions(e,t);n=h.getPixelForValue("object"==typeof u?u:NaN,t,l),s=i?d.getBasePixel():r.calculatePointY(u,t,l),e._xScale=h,e._yScale=d,e._options=p,e._datasetIndex=l,e._index=t,e._model={x:n,y:s,skip:a.skip||isNaN(n)||isNaN(s),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:Le(a.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,i=t._config,n=e.custom||{},s=t.chart.options,r=s.elements.line,o=Q.prototype._resolveDatasetElementOptions.apply(t,arguments);return o.spanGaps=Le(i.spanGaps,s.spanGaps),o.tension=Le(i.lineTension,r.tension),o.steppedLine=je([n.steppedLine,i.steppedLine,r.stepped]),o.clip=Re(Le(i.clip,Ne(t._xScale,t._yScale,o.borderWidth))),o},calculatePointY:function(e,t,i){var n,s,r,o,a,c,l=this.chart,u=this._yScale,h=0,d=0;if(u.options.stacked){for(o=+u.getRightValue(e),c=(a=l._getSortedVisibleDatasetMetas()).length,n=0;n<c&&(s=a[n]).index!==i;++n)"line"===s.type&&s.yAxisID===u.id&&((r=+u.getRightValue(l.data.datasets[s.index].data[t]))<0?d+=r||0:h+=r||0);return u.getPixelForValue(o<0?d+o:h+o)}return u.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,i,n,s=this.chart,r=this.getMeta(),o=r.dataset._model,a=s.chartArea,c=r.data||[];function l(e,t,i){return Math.max(Math.min(e,i),t)}if(o.spanGaps&&(c=c.filter((function(e){return!e._model.skip}))),"monotone"===o.cubicInterpolationMode)Y.splineCurveMonotone(c);else for(e=0,t=c.length;e<t;++e)i=c[e]._model,n=Y.splineCurve(Y.previousItem(c,e)._model,i,Y.nextItem(c,e)._model,o.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(s.options.elements.line.capBezierPoints)for(e=0,t=c.length;e<t;++e)Ie(i=c[e]._model,a)&&(e>0&&Ie(c[e-1]._model,a)&&(i.controlPointPreviousX=l(i.controlPointPreviousX,a.left,a.right),i.controlPointPreviousY=l(i.controlPointPreviousY,a.top,a.bottom)),e<c.length-1&&Ie(c[e+1]._model,a)&&(i.controlPointNextX=l(i.controlPointNextX,a.left,a.right),i.controlPointNextY=l(i.controlPointNextY,a.top,a.bottom)))},draw:function(){var e,t=this.chart,i=this.getMeta(),n=i.data||[],s=t.chartArea,r=t.canvas,o=0,a=n.length;for(this._showLine&&(Y.canvas.clipArea(t.ctx,{left:!1===(e=i.dataset._model.clip).left?0:s.left-e.left,right:!1===e.right?r.width:s.right+e.right,top:!1===e.top?0:s.top-e.top,bottom:!1===e.bottom?r.height:s.bottom+e.bottom}),i.dataset.draw(),Y.canvas.unclipArea(t.ctx));o<a;++o)n[o].draw(s)},setHoverStyle:function(e){var t=e._model,i=e._options,n=Y.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Le(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=Le(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=Le(i.hoverBorderWidth,i.borderWidth),t.radius=Le(i.hoverRadius,i.radius)}}),Be=Y.options.resolve;A._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,i,n,s=document.createElement("ul"),r=e.data,o=r.datasets,a=r.labels;if(s.setAttribute("class",e.id+"-legend"),o.length)for(t=0,i=o[0].data.length;t<i;++t)(n=s.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],a[t]&&n.appendChild(document.createTextNode(a[t]));return s.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(i,n){var s=e.getDatasetMeta(0),r=s.controller.getStyle(n);return{text:i,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(t.datasets[0].data[n])||s.data[n].hidden,index:n}})):[]}},onClick:function(e,t){var i,n,s,r=t.index,o=this.chart;for(i=0,n=(o.data.datasets||[]).length;i<n;++i)(s=o.getDatasetMeta(i)).data[r].hidden=!s.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ye=Q.extend({dataElementType:ge.Arc,linkScales:Y.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,i,n,s=this,r=s.getDataset(),o=s.getMeta(),a=s.chart.options.startAngle||0,c=s._starts=[],l=s._angles=[],u=o.data;for(s._updateRadius(),o.count=s.countVisibleElements(),t=0,i=r.data.length;t<i;t++)c[t]=a,n=s._computeAngle(t),l[t]=n,a+=n;for(t=0,i=u.length;t<i;++t)u[t]._options=s._resolveDataElementOptions(u[t],t),s.updateElement(u[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,i=t.chartArea,n=t.options,s=Math.min(i.right-i.left,i.bottom-i.top);t.outerRadius=Math.max(s/2,0),t.innerRadius=Math.max(n.cutoutPercentage?t.outerRadius/100*n.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,i){var n=this,s=n.chart,r=n.getDataset(),o=s.options,a=o.animation,c=s.scale,l=s.data.labels,u=c.xCenter,h=c.yCenter,d=o.startAngle,f=e.hidden?0:c.getDistanceFromCenterForValue(r.data[t]),p=n._starts[t],m=p+(e.hidden?0:n._angles[t]),g=a.animateScale?0:c.getDistanceFromCenterForValue(r.data[t]),_=e._options||{};Y.extend(e,{_datasetIndex:n.index,_index:t,_scale:c,_model:{backgroundColor:_.backgroundColor,borderColor:_.borderColor,borderWidth:_.borderWidth,borderAlign:_.borderAlign,x:u,y:h,innerRadius:0,outerRadius:i?g:f,startAngle:i&&a.animateRotate?d:p,endAngle:i&&a.animateRotate?d:m,label:Y.valueAtIndexOrDefault(l,t,l[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),i=0;return Y.each(t.data,(function(t,n){isNaN(e.data[n])||t.hidden||i++})),i},setHoverStyle:function(e){var t=e._model,i=e._options,n=Y.getHoverColor,s=Y.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=s(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=s(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=s(i.hoverBorderWidth,i.borderWidth)},_computeAngle:function(e){var t=this,i=this.getMeta().count,n=t.getDataset(),s=t.getMeta();return isNaN(n.data[e])||s.data[e].hidden?0:Be([t.chart.options.elements.arc.angle,2*Math.PI/i],{chart:t.chart,dataIndex:e,dataset:n,datasetIndex:t.index},e)}});A._set("pie",Y.clone(A.doughnut)),A._set("pie",{cutoutPercentage:0});var He=Oe,Ve=Y.valueOrDefault;A._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ue=Q.extend({datasetElementType:ge.Line,dataElementType:ge.Point,linkScales:Y.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,i,n=this,s=n.getMeta(),r=s.dataset,o=s.data||[],a=n.chart.scale,c=n._config;for(void 0!==c.tension&&void 0===c.lineTension&&(c.lineTension=c.tension),r._scale=a,r._datasetIndex=n.index,r._children=o,r._loop=!0,r._model=n._resolveDatasetElementOptions(r),r.pivot(),t=0,i=o.length;t<i;++t)n.updateElement(o[t],t,e);for(n.updateBezierControlPoints(),t=0,i=o.length;t<i;++t)o[t].pivot()},updateElement:function(e,t,i){var n=this,s=e.custom||{},r=n.getDataset(),o=n.chart.scale,a=o.getPointPositionForValue(t,r.data[t]),c=n._resolveDataElementOptions(e,t),l=n.getMeta().dataset._model,u=i?o.xCenter:a.x,h=i?o.yCenter:a.y;e._scale=o,e._options=c,e._datasetIndex=n.index,e._index=t,e._model={x:u,y:h,skip:s.skip||isNaN(u)||isNaN(h),radius:c.radius,pointStyle:c.pointStyle,rotation:c.rotation,backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,tension:Ve(s.tension,l?l.tension:0),hitRadius:c.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,i=e.chart.options,n=Q.prototype._resolveDatasetElementOptions.apply(e,arguments);return n.spanGaps=Ve(t.spanGaps,i.spanGaps),n.tension=Ve(t.lineTension,i.elements.line.tension),n},updateBezierControlPoints:function(){var e,t,i,n,s=this.getMeta(),r=this.chart.chartArea,o=s.data||[];function a(e,t,i){return Math.max(Math.min(e,i),t)}for(s.dataset._model.spanGaps&&(o=o.filter((function(e){return!e._model.skip}))),e=0,t=o.length;e<t;++e)i=o[e]._model,n=Y.splineCurve(Y.previousItem(o,e,!0)._model,i,Y.nextItem(o,e,!0)._model,i.tension),i.controlPointPreviousX=a(n.previous.x,r.left,r.right),i.controlPointPreviousY=a(n.previous.y,r.top,r.bottom),i.controlPointNextX=a(n.next.x,r.left,r.right),i.controlPointNextY=a(n.next.y,r.top,r.bottom)},setHoverStyle:function(e){var t=e._model,i=e._options,n=Y.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ve(i.hoverBackgroundColor,n(i.backgroundColor)),t.borderColor=Ve(i.hoverBorderColor,n(i.borderColor)),t.borderWidth=Ve(i.hoverBorderWidth,i.borderWidth),t.radius=Ve(i.hoverRadius,i.radius)}});A._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),A._set("global",{datasets:{scatter:{showLine:!1}}});var We={bar:ke,bubble:Te,doughnut:Oe,horizontalBar:xe,line:Pe,polarArea:Ye,pie:He,radar:Ue,scatter:Pe};function ze(e,t){return e.native?{x:e.x,y:e.y}:Y.getRelativePosition(e,t)}function $e(e,t){var i,n,s,r,o,a,c=e._getSortedVisibleDatasetMetas();for(n=0,r=c.length;n<r;++n)for(s=0,o=(i=c[n].data).length;s<o;++s)(a=i[s])._view.skip||t(a)}function Ge(e,t){var i=[];return $e(e,(function(e){e.inRange(t.x,t.y)&&i.push(e)})),i}function qe(e,t,i,n){var s=Number.POSITIVE_INFINITY,r=[];return $e(e,(function(e){if(!i||e.inRange(t.x,t.y)){var o=e.getCenterPoint(),a=n(t,o);a<s?(r=[e],s=a):a===s&&r.push(e)}})),r}function Ke(e){var t=-1!==e.indexOf("x"),i=-1!==e.indexOf("y");return function(e,n){var s=t?Math.abs(e.x-n.x):0,r=i?Math.abs(e.y-n.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(r,2))}}function Je(e,t,i){var n=ze(t,e);i.axis=i.axis||"x";var s=Ke(i.axis),r=i.intersect?Ge(e,n):qe(e,n,!1,s),o=[];return r.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[r[0]._index];t&&!t._view.skip&&o.push(t)})),o):[]}var Ze={modes:{single:function(e,t){var i=ze(t,e),n=[];return $e(e,(function(e){if(e.inRange(i.x,i.y))return n.push(e),n})),n.slice(0,1)},label:Je,index:Je,dataset:function(e,t,i){var n=ze(t,e);i.axis=i.axis||"xy";var s=Ke(i.axis),r=i.intersect?Ge(e,n):qe(e,n,!1,s);return r.length>0&&(r=e.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(e,t){return Je(e,t,{intersect:!1})},point:function(e,t){return Ge(e,ze(t,e))},nearest:function(e,t,i){var n=ze(t,e);i.axis=i.axis||"xy";var s=Ke(i.axis);return qe(e,n,i.intersect,s)},x:function(e,t,i){var n=ze(t,e),s=[],r=!1;return $e(e,(function(e){e.inXRange(n.x)&&s.push(e),e.inRange(n.x,n.y)&&(r=!0)})),i.intersect&&!r&&(s=[]),s},y:function(e,t,i){var n=ze(t,e),s=[],r=!1;return $e(e,(function(e){e.inYRange(n.y)&&s.push(e),e.inRange(n.x,n.y)&&(r=!0)})),i.intersect&&!r&&(s=[]),s}}},Xe=Y.extend;function Qe(e,t){return Y.where(e,(function(e){return e.pos===t}))}function et(e,t){return e.sort((function(e,i){var n=t?i:e,s=t?e:i;return n.weight===s.weight?n.index-s.index:n.weight-s.weight}))}function tt(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function it(e,t,i){var n,s,r=i.box,o=e.maxPadding;if(i.size&&(e[i.pos]-=i.size),i.size=i.horizontal?r.height:r.width,e[i.pos]+=i.size,r.getPadding){var a=r.getPadding();o.top=Math.max(o.top,a.top),o.left=Math.max(o.left,a.left),o.bottom=Math.max(o.bottom,a.bottom),o.right=Math.max(o.right,a.right)}if(n=t.outerWidth-tt(o,e,"left","right"),s=t.outerHeight-tt(o,e,"top","bottom"),n!==e.w||s!==e.h)return e.w=n,e.h=s,i.horizontal?n!==e.w:s!==e.h}function nt(e,t){var i,n=t.maxPadding;return i={left:0,top:0,right:0,bottom:0},(e?["left","right"]:["top","bottom"]).forEach((function(e){i[e]=Math.max(t[e],n[e])})),i}function st(e,t,i){var n,s,r,o,a,c,l=[];for(n=0,s=e.length;n<s;++n)(o=(r=e[n]).box).update(r.width||t.w,r.height||t.h,nt(r.horizontal,t)),it(t,i,r)&&(c=!0,l.length&&(a=!0)),o.fullWidth||l.push(r);return a&&st(l,t,i)||c}function rt(e,t,i){var n,s,r,o,a=i.padding,c=t.x,l=t.y;for(n=0,s=e.length;n<s;++n)o=(r=e[n]).box,r.horizontal?(o.left=o.fullWidth?a.left:t.left,o.right=o.fullWidth?i.outerWidth-a.right:t.left+t.w,o.top=l,o.bottom=l+o.height,o.width=o.right-o.left,l=o.bottom):(o.left=c,o.right=c+o.width,o.top=t.top,o.bottom=t.top+t.h,o.height=o.bottom-o.top,c=o.right);t.x=c,t.y=l}A._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ot,at={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var i=e.boxes?e.boxes.indexOf(t):-1;-1!==i&&e.boxes.splice(i,1)},configure:function(e,t,i){for(var n,s=["fullWidth","position","weight"],r=s.length,o=0;o<r;++o)i.hasOwnProperty(n=s[o])&&(t[n]=i[n])},update:function(e,t,i){if(e){var n=Y.options.toPadding((e.options.layout||{}).padding),s=t-n.width,r=i-n.height,o=function(e){var t=function(e){var t,i,n,s=[];for(t=0,i=(e||[]).length;t<i;++t)s.push({index:t,box:n=e[t],pos:n.position,horizontal:n.isHorizontal(),weight:n.weight});return s}(e),i=et(Qe(t,"left"),!0),n=et(Qe(t,"right")),s=et(Qe(t,"top"),!0),r=et(Qe(t,"bottom"));return{leftAndTop:i.concat(s),rightAndBottom:n.concat(r),chartArea:Qe(t,"chartArea"),vertical:i.concat(n),horizontal:s.concat(r)}}(e.boxes),a=o.vertical,c=o.horizontal,l=Object.freeze({outerWidth:t,outerHeight:i,padding:n,availableWidth:s,vBoxMaxWidth:s/2/a.length,hBoxMaxHeight:r/2}),u=Xe({maxPadding:Xe({},n),w:s,h:r,x:n.left,y:n.top},n);!function(e,t){var i,n,s;for(i=0,n=e.length;i<n;++i)(s=e[i]).width=s.horizontal?s.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,s.height=s.horizontal&&t.hBoxMaxHeight}(a.concat(c),l),st(a,u,l),st(c,u,l)&&st(a,u,l),function(e){var t=e.maxPadding;function i(i){var n=Math.max(t[i]-e[i],0);return e[i]+=n,n}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}(u),rt(o.leftAndTop,u,l),u.x+=u.w,u.y+=u.h,rt(o.rightAndBottom,u,l),e.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h},Y.each(o.chartArea,(function(t){var i=t.box;Xe(i,e.chartArea),i.update(u.w,u.h)}))}}},ct=(ot=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&ot.default||ot,lt=["animationstart","webkitAnimationStart"],ut={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var i=Y.getStyle(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var dt=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(i){}return e}()&&{passive:!0};function ft(e,t,i){e.addEventListener(t,i,dt)}function pt(e,t,i){e.removeEventListener(t,i,dt)}function mt(e,t,i,n,s){return{type:e,chart:t,native:s||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function gt(e){var t=document.createElement("div");return t.className=e||"",t}var _t={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var i=e.$chartjs||(e.$chartjs={});if(!i.containsStyles){i.containsStyles=!0,t="/* Chart.js */\n"+t;var n=document.createElement("style");n.setAttribute("type","text/css"),n.appendChild(document.createTextNode(t)),e.appendChild(n)}}(t.host?t:document.head,ct)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(this._ensureLoaded(e),function(e,t){var i=e.style,n=e.getAttribute("height"),s=e.getAttribute("width");if(e.$chartjs={initial:{height:n,width:s,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===s||""===s){var r=ht(e,"width");void 0!==r&&(e.width=r)}if(null===n||""===n)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=ht(e,"height");void 0!==r&&(e.height=o)}}(e,t),i):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var i=t.$chartjs.initial;["height","width"].forEach((function(e){var n=i[e];Y.isNullOrUndef(n)?t.removeAttribute(e):t.setAttribute(e,n)})),Y.each(i.style||{},(function(e,i){t.style[i]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,i){var n=e.canvas;if("resize"!==t){var s=i.$chartjs||(i.$chartjs={});ft(n,t,(s.proxies||(s.proxies={}))[e.id+"_"+t]=function(t){i(function(e,t){var i=ut[e.type]||e.type,n=Y.getRelativePosition(e,t);return mt(i,t,n.x,n.y,e)}(t,e))})}else!function(e,t,i){var n,s,r,o,a=e.$chartjs||(e.$chartjs={}),c=a.resizer=function(e){var t=gt("chartjs-size-monitor"),i=gt("chartjs-size-monitor-expand"),n=gt("chartjs-size-monitor-shrink");i.appendChild(gt()),n.appendChild(gt()),t.appendChild(i),t.appendChild(n),t._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var s=function(){t._reset(),e()};return ft(i,"scroll",s.bind(i,"expand")),ft(n,"scroll",s.bind(n,"shrink")),t}((n=function(){if(a.resizer){var n=i.options.maintainAspectRatio&&e.parentNode,s=n?n.clientWidth:0;t(mt("resize",i)),n&&n.clientWidth<s&&i.canvas&&t(mt("resize",i))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),s=s||this,r||(r=!0,Y.requestAnimFrame.call(window,(function(){r=!1,n.apply(s,o)})))}));!function(e,t){var i=e.$chartjs||(e.$chartjs={}),n=i.renderProxy=function(e){"chartjs-render-animation"===e.animationName&&t()};Y.each(lt,(function(t){ft(e,t,n)})),i.reflow=!!e.offsetParent,e.classList.add("chartjs-render-monitor")}(e,(function(){if(a.resizer){var t=e.parentNode;t&&t!==c.parentNode&&t.insertBefore(c,t.firstChild),c._reset()}}))}(n,i,e)},removeEventListener:function(e,t,i){var n,s,r,o=e.canvas;if("resize"!==t){var a=((i.$chartjs||{}).proxies||{})[e.id+"_"+t];a&&pt(o,t,a)}else r=(s=(n=o).$chartjs||{}).resizer,delete s.resizer,function(e){var t=e.$chartjs||{},i=t.renderProxy;i&&(Y.each(lt,(function(t){pt(e,t,i)})),delete t.renderProxy),e.classList.remove("chartjs-render-monitor")}(n),r&&r.parentNode&&r.parentNode.removeChild(r)}};Y.addEvent=ft,Y.removeEvent=pt;var bt=Y.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},_t._enabled?_t:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}});A._set("global",{plugins:{}});var yt={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var i=t.indexOf(e);-1!==i&&t.splice(i,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,i){var n,s,r,o,a,c=this.descriptors(e),l=c.length;for(n=0;n<l;++n)if("function"==typeof(a=(r=(s=c[n]).plugin)[t])&&((o=[e].concat(i||[])).push(s.options),!1===a.apply(r,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var i=[],n=[],s=e&&e.config||{},r=s.options&&s.options.plugins||{};return this._plugins.concat(s.plugins||[]).forEach((function(e){if(-1===i.indexOf(e)){var t=e.id,s=r[t];!1!==s&&(!0===s&&(s=Y.clone(A.global.plugins[t])),i.push(e),n.push({plugin:e,options:s||{}}))}})),t.descriptors=n,t.id=this._cacheId,n},_invalidate:function(e){delete e.$plugins}},vt={constructors:{},defaults:{},registerScaleType:function(e,t,i){this.constructors[e]=t,this.defaults[e]=Y.clone(i)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?Y.merge({},[A.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=Y.extend(this.defaults[e],t))},addScalesToLayout:function(e){Y.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,at.addBox(e,t)}))}},Ft=Y.valueOrDefault,kt=Y.rtl.getRtlAdapter;A._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Y.noop,title:function(e,t){var i="",n=t.labels,s=n?n.length:0;if(e.length>0){var r=e[0];r.label?i=r.label:r.xLabel?i=r.xLabel:s>0&&r.index<s&&(i=n[r.index])}return i},afterTitle:Y.noop,beforeBody:Y.noop,beforeLabel:Y.noop,label:function(e,t){var i=t.datasets[e.datasetIndex].label||"";return i&&(i+=": "),Y.isNullOrUndef(e.value)?i+=e.yLabel:i+=e.value,i},labelColor:function(e,t){var i=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Y.noop,afterBody:Y.noop,beforeFooter:Y.noop,footer:Y.noop,afterFooter:Y.noop}}});var wt={average:function(e){if(!e.length)return!1;var t,i,n=0,s=0,r=0;for(t=0,i=e.length;t<i;++t){var o=e[t];if(o&&o.hasValue()){var a=o.tooltipPosition();n+=a.x,s+=a.y,++r}}return{x:n/r,y:s/r}},nearest:function(e,t){var i,n,s,r=t.x,o=t.y,a=Number.POSITIVE_INFINITY;for(i=0,n=e.length;i<n;++i){var c=e[i];if(c&&c.hasValue()){var l=c.getCenterPoint(),u=Y.distanceBetweenPoints(t,l);u<a&&(a=u,s=c)}}if(s){var h=s.tooltipPosition();r=h.x,o=h.y}return{x:r,y:o}}};function St(e,t){return t&&(Y.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Tt(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Dt(e){var t=A.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Ft(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Ft(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Ft(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Ft(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Ft(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Ft(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Ft(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Ft(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Ft(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Et(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Mt(e){return St([],Tt(e))}var Ct=z.extend({initialize:function(){this._model=Dt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,i=t.callbacks,n=i.beforeTitle.apply(e,arguments),s=i.title.apply(e,arguments),r=i.afterTitle.apply(e,arguments),o=[];return o=St(o,Tt(n)),o=St(o,Tt(s)),St(o,Tt(r))},getBeforeBody:function(){return Mt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var i=this,n=i._options.callbacks,s=[];return Y.each(e,(function(e){var r={before:[],lines:[],after:[]};St(r.before,Tt(n.beforeLabel.call(i,e,t))),St(r.lines,n.label.call(i,e,t)),St(r.after,Tt(n.afterLabel.call(i,e,t))),s.push(r)})),s},getAfterBody:function(){return Mt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,i=t.beforeFooter.apply(e,arguments),n=t.footer.apply(e,arguments),s=t.afterFooter.apply(e,arguments),r=[];return r=St(r,Tt(i)),r=St(r,Tt(n)),St(r,Tt(s))},update:function(e){var t,i,n,s,r,o,a,c,l,u,h=this,d=h._options,f=h._model,p=h._model=Dt(d),m=h._active,g=h._data,_={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},y={width:f.width,height:f.height},v={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var F=[],k=[];v=wt[d.position].call(h,m,h._eventPosition);var w=[];for(t=0,i=m.length;t<i;++t)w.push((s=void 0,r=void 0,c=void 0,l=void 0,u=void 0,s=(n=m[t])._xScale,r=n._yScale||n._scale,o=n._index,l=(c=n._chart.getDatasetMeta(a=n._datasetIndex).controller)._getIndexScale(),u=c._getValueScale(),{xLabel:s?s.getLabelForIndex(o,a):"",yLabel:r?r.getLabelForIndex(o,a):"",label:l?""+l.getLabelForIndex(o,a):"",value:u?""+u.getLabelForIndex(o,a):"",index:o,datasetIndex:a,x:n._model.x,y:n._model.y}));d.filter&&(w=w.filter((function(e){return d.filter(e,g)}))),d.itemSort&&(w=w.sort((function(e,t){return d.itemSort(e,t,g)}))),Y.each(w,(function(e){F.push(d.callbacks.labelColor.call(h,e,h._chart)),k.push(d.callbacks.labelTextColor.call(h,e,h._chart))})),p.title=h.getTitle(w,g),p.beforeBody=h.getBeforeBody(w,g),p.body=h.getBody(w,g),p.afterBody=h.getAfterBody(w,g),p.footer=h.getFooter(w,g),p.x=v.x,p.y=v.y,p.caretPadding=d.caretPadding,p.labelColors=F,p.labelTextColors=k,p.dataPoints=w,y=function(e,t){var i=e._chart.ctx,n=2*t.yPadding,s=0,r=t.body,o=r.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0),a=t.title.length,c=t.footer.length,l=t.titleFontSize,u=t.bodyFontSize,h=t.footerFontSize;n+=a*l,n+=a?(a-1)*t.titleSpacing:0,n+=a?t.titleMarginBottom:0,n+=(o+=t.beforeBody.length+t.afterBody.length)*u,n+=o?(o-1)*t.bodySpacing:0,n+=c?t.footerMarginTop:0,n+=c*h,n+=c?(c-1)*t.footerSpacing:0;var d=0,f=function(e){s=Math.max(s,i.measureText(e).width+d)};return i.font=Y.fontString(l,t._titleFontStyle,t._titleFontFamily),Y.each(t.title,f),i.font=Y.fontString(u,t._bodyFontStyle,t._bodyFontFamily),Y.each(t.beforeBody.concat(t.afterBody),f),d=t.displayColors?u+2:0,Y.each(r,(function(e){Y.each(e.before,f),Y.each(e.lines,f),Y.each(e.after,f)})),d=0,i.font=Y.fontString(h,t._footerFontStyle,t._footerFontFamily),Y.each(t.footer,f),{width:s+=2*t.xPadding,height:n}}(this,p),b=function(e,t,i,n){var s=e.x,r=e.y,o=e.caretPadding,a=i.xAlign,c=i.yAlign,l=e.caretSize+o,u=e.cornerRadius+o;return"right"===a?s-=t.width:"center"===a&&((s-=t.width/2)+t.width>n.width&&(s=n.width-t.width),s<0&&(s=0)),"top"===c?r+=l:r-="bottom"===c?t.height+l:t.height/2,"center"===c?"left"===a?s+=l:"right"===a&&(s-=l):"left"===a?s-=u:"right"===a&&(s+=u),{x:s,y:r}}(p,y,_=function(e,t){var i,n,s,r,o,a=e._model,c=e._chart,l=e._chart.chartArea,u="center",h="center";a.y<t.height?h="top":a.y>c.height-t.height&&(h="bottom");var d=(l.left+l.right)/2,f=(l.top+l.bottom)/2;"center"===h?(i=function(e){return e<=d},n=function(e){return e>d}):(i=function(e){return e<=t.width/2},n=function(e){return e>=c.width-t.width/2}),s=function(e){return e+t.width+a.caretSize+a.caretPadding>c.width},r=function(e){return e-t.width-a.caretSize-a.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},i(a.x)?(u="left",s(a.x)&&(u="center",h=o(a.y))):n(a.x)&&(u="right",r(a.x)&&(u="center",h=o(a.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:h}}(this,y),h._chart)}else p.opacity=0;return p.xAlign=_.xAlign,p.yAlign=_.yAlign,p.x=b.x,p.y=b.y,p.width=y.width,p.height=y.height,p.caretX=v.x,p.caretY=v.y,h._model=p,e&&d.custom&&d.custom.call(h,p),h},drawCaret:function(e,t){var i=this._chart.ctx,n=this.getCaretPosition(e,t,this._view);i.lineTo(n.x1,n.y1),i.lineTo(n.x2,n.y2),i.lineTo(n.x3,n.y3)},getCaretPosition:function(e,t,i){var n,s,r,o,a,c,l=i.caretSize,u=i.cornerRadius,h=i.xAlign,d=i.yAlign,f=e.x,p=e.y,m=t.width,g=t.height;if("center"===d)a=p+g/2,"left"===h?(s=(n=f)-l,r=n,o=a+l,c=a-l):(s=(n=f+m)+l,r=n,o=a-l,c=a+l);else if("left"===h?(n=(s=f+u+l)-l,r=s+l):"right"===h?(n=(s=f+m-u-l)-l,r=s+l):(n=(s=i.caretX)-l,r=s+l),"top"===d)a=(o=p)-l,c=o;else{a=(o=p+g)+l,c=o;var _=r;r=n,n=_}return{x1:n,x2:s,x3:r,y1:o,y2:a,y3:c}},drawTitle:function(e,t,i){var n,s,r,o=t.title,a=o.length;if(a){var c=kt(t.rtl,t.x,t.width);for(e.x=Et(t,t._titleAlign),i.textAlign=c.textAlign(t._titleAlign),i.textBaseline="middle",n=t.titleFontSize,s=t.titleSpacing,i.fillStyle=t.titleFontColor,i.font=Y.fontString(n,t._titleFontStyle,t._titleFontFamily),r=0;r<a;++r)i.fillText(o[r],c.x(e.x),e.y+n/2),e.y+=n+s,r+1===a&&(e.y+=t.titleMarginBottom-s)}},drawBody:function(e,t,i){var n,s,r,o,a,c,l,u,h=t.bodyFontSize,d=t.bodySpacing,f=t._bodyAlign,p=t.body,m=t.displayColors,g=0,_=m?Et(t,"left"):0,b=kt(t.rtl,t.x,t.width),y=function(t){i.fillText(t,b.x(e.x+g),e.y+h/2),e.y+=h+d},v=b.textAlign(f);for(i.textAlign=f,i.textBaseline="middle",i.font=Y.fontString(h,t._bodyFontStyle,t._bodyFontFamily),e.x=Et(t,v),i.fillStyle=t.bodyFontColor,Y.each(t.beforeBody,y),g=m&&"right"!==v?"center"===f?h/2+1:h+2:0,a=0,l=p.length;a<l;++a){for(n=p[a],r=t.labelColors[a],i.fillStyle=s=t.labelTextColors[a],Y.each(n.before,y),c=0,u=(o=n.lines).length;c<u;++c){if(m){var F=b.x(_);i.fillStyle=t.legendColorBackground,i.fillRect(b.leftForLtr(F,h),e.y,h,h),i.lineWidth=1,i.strokeStyle=r.borderColor,i.strokeRect(b.leftForLtr(F,h),e.y,h,h),i.fillStyle=r.backgroundColor,i.fillRect(b.leftForLtr(b.xPlus(F,1),h-2),e.y+1,h-2,h-2),i.fillStyle=s}y(o[c])}Y.each(n.after,y)}g=0,Y.each(t.afterBody,y),e.y-=d},drawFooter:function(e,t,i){var n,s,r=t.footer,o=r.length;if(o){var a=kt(t.rtl,t.x,t.width);for(e.x=Et(t,t._footerAlign),e.y+=t.footerMarginTop,i.textAlign=a.textAlign(t._footerAlign),i.textBaseline="middle",n=t.footerFontSize,i.fillStyle=t.footerFontColor,i.font=Y.fontString(n,t._footerFontStyle,t._footerFontFamily),s=0;s<o;++s)i.fillText(r[s],a.x(e.x),e.y+n/2),e.y+=n+t.footerSpacing}},drawBackground:function(e,t,i,n){i.fillStyle=t.backgroundColor,i.strokeStyle=t.borderColor,i.lineWidth=t.borderWidth;var s=t.xAlign,r=t.yAlign,o=e.x,a=e.y,c=n.width,l=n.height,u=t.cornerRadius;i.beginPath(),i.moveTo(o+u,a),"top"===r&&this.drawCaret(e,n),i.lineTo(o+c-u,a),i.quadraticCurveTo(o+c,a,o+c,a+u),"center"===r&&"right"===s&&this.drawCaret(e,n),i.lineTo(o+c,a+l-u),i.quadraticCurveTo(o+c,a+l,o+c-u,a+l),"bottom"===r&&this.drawCaret(e,n),i.lineTo(o+u,a+l),i.quadraticCurveTo(o,a+l,o,a+l-u),"center"===r&&"left"===s&&this.drawCaret(e,n),i.lineTo(o,a+u),i.quadraticCurveTo(o,a,o+u,a),i.closePath(),i.fill(),t.borderWidth>0&&i.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var i={width:t.width,height:t.height},n={x:t.x,y:t.y},s=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=s,this.drawBackground(n,t,e,i),n.y+=t.yPadding,Y.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),Y.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===e.type?i._active=[]:(i._active=i._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&i._active.reverse()),(t=!Y.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:e.x,y:e.y},i.update(!0),i.pivot())),t}});Ct.positioners=wt;var Ot=Y.valueOrDefault;function xt(){return Y.merge({},[].slice.call(arguments),{merger:function(e,t,i,n){if("xAxes"===e||"yAxes"===e){var s,r,o,a=i[e].length;for(t[e]||(t[e]=[]),s=0;s<a;++s)r=Ot((o=i[e][s]).type,"xAxes"===e?"category":"linear"),s>=t[e].length&&t[e].push({}),Y.merge(t[e][s],!t[e][s].type||o.type&&o.type!==t[e][s].type?[vt.getScaleDefaults(r),o]:o)}else Y._merger(e,t,i,n)}})}function Lt(){return Y.merge({},[].slice.call(arguments),{merger:function(e,t,i,n){var s=t[e]||{},r=i[e];"scales"===e?t[e]=xt(s,r):"scale"===e?t[e]=Y.merge(s,[vt.getScaleDefaults(r.type),r]):Y._merger(e,t,i,n)}})}function jt(e){var t=e.options;Y.each(e.scales,(function(t){at.removeBox(e,t)})),t=Lt(A.global,A[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function It(e,t,i){var n,s=function(e){return e.id===n};do{n=t+i++}while(Y.findIndex(e,s)>=0);return n}function At(e){return"top"===e||"bottom"===e}function Nt(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}A._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Rt=function(e,t){return this.construct(e,t),this};Y.extend(Rt.prototype,{construct:function(e,t){var i=this;t=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Lt(A.global,A[e.type],e.options||{}),e}(t);var n=bt.acquireContext(e,t),s=n&&n.canvas,r=s&&s.height,o=s&&s.width;i.id=Y.uid(),i.ctx=n,i.canvas=s,i.config=t,i.width=o,i.height=r,i.aspectRatio=r?o/r:null,i.options=t.options,i._bufferedRender=!1,i._layers=[],i.chart=i,i.controller=i,Rt.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(e){i.config.data=e}}),n&&s?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return yt.notify(e,"beforeInit"),Y.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),yt.notify(e,"afterInit"),e},clear:function(){return Y.canvas.clear(this),this},stop:function(){return q.cancelAnimation(this),this},resize:function(e){var t=this,i=t.options,n=t.canvas,s=i.maintainAspectRatio&&t.aspectRatio||null,r=Math.max(0,Math.floor(Y.getMaximumWidth(n))),o=Math.max(0,Math.floor(s?r/s:Y.getMaximumHeight(n)));if((t.width!==r||t.height!==o)&&(n.width=t.width=r,n.height=t.height=o,n.style.width=r+"px",n.style.height=o+"px",Y.retinaScale(t,i.devicePixelRatio),!e)){var a={width:r,height:o};yt.notify(t,"resize",[a]),i.onResize&&i.onResize(t,a),t.stop(),t.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},i=e.scale;Y.each(t.xAxes,(function(e,i){e.id||(e.id=It(t.xAxes,"x-axis-",i))})),Y.each(t.yAxes,(function(e,i){e.id||(e.id=It(t.yAxes,"y-axis-",i))})),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,i=e.scales||{},n=[],s=Object.keys(i).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(n=n.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&n.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Y.each(n,(function(t){var n=t.options,r=n.id,o=Ot(n.type,t.dtype);At(n.position)!==At(t.dposition)&&(n.position=t.dposition),s[r]=!0;var a=null;if(r in i&&i[r].type===o)(a=i[r]).options=n,a.ctx=e.ctx,a.chart=e;else{var c=vt.getScaleConstructor(o);if(!c)return;a=new c({id:r,type:o,options:n,ctx:e.ctx,chart:e}),i[a.id]=a}a.mergeTicksOptions(),t.isDefault&&(e.scale=a)})),Y.each(s,(function(e,t){e||delete i[t]})),e.scales=i,vt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,i=this,n=[],s=i.data.datasets;for(e=0,t=s.length;e<t;e++){var r=s[e],o=i.getDatasetMeta(e),a=r.type||i.config.type;if(o.type&&o.type!==a&&(i.destroyDatasetMeta(e),o=i.getDatasetMeta(e)),o.type=a,o.order=r.order||0,o.index=e,o.controller)o.controller.updateIndex(e),o.controller.linkScales();else{var c=We[o.type];if(void 0===c)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new c(i,e),n.push(o.controller)}}return n},resetElements:function(){var e=this;Y.each(e.data.datasets,(function(t,i){e.getDatasetMeta(i).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,i,n=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),jt(n),yt._invalidate(n),!1!==yt.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var s=n.buildOrUpdateControllers();for(t=0,i=n.data.datasets.length;t<i;t++)n.getDatasetMeta(t).controller.buildOrUpdateElements();n.updateLayout(),n.options.animation&&n.options.animation.duration&&Y.each(s,(function(e){e.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],yt.notify(n,"afterUpdate"),n._layers.sort(Nt("z","_idx")),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){var e=this;!1!==yt.notify(e,"beforeLayout")&&(at.update(this,this.width,this.height),e._layers=[],Y.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),yt.notify(e,"afterScaleUpdate"),yt.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==yt.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);yt.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),i={meta:t,index:e};!1!==yt.notify(this,"beforeDatasetUpdate",[i])&&(t.controller._update(),yt.notify(this,"afterDatasetUpdate",[i]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var i=t.options.animation,n=Ot(e.duration,i&&i.duration),s=e.lazy;if(!1!==yt.notify(t,"beforeRender")){var r=function(e){yt.notify(t,"afterRender"),Y.callback(i&&i.onComplete,[e],t)};if(i&&n){var o=new G({numSteps:n/16.66,easing:e.easing||i.easing,render:function(e,t){var i=t.currentStep,n=i/t.numSteps;e.draw((0,Y.easing.effects[t.easing])(n),n,i)},onAnimationProgress:i.onProgress,onAnimationComplete:r});q.addAnimation(t,o,n,s)}else t.draw(),r(new G({numSteps:0,chart:t}));return t}},draw:function(e){var t,i,n=this;if(n.clear(),Y.isNullOrUndef(e)&&(e=1),n.transition(e),!(n.width<=0||n.height<=0)&&!1!==yt.notify(n,"beforeDraw",[e])){for(i=n._layers,t=0;t<i.length&&i[t].z<=0;++t)i[t].draw(n.chartArea);for(n.drawDatasets(e);t<i.length;++t)i[t].draw(n.chartArea);n._drawTooltip(e),yt.notify(n,"afterDraw",[e])}},transition:function(e){for(var t=0,i=(this.data.datasets||[]).length;t<i;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,i,n=[];for(t=0,i=(this.data.datasets||[]).length;t<i;++t)e&&!this.isDatasetVisible(t)||n.push(this.getDatasetMeta(t));return n.sort(Nt("order","index")),n},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,i;if(!1!==yt.notify(this,"beforeDatasetsDraw",[e])){for(i=(t=this._getSortedVisibleDatasetMetas()).length-1;i>=0;--i)this.drawDataset(t[i],e);yt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var i={meta:e,index:e.index,easingValue:t};!1!==yt.notify(this,"beforeDatasetDraw",[i])&&(e.controller.draw(t),yt.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this.tooltip,i={tooltip:t,easingValue:e};!1!==yt.notify(this,"beforeTooltipDraw",[i])&&(t.draw(),yt.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(e){return Ze.modes.single(this,e)},getElementsAtEvent:function(e){return Ze.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Ze.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,i){var n=Ze.modes[t];return"function"==typeof n?n(this,e,i):[]},getDatasetAtEvent:function(e){return Ze.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var i=t._meta[this.id];return i||(i=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),i},getVisibleDatasetCount:function(){for(var e=0,t=0,i=this.data.datasets.length;t<i;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,i=this.data.datasets[e],n=i._meta&&i._meta[t];n&&(n.controller.destroy(),delete i._meta[t])},destroy:function(){var e,t,i=this,n=i.canvas;for(i.stop(),e=0,t=i.data.datasets.length;e<t;++e)i.destroyDatasetMeta(e);n&&(i.unbindEvents(),Y.canvas.clear(i),bt.releaseContext(i.ctx),i.canvas=null,i.ctx=null),yt.notify(i,"destroy"),delete Rt.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Ct({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},i=function(){e.eventHandler.apply(e,arguments)};Y.each(e.options.events,(function(n){bt.addEventListener(e,n,i),t[n]=i})),e.options.responsive&&(i=function(){e.resize()},bt.addEventListener(e,"resize",i),t.resize=i)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,Y.each(t,(function(t,i){bt.removeEventListener(e,i,t)})))},updateHoverStyle:function(e,t,i){var n,s,r,o=i?"set":"remove";for(s=0,r=e.length;s<r;++s)(n=e[s])&&this.getDatasetMeta(n._datasetIndex).controller[o+"HoverStyle"](n);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,i=t.tooltip;if(!1!==yt.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var n=t.handleEvent(e);i&&(n=i._start?i.handleEvent(e):n|i.handleEvent(e)),yt.notify(t,"afterEvent",[e]);var s=t._bufferedRequest;return s?t.render(s):n&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,i=this,n=i.options||{},s=n.hover;return i.lastActive=i.lastActive||[],i.active="mouseout"===e.type?[]:i.getElementsAtEventForMode(e,s.mode,s),Y.callback(n.onHover||n.hover.onHover,[e.native,i.active],i),"mouseup"!==e.type&&"click"!==e.type||n.onClick&&n.onClick.call(i,e.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,s.mode,!1),i.active.length&&s.mode&&i.updateHoverStyle(i.active,s.mode,!0),t=!Y.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,t}}),Rt.instances={};var Pt=Rt;function Bt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Yt(e){this.options=e||{}}Rt.Controller=Rt,Rt.types={},Y.configMerge=Lt,Y.scaleMerge=xt,Y.extend(Yt.prototype,{formats:Bt,parse:Bt,format:Bt,add:Bt,diff:Bt,startOf:Bt,endOf:Bt,_create:function(e){return e}}),Yt.override=function(e){Y.extend(Yt.prototype,e)};var Ht={_date:Yt},Vt={formatters:{values:function(e){return Y.isArray(e)?e:""+e},linear:function(e,t,i){var n=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&e!==Math.floor(e)&&(n=e-Math.floor(e));var s=Y.log10(Math.abs(n)),r="";if(0!==e)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var o=Y.log10(Math.abs(e)),a=Math.floor(o)-Math.floor(s);a=Math.max(Math.min(a,20),0),r=e.toExponential(a)}else{var c=-1*Math.floor(s);c=Math.max(Math.min(c,20),0),r=e.toFixed(c)}else r="0";return r},logarithmic:function(e,t,i){var n=e/Math.pow(10,Math.floor(Y.log10(e)));return 0===e?"0":1===n||2===n||5===n||0===t||t===i.length-1?e.toExponential():""}}},Ut=Y.isArray,Wt=Y.isNullOrUndef,zt=Y.valueOrDefault,$t=Y.valueAtIndexOrDefault;function Gt(e,t,i){var n,s=e.getTicks().length,r=Math.min(t,s-1),o=e.getPixelForTick(r),a=e._startPixel,c=e._endPixel;if(!(i&&(n=1===s?Math.max(o-a,c-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(r-1))/2,(o+=r<t?n:-n)<a-1e-6||o>c+1e-6)))return o}function qt(e){return e.drawTicks?e.tickMarkLength:0}function Kt(e){var t,i;return e.display?(t=Y.options._parseFont(e),i=Y.options.toPadding(e.padding),t.lineHeight+i.height):0}function Jt(e,t){return Y.extend(Y.options._parseFont({fontFamily:zt(t.fontFamily,e.fontFamily),fontSize:zt(t.fontSize,e.fontSize),fontStyle:zt(t.fontStyle,e.fontStyle),lineHeight:zt(t.lineHeight,e.lineHeight)}),{color:Y.options.resolve([t.fontColor,e.fontColor,A.global.defaultFontColor])})}function Zt(e){var t=Jt(e,e.minor);return{minor:t,major:e.major.enabled?Jt(e,e.major):t}}function Xt(e){var t,i,n,s=[];for(i=0,n=e.length;i<n;++i)void 0!==(t=e[i])._index&&s.push(t);return s}function Qt(e,t,i,n){var s,r,o,a,c=zt(i,0),l=Math.min(zt(n,e.length),e.length),u=0;for(t=Math.ceil(t),n&&(t=(s=n-i)/Math.floor(s/t)),a=c;a<0;)u++,a=Math.round(c+u*t);for(r=Math.max(c,0);r<l;r++)o=e[r],r===a?(o._index=r,u++,a=Math.round(c+u*t)):delete o.label}A._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Vt.formatters.values,minor:{},major:{}}});var ei=z.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){Y.callback(this.options.beforeUpdate,[this])},update:function(e,t,i){var n,s,r,o,a,c=this,l=c.options.ticks,u=l.sampleSize;if(c.beforeUpdate(),c.maxWidth=e,c.maxHeight=t,c.margins=Y.extend({left:0,right:0,top:0,bottom:0},i),c._ticks=null,c.ticks=null,c._labelSizes=null,c._maxLabelLines=0,c.longestLabelWidth=0,c.longestTextCache=c.longestTextCache||{},c._gridLineItems=null,c._labelItems=null,c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),o=c.buildTicks()||[],(!(o=c.afterBuildTicks(o)||o)||!o.length)&&c.ticks)for(o=[],n=0,s=c.ticks.length;n<s;++n)o.push({value:c.ticks[n],major:!1});return c._ticks=o,r=c._convertTicksToLabels((a=u<o.length)?function(e,t){for(var i=[],n=e.length/t,s=0,r=e.length;s<r;s+=n)i.push(e[Math.floor(s)]);return i}(o,u):o),c._configure(),c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c._ticksToDraw=l.display&&(l.autoSkip||"auto"===l.source)?c._autoSkip(o):o,a&&(r=c._convertTicksToLabels(c._ticksToDraw)),c.ticks=r,c.afterUpdate(),c.minSize},_configure:function(){var e,t,i=this,n=i.options.ticks.reverse;i.isHorizontal()?(e=i.left,t=i.right):(e=i.top,t=i.bottom,n=!n),i._startPixel=e,i._endPixel=t,i._reversePixels=n,i._length=t-e},afterUpdate:function(){Y.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Y.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){Y.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Y.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Y.noop,afterDataLimits:function(){Y.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Y.callback(this.options.beforeBuildTicks,[this])},buildTicks:Y.noop,afterBuildTicks:function(e){var t=this;return Ut(e)&&e.length?Y.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=Y.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){Y.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){Y.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Y.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,i,n,s,r,o,a=this,c=a.options,l=c.ticks,u=a.getTicks().length,h=l.minRotation||0,d=l.maxRotation,f=h;!a._isVisible()||!l.display||h>=d||u<=1||!a.isHorizontal()?a.labelRotation=h:(t=(e=a._getLabelSizes()).widest.width,i=e.highest.height-e.highest.offset,n=Math.min(a.maxWidth,a.chart.width-t),t+6>(s=c.offset?a.maxWidth/u:n/(u-1))&&(s=n/(u-(c.offset?.5:1)),r=a.maxHeight-qt(c.gridLines)-l.padding-Kt(c.scaleLabel),o=Math.sqrt(t*t+i*i),f=Y.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/s,1)),Math.asin(Math.min(r/o,1))-Math.asin(i/o))),f=Math.max(h,Math.min(d,f))),a.labelRotation=f)},afterCalculateTickRotation:function(){Y.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Y.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},i=e.chart,n=e.options,s=n.ticks,r=n.scaleLabel,o=n.gridLines,a=e._isVisible(),c="bottom"===n.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:a&&(t.width=qt(o)+Kt(r)),l?a&&(t.height=qt(o)+Kt(r)):t.height=e.maxHeight,s.display&&a){var u=Zt(s),h=e._getLabelSizes(),d=h.first,f=h.last,p=h.widest,m=h.highest,g=.4*u.minor.lineHeight,_=s.padding;if(l){var b=0!==e.labelRotation,y=Y.toRadians(e.labelRotation),v=Math.cos(y),F=Math.sin(y);t.height=Math.min(e.maxHeight,t.height+(F*p.width+v*(m.height-(b?m.offset:0))+(b?0:g))+_);var k,w,S=e.getPixelForTick(0)-e.left,T=e.right-e.getPixelForTick(e.getTicks().length-1);b?(k=c?v*d.width+F*d.offset:F*(d.height-d.offset),w=c?F*(f.height-f.offset):v*f.width+F*f.offset):(k=d.width/2,w=f.width/2),e.paddingLeft=Math.max((k-S)*e.width/(e.width-S),0)+3,e.paddingRight=Math.max((w-T)*e.width/(e.width-T),0)+3}else t.width=Math.min(e.maxWidth,t.width+(s.mirror?0:p.width+_+g)),e.paddingTop=d.height/2,e.paddingBottom=f.height/2}e.handleMargins(),l?(e.width=e._length=i.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=i.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){Y.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Wt(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,i,n,s=this;for(s.ticks=e.map((function(e){return e.value})),s.beforeTickToLabelConversion(),t=s.convertTicksToLabels(e)||s.ticks,s.afterTickToLabelConversion(),i=0,n=e.length;i<n;++i)e[i].label=t[i];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=function(e,t,i,n){var s,r,o,a,c,l,u,h,d,f,p,m,g,_=i.length,b=[],y=[],v=[];for(s=0;s<_;++s){if(a=i[s].label,e.font=l=(c=i[s].major?t.major:t.minor).string,u=n[l]=n[l]||{data:{},gc:[]},h=c.lineHeight,d=f=0,Wt(a)||Ut(a)){if(Ut(a))for(r=0,o=a.length;r<o;++r)Wt(p=a[r])||Ut(p)||(d=Y.measureText(e,u.data,u.gc,d,p),f+=h)}else d=Y.measureText(e,u.data,u.gc,d,a),f=h;b.push(d),y.push(f),v.push(h/2)}function F(e){return{width:b[e]||0,height:y[e]||0,offset:v[e]||0}}return function(e,t){Y.each(e,(function(e){var i,n=e.gc,s=n.length/2;if(s>t){for(i=0;i<s;++i)delete e.data[n[i]];n.splice(0,s)}}))}(n,_),m=b.indexOf(Math.max.apply(null,b)),g=y.indexOf(Math.max.apply(null,y)),{first:F(0),last:F(_-1),widest:F(m),highest:F(g)}}(e.ctx,Zt(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,i,n,s;return Ut(e)?(t=+this.getRightValue(e[0]),i=+this.getRightValue(e[1]),n=Math.min(t,i),s=Math.max(t,i)):(t=void 0,i=e=+this.getRightValue(e),n=e,s=e),{min:n,max:s,start:t,end:i}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:Y.noop,getPixelForValue:Y.noop,getValueForPixel:Y.noop,getPixelForTick:function(e){var t=this.options.offset,i=this._ticks.length,n=1/Math.max(i-(t?0:1),1);return e<0||e>i-1?null:this.getPixelForDecimal(e*n+(t?n/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,i,n,s,r=this.options.ticks,o=r.maxTicksLimit||this._length/this._tickSize()+1,a=r.major.enabled?function(e){var t,i,n=[];for(t=0,i=e.length;t<i;t++)e[t].major&&n.push(t);return n}(e):[],c=a.length,l=a[0],u=a[c-1];if(c>o)return function(e,t,i){var n,s,r=0,o=t[0];for(i=Math.ceil(i),n=0;n<e.length;n++)s=e[n],n===o?(s._index=n,o=t[++r*i]):delete s.label}(e,a,c/o),Xt(e);if(n=function(e,t,i,n){var s,r,o,a,c=function(e){var t,i,n=e.length;if(n<2)return!1;for(i=e[0],t=1;t<n;++t)if(e[t]-e[t-1]!==i)return!1;return i}(e),l=(t.length-1)/n;if(!c)return Math.max(l,1);for(o=0,a=(s=Y.math._factorize(c)).length-1;o<a;o++)if((r=s[o])>l)return r;return Math.max(l,1)}(a,e,0,o),c>0){for(t=0,i=c-1;t<i;t++)Qt(e,n,a[t],a[t+1]);return Qt(e,n,Y.isNullOrUndef(s=c>1?(u-l)/(c-1):null)?0:l-s,l),Qt(e,n,u,Y.isNullOrUndef(s)?e.length:u+s),Xt(e)}return Qt(e,n),Xt(e)},_tickSize:function(){var e=this.options.ticks,t=Y.toRadians(this.labelRotation),i=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),s=this._getLabelSizes(),r=e.autoSkipPadding||0,o=s?s.widest.width+r:0,a=s?s.highest.height+r:0;return this.isHorizontal()?a*i>o*n?o/i:a/n:a*n<o*i?a/i:o/n},_isVisible:function(){var e,t,i,n=this.chart,s=this.options.display;if("auto"!==s)return!!s;for(e=0,t=n.data.datasets.length;e<t;++e)if(n.isDatasetVisible(e)&&((i=n.getDatasetMeta(e)).xAxisID===this.id||i.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,i,n,s,r,o,a,c,l,u,h,d,f,p,m,g,_,b=this,y=b.chart,v=b.options,F=v.gridLines,k=v.position,w=F.offsetGridLines,S=b.isHorizontal(),T=b._ticksToDraw,D=T.length+(w?1:0),E=qt(F),M=[],C=F.drawBorder?$t(F.lineWidth,0,0):0,O=C/2,x=Y._alignPixel,L=function(e){return x(y,e,C)};for("top"===k?(t=L(b.bottom),a=b.bottom-E,l=t-O,h=L(e.top)+O,f=e.bottom):"bottom"===k?(t=L(b.top),h=e.top,f=L(e.bottom)-O,a=t+O,l=b.top+E):"left"===k?(t=L(b.right),o=b.right-E,c=t-O,u=L(e.left)+O,d=e.right):(t=L(b.left),u=e.left,d=L(e.right)-O,o=t+O,c=b.left+E),i=0;i<D;++i)Wt((n=T[i]||{}).label)&&i<T.length||(i===b.zeroLineIndex&&v.offset===w?(p=F.zeroLineWidth,m=F.zeroLineColor,g=F.zeroLineBorderDash||[],_=F.zeroLineBorderDashOffset||0):(p=$t(F.lineWidth,i,1),m=$t(F.color,i,"rgba(0,0,0,0.1)"),g=F.borderDash||[],_=F.borderDashOffset||0),void 0!==(s=Gt(b,n._index||i,w))&&(r=x(y,s,p),S?o=c=u=d=r:a=l=h=f=r,M.push({tx1:o,ty1:a,tx2:c,ty2:l,x1:u,y1:h,x2:d,y2:f,width:p,color:m,borderDash:g,borderDashOffset:_})));return M.ticksLength=D,M.borderValue=t,M},_computeLabelItems:function(){var e,t,i,n,s,r,o,a,c,l,u,h,d=this,f=d.options,p=f.ticks,m=f.position,g=p.mirror,_=d.isHorizontal(),b=d._ticksToDraw,y=Zt(p),v=p.padding,F=qt(f.gridLines),k=-Y.toRadians(d.labelRotation),w=[];for("top"===m?(r=d.bottom-F-v,o=k?"left":"center"):"bottom"===m?(r=d.top+F+v,o=k?"right":"center"):"left"===m?(s=d.right-(g?0:F)-v,o=g?"left":"right"):(s=d.left+(g?0:F)+v,o=g?"right":"left"),e=0,t=b.length;e<t;++e)Wt(n=(i=b[e]).label)||(a=d.getPixelForTick(i._index||e)+p.labelOffset,l=(c=i.major?y.major:y.minor).lineHeight,u=Ut(n)?n.length:1,_?(s=a,h="top"===m?((k?1:.5)-u)*l:(k?0:.5)*l):(r=a,h=(1-u)*l/2),w.push({x:s,y:r,rotation:k,label:n,font:c,textOffset:h,textAlign:o}));return w},_drawGrid:function(e){var t=this,i=t.options.gridLines;if(i.display){var n,s,r,o,a,c=t.ctx,l=t.chart,u=Y._alignPixel,h=i.drawBorder?$t(i.lineWidth,0,0):0,d=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(r=0,o=d.length;r<o;++r)s=(a=d[r]).color,(n=a.width)&&s&&(c.save(),c.lineWidth=n,c.strokeStyle=s,c.setLineDash&&(c.setLineDash(a.borderDash),c.lineDashOffset=a.borderDashOffset),c.beginPath(),i.drawTicks&&(c.moveTo(a.tx1,a.ty1),c.lineTo(a.tx2,a.ty2)),i.drawOnChartArea&&(c.moveTo(a.x1,a.y1),c.lineTo(a.x2,a.y2)),c.stroke(),c.restore());if(h){var f,p,m,g,_=h,b=$t(i.lineWidth,d.ticksLength-1,1),y=d.borderValue;t.isHorizontal()?(f=u(l,t.left,_)-_/2,p=u(l,t.right,b)+b/2,m=g=y):(m=u(l,t.top,_)-_/2,g=u(l,t.bottom,b)+b/2,f=p=y),c.lineWidth=h,c.strokeStyle=$t(i.color,0),c.beginPath(),c.moveTo(f,m),c.lineTo(p,g),c.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,i,n,s,r,o,a,c,l=e.ctx,u=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,n=u.length;t<n;++t){if(o=(r=u[t]).font,l.save(),l.translate(r.x,r.y),l.rotate(r.rotation),l.font=o.string,l.fillStyle=o.color,l.textBaseline="middle",l.textAlign=r.textAlign,c=r.textOffset,Ut(a=r.label))for(i=0,s=a.length;i<s;++i)l.fillText(""+a[i],0,c),c+=o.lineHeight;else l.fillText(a,0,c);l.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,i=e.options,n=i.scaleLabel;if(n.display){var s,r,o=zt(n.fontColor,A.global.defaultFontColor),a=Y.options._parseFont(n),c=Y.options.toPadding(n.padding),l=a.lineHeight/2,u=i.position,h=0;if(e.isHorizontal())s=e.left+e.width/2,r="bottom"===u?e.bottom-l-c.bottom:e.top+l+c.top;else{var d="left"===u;s=d?e.left+l+c.top:e.right-l-c.top,r=e.top+e.height/2,h=d?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(s,r),t.rotate(h),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,t.font=a.string,t.fillText(n.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,i=t.ticks&&t.ticks.z||0,n=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&i!==n&&e.draw===e._draw?[{z:n,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:i,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:i,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,i=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(n){return(!e||n.type===e)&&(i?n.xAxisID===t.id:n.yAxisID===t.id)}))}});ei.prototype._draw=ei.prototype.draw;var ti=ei,ii=Y.isNullOrUndef,ni=ti.extend({determineDataLimits:function(){var e,t=this,i=t._getLabels(),n=t.options.ticks,s=n.min,r=n.max,o=0,a=i.length-1;void 0!==s&&(e=i.indexOf(s))>=0&&(o=e),void 0!==r&&(e=i.indexOf(r))>=0&&(a=e),t.minIndex=o,t.maxIndex=a,t.min=i[o],t.max=i[a]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,i=this.maxIndex;this.ticks=0===t&&i===e.length-1?e:e.slice(t,i+1)},getLabelForIndex:function(e,t){var i=this.chart;return i.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(i.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,i=e.ticks;ti.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),i&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(i.length-(t?0:1),1))},getPixelForValue:function(e,t,i){var n,s,r,o=this;return ii(t)||ii(i)||(e=o.chart.data.datasets[i].data[t]),ii(e)||(n=o.isHorizontal()?e.x:e.y),(void 0!==n||void 0!==e&&isNaN(t))&&(s=o._getLabels(),e=Y.valueOrDefault(n,e),t=-1!==(r=s.indexOf(e))?r:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});ni._defaults={position:"bottom"};var si=Y.isNullOrUndef,ri=ti.extend({getRightValue:function(e){return"string"==typeof e?+e:ti.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var i=Y.sign(e.min),n=Y.sign(e.max);i<0&&n<0?e.max=0:i>0&&n>0&&(e.min=0)}var s=void 0!==t.min||void 0!==t.suggestedMin,r=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),s!==r&&e.min>=e.max&&(s?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,i=t.stepSize,n=t.maxTicksLimit;return i?e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(e=this._computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Y.noop,buildTicks:function(){var e=this,t=e.options.ticks,i=e.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:t.min,max:t.max,precision:t.precision,stepSize:Y.valueOrDefault(t.fixedStepSize,t.stepSize)},s=e.ticks=function(e,t){var i,n,s,r,o=[],a=e.stepSize,c=a||1,l=e.maxTicks-1,u=e.min,h=e.max,d=e.precision,f=t.min,p=t.max,m=Y.niceNum((p-f)/l/c)*c;if(m<1e-14&&si(u)&&si(h))return[f,p];(r=Math.ceil(p/m)-Math.floor(f/m))>l&&(m=Y.niceNum(r*m/l/c)*c),a||si(d)?i=Math.pow(10,Y._decimalPlaces(m)):(i=Math.pow(10,d),m=Math.ceil(m*i)/i),n=Math.floor(f/m)*m,s=Math.ceil(p/m)*m,a&&(!si(u)&&Y.almostWhole(u/m,m/1e3)&&(n=u),!si(h)&&Y.almostWhole(h/m,m/1e3)&&(s=h)),r=Y.almostEquals(r=(s-n)/m,Math.round(r),m/1e3)?Math.round(r):Math.ceil(r),n=Math.round(n*i)/i,s=Math.round(s*i)/i,o.push(si(u)?n:u);for(var g=1;g<r;++g)o.push(Math.round((n+g*m)*i)/i);return o.push(si(h)?s:h),o}(n,e);e.handleDirectionalChanges(),e.max=Y.max(s),e.min=Y.min(s),t.reverse?(s.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),ti.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,i=t.getTicks(),n=t.min,s=t.max;ti.prototype._configure.call(t),t.options.offset&&i.length&&(n-=e=(s-n)/Math.max(i.length-1,1)/2,s+=e),t._startValue=n,t._endValue=s,t._valueRange=s-n}}),oi={position:"left",ticks:{callback:Vt.formatters.linear}};function ai(e,t,i,n){var s,r,o=e.options,a=function(e,t,i){var n=[i.type,void 0===t&&void 0===i.stack?i.index:"",i.stack].join(".");return void 0===e[n]&&(e[n]={pos:[],neg:[]}),e[n]}(t,o.stacked,i),c=a.pos,l=a.neg,u=n.length;for(s=0;s<u;++s)r=e._parseValue(n[s]),isNaN(r.min)||isNaN(r.max)||i.data[s].hidden||(c[s]=c[s]||0,l[s]=l[s]||0,o.relativePoints?c[s]=100:r.min<0||r.max<0?l[s]+=r.min:c[s]+=r.max)}function ci(e,t,i){var n,s,r=i.length;for(n=0;n<r;++n)s=e._parseValue(i[n]),isNaN(s.min)||isNaN(s.max)||t.data[n].hidden||(e.min=Math.min(e.min,s.min),e.max=Math.max(e.max,s.max))}var li=ri.extend({determineDataLimits:function(){var e,t,i,n,s=this,r=s.options,o=s.chart.data.datasets,a=s._getMatchingVisibleMetas(),c=r.stacked,l={},u=a.length;if(s.min=Number.POSITIVE_INFINITY,s.max=Number.NEGATIVE_INFINITY,void 0===c)for(e=0;!c&&e<u;++e)c=void 0!==(t=a[e]).stack;for(e=0;e<u;++e)i=o[(t=a[e]).index].data,c?ai(s,l,t,i):ci(s,t,i);Y.each(l,(function(e){n=e.pos.concat(e.neg),s.min=Math.min(s.min,Y.min(n)),s.max=Math.max(s.max,Y.max(n))})),s.min=Y.isFinite(s.min)&&!isNaN(s.min)?s.min:0,s.max=Y.isFinite(s.max)&&!isNaN(s.max)?s.max:1,s.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=Y.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}});li._defaults=oi;var ui=Y.valueOrDefault,hi=Y.math.log10,di={position:"left",ticks:{callback:Vt.formatters.logarithmic}};function fi(e,t){return Y.isFinite(e)&&e>=0?e:t}var pi=ti.extend({determineDataLimits:function(){var e,t,i,n,s,r,o=this,a=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function h(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var d=a.stacked;if(void 0===d)for(e=0;e<l.length;e++)if(t=c.getDatasetMeta(e),c.isDatasetVisible(e)&&h(t)&&void 0!==t.stack){d=!0;break}if(a.stacked||d){var f={};for(e=0;e<l.length;e++){var p=[(t=c.getDatasetMeta(e)).type,void 0===a.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(c.isDatasetVisible(e)&&h(t))for(void 0===f[p]&&(f[p]=[]),s=0,r=(n=l[e].data).length;s<r;s++){var m=f[p];i=o._parseValue(n[s]),isNaN(i.min)||isNaN(i.max)||t.data[s].hidden||i.min<0||i.max<0||(m[s]=m[s]||0,m[s]+=i.max)}}Y.each(f,(function(e){if(e.length>0){var t=Y.min(e),i=Y.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,i)}}))}else for(e=0;e<l.length;e++)if(t=c.getDatasetMeta(e),c.isDatasetVisible(e)&&h(t))for(s=0,r=(n=l[e].data).length;s<r;s++)i=o._parseValue(n[s]),isNaN(i.min)||isNaN(i.max)||t.data[s].hidden||i.min<0||i.max<0||(o.min=Math.min(i.min,o.min),o.max=Math.max(i.max,o.max),0!==i.min&&(o.minNotZero=Math.min(i.min,o.minNotZero)));o.min=Y.isFinite(o.min)?o.min:null,o.max=Y.isFinite(o.max)?o.max:null,o.minNotZero=Y.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=fi(t.min,e.min),e.max=fi(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(hi(e.min))-1),e.max=Math.pow(10,Math.floor(hi(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(hi(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(hi(e.min))+1):10),null===e.minNotZero&&(e.minNotZero=e.min>0?e.min:e.max<1?Math.pow(10,Math.floor(hi(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,i=!e.isHorizontal(),n={min:fi(t.min),max:fi(t.max)},s=e.ticks=function(e,t){var i,n,s=[],r=ui(e.min,Math.pow(10,Math.floor(hi(t.min)))),o=Math.floor(hi(t.max)),a=Math.ceil(t.max/Math.pow(10,o));0===r?(i=Math.floor(hi(t.minNotZero)),n=Math.floor(t.minNotZero/Math.pow(10,i)),s.push(r),r=n*Math.pow(10,i)):(i=Math.floor(hi(r)),n=Math.floor(r/Math.pow(10,i)));var c=i<0?Math.pow(10,Math.abs(i)):1;do{s.push(r),10==++n&&(n=1,c=++i>=0?1:c),r=Math.round(n*Math.pow(10,i)*c)/c}while(i<o||i===o&&n<a);var l=ui(e.max,r);return s.push(l),s}(n,e);e.max=Y.max(s),e.min=Y.min(s),t.reverse?(i=!i,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),i&&s.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),ti.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(hi(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,i=0;ti.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),i=ui(e.options.ticks.fontSize,A.global.defaultFontSize)/e._length),e._startValue=hi(t),e._valueOffset=i,e._valueRange=(hi(e.max)-hi(t))/(1-i)},getPixelForValue:function(e){var t=this,i=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(i=(hi(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(i)},getValueForPixel:function(e){var t=this,i=t.getDecimalForPixel(e);return 0===i&&0===t.min?0:Math.pow(10,t._startValue+(i-t._valueOffset)*t._valueRange)}});pi._defaults=di;var mi=Y.valueOrDefault,gi=Y.valueAtIndexOrDefault,_i=Y.options.resolve,bi={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Vt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function yi(e){var t=e.ticks;return t.display&&e.display?mi(t.fontSize,A.global.defaultFontSize)+2*t.backdropPaddingY:0}function vi(e,t,i,n,s){return e===n||e===s?{start:t-i/2,end:t+i/2}:e<n||e>s?{start:t-i,end:t}:{start:t,end:t+i}}function Fi(e){return 0===e||180===e?"center":e<180?"left":"right"}function ki(e,t,i,n){var s,r,o=i.y+n/2;if(Y.isArray(t))for(s=0,r=t.length;s<r;++s)e.fillText(t[s],i.x,o),o+=n;else e.fillText(t,i.x,o)}function wi(e,t,i){90===e||270===e?i.y-=t.h/2:(e>270||e<90)&&(i.y-=t.h)}function Si(e){return Y.isNumber(e)?e:0}var Ti=ri.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=yi(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;Y.each(t.data.datasets,(function(s,r){if(t.isDatasetVisible(r)){var o=t.getDatasetMeta(r);Y.each(s.data,(function(t,s){var r=+e.getRightValue(t);isNaN(r)||o.data[s].hidden||(i=Math.min(r,i),n=Math.max(r,n))}))}})),e.min=i===Number.POSITIVE_INFINITY?0:i,e.max=n===Number.NEGATIVE_INFINITY?0:n,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/yi(this.options))},convertTicksToLabels:function(){var e=this;ri.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=Y.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,i,n,s=Y.options._parseFont(e.options.pointLabels),r={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=s.string,e._pointLabelSizes=[];var a,c,l,u=e.chart.data.labels.length;for(t=0;t<u;t++){n=e.getPointPosition(t,e.drawingArea+5),a=e.ctx,c=s.lineHeight,i=Y.isArray(l=e.pointLabels[t])?{w:Y.longestText(a,a.font,l),h:l.length*c}:{w:a.measureText(l).width,h:c},e._pointLabelSizes[t]=i;var h=e.getIndexAngle(t),d=Y.toDegrees(h)%360,f=vi(d,n.x,i.w,0,180),p=vi(d,n.y,i.h,90,270);f.start<r.l&&(r.l=f.start,o.l=h),f.end>r.r&&(r.r=f.end,o.r=h),p.start<r.t&&(r.t=p.start,o.t=h),p.end>r.b&&(r.b=p.end,o.b=h)}e.setReductions(e.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,i){var n=this,s=t.l/Math.sin(i.l),r=Math.max(t.r-n.width,0)/Math.sin(i.r),o=-t.t/Math.cos(i.t),a=-Math.max(t.b-(n.height-n.paddingTop),0)/Math.cos(i.b);s=Si(s),r=Si(r),o=Si(o),a=Si(a),n.drawingArea=Math.min(Math.floor(e-(s+r)/2),Math.floor(e-(o+a)/2)),n.setCenterPoint(s,r,o,a)},setCenterPoint:function(e,t,i,n){var s=this,r=i+s.drawingArea,o=s.height-s.paddingTop-n-s.drawingArea;s.xCenter=Math.floor((e+s.drawingArea+(s.width-t-s.drawingArea))/2+s.left),s.yCenter=Math.floor((r+o)/2+s.top+s.paddingTop)},getIndexAngle:function(e){var t=this.chart,i=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(i<0?i+360:i)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(Y.isNullOrUndef(e))return NaN;var i=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*i:(e-t.min)*i},getPointPosition:function(e,t){var i=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(i)*t+this.xCenter,y:Math.sin(i)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,i=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&i<0?i:t>0&&i>0?t:0)},_drawGrid:function(){var e,t,i,n=this,s=n.ctx,r=n.options,o=r.gridLines,a=r.angleLines,c=mi(a.lineWidth,o.lineWidth),l=mi(a.color,o.color);if(r.pointLabels.display&&function(e){var t=e.ctx,i=e.options,n=i.pointLabels,s=yi(i),r=e.getDistanceFromCenterForValue(i.ticks.reverse?e.min:e.max),o=Y.options._parseFont(n);t.save(),t.font=o.string,t.textBaseline="middle";for(var a=e.chart.data.labels.length-1;a>=0;a--){var c=e.getPointPosition(a,r+(0===a?s/2:0)+5),l=gi(n.fontColor,a,A.global.defaultFontColor);t.fillStyle=l;var u=e.getIndexAngle(a),h=Y.toDegrees(u);t.textAlign=Fi(h),wi(h,e._pointLabelSizes[a],c),ki(t,e.pointLabels[a],c,o.lineHeight)}t.restore()}(n),o.display&&Y.each(n.ticks,(function(e,i){0!==i&&(t=n.getDistanceFromCenterForValue(n.ticksAsNumbers[i]),function(e,t,i,n){var s,r=e.ctx,o=t.circular,a=e.chart.data.labels.length,c=gi(t.color,n-1),l=gi(t.lineWidth,n-1);if((o||a)&&c&&l){if(r.save(),r.strokeStyle=c,r.lineWidth=l,r.setLineDash&&(r.setLineDash(t.borderDash||[]),r.lineDashOffset=t.borderDashOffset||0),r.beginPath(),o)r.arc(e.xCenter,e.yCenter,i,0,2*Math.PI);else{s=e.getPointPosition(0,i),r.moveTo(s.x,s.y);for(var u=1;u<a;u++)s=e.getPointPosition(u,i),r.lineTo(s.x,s.y)}r.closePath(),r.stroke(),r.restore()}}(n,o,t,i))})),a.display&&c&&l){for(s.save(),s.lineWidth=c,s.strokeStyle=l,s.setLineDash&&(s.setLineDash(_i([a.borderDash,o.borderDash,[]])),s.lineDashOffset=_i([a.borderDashOffset,o.borderDashOffset,0])),e=n.chart.data.labels.length-1;e>=0;e--)t=n.getDistanceFromCenterForValue(r.ticks.reverse?n.min:n.max),i=n.getPointPosition(e,t),s.beginPath(),s.moveTo(n.xCenter,n.yCenter),s.lineTo(i.x,i.y),s.stroke();s.restore()}},_drawLabels:function(){var e=this,t=e.ctx,i=e.options.ticks;if(i.display){var n,s,r=e.getIndexAngle(0),o=Y.options._parseFont(i),a=mi(i.fontColor,A.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",Y.each(e.ticks,(function(r,c){(0!==c||i.reverse)&&(n=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),i.showLabelBackdrop&&(s=t.measureText(r).width,t.fillStyle=i.backdropColor,t.fillRect(-s/2-i.backdropPaddingX,-n-o.size/2-i.backdropPaddingY,s+2*i.backdropPaddingX,o.size+2*i.backdropPaddingY)),t.fillStyle=a,t.fillText(r,0,-n))})),t.restore()}},_drawTitle:Y.noop});Ti._defaults=bi;var Di=Y._deprecated,Ei=Y.options.resolve,Mi=Y.valueOrDefault,Ci=Number.MIN_SAFE_INTEGER||-9007199254740991,Oi=Number.MAX_SAFE_INTEGER||9007199254740991,xi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Li=Object.keys(xi);function ji(e,t){return e-t}function Ii(e){return Y.valueOrDefault(e.time.min,e.ticks.min)}function Ai(e){return Y.valueOrDefault(e.time.max,e.ticks.max)}function Ni(e,t,i,n){var s=function(e,t,i){for(var n,s,r,o=0,a=e.length-1;o>=0&&o<=a;){if(r=e[n=o+a>>1],!(s=e[n-1]||null))return{lo:null,hi:r};if(r[t]<i)o=n+1;else{if(!(s[t]>i))return{lo:s,hi:r};a=n-1}}return{lo:r,hi:null}}(e,t,i),r=s.lo?s.hi?s.lo:e[e.length-2]:e[0],o=s.lo?s.hi?s.hi:e[e.length-1]:e[1],a=o[t]-r[t];return r[n]+(o[n]-r[n])*(a?(i-r[t])/a:0)}function Ri(e,t){var i=e._adapter,n=e.options.time,s=n.parser,r=s||n.format,o=t;return"function"==typeof s&&(o=s(o)),Y.isFinite(o)||(o="string"==typeof r?i.parse(o,r):i.parse(o)),null!==o?+o:(s||"function"!=typeof r||(o=r(t),Y.isFinite(o)||(o=i.parse(o))),o)}function Pi(e,t){if(Y.isNullOrUndef(t))return null;var i=e.options.time,n=Ri(e,e.getRightValue(t));return null===n?n:(i.round&&(n=+e._adapter.startOf(n,i.round)),n)}function Bi(e,t,i,n){var s,r,o=Li.length;for(s=Li.indexOf(e);s<o-1;++s)if((r=xi[Li[s]]).common&&Math.ceil((i-t)/((r.steps?r.steps:Oi)*r.size))<=n)return Li[s];return Li[o-1]}function Yi(e,t,i){var n,s,r=[],o={},a=t.length;for(n=0;n<a;++n)o[s=t[n]]=n,r.push({value:s,major:!1});return 0!==a&&i?function(e,t,i,n){var s,r,o=e._adapter,a=+o.startOf(t[0].value,n),c=t[t.length-1].value;for(s=a;s<=c;s=+o.add(s,1,n))(r=i[s])>=0&&(t[r].major=!0);return t}(e,r,o,i):r}var Hi=ti.extend({initialize:function(){this.mergeTicksOptions(),ti.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,i=t.time||(t.time={}),n=e._adapter=new Ht._date(t.adapters.date);return Di("time scale",i.format,"time.format","time.parser"),Di("time scale",i.min,"time.min","ticks.min"),Di("time scale",i.max,"time.max","ticks.max"),Y.mergeIf(i.displayFormats,n.formats()),ti.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),ti.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,i,n,s,r,o,a=this,c=a.chart,l=a._adapter,u=a.options,h=u.time.unit||"day",d=Oi,f=Ci,p=[],m=[],g=[],_=a._getLabels();for(e=0,i=_.length;e<i;++e)g.push(Pi(a,_[e]));for(e=0,i=(c.data.datasets||[]).length;e<i;++e)if(c.isDatasetVisible(e))if(Y.isObject((s=c.data.datasets[e].data)[0]))for(m[e]=[],t=0,n=s.length;t<n;++t)r=Pi(a,s[t]),p.push(r),m[e][t]=r;else m[e]=g.slice(0),o||(p=p.concat(g),o=!0);else m[e]=[];g.length&&(d=Math.min(d,g[0]),f=Math.max(f,g[g.length-1])),p.length&&(p=i>1?function(e){var t,i,n,s={},r=[];for(t=0,i=e.length;t<i;++t)s[n=e[t]]||(s[n]=!0,r.push(n));return r}(p).sort(ji):p.sort(ji),d=Math.min(d,p[0]),f=Math.max(f,p[p.length-1])),d=Pi(a,Ii(u))||d,f=Pi(a,Ai(u))||f,d=d===Oi?+l.startOf(Date.now(),h):d,f=f===Ci?+l.endOf(Date.now(),h)+1:f,a.min=Math.min(d,f),a.max=Math.max(d+1,f),a._table=[],a._timestamps={data:p,datasets:m,labels:g}},buildTicks:function(){var e,t,i,n=this,s=n.min,r=n.max,o=n.options,a=o.ticks,c=o.time,l=n._timestamps,u=[],h=n.getLabelCapacity(s),d=a.source,f=o.distribution;for(l="data"===d||"auto"===d&&"series"===f?l.data:"labels"===d?l.labels:function(e,t,i,n){var s,r=e._adapter,o=e.options,a=o.time,c=a.unit||Bi(a.minUnit,t,i,n),l=Ei([a.stepSize,a.unitStepSize,1]),u="week"===c&&a.isoWeekday,h=t,d=[];if(u&&(h=+r.startOf(h,"isoWeek",u)),h=+r.startOf(h,u?"day":c),r.diff(i,t,c)>1e5*l)throw t+" and "+i+" are too far apart with stepSize of "+l+" "+c;for(s=h;s<i;s=+r.add(s,l,c))d.push(s);return s!==i&&"ticks"!==o.bounds||d.push(s),d}(n,s,r,h),"ticks"===o.bounds&&l.length&&(s=l[0],r=l[l.length-1]),s=Pi(n,Ii(o))||s,r=Pi(n,Ai(o))||r,e=0,t=l.length;e<t;++e)(i=l[e])>=s&&i<=r&&u.push(i);return n.min=s,n.max=r,n._unit=c.unit||(a.autoSkip?Bi(c.minUnit,n.min,n.max,h):function(e,t,i,n,s){var r,o;for(r=Li.length-1;r>=Li.indexOf(i);r--)if(xi[o=Li[r]].common&&e._adapter.diff(s,n,o)>=t-1)return o;return Li[i?Li.indexOf(i):0]}(n,u.length,c.minUnit,n.min,n.max)),n._majorUnit=a.major.enabled&&"year"!==n._unit?function(e){for(var t=Li.indexOf(e)+1,i=Li.length;t<i;++t)if(xi[Li[t]].common)return Li[t]}(n._unit):void 0,n._table=function(e,t,i,n){if("linear"===n||!e.length)return[{time:t,pos:0},{time:i,pos:1}];var s,r,o,a,c,l=[],u=[t];for(s=0,r=e.length;s<r;++s)(a=e[s])>t&&a<i&&u.push(a);for(u.push(i),s=0,r=u.length;s<r;++s)c=u[s+1],a=u[s],void 0!==(o=u[s-1])&&void 0!==c&&Math.round((c+o)/2)===a||l.push({time:a,pos:s/(r-1)});return l}(n._timestamps.data,s,r,f),n._offsets=function(e,t,i,n,s){var r,o,a=0,c=0;return s.offset&&t.length&&(r=Ni(e,"time",t[0],"pos"),a=1===t.length?1-r:(Ni(e,"time",t[1],"pos")-r)/2,o=Ni(e,"time",t[t.length-1],"pos"),c=1===t.length?o:(o-Ni(e,"time",t[t.length-2],"pos"))/2),{start:a,end:c,factor:1/(a+1+c)}}(n._table,u,0,0,o),a.reverse&&u.reverse(),Yi(n,u,n._majorUnit)},getLabelForIndex:function(e,t){var i=this,n=i._adapter,s=i.chart.data,r=i.options.time,o=s.labels&&e<s.labels.length?s.labels[e]:"",a=s.datasets[t].data[e];return Y.isObject(a)&&(o=i.getRightValue(a)),r.tooltipFormat?n.format(Ri(i,o),r.tooltipFormat):"string"==typeof o?o:n.format(Ri(i,o),r.displayFormats.datetime)},tickFormatFunction:function(e,t,i,n){var s=this.options,r=s.time.displayFormats,o=this._majorUnit,a=r[o],c=i[t],l=s.ticks,u=o&&a&&c&&c.major,h=this._adapter.format(e,n||(u?a:r[this._unit])),d=u?l.major:l.minor,f=Ei([d.callback,d.userCallback,l.callback,l.userCallback]);return f?f(h,t,i):h},convertTicksToLabels:function(e){var t,i,n=[];for(t=0,i=e.length;t<i;++t)n.push(this.tickFormatFunction(e[t].value,t,e));return n},getPixelForOffset:function(e){var t=this._offsets,i=Ni(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+i)*t.factor)},getPixelForValue:function(e,t,i){var n=null;if(void 0!==t&&void 0!==i&&(n=this._timestamps.datasets[i][t]),null===n&&(n=Pi(this,e)),null!==n)return this.getPixelForOffset(n)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end,n=Ni(this._table,"pos",i,"time");return this._adapter._create(n)},_getLabelSize:function(e){var t=this.options.ticks,i=this.ctx.measureText(e).width,n=Y.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),s=Math.cos(n),r=Math.sin(n),o=Mi(t.fontSize,A.global.defaultFontSize);return{w:i*s+o*r,h:i*r+o*s}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,i=t.options.time,n=i.displayFormats,s=n[i.unit]||n.millisecond,r=t.tickFormatFunction(e,0,Yi(t,[e],t._majorUnit),s),o=t._getLabelSize(r),a=Math.floor(t.isHorizontal()?t.width/o.w:t.height/o.h);return t.options.offset&&a--,a>0?a:1}});Hi._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Vi={category:ni,linear:li,logarithmic:pi,radialLinear:Ti,time:Hi},Ui={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Ht._date.override("function"==typeof e?{_id:"moment",formats:function(){return Ui},parse:function(t,i){return"string"==typeof t&&"string"==typeof i?t=e(t,i):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,i){return e(t).format(i)},add:function(t,i,n){return e(t).add(i,n).valueOf()},diff:function(t,i,n){return e(t).diff(e(i),n)},startOf:function(t,i,n){return t=e(t),"isoWeek"===i?t.isoWeekday(n).valueOf():t.startOf(i).valueOf()},endOf:function(t,i){return e(t).endOf(i).valueOf()},_create:function(t){return e(t)}}:{}),A._set("global",{plugins:{filler:{propagate:!0}}});var Wi={dataset:function(e){var t=e.fill,i=e.chart,n=i.getDatasetMeta(t),s=n&&i.isDatasetVisible(t)&&n.dataset._children||[],r=s.length||0;return r?function(e,t){return t<r&&s[t]._view||null}:null},boundary:function(e){var t=e.boundary,i=t?t.x:null,n=t?t.y:null;return Y.isArray(t)?function(e,i){return t[i]}:function(e){return{x:null===i?e.x:i,y:null===n?e.y:n}}}};function zi(e,t,i){var n,s=e._model||{},r=s.fill;if(void 0===r&&(r=!!s.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(n=parseFloat(r,10),isFinite(n)&&Math.floor(n)===n)return"-"!==r[0]&&"+"!==r[0]||(n=t+n),!(n===t||n<0||n>=i)&&n;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function $i(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,i,n,s,r,o=e.el._scale,a=o.options,c=o.chart.data.labels.length,l=e.fill,u=[];if(!c)return null;for(i=a.ticks.reverse?o.min:o.max,n=o.getPointPositionForValue(0,t=a.ticks.reverse?o.max:o.min),s=0;s<c;++s)r="start"===l||"end"===l?o.getPointPositionForValue(s,"start"===l?t:i):o.getBasePosition(s),a.gridLines.circular&&(r.cx=n.x,r.cy=n.y,r.angle=o.getIndexAngle(s)-Math.PI/2),u.push(r);return u}(e):function(e){var t,i=e.el._model||{},n=e.el._scale||{},s=e.fill,r=null;if(isFinite(s))return null;if("start"===s?r=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===s?r=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?r=i.scaleZero:n.getBasePixel&&(r=n.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(Y.isFinite(r))return{x:(t=n.isHorizontal())?r:null,y:t?null:r}}return null}(e)}function Gi(e,t,i){var n,s=e[t].fill,r=[t];if(!i)return s;for(;!1!==s&&-1===r.indexOf(s);){if(!isFinite(s))return s;if(!(n=e[s]))return!1;if(n.visible)return s;r.push(s),s=n.fill}return!1}function qi(e){var t=e.fill,i="dataset";return!1===t?null:(isFinite(t)||(i="boundary"),Wi[i](e))}function Ki(e){return e&&!e.skip}function Ji(e,t,i,n,s){var r,o,a,c;if(n&&s){for(e.moveTo(t[0].x,t[0].y),r=1;r<n;++r)Y.canvas.lineTo(e,t[r-1],t[r]);if(void 0===i[0].angle)for(e.lineTo(i[s-1].x,i[s-1].y),r=s-1;r>0;--r)Y.canvas.lineTo(e,i[r],i[r-1],!0);else for(o=i[0].cx,a=i[0].cy,c=Math.sqrt(Math.pow(i[0].x-o,2)+Math.pow(i[0].y-a,2)),r=s-1;r>0;--r)e.arc(o,a,c,i[r].angle,i[r-1].angle,!0)}}function Zi(e,t,i,n,s,r){var o,a,c,l,u,h,d,f,p=t.length,m=n.spanGaps,g=[],_=[],b=0,y=0;for(e.beginPath(),o=0,a=p;o<a;++o)u=i(l=t[c=o%p]._view,c,n),h=Ki(l),d=Ki(u),r&&void 0===f&&h&&(a=p+(f=o+1)),h&&d?(b=g.push(l),y=_.push(u)):b&&y&&(m?(h&&g.push(l),d&&_.push(u)):(Ji(e,g,_,b,y),b=y=0,g=[],_=[]));Ji(e,g,_,b,y),e.closePath(),e.fillStyle=s,e.fill()}var Xi={id:"filler",afterDatasetsUpdate:function(e,t){var i,n,s,r,o=(e.data.datasets||[]).length,a=t.propagate,c=[];for(n=0;n<o;++n)r=null,(s=(i=e.getDatasetMeta(n)).dataset)&&s._model&&s instanceof ge.Line&&(r={visible:e.isDatasetVisible(n),fill:zi(s,n,o),chart:e,el:s}),i.$filler=r,c.push(r);for(n=0;n<o;++n)(r=c[n])&&(r.fill=Gi(c,n,a),r.boundary=$i(r),r.mapper=qi(r))},beforeDatasetsDraw:function(e){var t,i,n,s,r,o,a,c=e._getSortedVisibleDatasetMetas(),l=e.ctx;for(i=c.length-1;i>=0;--i)(t=c[i].$filler)&&t.visible&&(r=(n=t.el)._children||[],a=(s=n._view).backgroundColor||A.global.defaultColor,(o=t.mapper)&&a&&r.length&&(Y.canvas.clipArea(l,e.chartArea),Zi(l,r,o,s,a,n._loop),Y.canvas.unclipArea(l)))}},Qi=Y.rtl.getRtlAdapter,en=Y.noop,tn=Y.valueOrDefault;function nn(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}A._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var i=t.datasetIndex,n=this.chart,s=n.getDatasetMeta(i);s.hidden=null===s.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,i=e.options.legend||{},n=i.labels&&i.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(i){var s=i.controller.getStyle(n?0:void 0);return{text:t[i.index].label,fillStyle:s.backgroundColor,hidden:!e.isDatasetVisible(i.index),lineCap:s.borderCapStyle,lineDash:s.borderDash,lineDashOffset:s.borderDashOffset,lineJoin:s.borderJoinStyle,lineWidth:s.borderWidth,strokeStyle:s.borderColor,pointStyle:s.pointStyle,rotation:s.rotation,datasetIndex:i.index}}),this)}}},legendCallback:function(e){var t,i,n,s=document.createElement("ul"),r=e.data.datasets;for(s.setAttribute("class",e.id+"-legend"),t=0,i=r.length;t<i;t++)(n=s.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[t].backgroundColor,r[t].label&&n.appendChild(document.createTextNode(r[t].label));return s.outerHTML}});var sn=z.extend({initialize:function(e){Y.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:en,update:function(e,t,i){var n=this;return n.beforeUpdate(),n.maxWidth=e,n.maxHeight=t,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:en,beforeSetDimensions:en,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:en,beforeBuildLabels:en,buildLabels:function(){var e=this,t=e.options.labels||{},i=Y.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(i=i.filter((function(i){return t.filter(i,e.chart.data)}))),e.options.reverse&&i.reverse(),e.legendItems=i},afterBuildLabels:en,beforeFit:en,fit:function(){var e=this,t=e.options,i=t.labels,n=t.display,s=e.ctx,r=Y.options._parseFont(i),o=r.size,a=e.legendHitBoxes=[],c=e.minSize,l=e.isHorizontal();if(l?(c.width=e.maxWidth,c.height=n?10:0):(c.width=n?10:0,c.height=e.maxHeight),n){if(s.font=r.string,l){var u=e.lineWidths=[0],h=0;s.textAlign="left",s.textBaseline="middle",Y.each(e.legendItems,(function(e,t){var n=nn(i,o)+o/2+s.measureText(e.text).width;(0===t||u[u.length-1]+n+2*i.padding>c.width)&&(h+=o+i.padding,u[u.length-(t>0?0:1)]=0),a[t]={left:0,top:0,width:n,height:o},u[u.length-1]+=n+i.padding})),c.height+=h}else{var d=i.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=i.padding,g=0,_=0;Y.each(e.legendItems,(function(e,t){var n=nn(i,o)+o/2+s.measureText(e.text).width;t>0&&_+o+2*d>c.height&&(m+=g+i.padding,f.push(g),p.push(_),g=0,_=0),g=Math.max(g,n),_+=o+d,a[t]={left:0,top:0,width:n,height:o}})),m+=g,f.push(g),p.push(_),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:en,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,i=t.labels,n=A.global,s=n.defaultColor,r=n.elements.line,o=e.height,a=e.columnHeights,c=e.width,l=e.lineWidths;if(t.display){var u,h=Qi(t.rtl,e.left,e.minSize.width),d=e.ctx,f=tn(i.fontColor,n.defaultFontColor),p=Y.options._parseFont(i),m=p.size;d.textAlign=h.textAlign("left"),d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=f,d.fillStyle=f,d.font=p.string;var g=nn(i,m),_=e.legendHitBoxes,b=function(e,n){switch(t.align){case"start":return i.padding;case"end":return e-n;default:return(e-n+i.padding)/2}},y=e.isHorizontal();u=y?{x:e.left+b(c,l[0]),y:e.top+i.padding,line:0}:{x:e.left+i.padding,y:e.top+b(o,a[0]),line:0},Y.rtl.overrideTextDirection(e.ctx,t.textDirection);var v=m+i.padding;Y.each(e.legendItems,(function(t,n){var f=d.measureText(t.text).width,p=g+m/2+f,F=u.x,k=u.y;h.setWidth(e.minSize.width),y?n>0&&F+p+i.padding>e.left+e.minSize.width&&(k=u.y+=v,u.line++,F=u.x=e.left+b(c,l[u.line])):n>0&&k+v>e.top+e.minSize.height&&(F=u.x=F+e.columnWidths[u.line]+i.padding,u.line++,k=u.y=e.top+b(o,a[u.line]));var w=h.x(F);!function(e,t,n){if(!(isNaN(g)||g<=0)){d.save();var o=tn(n.lineWidth,r.borderWidth);if(d.fillStyle=tn(n.fillStyle,s),d.lineCap=tn(n.lineCap,r.borderCapStyle),d.lineDashOffset=tn(n.lineDashOffset,r.borderDashOffset),d.lineJoin=tn(n.lineJoin,r.borderJoinStyle),d.lineWidth=o,d.strokeStyle=tn(n.strokeStyle,s),d.setLineDash&&d.setLineDash(tn(n.lineDash,r.borderDash)),i&&i.usePointStyle){var a=g*Math.SQRT2/2,c=h.xPlus(e,g/2);Y.canvas.drawPoint(d,n.pointStyle,a,c,t+m/2,n.rotation)}else d.fillRect(h.leftForLtr(e,g),t,g,m),0!==o&&d.strokeRect(h.leftForLtr(e,g),t,g,m);d.restore()}}(w,k,t),_[n].left=h.leftForLtr(w,_[n].width),_[n].top=k,function(e,t,i,n){var s=m/2,r=h.xPlus(e,g+s),o=t+s;d.fillText(i.text,r,o),i.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(r,o),d.lineTo(h.xPlus(r,n),o),d.stroke())}(w,k,t,f),y?u.x+=p+i.padding:u.y+=v})),Y.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var i,n,s,r=this;if(e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom)for(s=r.legendHitBoxes,i=0;i<s.length;++i)if(e>=(n=s[i]).left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height)return r.legendItems[i];return null},handleEvent:function(e){var t,i=this,n=i.options,s="mouseup"===e.type?"click":e.type;if("mousemove"===s){if(!n.onHover&&!n.onLeave)return}else{if("click"!==s)return;if(!n.onClick)return}t=i._getLegendItemAt(e.x,e.y),"click"===s?t&&n.onClick&&n.onClick.call(i,e.native,t):(n.onLeave&&t!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,e.native,i._hoveredItem),i._hoveredItem=t),n.onHover&&t&&n.onHover.call(i,e.native,t))}});function rn(e,t){var i=new sn({ctx:e.ctx,options:t,chart:e});at.configure(e,i,t),at.addBox(e,i),e.legend=i}var on={id:"legend",_element:sn,beforeInit:function(e){var t=e.options.legend;t&&rn(e,t)},beforeUpdate:function(e){var t=e.options.legend,i=e.legend;t?(Y.mergeIf(t,A.global.legend),i?(at.configure(e,i,t),i.options=t):rn(e,t)):i&&(at.removeBox(e,i),delete e.legend)},afterEvent:function(e,t){var i=e.legend;i&&i.handleEvent(t)}},an=Y.noop;A._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var cn=z.extend({initialize:function(e){Y.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:an,update:function(e,t,i){var n=this;return n.beforeUpdate(),n.maxWidth=e,n.maxHeight=t,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:an,beforeSetDimensions:an,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:an,beforeBuildLabels:an,buildLabels:an,afterBuildLabels:an,beforeFit:an,fit:function(){var e,t=this,i=t.options,n=t.minSize={},s=t.isHorizontal();i.display?(e=(Y.isArray(i.text)?i.text.length:1)*Y.options._parseFont(i).lineHeight+2*i.padding,t.width=n.width=s?t.maxWidth:e,t.height=n.height=s?e:t.maxHeight):t.width=n.width=t.height=n.height=0},afterFit:an,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,i=e.options;if(i.display){var n,s,r,o=Y.options._parseFont(i),a=o.lineHeight,c=a/2+i.padding,l=0,u=e.top,h=e.left,d=e.bottom,f=e.right;t.fillStyle=Y.valueOrDefault(i.fontColor,A.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(s=h+(f-h)/2,r=u+c,n=f-h):(s="left"===i.position?h+c:f-c,r=u+(d-u)/2,n=d-u,l=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(s,r),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var p=i.text;if(Y.isArray(p))for(var m=0,g=0;g<p.length;++g)t.fillText(p[g],0,m,n),m+=a;else t.fillText(p,0,0,n);t.restore()}}});function ln(e,t){var i=new cn({ctx:e.ctx,options:t,chart:e});at.configure(e,i,t),at.addBox(e,i),e.titleBlock=i}var un={},hn=Xi,dn=on,fn={id:"title",_element:cn,beforeInit:function(e){var t=e.options.title;t&&ln(e,t)},beforeUpdate:function(e){var t=e.options.title,i=e.titleBlock;t?(Y.mergeIf(t,A.global.title),i?(at.configure(e,i,t),i.options=t):ln(e,t)):i&&(at.removeBox(e,i),delete e.titleBlock)}};for(var pn in un.filler=hn,un.legend=dn,un.title=fn,Pt.helpers=Y,function(){function e(e,t,i){var n;return"string"==typeof e?(n=parseInt(e,10),-1!==e.indexOf("%")&&(n=n/100*t.parentNode[i])):n=e,n}function t(e){return null!=e&&"none"!==e}function i(i,n,s){var r=document.defaultView,o=Y._getParentNode(i),a=r.getComputedStyle(i)[n],c=r.getComputedStyle(o)[n],l=t(a),u=t(c),h=Number.POSITIVE_INFINITY;return l||u?Math.min(l?e(a,i,s):h,u?e(c,o,s):h):"none"}Y.where=function(e,t){if(Y.isArray(e)&&Array.prototype.filter)return e.filter(t);var i=[];return Y.each(e,(function(e){t(e)&&i.push(e)})),i},Y.findIndex=Array.prototype.findIndex?function(e,t,i){return e.findIndex(t,i)}:function(e,t,i){i=void 0===i?e:i;for(var n=0,s=e.length;n<s;++n)if(t.call(i,e[n],n,e))return n;return-1},Y.findNextWhere=function(e,t,i){Y.isNullOrUndef(i)&&(i=-1);for(var n=i+1;n<e.length;n++){var s=e[n];if(t(s))return s}},Y.findPreviousWhere=function(e,t,i){Y.isNullOrUndef(i)&&(i=e.length);for(var n=i-1;n>=0;n--){var s=e[n];if(t(s))return s}},Y.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},Y.almostEquals=function(e,t,i){return Math.abs(e-t)<i},Y.almostWhole=function(e,t){var i=Math.round(e);return i-t<=e&&i+t>=e},Y.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},Y.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},Y.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},Y.toRadians=function(e){return e*(Math.PI/180)},Y.toDegrees=function(e){return e*(180/Math.PI)},Y._decimalPlaces=function(e){if(Y.isFinite(e)){for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i}},Y.getAngleFromPoint=function(e,t){var i=t.x-e.x,n=t.y-e.y,s=Math.sqrt(i*i+n*n),r=Math.atan2(n,i);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:s}},Y.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Y.aliasPixel=function(e){return e%2==0?0:.5},Y._alignPixel=function(e,t,i){var n=e.currentDevicePixelRatio,s=i/2;return Math.round((t-s)*n)/n+s},Y.splineCurve=function(e,t,i,n){var s=e.skip?t:e,r=t,o=i.skip?t:i,a=Math.sqrt(Math.pow(r.x-s.x,2)+Math.pow(r.y-s.y,2)),c=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=a/(a+c),u=c/(a+c),h=n*(l=isNaN(l)?0:l),d=n*(u=isNaN(u)?0:u);return{previous:{x:r.x-h*(o.x-s.x),y:r.y-h*(o.y-s.y)},next:{x:r.x+d*(o.x-s.x),y:r.y+d*(o.y-s.y)}}},Y.EPSILON=Number.EPSILON||1e-14,Y.splineCurveMonotone=function(e){var t,i,n,s,r,o,a,c,l,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),h=u.length;for(t=0;t<h;++t)if(!(n=u[t]).model.skip){if(i=t>0?u[t-1]:null,(s=t<h-1?u[t+1]:null)&&!s.model.skip){var d=s.model.x-n.model.x;n.deltaK=0!==d?(s.model.y-n.model.y)/d:0}n.mK=!i||i.model.skip?n.deltaK:!s||s.model.skip?i.deltaK:this.sign(i.deltaK)!==this.sign(n.deltaK)?0:(i.deltaK+n.deltaK)/2}for(t=0;t<h-1;++t)s=u[t+1],(n=u[t]).model.skip||s.model.skip||(Y.almostEquals(n.deltaK,0,this.EPSILON)?n.mK=s.mK=0:(r=n.mK/n.deltaK,o=s.mK/n.deltaK,(c=Math.pow(r,2)+Math.pow(o,2))<=9||(a=3/Math.sqrt(c),n.mK=r*a*n.deltaK,s.mK=o*a*n.deltaK)));for(t=0;t<h;++t)(n=u[t]).model.skip||(s=t<h-1?u[t+1]:null,(i=t>0?u[t-1]:null)&&!i.model.skip&&(n.model.controlPointPreviousX=n.model.x-(l=(n.model.x-i.model.x)/3),n.model.controlPointPreviousY=n.model.y-l*n.mK),s&&!s.model.skip&&(n.model.controlPointNextX=n.model.x+(l=(s.model.x-n.model.x)/3),n.model.controlPointNextY=n.model.y+l*n.mK))},Y.nextItem=function(e,t,i){return i?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},Y.previousItem=function(e,t,i){return i?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},Y.niceNum=function(e,t){var i=Math.floor(Y.log10(e)),n=e/Math.pow(10,i);return(t?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},Y.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},Y.getRelativePosition=function(e,t){var i,n,s=e.originalEvent||e,r=e.target||e.srcElement,o=r.getBoundingClientRect(),a=s.touches;a&&a.length>0?(i=a[0].clientX,n=a[0].clientY):(i=s.clientX,n=s.clientY);var c=parseFloat(Y.getStyle(r,"padding-left")),l=parseFloat(Y.getStyle(r,"padding-top")),u=parseFloat(Y.getStyle(r,"padding-right")),h=parseFloat(Y.getStyle(r,"padding-bottom")),d=o.bottom-o.top-l-h;return{x:i=Math.round((i-o.left-c)/(o.right-o.left-c-u)*r.width/t.currentDevicePixelRatio),y:n=Math.round((n-o.top-l)/d*r.height/t.currentDevicePixelRatio)}},Y.getConstraintWidth=function(e){return i(e,"max-width","clientWidth")},Y.getConstraintHeight=function(e){return i(e,"max-height","clientHeight")},Y._calculatePadding=function(e,t,i){return(t=Y.getStyle(e,t)).indexOf("%")>-1?i*parseInt(t,10)/100:parseInt(t,10)},Y._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},Y.getMaximumWidth=function(e){var t=Y._getParentNode(e);if(!t)return e.clientWidth;var i=t.clientWidth,n=i-Y._calculatePadding(t,"padding-left",i)-Y._calculatePadding(t,"padding-right",i),s=Y.getConstraintWidth(e);return isNaN(s)?n:Math.min(n,s)},Y.getMaximumHeight=function(e){var t=Y._getParentNode(e);if(!t)return e.clientHeight;var i=t.clientHeight,n=i-Y._calculatePadding(t,"padding-top",i)-Y._calculatePadding(t,"padding-bottom",i),s=Y.getConstraintHeight(e);return isNaN(s)?n:Math.min(n,s)},Y.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},Y.retinaScale=function(e,t){var i=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=e.canvas,s=e.height,r=e.width;n.height=s*i,n.width=r*i,e.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=s+"px",n.style.width=r+"px")}},Y.fontString=function(e,t,i){return t+" "+e+"px "+i},Y.longestText=function(e,t,i,n){var s=(n=n||{}).data=n.data||{},r=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(s=n.data={},r=n.garbageCollect=[],n.font=t),e.font=t;var o,a,c,l,u,h=0,d=i.length;for(o=0;o<d;o++)if(null!=(l=i[o])&&!0!==Y.isArray(l))h=Y.measureText(e,s,r,h,l);else if(Y.isArray(l))for(a=0,c=l.length;a<c;a++)null==(u=l[a])||Y.isArray(u)||(h=Y.measureText(e,s,r,h,u));var f=r.length/2;if(f>i.length){for(o=0;o<f;o++)delete s[r[o]];r.splice(0,f)}return h},Y.measureText=function(e,t,i,n,s){var r=t[s];return r||(r=t[s]=e.measureText(s).width,i.push(s)),r>n&&(n=r),n},Y.numberOfLabelLines=function(e){var t=1;return Y.each(e,(function(e){Y.isArray(e)&&e.length>t&&(t=e.length)})),t},Y.color=F?function(e){return e instanceof CanvasGradient&&(e=A.global.defaultColor),F(e)}:function(e){return console.error("Color.js not found!"),e},Y.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:Y.color(e).saturate(.5).darken(.1).rgbString()}}(),Pt._adapters=Ht,Pt.Animation=G,Pt.animationService=q,Pt.controllers=We,Pt.DatasetController=Q,Pt.defaults=A,Pt.Element=z,Pt.elements=ge,Pt.Interaction=Ze,Pt.layouts=at,Pt.platform=bt,Pt.plugins=yt,Pt.Scale=ti,Pt.scaleService=vt,Pt.Ticks=Vt,Pt.Tooltip=Ct,Pt.helpers.each(Vi,(function(e,t){Pt.scaleService.registerScaleType(t,e,e._defaults)})),un)un.hasOwnProperty(pn)&&Pt.plugins.register(un[pn]);Pt.platform.initialize();var mn=Pt;return"undefined"!=typeof window&&(window.Chart=Pt),Pt.Chart=Pt,Pt.Legend=un.legend._element,Pt.Title=un.title._element,Pt.pluginService=Pt.plugins,Pt.PluginBase=Pt.Element.extend({}),Pt.canvasHelpers=Pt.helpers.canvas,Pt.layoutService=Pt.layouts,Pt.LinearScaleBase=ri,Pt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Pt[e]=function(t,i){return new Pt(t,Pt.helpers.merge(i||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),mn}(function(){try{return i("wd/R")}catch(e){}}())},MdjT:function(e,t,i){"use strict";var n=i("AZf1"),s=i("rVFa"),r=i("NwwV"),o=i("0p2S");t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var i=Number.POSITIVE_INFINITY,a=null,c=e[e.length-1];return r.isScheduler(c)?(a=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(i=e.pop())):"number"==typeof c&&(i=e.pop()),null===a&&1===e.length&&e[0]instanceof n.Observable?e[0]:o.mergeAll(i)(new s.ArrayObservable(e,a))}},Mfq2:function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m}));var n=i("fXoL"),s=i("lUod"),r=i("mrSG"),o=i("3XJ7"),a=i("WyaX"),c=i("PqYM"),l=i("ofXK");const u=["*"];let h=(()=>{class e{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),d=(()=>{class e{constructor(e){Object.assign(this,e)}get isBs3(){return Object(s.d)()}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.classMap[this.placement]=!0,this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(h))},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(e,t){2&e&&(n.Ib("id",t.id),n.Jb("tooltip in tooltip-"+t.placement+" bs-tooltip-"+t.placement+" "+t.placement+" "+t.containerClass),n.Mb("show",!t.isBs3)("bs3",t.isBs3))},ngContentSelectors:u,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(e,t){1&e&&(n.vc(),n.Wb(0,"div",0),n.bc(1,"div",1),n.uc(2),n.ac())},styles:[".tooltip[_nghost-%COMP%] {\n      display: block;\n      pointer-events: none;\n    }\n    .bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n      margin-left: -2px;\n    }\n    .bs3.tooltip.bottom[_nghost-%COMP%] {\n      margin-top: 0px;\n    }\n    .bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{\n      margin: 0px;\n    }\n    .bs3.bs-tooltip-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\n      margin: .3rem 0;\n    }"],changeDetection:0}),e})(),f=0,p=(()=>{class e{constructor(e,t,i,s,r,o){this._elementRef=s,this._renderer=r,this._positionService=o,this.tooltipId=f++,this.tooltipChange=new n.n,this.containerClass="",this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new n.n,this._tooltip=t.createLoader(this._elementRef,e,this._renderer).provide({provide:h,useValue:i}),Object.assign(this,i),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}get isOpen(){return this._tooltip.isShown}set isOpen(e){e?this.show():this.hide()}set htmlContent(e){Object(s.i)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=e}set _placement(e){Object(s.i)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=e}set _isOpen(e){Object(s.i)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=e}get _isOpen(){return Object(s.i)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(e){Object(s.i)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!e}get _enable(){return Object(s.i)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(e){Object(s.i)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=e?"body":this.container}get _appendToBody(){return Object(s.i)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(e){Object(s.i)("tooltipClass deprecated")}set _tooltipContext(e){Object(s.i)("tooltipContext deprecated")}set _tooltipPopupDelay(e){Object(s.i)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=e}get _tooltipTrigger(){return Object(s.i)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(e){Object(s.i)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(e||"").toString()}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(e=>{e||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:null,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const e=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(d).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},t=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=Object(c.a)(this.delay).subscribe(()=>{e(),t()}),this.triggers&&Object(s.f)(this.triggers).forEach(e=>{this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,e.close,()=>{this._delaySubscription.unsubscribe(),t()})})):e()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance.classMap.in=!1,setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.P),n.Vb(o.a),n.Vb(h),n.Vb(n.l),n.Vb(n.F),n.Vb(a.a))},e.\u0275dir=n.Qb({type:e,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{containerClass:"containerClass",tooltipAnimation:"tooltipAnimation",tooltipFadeDuration:"tooltipFadeDuration",isOpen:"isOpen",htmlContent:["tooltipHtml","htmlContent"],tooltip:"tooltip",_placement:["tooltipPlacement","_placement"],placement:"placement",_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],isDisabled:"isDisabled",_appendToBody:["tooltipAppendToBody","_appendToBody"],container:"container",_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],delay:"delay",_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"],triggers:"triggers",adaptivePosition:"adaptivePosition"},outputs:{tooltipChange:"tooltipChange",tooltipStateChanged:"tooltipStateChanged",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-tooltip"]}),Object(r.c)([Object(s.a)(),Object(r.e)("design:type",Object)],e.prototype,"tooltip",void 0),e})(),m=(()=>{class e{static forRoot(){return{ngModule:e,providers:[o.a,a.a]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[l.c]]}),e})()},MkmW:function(e,t,i){"use strict";t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},N6Zr:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("y2i3"),r=i("zKHA"),o=i("AJP0"),a=i("9jZZ"),c=i("Irel");t.bufferWhen=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.closingSelector))},e}(),u=function(e){function t(t,i){e.call(this,t),this.closingSelector=i,this.subscribing=!1,this.openBuffer()}return n(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},t.prototype.notifyNext=function(e,t,i,n,s){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];var t=r.tryCatch(this.closingSelector)();t===o.errorObject?this.error(o.errorObject.e):(e=new s.Subscription,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(c.subscribeToResult(this,t)),this.subscribing=!1)},t}(a.OuterSubscriber)},NJ4a:function(e,t,i){"use strict";function n(e){setTimeout(()=>{throw e},0)}i.d(t,"a",(function(){return n}))},NNAl:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("y2i3");t.SubjectSubscription=function(e){function t(t,i){e.call(this),this.subject=t,this.subscriber=i,this.closed=!1}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}},t}(s.Subscription)},NTcF:function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i("ffpz");t.AsyncScheduler=function(e){function t(i,n){void 0===n&&(n=s.Scheduler.now);var r=e.call(this,i,(function(){return t.delegate&&t.delegate!==r?t.delegate.now():n()}))||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return n(t,e),t.prototype.schedule=function(i,n,s){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(i,n,s):e.prototype.schedule.call(this,i,n,s)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}},t}(s.Scheduler)},Nvn3:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("fXoL");let s=(()=>{class e{constructor(){}initialize(e){if(!this.initialized){const t=document.createElement("script");t.innerHTML="!function(f,b,e,v,n,t,s)\n        {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n        n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n        if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n        n.queue=[];t=b.createElement(e);t.async=!0;\n        t.src=v;s=b.getElementsByTagName(e)[0];\n        s.parentNode.insertBefore(t,s)}(window, document,'script',\n        'https://connect.facebook.net/en_US/fbevents.js');",t.defer=!0,document.head.insertAdjacentElement("beforeend",t);const i=document.createElement("noscript"),n=document.createElement("img");n.height=1,n.width=1,n.style.display="none",n.src=`https://www.facebook.com/tr?id=${e}&ev=PageView&noscript=1`,i.append(n),document.head.insertAdjacentElement("beforeend",i),this.initialized=!0,fbq("init",e),fbq("track","PageView")}}writeEvent(e){this.initialized&&fbq("track",e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},NwwV:function(e,t,i){"use strict";t.isScheduler=function(e){return e&&"function"==typeof e.schedule}},"O/EN":function(e,t,i){"use strict";var n=i("8G9e"),s=i("cf1P");t.publishLast=function(){return function(e){return s.multicast(new n.AsyncSubject)(e)}}},OAkW:function(e,t,i){"use strict";t.subscribeToArray=function(e){return function(t){for(var i=0,n=e.length;i<n&&!t.closed;i++)t.next(e[i]);t.complete()}}},OIYi:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wd/R"))},"OMR/":function(e,t,i){"use strict";var n=i("SWOv");t.combineAll=function(e){return function(t){return t.lift(new n.CombineLatestOperator(e))}}},Oaa7:function(e,t,i){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},Ob0Z:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,i,n){var s="";if(t)switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return s.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i("wd/R"))},OjkT:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i("wd/R"))},Oxv6:function(e,t,i){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},PA2r:function(e,t,i){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],s=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,i,n){var s=e+" ";switch(i){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?s+(r(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(r(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(r(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(r(e)?"dny":"dn\xed"):s+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?s+(r(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(r(e)?"roky":"let"):s+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},PCq3:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);t.ObjectUnsubscribedError=s},"PFc+":function(e,t,i){"use strict";t.isFunction=function(e){return"function"==typeof e}},PYNo:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("fXoL"),s=i("IKD2"),r=i("tyNb");let o=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(){return!this.authService.loggedIn||(this.router.navigate([""]),!1)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(s.b),n.fc(r.e))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})()},PeUW:function(e,t,i){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,i){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t?e:"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i("wd/R"))},PpIw:function(e,t,i){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i("wd/R"))},PqYM:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("HDdC"),s=i("D0XW"),r=i("Y7HM"),o=i("z+Ro");function a(e=0,t,i){let a=-1;return Object(r.a)(t)?a=Number(t)<1?1:Number(t):Object(o.a)(t)&&(i=t),Object(o.a)(i)||(i=s.a),new n.a(t=>{const n=Object(r.a)(e)?e:+e-i.now();return i.schedule(c,n,{index:0,period:a,subscriber:t})})}function c(e){const{index:t,period:i,subscriber:n}=e;if(n.next(t),!n.closed){if(-1===i)return n.complete();e.index=t+1,this.schedule(e,i)}}},PxRv:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("8kg7");t.elementAt=function(e,t){return function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){if(this.index=e,this.defaultValue=t,e<0)throw new r.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.index,this.defaultValue))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.index=i,this.defaultValue=n}return n(t,e),t.prototype._next=function(e){0==this.index--&&(this.destination.next(e),this.destination.complete())},t.prototype._complete=function(){var e=this.destination;this.index>=0&&(void 0!==this.defaultValue?e.next(this.defaultValue):e.error(new r.ArgumentOutOfRangeError)),e.complete()},t}(s.Subscriber)},Q1FS:function(e,t,i){"use strict";var n=i("yx2s"),s=i("Xwq/"),r=i("zfKp"),o=i("9AGB"),a=i("n3uD");function c(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n=this.operator,r=s.toSubscriber(e,t,i);if(r.add(n?n.call(r,this.source):this.source||a.config.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),a.config.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),n.canReportError(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=c(t))((function(t,n){var s;s=i.subscribe((function(t){try{e(t)}catch(i){n(i),s&&s.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[r.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:o.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=c(e))((function(e,i){var n;t.subscribe((function(e){return n=e}),(function(e){return i(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}()},Q6nm:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("y2i3"),o=i("AZf1"),a=i("4WIM"),c=i("LWF9"),l=i("Sbdl");t.groupBy=function(e,t,i,n){return function(s){return s.lift(new u(e,t,i,n))}};var u=function(){function e(e,t,i,n){this.keySelector=e,this.elementSelector=t,this.durationSelector=i,this.subjectSelector=n}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),h=function(e){function t(t,i,n,s,r){e.call(this,t),this.keySelector=i,this.elementSelector=n,this.durationSelector=s,this.subjectSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}return n(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(i){return void this.error(i)}this._group(e,t)},t.prototype._group=function(e,t){var i=this.groups;i||(i=this.groups="string"==typeof t?new l.FastMap:new c.Map);var n,s=i.get(t);if(this.elementSelector)try{n=this.elementSelector(e)}catch(u){this.error(u)}else n=e;if(!s){s=this.subjectSelector?this.subjectSelector():new a.Subject,i.set(t,s);var r=new f(t,s,this);if(this.destination.next(r),this.durationSelector){var o=void 0;try{o=this.durationSelector(new f(t,s))}catch(u){return void this.error(u)}this.add(o.subscribe(new d(t,s,this)))}}s.closed||s.next(n)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach((function(t,i){t.error(e)})),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach((function(e,t){e.complete()})),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(s.Subscriber),d=function(e){function t(t,i,n){e.call(this,i),this.key=t,this.group=i,this.parent=n}return n(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(s.Subscriber),f=function(e){function t(t,i,n){e.call(this),this.key=t,this.groupSubject=i,this.refCountSubscription=n}return n(t,e),t.prototype._subscribe=function(e){var t=new r.Subscription,i=this.refCountSubscription,n=this.groupSubject;return i&&!i.closed&&t.add(new p(i)),t.add(n.subscribe(e)),t},t}(o.Observable);t.GroupedObservable=f;var p=function(e){function t(t){e.call(this),this.parent=t,t.count++}return n(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(r.Subscription)},QCIY:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("Re0n"),r=i("hut+"),o=i("1uGz"),a=i("9x29");t.delay=function(e,t){void 0===t&&(t=s.async);var i=r.isDate(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new c(i,t))}};var c=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))},e}(),l=function(e){function t(t,i,n){e.call(this,t),this.delay=i,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}return n(t,e),t.dispatch=function(e){for(var t=e.source,i=t.queue,n=e.scheduler,s=e.destination;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){var r=Math.max(0,i[0].time-n.now());this.schedule(e,r)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,i=new u(t.now()+this.delay,e);this.queue.push(i),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(a.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(a.Notification.createComplete())},t}(o.Subscriber),u=function(){return function(e,t){this.time=e,this.notification=t}}()},"QTu/":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("r4Kj"),s=i("fXoL");let r=(()=>{class e{constructor(e){this.cfgService=e}initialize(){if(this.deleteCookieIfNeeded(),!document.getElementById("optional-cookies-css")){const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.7.2/dist/cookieconsent.css",e.id="optional-cookies-css",document.body.insertAdjacentElement("beforeend",e)}if(!document.getElementById("optional-cookies-loader")){const e=document.createElement("script");e.src="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.7.2/dist/cookieconsent.js",e.id="optional-cookies-loader",e.defer=!0,document.body.insertAdjacentElement("beforeend",e)}document.getElementById("optional-cookies-script")||this.createScript()}get cfgJson(){return this.cfgService.config}createScript(){setTimeout(()=>{const e=document.createElement("script");e.src="https://resources.betx.bet/scripts/optional-cookies-web.js?v="+(new Date).getTime(),e.id="optional-cookies-script",e.defer=!0,document.body.insertAdjacentElement("beforeend",e)},500)}onLanguageChange(){if(this.cfgJson.OptionalCookies){const e=document.getElementById("optional-cookies-script");e&&(e.remove(),this.createScript())}}deleteCookieIfNeeded(){const e=localStorage.getItem("app:cc_cookie_delete_cnt");if(!e||parseInt(e,10)<1){document.cookie="cc_cookie=; path=/; domain=."+location.hostname+"; expires=Thu, 01 Jan 1970 00:00:00 GMT";const t=e?parseInt(e,10):0;localStorage.setItem("app:cc_cookie_delete_cnt",String(t+1))}}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"QgX+":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("JPLv"),s=i("fXoL"),r=i("tyNb");let o=(()=>{class e{constructor(e,t){this.config=e,this.router=t}canActivate(e){return!!this.config.checkConfig(e.data.checker.Key)||(this.router.navigate([""]),!1)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.a),s.fc(r.e))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})()},Qj4J:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(i("wd/R"))},R0Ic:function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return s})),i.d(t,"d",(function(){return m})),i.d(t,"e",(function(){return a})),i.d(t,"f",(function(){return c})),i.d(t,"g",(function(){return d})),i.d(t,"h",(function(){return l})),i.d(t,"i",(function(){return h})),i.d(t,"j",(function(){return u})),i.d(t,"k",(function(){return f})),i.d(t,"l",(function(){return o})),i.d(t,"m",(function(){return g})),i.d(t,"n",(function(){return _}));class n{}class s{}const r="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function c(e,t=null){return{type:3,steps:e,options:t}}function l(e,t=null){return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function h(e,t,i){return{type:0,name:e,styles:t,options:i}}function d(e){return{type:5,steps:e}}function f(e,t,i=null){return{type:1,expr:e,animation:t,options:i}}function p(e){Promise.resolve(null).then(e)}class m{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){p(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class g{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,n=0;const s=this.players.length;0==s?p(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==s&&this._onFinish()}),e.onDestroy(()=>{++i==s&&this._onDestroy()}),e.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const i=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(i)})}getPosition(){let e=0;return this.players.forEach(t=>{const i=t.getPosition();e=Math.min(i,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const _="!"},R7wr:function(e,t,i){"use strict";t.isDate=function(e){return e instanceof Date&&!isNaN(+e)}},RAwQ:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?s[i][0]:s[i][1]}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},RGvf:function(e,t,i){"use strict";t.isPromise=function(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},Re0n:function(e,t,i){"use strict";var n=i("g2Fv"),s=i("FXL7");t.async=new s.AsyncScheduler(n.AsyncAction)},Rm1J:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("+fDQ"),r=i("G2HO"),o=i("9jZZ"),a=i("Irel");t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return 1===e.length&&r.isArray(e[0])&&(e=e[0]),function(t){return t.lift(new c(e))}},t.onErrorResumeNextStatic=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var i=null;return 1===e.length&&r.isArray(e[0])&&(e=e[0]),i=e.shift(),new s.FromObservable(i,null).lift(new c(e))};var c=function(){function e(e){this.nextSources=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.nextSources))},e}(),l=function(e){function t(t,i){e.call(this,t),this.destination=t,this.nextSources=i}return n(t,e),t.prototype.notifyError=function(e,t){this.subscribeToNextSource()},t.prototype.notifyComplete=function(e){this.subscribeToNextSource()},t.prototype._error=function(e){this.subscribeToNextSource()},t.prototype._complete=function(){this.subscribeToNextSource()},t.prototype.subscribeToNextSource=function(){var e=this.nextSources.shift();e?this.add(a.subscribeToResult(this,e)):this.destination.complete()},t}(o.OuterSubscriber)},RnhZ:function(e,t,i){var n={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-SG":"zavE","./en-SG.js":"zavE","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function s(e){var t=r(e);return i(t)}function r(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=r,e.exports=s,s.id="RnhZ"},S6ln:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},SFxW:function(e,t,i){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,i){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},SQLu:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("zKHA"),r=i("AJP0"),o=i("Irel"),a=i("9jZZ");t.mergeScan=function(e,t,i){return void 0===i&&(i=Number.POSITIVE_INFINITY),function(n){return n.lift(new c(e,t,i))}};var c=function(){function e(e,t,i){this.accumulator=e,this.seed=t,this.concurrent=i}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.accumulator,this.seed,this.concurrent))},e}();t.MergeScanOperator=c;var l=function(e){function t(t,i,n,s){e.call(this,t),this.accumulator=i,this.acc=n,this.concurrent=s,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return n(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.index++,i=s.tryCatch(this.accumulator)(this.acc,e);i===r.errorObject?this.destination.error(r.errorObject.e):(this.active++,this._innerSub(i,e,t))}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,i){this.add(o.subscribeToResult(this,e,t,i))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.destination;this.acc=t,this.hasValue=!0,r.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(a.OuterSubscriber);t.MergeScanSubscriber=l},SWOv:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("rVFa"),r=i("G2HO"),o=i("9jZZ"),a=i("Irel"),c={};t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var i=null;return"function"==typeof e[e.length-1]&&(i=e.pop()),1===e.length&&r.isArray(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(new s.ArrayObservable([t].concat(e)),new l(i))}};var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project))},e}();t.CombineLatestOperator=l;var u=function(e){function t(t,i){e.call(this,t),this.project=i,this.active=0,this.values=[],this.observables=[]}return n(t,e),t.prototype._next=function(e){this.values.push(c),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var i=0;i<t;i++){var n=e[i];this.add(a.subscribeToResult(this,n,n,i))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.values,o=this.toRespond?r[i]===c?--this.toRespond:this.toRespond:0;r[i]=t,0===o&&(this.project?this._tryProject(r):this.destination.next(r.slice()))},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(i){return void this.destination.error(i)}this.destination.next(t)},t}(o.OuterSubscriber);t.CombineLatestSubscriber=u},SX7S:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.skipWhile=function(e){return function(t){return t.lift(new r(e))}};var r=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate))},e}(),o=function(e){function t(t,i){e.call(this,t),this.predicate=i,this.skipping=!0,this.index=0}return n(t,e),t.prototype._next=function(e){var t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)},t.prototype.tryCallPredicate=function(e){try{var t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(i){this.destination.error(i)}},t}(s.Subscriber)},SatO:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wd/R"))},Sbdl:function(e,t,i){"use strict";t.FastMap=function(){function e(){this.values={}}return e.prototype.delete=function(e){return this.values[e]=null,!0},e.prototype.set=function(e,t){return this.values[e]=t,this},e.prototype.get=function(e){return this.values[e]},e.prototype.forEach=function(e,t){var i=this.values;for(var n in i)i.hasOwnProperty(n)&&null!==i[n]&&e.call(t,i[n],n)},e.prototype.clear=function(){this.values={}},e}()},SeVD:function(e,t,i){"use strict";var n=i("ngJS"),s=i("NJ4a"),r=i("Lhse"),o=i("kJWO"),a=i("I55L"),c=i("c2HN"),l=i("XoHu");i.d(t,"a",(function(){return u}));const u=e=>{if(e&&"function"==typeof e[o.a])return u=e,e=>{const t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(n.a)(e);if(Object(c.a)(e))return i=e,e=>(i.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s.a),e);if(e&&"function"==typeof e[r.a])return t=e,e=>{const i=t[r.a]();for(;;){const t=i.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof i.return&&e.add(()=>{i.return&&i.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,i,u}},SpAZ:function(e,t,i){"use strict";function n(e){return e}i.d(t,"a",(function(){return n}))},Tb5M:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("gRDe");t.ignoreElements=function(){return function(e){return e.lift(new o)}};var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(){e.apply(this,arguments)}return n(t,e),t.prototype._next=function(e){r.noop()},t}(s.Subscriber)},U9ZV:function(e,t,i){"use strict";function n(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function s(e){return"string"==typeof e}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function o(e){return e&&e.getTime&&!isNaN(e.getTime())}function a(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e){return void 0===e}function f(e){const t=+e;let i=0;return 0!==t&&isFinite(t)&&(i=n(t)),i}i.d(t,"a",(function(){return Qt})),i.d(t,"b",(function(){return et})),i.d(t,"c",(function(){return ei})),i.d(t,"d",(function(){return Se})),i.d(t,"e",(function(){return wt})),i.d(t,"f",(function(){return C})),i.d(t,"g",(function(){return j})),i.d(t,"h",(function(){return L})),i.d(t,"i",(function(){return tt})),i.d(t,"j",(function(){return x})),i.d(t,"k",(function(){return Lt})),i.d(t,"l",(function(){return l})),i.d(t,"m",(function(){return jt})),i.d(t,"n",(function(){return r})),i.d(t,"o",(function(){return o})),i.d(t,"p",(function(){return It})),i.d(t,"q",(function(){return I})),i.d(t,"r",(function(){return At})),i.d(t,"s",(function(){return R})),i.d(t,"t",(function(){return A})),i.d(t,"u",(function(){return N})),i.d(t,"v",(function(){return Ct})),i.d(t,"w",(function(){return be})),i.d(t,"x",(function(){return _e})),i.d(t,"y",(function(){return we})),i.d(t,"z",(function(){return Ot})),i.d(t,"A",(function(){return ni}));const p={},m={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function g(e,t){const i=e.toLowerCase();let n=e;i in m&&(n=m[i]),p[i]=p[`${i}s`]=p[t]=n}function _(e){return s(e)?p[e]||p[e.toLowerCase()]:void 0}function b(e,t,i){const n=`${Math.abs(e)}`;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}let y={},v={};const F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function k(e,t,i,n){e&&(v[e]=n),t&&(v[t[0]]=function(){return b(n.apply(null,arguments),t[1],t[2])}),i&&(v[i]=function(t,i){return i.locale.ordinal(n.apply(null,arguments),e)})}function w(e,t,i){const n=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(n.getUTCFullYear())&&n.setUTCFullYear(e),n}function S(e,t=0,i=1,n=0,s=0,r=0,o=0){const a=new Date(e,t,i,n,s,r,o);return e<100&&e>=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function T(e,t=!1){return t?e.getUTCHours():e.getHours()}function D(e,t=!1){return t?e.getUTCMinutes():e.getMinutes()}function E(e,t=!1){return t?e.getUTCSeconds():e.getSeconds()}function M(e,t=!1){return t?e.getUTCMilliseconds():e.getMilliseconds()}function C(e,t=!1){return t?e.getUTCDay():e.getDay()}function O(e,t=!1){return t?e.getUTCDate():e.getDate()}function x(e,t=!1){return t?e.getUTCMonth():e.getMonth()}function L(e,t=!1){return t?e.getUTCFullYear():e.getFullYear()}function j(e){return S(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds())}function I(e,t){return e.getDay()===t}function A(e,t){return!(!e||!t)&&N(e,t)&&x(e)===x(t)}function N(e,t){return!(!e||!t)&&L(e)===L(t)}function R(e,t){return!(!e||!t)&&N(e,t)&&A(e,t)&&O(e)===O(t)}const P=/\d/,B=/\d\d/,Y=/\d{3}/,H=/\d{4}/,V=/[+-]?\d{6}/,U=/\d\d?/,W=/\d\d\d\d?/,z=/\d\d\d\d\d\d?/,$=/\d{1,3}/,G=/\d{1,4}/,q=/[+-]?\d{1,6}/,K=/\d+/,J=/[+-]?\d+/,Z=/Z|[+-]\d\d(?::?\d\d)?/gi,X=/[+-]?\d+(\.\d{1,3})?/,Q=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ee={};function te(e,t,i){ee[e]=a(t)?t:function(e,n){return e&&i?i:t}}function ie(e,t){return u(ee,e)?ee[e](!1,t):new RegExp(ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(e,t,i,n,s)=>t||i||n||s)))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const se={};function re(e,t){const i=s(e)?[e]:e;let n=t;if(c(t)&&(n=function(e,i,n){return i[t]=f(e),n}),l(i)&&a(n)){let e;for(e=0;e<i.length;e++)se[i[e]]=n}}function oe(e,t){re(e,(function(e,i,n,s){return n._w=n._w||{},t(e,n._w,n,s)}))}function ae(e,t,i){return null!=t&&u(se,e)&&se[e](t,i._a,i,e),i}const ce={};function le(e,t){ce[e]=t}function ue(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function he(e,t){return t.locale.getFullYear?t.locale.getFullYear(e,t.isUTC).toString():L(e,t.isUTC).toString()}function de(e){return f(e)+(f(e)>68?1900:2e3)}function fe(e){return pe(e)?366:365}function pe(e){return e%4==0&&e%100!=0||e%400==0}function me(e,t){if(isNaN(e)||isNaN(t))return NaN;const i=(t%12+12)%12;return 1===i?pe(e+(t-i)/12)?29:28:31-i%7%2}const ge={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function _e(e,t){const i=Object.assign({},ge,t),n=e.getFullYear()+(i.year||0),s=e.getMonth()+(i.month||0);let r=e.getDate()+(i.day||0);return i.month&&!i.day&&(r=Math.min(r,me(n,s))),S(n,s,r,e.getHours()+(i.hour||0),e.getMinutes()+(i.minute||0),e.getSeconds()+(i.seconds||0))}function be(e,t){return S(ye(e.getFullYear(),t.year),ye(e.getMonth(),t.month),1,ye(e.getHours(),t.hour),ye(e.getMinutes(),t.minute),ye(e.getSeconds(),t.seconds),ye(e.getMilliseconds(),t.milliseconds))}function ye(e,t){return c(t)?t:e}function ve(e,t,i){const n=Math.min(O(e),me(L(e),t));return i?e.setUTCMonth(t,n):e.setMonth(t,n),e}function Fe(e,t,i){return i?e.setUTCDate(t):e.setDate(t),e}function ke(e){return new Date(e.getTime())}function we(e,t,i){const n=ke(e);switch(t){case"year":ve(n,0,i);case"quarter":case"month":Fe(n,1,i);case"week":case"isoWeek":case"day":case"date":!function(e,t,i){i?e.setUTCHours(0):e.setHours(0)}(n,0,i);case"hours":!function(e,t,i){i?e.setUTCMinutes(0):e.setMinutes(0)}(n,0,i);case"minutes":!function(e,t,i){i?e.setUTCSeconds(0):e.setSeconds(0)}(n,0,i);case"seconds":!function(e,t,i){i?e.setUTCMilliseconds(0):e.setMilliseconds(0)}(n,0,i)}return"week"===t&&function(e,t,i={}){Ht(e,0-zt(e,i.locale,i.isUTC),"day")}(n,0,{isUTC:i}),"isoWeek"===t&&function(e,t,i={}){const n=function(e,t=tt()){return s(e)?t.weekdaysParse(e)%7||7:c(e)&&isNaN(e)?null:e}(1,i.locale);Ut(e,Wt(e)%7?n:n-7)}(n),"quarter"===t&&ve(n,3*Math.floor(x(n,i)/3),i),n}function Se(e,t,i){let n=t;return"date"===n&&(n="day"),function(e,t,i,n){return Vt(e,Pt(1,"milliseconds"),-1,n)}(Ht(we(e,n,i),1,"isoWeek"===n?"week":n,i),0,0,i)}function Te(e,t){const i=+we(e,"day",t),n=+we(e,"year",t);return Math.round((i-n)/864e5)+1}function De(e,t,i){const n=t-i+7;return-(w(e,0,n).getUTCDay()-t+7)%7+n-1}function Ee(e,t,i,n){const s=De(L(e,n),t,i),r=Math.floor((Te(e,n)-s-1)/7)+1;let o,a;return r<1?(a=L(e,n)-1,o=r+Me(a,t,i)):r>Me(L(e,n),t,i)?(o=r-Me(L(e,n),t,i),a=L(e,n)+1):(a=L(e,n),o=r),{week:o,year:a}}function Me(e,t,i){const n=De(e,t,i),s=De(e+1,t,i);return(fe(e)-n+s)/7}const Ce=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ae={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ne=Q,Re=Q;class Pe{constructor(e){e&&this.set(e)}set(e){let t;for(t in e){if(!e.hasOwnProperty(t))continue;const i=e[t];this[a(i)?t:`_${t}`]=i}this._config=e}calendar(e,t,i){const n=this._calendar[e]||this._calendar.sameElse;return a(n)?n.call(null,t,i):n}longDateFormat(e){const t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}get invalidDate(){return this._invalidDate}set invalidDate(e){this._invalidDate=e}ordinal(e,t){return this._ordinal.replace("%d",e.toString(10))}preparse(e,t){return e}getFullYear(e,t=!1){return L(e,t)}postformat(e){return e}relativeTime(e,t,i,n){const s=this._relativeTime[i];return a(s)?s(e,t,i,n):s.replace(/%d/i,e.toString(10))}pastFuture(e,t){const i=this._relativeTime[e>0?"future":"past"];return a(i)?i(t):i.replace(/%s/i,t)}months(e,t,i=!1){if(!e)return l(this._months)?this._months:this._months.standalone;if(l(this._months))return this._months[x(e,i)];const n=(this._months.isFormat||Ce).test(t)?"format":"standalone";return this._months[n][x(e,i)]}monthsShort(e,t,i=!1){if(!e)return l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(l(this._monthsShort))return this._monthsShort[x(e,i)];const n=Ce.test(t)?"format":"standalone";return this._monthsShort[n][x(e,i)]}monthsParse(e,t,i){let n,s,r;if(this._monthsParseExact)return this.handleMonthStrictParse(e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=new Date(Date.UTC(2e3,r)),i&&!this._longMonthsParse[r]){const e=this.months(n,"",!0).replace(".",""),t=this.monthsShort(n,"",!0).replace(".","");this._longMonthsParse[r]=new RegExp(`^${e}$`,"i"),this._shortMonthsParse[r]=new RegExp(`^${t}$`,"i")}if(i||this._monthsParse[r]||(s=`^${this.months(n,"",!0)}|^${this.monthsShort(n,"",!0)}`,this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(i&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}}monthsRegex(e){return this._monthsParseExact?(u(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(e){return this._monthsParseExact?(u(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}week(e,t){return Ee(e,this._week.dow,this._week.doy,t).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(e,t,i){if(!e)return l(this._weekdays)?this._weekdays:this._weekdays.standalone;if(l(this._weekdays))return this._weekdays[C(e,i)];const n=this._weekdays.isFormat.test(t)?"format":"standalone";return this._weekdays[n][C(e,i)]}weekdaysMin(e,t,i){return e?this._weekdaysMin[C(e,i)]:this._weekdaysMin}weekdaysShort(e,t,i){return e?this._weekdaysShort[C(e,i)]:this._weekdaysShort}weekdaysParse(e,t,i){let n,s;if(this._weekdaysParseExact)return this.handleWeekStrictParse(e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){const r=Ut(new Date(Date.UTC(2e3,1)),n,null,!0);if(i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp(`^${this.weekdays(r,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[n]=new RegExp(`^${this.weekdaysShort(r,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[n]=new RegExp(`^${this.weekdaysMin(r,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[n]||(s=`^${this.weekdays(r,"",!0)}|^${this.weekdaysShort(r,"",!0)}|^${this.weekdaysMin(r,"",!0)}`,this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),!(l(this._fullWeekdaysParse)&&l(this._shortWeekdaysParse)&&l(this._minWeekdaysParse)&&l(this._weekdaysParse)))return;if(i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}}weekdaysRegex(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Q),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Q),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Q),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(e){return"p"===e.toLowerCase().charAt(0)}meridiem(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}formatLongDate(e){this._longDateFormat=this._longDateFormat?this._longDateFormat:Ae;const t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,e=>e.slice(1)),this._longDateFormat[e])}handleMonthStrictParse(e,t,i){const n=e.toLocaleLowerCase();let s,r,o;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)o=new Date(2e3,s),this._shortMonthsParse[s]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?(r=this._shortMonthsParse.indexOf(n),-1!==r?r:null):(r=this._longMonthsParse.indexOf(n),-1!==r?r:null):"MMM"===t?(r=this._shortMonthsParse.indexOf(n),-1!==r?r:(r=this._longMonthsParse.indexOf(n),-1!==r?r:null)):(r=this._longMonthsParse.indexOf(n),-1!==r?r:(r=this._shortMonthsParse.indexOf(n),-1!==r?r:null))}handleWeekStrictParse(e,t,i){let n;const s=e.toLocaleLowerCase();if(!this._weekdaysParse){let e;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e){const t=Ut(new Date(Date.UTC(2e3,1)),e,null,!0);this._minWeekdaysParse[e]=this.weekdaysMin(t).toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(t).toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(t,"").toLocaleLowerCase()}}if(l(this._weekdaysParse)&&l(this._shortWeekdaysParse)&&l(this._minWeekdaysParse))return i?"dddd"===t?(n=this._weekdaysParse.indexOf(s),-1!==n?n:null):"ddd"===t?(n=this._shortWeekdaysParse.indexOf(s),-1!==n?n:null):(n=this._minWeekdaysParse.indexOf(s),-1!==n?n:null):"dddd"===t?(n=this._weekdaysParse.indexOf(s),-1!==n?n:(n=this._shortWeekdaysParse.indexOf(s),-1!==n?n:(n=this._minWeekdaysParse.indexOf(s),-1!==n?n:null))):"ddd"===t?(n=this._shortWeekdaysParse.indexOf(s),-1!==n?n:(n=this._weekdaysParse.indexOf(s),-1!==n?n:(n=this._minWeekdaysParse.indexOf(s),-1!==n?n:null))):(n=this._minWeekdaysParse.indexOf(s),-1!==n?n:(n=this._weekdaysParse.indexOf(s),-1!==n?n:(n=this._shortWeekdaysParse.indexOf(s),-1!==n?n:null)))}computeMonthsParse(){const e=[],t=[],i=[];let n,s;for(s=0;s<12;s++)n=new Date(2e3,s),e.push(this.monthsShort(n,"")),t.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(e.sort(Be),t.sort(Be),i.sort(Be),s=0;s<12;s++)e[s]=ne(e[s]),t[s]=ne(t[s]);for(s=0;s<24;s++)i[s]=ne(i[s]);this._monthsRegex=new RegExp(`^(${i.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}computeWeekdaysParse(){const e=[],t=[],i=[],n=[];let s;for(s=0;s<7;s++){const r=Ut(new Date(Date.UTC(2e3,1)),s,null,!0),o=this.weekdaysMin(r),a=this.weekdaysShort(r),c=this.weekdays(r);e.push(o),t.push(a),i.push(c),n.push(o),n.push(a),n.push(c)}for(e.sort(Be),t.sort(Be),i.sort(Be),n.sort(Be),s=0;s<7;s++)t[s]=ne(t[s]),i[s]=ne(i[s]),n[s]=ne(n[s]);this._weekdaysRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${i.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}}function Be(e,t){return t.length-e.length}const Ye={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:Ae,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:xe,week:{dow:0,doy:6},weekdays:Le,weekdaysMin:Ie,weekdaysShort:je,meridiemParse:/[ap]\.?m?\.?/i};function He(e,t,i){const n=Math.min(e.length,t.length),s=Math.abs(e.length-t.length);let r,o=0;for(r=0;r<n;r++)(i&&e[r]!==t[r]||!i&&f(e[r])!==f(t[r]))&&o++;return o+s}function Ve(e,t){k(null,[e,e.length,!1],null,t)}function Ue(e,t){return ze(e,t.locale).toString()}function We(e){return $e(e).toString()}function ze(e,t=tt(),i){return Ee(e,t.firstDayOfWeek(),t.firstDayOfYear(),i).year}function $e(e,t){return Ee(e,1,4,t).year}function Ge(e,t){k(e,null,null,(function(e,i){let n=function(e,t={}){return t._isUTC?t._offset||0:function(e){return 15*-Math.round(e.getTimezoneOffset()/15)}(e)}(e,{_isUTC:i.isUTC,_offset:i.offset}),s="+";return n<0&&(n=-n,s="-"),s+b(~~(n/60),2)+t+b(~~n%60,2)}))}const qe=/([\+\-]|\d\d)/gi,Ke={},Je={};let Ze;function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e,t){let i;return e&&(d(t)?i=tt(e):s(e)&&(i=et(e,t)),i&&(Ze=i)),Ze&&Ze._abbr}function et(e,t){if(null===t)return delete Ke[e],Ze=tt("en"),null;if(!t)return;let i=Ye;if(t.abbr=e,null!=t.parentLocale){if(null==Ke[t.parentLocale])return Je[t.parentLocale]||(Je[t.parentLocale]=[]),Je[t.parentLocale].push({name:e,config:t}),null;i=Ke[t.parentLocale]._config}return Ke[e]=new Pe(function(e,t){const i=Object.assign({},e);for(const n in t)u(t,n)&&(h(e[n])&&h(t[n])?(i[n]={},Object.assign(i[n],e[n]),Object.assign(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(const n in e)u(e,n)&&!u(t,n)&&h(e[n])&&(i[n]=Object.assign({},i[n]));return i}(i,t)),Je[e]&&Je[e].forEach((function(e){et(e.name,e.config)})),Qe(e),Ke[e]}function tt(e){return Ke.en||(Qe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(e){const t=e%10;return e+(1===f(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),k("w",["ww",2,!1],"wo",(function(e,t){return function(e,t=tt(),i){return t.week(e,void 0)}(e,t.locale).toString(10)})),k("W",["WW",2,!1],"Wo",(function(e){return function(e,t){return Ee(e,1,4,void 0).week}(e).toString(10)})),g("week","w"),g("isoWeek","W"),le("week",5),le("isoWeek",5),te("w",U),te("ww",U,B),te("W",U),te("WW",U,B),oe(["w","ww","W","WW"],(function(e,t,i,n){return t[n.substr(0,1)]=f(e),i})),k(null,["gg",2,!1],null,(function(e,t){return(ze(e,t.locale)%100).toString()})),k(null,["GG",2,!1],null,(function(e){return($e(e)%100).toString()})),Ve("gggg",Ue),Ve("ggggg",Ue),Ve("GGGG",We),Ve("GGGGG",We),g("weekYear","gg"),g("isoWeekYear","GG"),le("weekYear",1),le("isoWeekYear",1),te("G",J),te("g",J),te("GG",U,B),te("gg",U,B),te("GGGG",G,H),te("gggg",G,H),te("GGGGG",q,V),te("ggggg",q,V),oe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){return t[n.substr(0,2)]=f(e),i})),oe(["gg","GG"],(function(e,t,i,n){return t[n]=de(e),i})),k("Y",null,null,(function(e,t){const i=L(e,t.isUTC);return i<=9999?i.toString(10):`+${i}`})),k(null,["YY",2,!1],null,(function(e,t){return(L(e,t.isUTC)%100).toString(10)})),k(null,["YYYY",4,!1],null,he),k(null,["YYYYY",5,!1],null,he),k(null,["YYYYYY",6,!0],null,he),g("year","y"),le("year",1),te("Y",J),te("YY",U,B),te("YYYY",G,H),te("YYYYY",q,V),te("YYYYYY",q,V),re(["YYYYY","YYYYYY"],0),re("YYYY",(function(e,t,i){return t[0]=2===e.length?de(e):f(e),i})),re("YY",(function(e,t,i){return t[0]=de(e),i})),re("Y",(function(e,t,i){return t[0]=parseInt(e,10),i})),k("z",null,null,(function(e,t){return t.isUTC?"UTC":""})),k("zz",null,null,(function(e,t){return t.isUTC?"Coordinated Universal Time":""})),k("X",null,null,(function(e){return function(e){return Math.floor(e.valueOf()/1e3)}(e).toString(10)})),k("x",null,null,(function(e){return e.valueOf().toString(10)})),te("x",J),te("X",X),re("X",(function(e,t,i){return i._d=new Date(1e3*parseFloat(e)),i})),re("x",(function(e,t,i){return i._d=new Date(f(e)),i})),k("s",["ss",2,!1],null,(function(e,t){return E(e,t.isUTC).toString(10)})),g("second","s"),le("second",15),te("s",U),te("ss",U,B),re(["s","ss"],5),k("Q",null,"Qo",(function(e,t){return function(e,t=!1){return Math.ceil((x(e,t)+1)/3)}(e,t.isUTC).toString(10)})),g("quarter","Q"),le("quarter",7),te("Q",P),re("Q",(function(e,t,i){return t[1]=3*(f(e)-1),i})),Ge("Z",":"),Ge("ZZ",""),te("Z",Z),te("ZZ",Z),re(["Z","ZZ"],(function(e,t,i){return i._useUTC=!0,i._tzm=function(e,t){const i=(t||"").match(e);if(null===i)return null;const n=i[i.length-1].match(qe)||["-","0","0"],s=60*parseInt(n[1],10)+f(n[2]);return 0===s?0:"+"===n[0]?s:-s}(Z,e),i})),k("M",["MM",2,!1],"Mo",(function(e,t){return(x(e,t.isUTC)+1).toString(10)})),k("MMM",null,null,(function(e,t){return t.locale.monthsShort(e,t.format,t.isUTC)})),k("MMMM",null,null,(function(e,t){return t.locale.months(e,t.format,t.isUTC)})),g("month","M"),le("month",8),te("M",U),te("MM",U,B),te("MMM",(function(e,t){return t.monthsShortRegex(e)})),te("MMMM",(function(e,t){return t.monthsRegex(e)})),re(["M","MM"],(function(e,t,i){return t[1]=f(e)-1,i})),re(["MMM","MMMM"],(function(e,t,i,n){const s=i._locale.monthsParse(e,n,i._strict);return null!=s?t[1]=s:ue(i).invalidMonth=!!e,i})),k("m",["mm",2,!1],null,(function(e,t){return D(e,t.isUTC).toString(10)})),g("minute","m"),le("minute",14),te("m",U),te("mm",U,B),re(["m","mm"],4),function(){let e;for(k("S",null,null,(function(e,t){return(~~(M(e,t.isUTC)/100)).toString(10)})),k(null,["SS",2,!1],null,(function(e,t){return(~~(M(e,t.isUTC)/10)).toString(10)})),k(null,["SSS",3,!1],null,(function(e,t){return M(e,t.isUTC).toString(10)})),k(null,["SSSS",4,!1],null,(function(e,t){return(10*M(e,t.isUTC)).toString(10)})),k(null,["SSSSS",5,!1],null,(function(e,t){return(100*M(e,t.isUTC)).toString(10)})),k(null,["SSSSSS",6,!1],null,(function(e,t){return(1e3*M(e,t.isUTC)).toString(10)})),k(null,["SSSSSSS",7,!1],null,(function(e,t){return(1e4*M(e,t.isUTC)).toString(10)})),k(null,["SSSSSSSS",8,!1],null,(function(e,t){return(1e5*M(e,t.isUTC)).toString(10)})),k(null,["SSSSSSSSS",9,!1],null,(function(e,t){return(1e6*M(e,t.isUTC)).toString(10)})),g("millisecond","ms"),le("millisecond",16),te("S",$,P),te("SS",$,B),te("SSS",$,Y),e="SSSS";e.length<=9;e+="S")te(e,K);function t(e,t,i){return t[6]=f(1e3*parseFloat(`0.${e}`)),i}for(e="S";e.length<=9;e+="S")re(e,t)}(),function(){function e(e,t){return T(e,t)%12||12}function t(e,t){k(e,null,null,(function(e,i){return i.locale.meridiem(T(e,i.isUTC),D(e,i.isUTC),t)}))}function i(e,t){return t._meridiemParse}k("H",["HH",2,!1],null,(function(e,t){return T(e,t.isUTC).toString(10)})),k("h",["hh",2,!1],null,(function(t,i){return e(t,i.isUTC).toString(10)})),k("k",["kk",2,!1],null,(function(e,t){return function(e,t){return T(e,t)||24}(e,t.isUTC).toString(10)})),k("hmm",null,null,(function(t,i){return`${e(t,i.isUTC)}${b(D(t,i.isUTC),2)}`})),k("hmmss",null,null,(function(t,i){return`${e(t,i.isUTC)}${b(D(t,i.isUTC),2)}${b(E(t,i.isUTC),2)}`})),k("Hmm",null,null,(function(e,t){return`${T(e,t.isUTC)}${b(D(e,t.isUTC),2)}`})),k("Hmmss",null,null,(function(e,t){return`${T(e,t.isUTC)}${b(D(e,t.isUTC),2)}${b(E(e,t.isUTC),2)}`})),t("a",!0),t("A",!1),g("hour","h"),le("hour",13),te("a",i),te("A",i),te("H",U),te("h",U),te("k",U),te("HH",U,B),te("hh",U,B),te("kk",U,B),te("hmm",W),te("hmmss",z),te("Hmm",W),te("Hmmss",z),re(["H","HH"],3),re(["k","kk"],(function(e,t,i){const n=f(e);return t[3]=24===n?0:n,i})),re(["a","A"],(function(e,t,i){return i._isPm=i._locale.isPM(e),i._meridiem=e,i})),re(["h","hh"],(function(e,t,i){return t[3]=f(e),ue(i).bigHour=!0,i})),re("hmm",(function(e,t,i){const n=e.length-2;return t[3]=f(e.substr(0,n)),t[4]=f(e.substr(n)),ue(i).bigHour=!0,i})),re("hmmss",(function(e,t,i){const n=e.length-4,s=e.length-2;return t[3]=f(e.substr(0,n)),t[4]=f(e.substr(n,2)),t[5]=f(e.substr(s)),ue(i).bigHour=!0,i})),re("Hmm",(function(e,t,i){const n=e.length-2;return t[3]=f(e.substr(0,n)),t[4]=f(e.substr(n)),i})),re("Hmmss",(function(e,t,i){const n=e.length-4,s=e.length-2;return t[3]=f(e.substr(0,n)),t[4]=f(e.substr(n,2)),t[5]=f(e.substr(s)),i}))}(),k("DDD",["DDDD",3,!1],"DDDo",(function(e){return Te(e).toString(10)})),g("dayOfYear","DDD"),le("dayOfYear",4),te("DDD",$),te("DDDD",Y),re(["DDD","DDDD"],(function(e,t,i){return i._dayOfYear=f(e),i})),k("d",null,"do",(function(e,t){return C(e,t.isUTC).toString(10)})),k("dd",null,null,(function(e,t){return t.locale.weekdaysMin(e,t.format,t.isUTC)})),k("ddd",null,null,(function(e,t){return t.locale.weekdaysShort(e,t.format,t.isUTC)})),k("dddd",null,null,(function(e,t){return t.locale.weekdays(e,t.format,t.isUTC)})),k("e",null,null,(function(e,t){return zt(e,t.locale,t.isUTC).toString(10)})),k("E",null,null,(function(e,t){return function(e,t){return C(e,t)||7}(e,t.isUTC).toString(10)})),g("day","d"),g("weekday","e"),g("isoWeekday","E"),le("day",11),le("weekday",11),le("isoWeekday",11),te("d",U),te("e",U),te("E",U),te("dd",(function(e,t){return t.weekdaysMinRegex(e)})),te("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),te("dddd",(function(e,t){return t.weekdaysRegex(e)})),oe(["dd","ddd","dddd"],(function(e,t,i,n){const s=i._locale.weekdaysParse(e,n,i._strict);return null!=s?t.d=s:ue(i).invalidWeekday=!!e,i})),oe(["d","e","E"],(function(e,t,i,n){return t[n]=f(e),i})),k("D",["DD",2,!1],"Do",(function(e,t){return O(e,t.isUTC).toString(10)})),g("date","D"),le("date",9),te("D",U),te("DD",U,B),te("Do",(function(e,t){return t._dayOfMonthOrdinalParse||t._ordinalParse})),re(["D","DD"],2),re("Do",(function(e,t,i){return t[2]=f(e.match(U)[0]),i}))),e?function(e){let t,i,n=0;for(;n<e.length;){const r=Xe(e[n]).split("-");let o=r.length;for(t=Xe(e[n+1]),t=t?t.split("-"):null;o>0;){if(s=r.slice(0,o).join("-"),Ke[s]||console.error(`Khronos locale error: please load locale "${s}" before using it`),i=Ke[s],i)return i;if(t&&t.length>=o&&He(r,t,!0)>=o-1)break;o--}n++}var s;return null}(l(e)?e:[e]):Ze}const it=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],nt=it.reduce((e,t)=>(e[t]=!0,e),{});function st(e){return e<0?Math.floor(e):Math.ceil(e)}function rt(e){return 4800*e/146097}function ot(e){return 146097*e/4800}let at=Math.round;function ct(e,t,i,n,s){return s.relativeTime(t||1,!!i,e,n)}class lt{constructor(e,t={}){this._data={},this._locale=tt(),this._locale=t&&t._locale||tt();const i=e.year||0,s=e.quarter||0,r=e.month||0,o=e.week||0,a=e.day||0,c=e.hours||0,l=e.minutes||0,u=e.seconds||0,h=e.milliseconds||0;return this._isValid=function(e){if(Object.keys(e).some(t=>t in nt&&null===e[t]||isNaN(e[t])))return!1;let t=!1;for(let i=0;i<it.length;++i)if(e[it[i]]){if(t)return!1;e[it[i]]!==f(e[it[i]])&&(t=!0)}return!0}(e),this._milliseconds=+h+1e3*u+60*l*1e3+1e3*c*60*60,this._days=+a+7*o,this._months=+r+3*s+12*i,function(e){let t=e._milliseconds,i=e._days,s=e._months;const r=e._data;t>=0&&i>=0&&s>=0||t<=0&&i<=0&&s<=0||(t+=864e5*st(ot(s)+i),i=0,s=0),r.milliseconds=t%1e3;const o=n(t/1e3);r.seconds=o%60;const a=n(o/60);r.minutes=a%60;const c=n(a/60);r.hours=c%24,i+=n(c/24);const l=n(rt(i));s+=l,i-=st(ot(l));const u=n(s/12);return s%=12,r.day=i,r.month=s,r.year=u,e}(this)}isValid(){return this._isValid}humanize(e){if(!this.isValid())return this.localeData().invalidDate;const t=this.localeData();let i=function(e,t,i){const n=Pt(e).abs(),s=at(n.as("s")),r=at(n.as("m")),o=at(n.as("h")),a=at(n.as("d")),c=at(n.as("M")),l=at(n.as("y")),u=s<=44&&["s",s]||s<45&&["ss",s]||r<=1&&["m"]||r<45&&["mm",r]||o<=1&&["h"]||o<22&&["hh",o]||a<=1&&["d"]||a<26&&["dd",a]||c<=1&&["M"]||c<11&&["MM",c]||l<=1&&["y"]||["yy",l];return ct.apply(null,[u[0],u[1],t,+e>0,i])}(this,!e,t);return e&&(i=t.pastFuture(+this,i)),t.postformat(i)}localeData(){return this._locale}locale(e){return e?(this._locale=tt(e)||this._locale,this):this._locale._abbr}abs(){const e=Math.abs,t=this._data;return this._milliseconds=e(this._milliseconds),this._days=e(this._days),this._months=e(this._months),t.milliseconds=e(t.milliseconds),t.seconds=e(t.seconds),t.minutes=e(t.minutes),t.hours=e(t.hours),t.month=e(t.month),t.year=e(t.year),this}as(e){if(!this.isValid())return NaN;let t,i;const n=this._milliseconds,s=_(e);if("month"===s||"year"===s)return t=this._days+n/864e5,i=this._months+rt(t),"month"===s?i:i/12;switch(t=this._days+Math.round(ot(this._months)),s){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hours":return 24*t+n/36e5;case"minutes":return 1440*t+n/6e4;case"seconds":return 86400*t+n/1e3;case"milliseconds":return Math.floor(864e5*t)+n;default:throw new Error(`Unknown unit ${s}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN}}function ut(e){if(null==e._isValid){const t=ue(e),i=Array.prototype.some.call(t.parsedDateParts,(function(e){return null!=e}));let n=!isNaN(e._d&&e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function ht(e,t){return e._d=new Date(NaN),Object.assign(ue(e),t||{userInvalidated:!0}),e}const dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/Z|[+-]\d\d(?::?\d\d)?/,mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((\-?\d+)/i,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},yt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function vt(e){if(!s(e._i))return e;const t=e._i,i=dt.exec(t)||ft.exec(t);let n,r,o,a,c,l;if(!i)return e._isValid=!1,e;for(c=0,l=mt.length;c<l;c++)if(mt[c][1].exec(i[1])){r=mt[c][0],n=!1!==mt[c][2];break}if(null==r)return e._isValid=!1,e;if(i[3]){for(c=0,l=gt.length;c<l;c++)if(gt[c][1].exec(i[3])){o=(i[2]||" ")+gt[c][0];break}if(null==o)return e._isValid=!1,e}if(!n&&null!=o)return e._isValid=!1,e;if(i[4]){if(!pt.exec(i[4]))return e._isValid=!1,e;a="Z"}return e._f=r+(o||"")+(a||""),Mt(e)}function Ft(e){const t=parseInt(e,10);return t<=49?t+2e3:t}function kt(e){if(!s(e._i))return e;const t=yt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(!t)return function(e){return e._isValid=!1,e}(e);const i=function(e,t,i,n,s,r){const o=[Ft(e),xe.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(s,10)];return r&&o.push(parseInt(r,10)),o}(t[4],t[3],t[2],t[5],t[6],t[7]);return function(e,t,i){return!e||je.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(ue(i).weekdayMismatch=!0,i._isValid=!1,!1)}(t[1],i,e)?(e._a=i,e._tzm=function(e,t,i){if(e)return bt[e];if(t)return 0;{const e=parseInt(i,10),t=e%100;return(e-t)/100*60+t}}(t[8],t[9],t[10]),e._d=w.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ue(e).rfc2822=!0,e):e}function wt(e,t,i,n,s=0){const r=tt(i||"en");if(!r)throw new Error(`Locale "${i}" is not defined, please add it with "defineLocale(...)"`);const c=function(e,t,i,n,s=0){if(!o(e))return i.invalidDate;const r=St(t,i);return y[r]=y[r]||function(e){const t=e.match(F),i=t.length,n=new Array(i);for(let r=0;r<i;r++)n[r]=v[t[r]]?v[t[r]]:(s=t[r]).match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"");var s;return function(t,s,r,o=0){let c="";for(let l=0;l<i;l++)c+=a(n[l])?n[l].call(null,t,{format:e,locale:s,isUTC:r,offset:o}):n[l];return c}}(r),y[r](e,i,n,s)}(e,t||(n?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),r,n,s);return c?r.postformat(c):c}function St(e,t){let i=e,n=5;const s=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,r=e=>t.formatLongDate(e)||e;for(s.lastIndex=0;n>=0&&s.test(i);)i=i.replace(s,r),s.lastIndex=0,n-=1;return i}function Tt(e,t,i){return null!=e?e:null!=t?t:i}function Dt(e){const t=[];let i,n,s,r,o;if(e._d)return e;for(s=function(e){const t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){let t,i,n,s,r,o,a,c;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)r=1,o=4,i=Tt(t.GG,e._a[0],Ee(new Date,1,4).year),n=Tt(t.W,1),s=Tt(t.E,1),(s<1||s>7)&&(c=!0);else{r=e._locale._week.dow,o=e._locale._week.doy;const a=Ee(new Date,r,o);i=Tt(t.gg,e._a[0],a.year),n=Tt(t.w,a.week),null!=t.d?(s=t.d,(s<0||s>6)&&(c=!0)):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(c=!0)):s=r}n<1||n>Me(i,r,o)?ue(e)._overflowWeeks=!0:null!=c?ue(e)._overflowWeekday=!0:(a=function(e,t,i,n,s){const r=1+7*(t-1)+(7+i-n)%7+De(e,n,s);let o,a;return r<=0?(o=e-1,a=fe(o)+r):r>fe(e)?(o=e+1,a=r-fe(e)):(o=e,a=r),{year:o,dayOfYear:a}}(i,n,s,r,o),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(o=Tt(e._a[0],s[0]),(e._dayOfYear>fe(o)||0===e._dayOfYear)&&(ue(e)._overflowDayOfYear=!0),n=new Date(Date.UTC(o,0,e._dayOfYear)),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),i=0;i<3&&null==e._a[i];++i)e._a[i]=t[i]=s[i];for(;i<7;i++)e._a[i]=t[i]=null==e._a[i]?2===i?1:0:e._a[i];return 24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?w:S).apply(null,t),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(ue(e).weekdayMismatch=!0),e}function Et(e){let t;const i=e._a;return i&&-2===ue(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>me(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,ue(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),ue(e)._overflowWeeks&&-1===t&&(t=7),ue(e)._overflowWeekday&&-1===t&&(t=8),ue(e).overflow=t),e}function Mt(e){if("ISO_8601"===e._f)return vt(e);if("RFC_2822"===e._f)return kt(e);if(e._a=[],ue(e).empty=!0,l(e._f)||!e._i&&0!==e._i)return e;let t=e._i.toString(),i=0;const n=t.length,s=St(e._f,e._locale).match(F)||[];let r,o,a,c;for(r=0;r<s.length;r++)o=s[r],a=(t.match(ie(o,e._locale))||[])[0],a&&(c=t.substr(0,t.indexOf(a)),c.length>0&&ue(e).unusedInput.push(c),t=t.slice(t.indexOf(a)+a.length),i+=a.length),v[o]?(a?ue(e).empty=!1:ue(e).unusedTokens.push(o),ae(o,a,e)):e._strict&&!a&&ue(e).unusedTokens.push(o);return ue(e).charsLeftOver=n-i,t.length>0&&ue(e).unusedInput.push(t),e._a[3]<=12&&!0===ue(e).bigHour&&e._a[3]>0&&(ue(e).bigHour=void 0),ue(e).parsedDateParts=e._a.slice(0),ue(e).meridiem=e._meridiem,e._a[3]=function(e,t,i){let n=t;if(null==i)return n;if(null!=e.meridiemHour)return e.meridiemHour(n,i);if(null==e.isPM)return n;const s=e.isPM(i);return s&&n<12&&(n+=12),s||12!==n||(n=0),n}(e._locale,e._a[3],e._meridiem),Dt(e),Et(e)}function Ct(e,t,i,n,o){return r(e)?e:function(e,t,i,n,o){const a={};let f=e;return(h(f)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;let t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(f)||l(f)&&0===f.length)&&(f=void 0),a._useUTC=a._isUTC=o,a._l=i,a._i=f,a._f=t,a._strict=n,function(e){const t=Et(function(e){let t=e._i;const i=e._f;return e._locale=e._locale||tt(e._l),null===t||void 0===i&&""===t?ht(e,{nullInput:!0}):(s(t)&&(e._i=t=e._locale.preparse(t,i)),r(t)?(e._d=ke(t),e):(l(i)?function(e){let t,i,n,s,r;if(!e._f||0===e._f.length)return ue(e).invalidFormat=!0,ht(e);for(r=0;r<e._f.length;r++)s=0,t=Object.assign({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Mt(t),ut(t)&&(s+=ue(t).charsLeftOver,s+=10*ue(t).unusedTokens.length,ue(t).score=s,(null==n||s<n)&&(n=s,i=t));Object.assign(e,i||t)}(e):i?Mt(e):function(e){const t=e._i;if(d(t))e._d=new Date;else if(r(t))e._d=ke(t);else if(s(t))!function(e){if(!s(e._i))return e;const t=_t.exec(e._i);null!==t?e._d=new Date(+t[1]):(vt(e),!1!==e._isValid||(delete e._isValid,kt(e),!1!==e._isValid||(delete e._isValid,ht(e))))}(e);else if(l(t)&&t.length){const i=t.slice(0);e._a=i.map(e=>s(e)?parseInt(e,10):e),Dt(e)}else if(h(t))!function(e){if(e._d)return e;const t=e._i;if(h(t)){const i=function(e){const t={};let i,n;for(n in e)u(e,n)&&(i=_(n),i&&(t[i]=e[n]));return t}(t);e._a=[i.year,i.month,i.day,i.hours,i.minutes,i.seconds,i.milliseconds].map(e=>s(e)?parseInt(e,10):e)}Dt(e)}(e);else{if(!c(t))return ht(e);e._d=new Date(t)}}(e),ut(e)||(e._d=null),e))}(e));return t._d=new Date(null!=t._d?t._d.getTime():NaN),ut(Object.assign({},t,{_isValid:null}))||(t._d=new Date(NaN)),t}(a)}(e,t,i,n,o)._d}function Ot(e){return e instanceof Date?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()):null}function xt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t,i="milliseconds"){return!(!e||!t)&&("milliseconds"===i?e.valueOf()>t.valueOf():t.valueOf()<we(e,i).valueOf())}function jt(e,t,i="milliseconds"){return!(!e||!t)&&("milliseconds"===i?e.valueOf()<t.valueOf():Se(e,i).valueOf()<t.valueOf())}function It(e,t){return!(void 0===t||!t||!t.length)&&t.some(t=>t===e.getDay())}function At(e,t,i="milliseconds"){if(!e||!t)return!1;if("milliseconds"===i)return e.valueOf()===t.valueOf();const n=t.valueOf();return we(e,i).valueOf()<=n&&n<=Se(e,i).valueOf()}const Nt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Rt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pt(e,t,i={}){const n=function(e,t){if(null==e)return{};if(e instanceof lt)return{milliseconds:e._milliseconds,day:e._days,month:e._months};if(c(e))return t?{[t]:e}:{milliseconds:e};if(s(e)){let t=Nt.exec(e);if(t){const e="-"===t[1]?-1:1;return{year:0,day:f(t[2])*e,hours:f(t[3])*e,minutes:f(t[4])*e,seconds:f(t[5])*e,milliseconds:f(xt(1e3*f(t[6])))*e}}if(t=Rt.exec(e),t){const e="-"===t[1]?-1:1;return{year:Bt(t[2],e),month:Bt(t[3],e),week:Bt(t[4],e),day:Bt(t[5],e),hours:Bt(t[6],e),minutes:Bt(t[7],e),seconds:Bt(t[8],e)}}}if(h(e)&&("from"in e||"to"in e)){const t=function(e,t){if(!o(e)||!o(t))return{milliseconds:0,months:0};let i;const n=function(e,t,i={}){if(!i._isUTC)return e;const n=ke(t),s=6e4*(i._offset||0),r=e.valueOf()-n.valueOf()+s;return n.setTime(n.valueOf()+r),n}(t,e,{_offset:e.getTimezoneOffset()});return jt(e,n)?i=Yt(e,n):(i=Yt(n,e),i.milliseconds=-i.milliseconds,i.months=-i.months),i}(Ct(e.from),Ct(e.to));return{milliseconds:t.milliseconds,month:t.months}}return e}(e,t);return new lt(n,i)}function Bt(e,t){const i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Yt(e,t){const i={milliseconds:0,months:0};return i.months=x(t)-x(e)+12*(L(t)-L(e)),Lt(Ht(ke(e),i.months,"month"),t)&&--i.months,i.milliseconds=+t-+Ht(ke(e),i.months,"month"),i}function Ht(e,t,i,n){return Vt(e,Pt(t,i),1,n)}function Vt(e,t,i,n){const s=t._milliseconds,r=xt(t._days),o=xt(t._months);return o&&ve(e,x(e,n)+o*i,n),r&&Fe(e,O(e,n)+r*i,n),s&&function(e,t){e.setTime(t)}(e,function(e){return e.getTime()}(e)+s*i),ke(e)}function Ut(e,t,i=tt(),n){const r=C(e,n);return Ht(e,function(e,t){if(!s(e))return e;const i=parseInt(e,10);if(!isNaN(i))return i;const n=t.weekdaysParse(e);return c(n)?n:null}(t,i)-r,"day")}function Wt(e,t){return C(e,t)}function zt(e,t=tt(),i){return(C(e,i)+7-t.firstDayOfWeek())%7}const $t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Gt={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},qt=function(e){return function(t,i){const n=$t(t);let s=Gt[e][$t(t)];return 2===n&&(s=s[i?0:1]),s.replace(/%d/i,t.toString())}};"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),qt("s"),qt("s"),qt("m"),qt("m"),qt("h"),qt("h"),qt("d"),qt("d"),qt("M"),qt("M"),qt("y"),qt("y"),"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_");const Kt="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),Jt="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function Zt(e){return e>1&&e<5&&1!=~~(e/10)}function Xt(e,t,i,n){const s=e+" ";switch(i){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?s+(Zt(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(Zt(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(Zt(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(Zt(e)?"dny":"dn\xed"):s+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?s+(Zt(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(Zt(e)?"roky":"let"):s+"lety"}}const Qt={abbr:"cs",months:Kt,monthsShort:Jt,monthsParse:function(e,t){let i,n=[];for(i=0;i<12;i++)n[i]=new RegExp("^"+e[i]+"$|^"+t[i]+"$","i");return n}(Kt,Jt),shortMonthsParse:function(e){let t,i=[];for(t=0;t<12;t++)i[t]=new RegExp("^"+e[t]+"$","i");return i}(Jt),longMonthsParse:function(e){let t,i=[];for(t=0;t<12;t++)i[t]=new RegExp("^"+e[t]+"$","i");return i}(Kt),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek(e){switch(Wt(e)){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek(e){switch(Wt(e)){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:Xt,ss:Xt,m:Xt,mm:Xt,h:Xt,hh:Xt,d:Xt,dd:Xt,M:Xt,MM:Xt,y:Xt,yy:Xt},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),"So_Mo_Di_Mi_Do_Fr_Sa".split("_");const ei={abbr:"en-gb",months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(e){const t=Number(e),i=t%10;return t+(1==~~(t%100/10)?"th":1===i?"st":2===i?"nd":3===i?"rd":"th")},week:{dow:1,doy:4}};"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),"dom_lun_mar_mer_gio_ven_sab".split("_"),"do_lu_ma_me_gi_ve_sa".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),"Di_He_Ma_Me_En_Pr_Sh".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_");const ti={abbr:"th-be",months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:e=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e,meridiem:(e,t,i)=>e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(e,t){const i=ti.longDateFormat[t]?ti.longDateFormat[t]:t;return-1!==i.indexOf("YYYY",i.length-"YYYY".length)?e.substr(0,e.length-4)+(parseInt(e.substr(e.length-4),10)-543):e},getFullYear:(e,t=!1)=>543+(t?e.getUTCFullYear():e.getFullYear())};function ii(e){return function(t){return e+"\u043e"+(11===T(t)?"\u0431":"")+"] LT"}}"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_"),"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),ii("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),ii("[\u0417\u0430\u0432\u0442\u0440\u0430 "),ii("[\u0412\u0447\u043e\u0440\u0430 "),ii("[\u0423] dddd [");const ni={abbr:"vi",months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:e=>/^ch$/i.test(e),meridiem:(e,t,i)=>e<12?i?"sa":"SA":i?"ch":"CH",longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:e=>""+e,week:{dow:1,doy:4}};"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_")},UDhR:function(e,t,i){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},USCx:function(e,t,i){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","M\xe9itheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deaireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean\xe1","Feab","M\xe1rt","Aibr","Beal","M\xe9it","I\xfail","L\xfana","Me\xe1n","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Satharn"],weekdaysShort:["Dom","Lua","M\xe1i","C\xe9a","D\xe9a","hAo","Sat"],weekdaysMin:["Do","Lu","M\xe1","Ce","D\xe9","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wd/R"))},UTcu:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("fXoL"),s=i("IKD2"),r=i("tyNb");let o=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(){return!!this.authService.loggedIn||(this.router.navigate([""]),!1)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(s.b),n.fc(r.e))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})()},UUzK:function(e,t,i){"use strict";var n=i("G2HO"),s=i("6VCA");t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return 1===e.length&&n.isArray(e[0])&&(e=e[0]),t.lift.call(s.race.apply(void 0,[t].concat(e)))}}},UpQW:function(e,t,i){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],i=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i("wd/R"))},UqH8:function(e,t,i){"use strict";var n=i("YKi8");t.timer=n.TimerObservable.create},Ur1D:function(e,t,i){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,i){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i("wd/R"))},V2x9:function(e,t,i){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},VKeD:function(e,t,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}t.getSymbolIterator=n,t.iterator=n(),t.$$iterator=t.iterator},VRyK:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("HDdC"),s=i("z+Ro"),r=i("bHdf"),o=i("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,i=null,a=e[e.length-1];return Object(s.a)(a)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===i&&1===e.length&&e[0]instanceof n.a?e[0]:Object(r.a)(t)(Object(o.a)(e,i))}},VVja:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.switchMap=function(e,t){return function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.resultSelector))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.project=i,this.resultSelector=n,this.index=0}return n(t,e),t.prototype._next=function(e){var t,i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this._innerSub(t,e,i)},t.prototype._innerSub=function(e,t,i){var n=this.innerSubscription;n&&n.unsubscribe(),this.add(this.innerSubscription=r.subscribeToResult(this,e,t,i))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,i,n,s){this.resultSelector?this._tryNotifyNext(e,t,i,n):this.destination.next(t)},t.prototype._tryNotifyNext=function(e,t,i,n){var s;try{s=this.resultSelector(e,t,i,n)}catch(r){return void this.destination.error(r)}this.destination.next(s)},t}(s.OuterSubscriber)},VZMG:function(e,t,i){"use strict";var n=i("8qff"),s=i("X46/");t.queue=new s.QueueScheduler(n.QueueAction)},Vclq:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i("wd/R"))},Vf9T:function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=i("1pIY"),r=i("R7wr"),o=i("Y4kR"),a=i("cSoz");t.timeoutWith=function(e,t,i){return void 0===i&&(i=s.async),function(n){var s=r.isDate(e),o=s?+e-i.now():Math.abs(e);return n.lift(new c(o,s,t,i))}};var c=function(){function e(e,t,i,n){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=i,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),l=function(e){function t(t,i,n,s,r){var o=e.call(this,t)||this;return o.absoluteTimeout=i,o.waitFor=n,o.withObservable=s,o.scheduler=r,o.action=null,o.scheduleTimeout(),o}return n(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(a.subscribeToResult(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(o.OuterSubscriber)},Vi6O:function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();t.InnerSubscriber=function(e){function t(t,i,n){var s=e.call(this)||this;return s.parent=t,s.outerValue=i,s.outerIndex=n,s.index=0,s}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(i("FWf1").Subscriber)},VthU:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.switchMapTo=function(e,t){return function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){this.observable=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.observable,this.resultSelector))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.inner=i,this.resultSelector=n,this.index=0}return n(t,e),t.prototype._next=function(e){var t=this.innerSubscription;t&&t.unsubscribe(),this.add(this.innerSubscription=r.subscribeToResult(this,this.inner,e,this.index++))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.destination;this.resultSelector?this.tryResultSelector(e,t,i,n):r.next(t)},t.prototype.tryResultSelector=function(e,t,i,n){var s,r=this.resultSelector,o=this.destination;try{s=r(e,t,i,n)}catch(a){return void o.error(a)}o.next(s)},t}(s.OuterSubscriber)},"WC+f":function(e,t,i){"use strict";var n=i("6oB3"),s=i("6oB3");t.concatStatic=s.concat,t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return t.lift.call(n.concat.apply(void 0,[t].concat(e)))}}},WO4J:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("8kg7"),o=i("36rE");t.takeLast=function(e){return function(t){return 0===e?new o.EmptyObservable:t.lift(new a(e))}};var a=function(){function e(e){if(this.total=e,this.total<0)throw new r.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,i){e.call(this,t),this.total=i,this.ring=new Array,this.count=0}return n(t,e),t.prototype._next=function(e){var t=this.ring,i=this.total,n=this.count++;t.length<i?t.push(e):t[n%i]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var i=this.count>=this.total?this.total:this.count,n=this.ring,s=0;s<i;s++){var r=t++%i;e.next(n[r])}e.complete()},t}(s.Subscriber)},WQoq:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.sample=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var i=new a(e),n=t.subscribe(i);return n.add(r.subscribeToResult(i,this.notifier)),n},e}(),a=function(e){function t(){e.apply(this,arguments),this.hasValue=!1}return n(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(e,t,i,n,s){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(s.OuterSubscriber)},WU5C:function(e,t,i){"use strict";var n=i("/WK6");function s(e){var t,i=e.Symbol;return"function"==typeof i?i.observable?t=i.observable:(t=i("observable"),i.observable=t):t="@@observable",t}t.getSymbolObservable=s,t.observable=s(n.root),t.$$observable=t.observable},WYrj:function(e,t,i){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],i=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,i){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i("wd/R"))},WgKs:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.skipUntil=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.notifier))},e}(),a=function(e){function t(t,i){e.call(this,t),this.hasValue=!1,this.isInnerStopped=!1,this.add(r.subscribeToResult(this,i))}return n(t,e),t.prototype._next=function(t){this.hasValue&&e.prototype._next.call(this,t)},t.prototype._complete=function(){this.isInnerStopped?e.prototype._complete.call(this):this.unsubscribe()},t.prototype.notifyNext=function(e,t,i,n,s){this.hasValue=!0},t.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&e.prototype._complete.call(this)},t}(s.OuterSubscriber)},WxRl:function(e,t,i){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(e,t,i,n){var s=e;switch(i){case"s":return n||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return s+(n||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||t?" \xe9v":" \xe9ve");case"yy":return s+(n||t?" \xe9v":" \xe9ve")}return""}function n(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,i){return e<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},WyaX:function(e,t,i){"use strict";i.d(t,"a",(function(){return H}));var n=i("fXoL"),s=i("ofXK"),r=i("XNiG"),o=i("VRyK"),a=i("xgIS"),c=i("LRne"),l=i("eNwd");function u(e,t){if(1!==e.nodeType)return[];const i=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?i[t]:i}function h(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}const{overflow:t,overflowX:i,overflowY:n}=u(e);return/(auto|scroll|overlay)/.test(String(t)+String(n)+String(i))?e:d(h(e))}const f="undefined"!=typeof window&&"undefined"!=typeof document,p=f&&!(!window.MSInputMethodContext||!document.documentMode),m=f&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function g(e){return 11===e?p:10===e?m:p||m}function _(e){if(!e)return document.documentElement;const t=g(10)?document.body:null;let i,n=e.offsetParent||null;for(;n===t&&e.nextElementSibling&&i!==e.nextElementSibling;)i=e.nextElementSibling,n=i.offsetParent;const s=n&&n.nodeName;return s&&"BODY"!==s&&"HTML"!==s?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?_(n):n:i?i.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;const i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?e:t,s=i?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(s,0);const{commonAncestorContainer:o}=r;if(e!==o&&t!==o||n.contains(s))return function(e){const{nodeName:t}=e;return"BODY"!==t&&("HTML"===t||_(e.firstElementChild)===e)}(o)?o:_(o);const a=b(e);return a.host?y(a.host,t):y(e,b(t).host)}function v(e,t){const i="x"===t?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(e[`border${i}Width`])+parseFloat(e[`border${n}Width`])}function F(e,t,i,n){return Math.max(t[`offset${e}`],t[`scroll${e}`],i[`client${e}`],i[`offset${e}`],i[`scroll${e}`],g(10)?parseInt(i[`offset${e}`],10)+parseInt(n[`margin${"Height"===e?"Top":"Left"}`],10)+parseInt(n[`margin${"Height"===e?"Bottom":"Right"}`],10):0)}function k(e){const t=e.body,i=e.documentElement,n=g(10)&&getComputedStyle(i);return{height:F("Height",t,i,n),width:F("Width",t,i,n)}}function w(e,t="top"){const i="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){const t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[i]}return e[i]}function S(e){return Object.assign(Object.assign({},e),{right:e.left+e.width,bottom:e.top+e.height})}function T(e){let t={};try{if(g(10)){t=e.getBoundingClientRect();const i=w(e,"top"),n=w(e,"left");t.top+=i,t.left+=n,t.bottom+=i,t.right+=n}else t=e.getBoundingClientRect()}catch(o){return}const i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},n="HTML"===e.nodeName?k(e.ownerDocument):{};let s=e.offsetWidth-(n.width||e.clientWidth||i.right-i.left),r=e.offsetHeight-(n.height||e.clientHeight||i.bottom-i.top);if(s||r){const t=u(e);s-=v(t,"x"),r-=v(t,"y"),i.width-=s,i.height-=r}return S(i)}function D(e,t,i=!1){const n=g(10),s="HTML"===t.nodeName,r=T(e),o=T(t),a=d(e),c=u(t),l=parseFloat(c.borderTopWidth),h=parseFloat(c.borderLeftWidth);i&&s&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));let f=S({top:r.top-o.top-l,left:r.left-o.left-h,width:r.width,height:r.height});if(f.marginTop=0,f.marginLeft=0,!n&&s){const e=parseFloat(c.marginTop),t=parseFloat(c.marginLeft);f.top-=l-e,f.bottom-=l-e,f.left-=h-t,f.right-=h-t,f.marginTop=e,f.marginLeft=t}return(n&&!i?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(f=function(e,t,i=!1){const n=w(t,"top"),s=w(t,"left"),r=i?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=s*r,e.right+=s*r,e}(f,t)),f}function E(e){if(!e||!e.parentElement||g())return document.documentElement;let t=e.parentElement;for(;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function M(e,t,i=0,n,s=!1){let r={top:0,left:0};const o=s?E(e):y(e,t);if("viewport"===n)r=function(e,t=!1){const i=e.ownerDocument.documentElement,n=D(e,i),s=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),o=t?0:w(i),a=t?0:w(i,"left");return S({top:o-Number(n.top)+Number(n.marginTop),left:a-Number(n.left)+Number(n.marginLeft),width:s,height:r})}(o,s);else{let i;"scrollParent"===n?(i=d(h(t)),"BODY"===i.nodeName&&(i=e.ownerDocument.documentElement)):i="window"===n?e.ownerDocument.documentElement:n;const a=D(i,o,s);if("HTML"!==i.nodeName||function e(t){const i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===u(t,"position")||e(h(t)))}(o))r=a;else{const{height:t,width:i}=k(e.ownerDocument);r.top+=a.top-a.marginTop,r.bottom=Number(t)+Number(a.top),r.left+=a.left-a.marginLeft,r.right=Number(i)+Number(a.left)}}return r.left+=i,r.top+=i,r.right-=i,r.bottom-=i,r}function C({width:e,height:t}){return e*t}function O(e,t,i,n,s=["top","bottom","right","left"],r="viewport",o=0){if(-1===e.indexOf("auto"))return e;const a=M(i,n,o,r),c={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(c).map(e=>Object.assign(Object.assign({key:e},c[e]),{area:C(c[e])})).sort((e,t)=>t.area-e.area);let u=l.filter(({width:e,height:t})=>e>=i.clientWidth&&t>=i.clientHeight);u=u.filter(e=>s.some(t=>t===e.key));const h=u.length>0?u[0].key:l[0].key,d=e.split(" ")[1];return i.className=i.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${h}`),h+(d?`-${d}`:"")}function x(e){const t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:Number(e.offsetWidth)+n,height:Number(e.offsetHeight)+i}}function L(e,t,i=null){return D(t,i?E(e):y(e,t),i)}function j(e,t,i){const n=i.split(" ")[0],s=x(e),r={width:s.width,height:s.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",c=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[a]=t[a]+t[l]/2-s[l]/2,r[c]=n===c?t[c]-s[u]:t[function(e){const t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,e=>t[e])}(c)],r}function I(e,t){return e&&e.modifiers&&e.modifiers[t]&&e.modifiers[t].enabled}function A(e,t,i){Object.keys(t).forEach(n=>{let s="";var r;-1!==["width","height","top","right","bottom","left"].indexOf(n)&&""!==(r=t[n])&&!isNaN(parseFloat(r))&&isFinite(r)&&(s="px"),i?i.setStyle(e,n,`${String(t[n])}${s}`):e.style[n]=String(t[n])+s})}function N(e){let t=e.offsets.target;const i=e.instance.target.querySelector(".arrow");if(!i)return e;const n=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),s=n?"height":"width",r=n?"Top":"Left",o=r.toLowerCase(),a=n?"left":"top",c=n?"bottom":"right",l=x(i)[s],h=e.placement.split(" ")[1];e.offsets.host[c]-l<t[o]&&(t[o]-=t[o]-(e.offsets.host[c]-l)),Number(e.offsets.host[o])+Number(l)>t[c]&&(t[o]+=Number(e.offsets.host[o])+Number(l)-Number(t[c])),t=S(t);const d=u(e.instance.target),f=parseFloat(d[`margin${r}`]),p=parseFloat(d[`border${r}Width`]);let m;if(h){const t=parseFloat(d.borderRadius),i=Number(f+p+t);m=o===h?Number(e.offsets.host[o])+i:Number(e.offsets.host[o])+Number(e.offsets.host[s]-i)}else m=Number(e.offsets.host[o])+Number(e.offsets.host[s]/2-l/2);let g=m-t[o]-f-p;return g=Math.max(Math.min(t[s]-l,g),0),e.offsets.arrow={[o]:Math.round(g),[a]:""},e.instance.arrow=i,e}function R(e){if(e.offsets.target=S(e.offsets.target),!I(e.options,"flip"))return e.offsets.target=Object.assign(Object.assign({},e.offsets.target),j(e.instance.target,e.offsets.host,e.placement)),e;const t=M(e.instance.target,e.instance.host,0,"viewport",!1);let i=e.placement.split(" ")[0],n=e.placement.split(" ")[1]||"";const s=O("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),r=[i,s];return r.forEach((s,o)=>{if(i!==s||r.length===o+1)return e;i=e.placement.split(" ")[0];const a="left"===i&&Math.floor(e.offsets.target.right)>Math.floor(e.offsets.host.left)||"right"===i&&Math.floor(e.offsets.target.left)<Math.floor(e.offsets.host.right)||"top"===i&&Math.floor(e.offsets.target.bottom)>Math.floor(e.offsets.host.top)||"bottom"===i&&Math.floor(e.offsets.target.top)<Math.floor(e.offsets.host.bottom),c=Math.floor(e.offsets.target.left)<Math.floor(t.left),l=Math.floor(e.offsets.target.right)>Math.floor(t.right),u=Math.floor(e.offsets.target.top)<Math.floor(t.top),h=Math.floor(e.offsets.target.bottom)>Math.floor(t.bottom),d="left"===i&&c||"right"===i&&l||"top"===i&&u||"bottom"===i&&h,f=-1!==["top","bottom"].indexOf(i),p=f&&"left"===n&&c||f&&"right"===n&&l||!f&&"left"===n&&u||!f&&"right"===n&&h;(a||d||p)&&((a||d)&&(i=r[o+1]),p&&(n=function(e){return"right"===e?"left":"left"===e?"right":e}(n)),e.placement=i+(n?` ${n}`:""),e.offsets.target=Object.assign(Object.assign({},e.offsets.target),j(e.instance.target,e.offsets.host,e.placement)))}),e}function P(e){if(!I(e.options,"preventOverflow"))return e;const t="transform",i=e.instance.target.style,{top:n,left:s,[t]:r}=i;i.top="",i.left="",i[t]="";const o=M(e.instance.target,e.instance.host,0,"scrollParent",!1);i.top=n,i.left=s,i[t]=r;const a={primary(t){let i=e.offsets.target[t];return e.offsets.target[t]<o[t]&&(i=Math.max(e.offsets.target[t],o[t])),{[t]:i}},secondary(t){const i="right"===t?"left":"top";let n=e.offsets.target[i];return e.offsets.target[t]>o[t]&&(n=Math.min(e.offsets.target[i],o[t]-("right"===t?e.offsets.target.width:e.offsets.target.height))),{[i]:n}}};let c;return["left","right","top","bottom"].forEach(t=>{c=-1!==["left","top"].indexOf(t)?"primary":"secondary",e.offsets.target=Object.assign(Object.assign({},e.offsets.target),a[c](t))}),e}function B(e){const t=e.placement,i=t.split(" ")[0],n=t.split(" ")[1];if(n){const{host:t,target:s}=e.offsets,r=-1!==["bottom","top"].indexOf(i),o=r?"left":"top",a=r?"width":"height",c={start:{[o]:t[o]},end:{[o]:t[o]+t[a]-s[a]}};e.offsets.target=Object.assign(Object.assign({},s),{[o]:o===n?c.start[o]:c.end[o]})}return e}const Y=new class{position(e,t,i=!0){return this.offset(e,t,!1)}offset(e,t,i=!0){return L(t,e)}positionElements(e,t,i,n,s){return[R,B,P,N].reduce((e,t)=>t(e),function(e,t,i,n){const s=L(e,t);i.match(/^(auto)*\s*(left|right|top|bottom)*$/)||i.match(/^(left|right|top|bottom)*(?: (left|right|top|bottom))?\s*(start|end)*$/)||(i="auto");const r=!!i.match(/auto/g);let o=i.match(/auto\s(left|right|top|bottom)/)?i.split(" ")[1]||"auto":i;const a=o.match(/^(left|right|top|bottom)* ?(?!\1)(left|right|top|bottom)?/);a&&(o=a[1]+(a[2]?` ${a[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(o)&&(o="auto");const c=j(e,s,o);return o=O(o,s,e,t,n?n.allowedPositions:void 0),{options:n,instance:{target:e,host:t,arrow:null},offsets:{target:c,host:s,arrow:null},positionFixed:!1,placement:o,placementAuto:r}}(t,e,i,s))}};let H=(()=>{class e{constructor(e,t,i){this.update$$=new r.a,this.positionElements=new Map,this.isDisabled=!1,Object(s.H)(i)&&e.runOutsideAngular(()=>{this.triggerEvent$=Object(o.a)(Object(a.a)(window,"scroll",{passive:!0}),Object(a.a)(window,"resize",{passive:!0}),Object(c.a)(0,l.a),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(e=>{!function(e,t,i,n,s,r){const o=Y.positionElements(e,t,i,n,s),a=function(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left),top:Math.round(e.offsets.target.top),bottom:Math.round(e.offsets.target.bottom),right:Math.floor(e.offsets.target.right)}}(o);A(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${a.left}px, ${a.top}px, 0px)`},r),o.instance.arrow&&A(o.instance.arrow,o.offsets.arrow,r),function(e,t){const i=e.instance.target;let n=i.className;e.placementAuto&&(n=n.replace(/bs-popover-auto/g,`bs-popover-${e.placement}`),n=n.replace(/bs-tooltip-auto/g,`bs-tooltip-${e.placement}`),n=n.replace(/\sauto/g,` ${e.placement}`),-1!==n.indexOf("popover")&&-1===n.indexOf("popover-auto")&&(n+=" popover-auto"),-1!==n.indexOf("tooltip")&&-1===n.indexOf("tooltip-auto")&&(n+=" tooltip-auto")),n=n.replace(/left|right|top|bottom/g,`${e.placement.split(" ")[0]}`),t?t.setAttribute(i,"class",n):i.className=n}(o,r)}(V(e.target),V(e.element),e.attachment,e.appendToBody,this.options,t.createRenderer(null,null))})})})}position(e){this.addPositionElement(e)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(e){this.positionElements.set(V(e.element),e)}calcPosition(){this.update$$.next()}deletePositionElement(e){this.positionElements.delete(V(e))}setOptions(e){this.options=e}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.A),n.fc(n.G),n.fc(n.C))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();function V(e){return"string"==typeof e?document.querySelector(e):e instanceof n.l?e.nativeElement:e}},"X/dC":function(e,t,i){"use strict";var n=i("cf1P"),s=i("pk/4"),r=i("4WIM");function o(){return new r.Subject}t.share=function(){return function(e){return s.refCount()(n.multicast(o)(e))}}},"X46/":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("FXL7");t.QueueScheduler=function(e){function t(){e.apply(this,arguments)}return n(t,e),t}(s.AsyncScheduler)},X709:function(e,t,i){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})}(i("wd/R"))},XDpg:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i("wd/R"))},XLvN:function(e,t,i){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i("wd/R"))},XNQH:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.isEmpty=function(){return function(e){return e.lift(new r)}};var r=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new o(e))},e}(),o=function(e){function t(t){e.call(this,t)}return n(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(s.Subscriber)},XNiG:function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return u}));var n=i("HDdC"),s=i("7o/Q"),r=i("quSY"),o=i("9ppp"),a=i("Ylt2"),c=i("2QA8");class l extends s.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends n.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 h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:t}=this,i=t.length,n=t.slice();for(let s=0;s<i;s++)n[s].next(e)}}error(e){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,i=t.length,n=t.slice();for(let s=0;s<i;s++)n[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:e}=this,t=e.length,i=e.slice();for(let n=0;n<t;n++)i[n].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.a;return this.hasError?(e.error(this.thrownError),r.a.EMPTY):this.isStopped?(e.complete(),r.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new n.a;return e.source=this,e}}return e.create=(e,t)=>new h(e,t),e})();class h 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):r.a.EMPTY}}},XoHu:function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e}i.d(t,"a",(function(){return n}))},Xrsd:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("2fIB");t.single=function(e){return function(t){return t.lift(new o(e,t))}};var o=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.source))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.predicate=i,this.source=n,this.seenValue=!1,this.index=0}return n(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(i){this.destination.error(i)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new r.EmptyError)},t}(s.Subscriber)},"Xwq/":function(e,t,i){"use strict";var n=i("FWf1"),s=i("p//D"),r=i("GiSu");t.toSubscriber=function(e,t,i){if(e){if(e instanceof n.Subscriber)return e;if(e[s.rxSubscriber])return e[s.rxSubscriber]()}return e||t||i?new n.Subscriber(e,t,i):new n.Subscriber(r.empty)}},Y4kR:function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();t.OuterSubscriber=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(i("FWf1").Subscriber)},Y7HM:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("DH7j");function s(e){return!Object(n.a)(e)&&e-parseFloat(e)+1>=0}},YKi8:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("zZI/"),r=i("AZf1"),o=i("Re0n"),a=i("NwwV"),c=i("hut+");t.TimerObservable=function(e){function t(t,i,n){void 0===t&&(t=0),e.call(this),this.period=-1,this.dueTime=0,s.isNumeric(i)?this.period=Number(i)<1?1:Number(i):a.isScheduler(i)&&(n=i),a.isScheduler(n)||(n=o.async),this.scheduler=n,this.dueTime=c.isDate(t)?+t-this.scheduler.now():t}return n(t,e),t.create=function(e,i,n){return void 0===e&&(e=0),new t(e,i,n)},t.dispatch=function(e){var t=e.index,i=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===i)return n.complete();e.index=t+1,this.schedule(e,i)}},t.prototype._subscribe=function(e){return this.scheduler.schedule(t.dispatch,this.dueTime,{index:0,period:this.period,subscriber:e})},t}(r.Observable)},YRex:function(e,t,i){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i("wd/R"))},Ylt2:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("quSY");class s extends n.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 i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,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}},YyRF:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));let n=(()=>{class e{static addClass(e,t){e.classList?e.classList.add(t):e.className+=" "+t}static addMultipleClasses(e,t){if(e.classList){let i=t.split(" ");for(let t=0;t<i.length;t++)e.classList.add(i[t])}else{let i=t.split(" ");for(let t=0;t<i.length;t++)e.className+=" "+i[t]}}static removeClass(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}static hasClass(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,(function(t){return t!==e}))}static find(e,t){return Array.from(e.querySelectorAll(t))}static findSingle(e,t){return e?e.querySelector(t):null}static index(e){let t=e.parentNode.childNodes,i=0;for(var n=0;n<t.length;n++){if(t[n]==e)return i;1==t[n].nodeType&&i++}return-1}static indexWithinGroup(e,t){let i=e.parentNode?e.parentNode.childNodes:[],n=0;for(var s=0;s<i.length;s++){if(i[s]==e)return n;i[s].attributes&&i[s].attributes[t]&&1==i[s].nodeType&&n++}return-1}static relativePosition(e,t){let i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e);const n=t.offsetHeight,s=t.getBoundingClientRect(),r=this.getViewport();let o,a;s.top+n+i.height>r.height?(o=-1*i.height,s.top+o<0&&(o=-1*s.top)):o=n,a=i.width>r.width?-1*s.left:s.left+i.width>r.width?-1*(s.left+i.width-r.width):0,e.style.top=o+"px",e.style.left=a+"px"}static absolutePosition(e,t){let i,n,s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),r=s.height,o=s.width,a=t.offsetHeight,c=t.offsetWidth,l=t.getBoundingClientRect(),u=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),d=this.getViewport();l.top+a+r>d.height?(i=l.top+u-r,i<0&&(i=u)):i=a+l.top+u,n=l.left+o>d.width?Math.max(0,l.left+h+c-o):l.left+h,e.style.top=i+"px",e.style.left=n+"px"}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}static getHiddenElementDimensions(e){let t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}static scrollInView(e,t){let i=getComputedStyle(e).getPropertyValue("borderTopWidth"),n=i?parseFloat(i):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),r=s?parseFloat(s):0,o=e.getBoundingClientRect(),a=t.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-n-r,c=e.scrollTop,l=e.clientHeight,u=this.getOuterHeight(t);a<0?e.scrollTop=c+a:a+u>l&&(e.scrollTop=c+a-l+u)}static fadeIn(e,t){e.style.opacity=0;let i=+new Date,n=0,s=function(){n=+e.style.opacity.replace(",",".")+((new Date).getTime()-i)/t,e.style.opacity=n,i=+new Date,+n<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};s()}static fadeOut(e,t){var i=1,n=50/t;let s=setInterval(()=>{(i-=n)<=0&&(i=0,clearInterval(s)),e.style.opacity=i},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,t){var i=Element.prototype;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(e){return-1!==[].indexOf.call(document.querySelectorAll(e),this)}).call(e,t)}static getOuterWidth(e,t){let i=e.offsetWidth;if(t){let t=getComputedStyle(e);i+=parseFloat(t.marginLeft)+parseFloat(t.marginRight)}return i}static getHorizontalPadding(e){let t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}static getHorizontalMargin(e){let t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}static innerWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static width(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),t}static getInnerHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t+=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom),t}static getOuterHeight(e,t){let i=e.offsetHeight;if(t){let t=getComputedStyle(e);i+=parseFloat(t.marginTop)+parseFloat(t.marginBottom)}return i}static getHeight(e){let t=e.offsetHeight,i=getComputedStyle(e);return t-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),t}static getWidth(e){let t=e.offsetWidth,i=getComputedStyle(e);return t-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),t}static getViewport(){let e=window,t=document,i=t.documentElement,n=t.getElementsByTagName("body")[0];return{width:e.innerWidth||i.clientWidth||n.clientWidth,height:e.innerHeight||i.clientHeight||n.clientHeight}}static getOffset(e){let t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}static replaceElementWith(e,t){let i=e.parentNode;if(!i)throw"Can't replace element";return i.replaceChild(t,e)}static getUserAgent(){return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static appendChild(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot append "+t+" to "+e;t.el.nativeElement.appendChild(e)}}static removeChild(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot remove "+e+" from "+t;t.el.nativeElement.removeChild(e)}}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let e=document.createElement("div");e.className="ui-scrollbar-measure",document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="ui-scrollbar-measure",document.body.appendChild(e);let t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}static invokeElementMethod(e,t,i){e[t].apply(e,i)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return null===e.offsetParent}static getFocusableElements(t){let i=e.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), \n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'),n=[];for(let e of i)"none"!=getComputedStyle(e).display&&"hidden"!=getComputedStyle(e).visibility&&n.push(e);return n}}return e.zindex=1e3,e.calculatedScrollbarWidth=null,e.calculatedScrollbarHeight=null,e})()},Z1bl:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("fXoL"),s=i("jtHE"),r=i("XNiG");let o=(()=>{class e{constructor(){this.dataEmtr=new n.n,this.liveMatchEmitter=new n.n,this.sportMenuEmitter=new s.a(0),this.notificationCountEmitter=new n.n,this.notificationReceivedEmitter=new n.n,this.encryptedPinEmitter=new n.n,this.userLoggedInEmitter=new n.n,this.liveSportId=new s.a(0),this.liveMatchId=new s.a(0),this.ballDrawn=new r.a,this.kenoBallDrawn=new r.a,this.prematchFavoriteToggle=new n.n,this.ticketEmitter=new n.n,this.refreshConfigEmitter=new n.n,this.modalEscapeEmitter=new n.n,this.payinInputEmitter=new n.n,this.sessionEmitter=new n.n,this.repeatTicketEmitter=new n.n,this.sesionEmitterSubject=new r.a,this.sesionEmitter$=this.sesionEmitterSubject.asObservable(),this.openModalEmitter=new n.n,this.availableSportsSubject=new s.a(1),this.availableSports$=this.availableSportsSubject.asObservable(),this.drawnBingoBalls=[],this.drawnKenoBalls=[],this.startCasinoGameEmitter=new n.n,this.promotionModalEmitter=new n.n,this.lobbyCasinoCallEmitter=new n.n,this.routeStateEmitter=new n.n}sendData(e){this.dataEmtr.emit(e)}broadcastLiveMatch(e){this.liveMatchEmitter.emit(e)}notificationCountState(e){this.notificationCountEmitter.emit(e)}newNotificationReceived(e){this.notificationReceivedEmitter.emit(e)}broadcastLiveSportIdSelection(e){this.liveSportId.next(e)}broadcastLiveMatchIdSelection(e){this.liveMatchId.next(e)}newBallIsDrawn(e){this.ballDrawn.next(e)}kenoNewBallIsDrawn(e){this.kenoBallDrawn.next(e)}publicTicketOpen(e){this.encryptedPinEmitter.next(e)}ticketDetails(e){this.ticketEmitter.next(e)}userLoggedInNotification(){this.userLoggedInEmitter.next()}refreshConfig(){this.refreshConfigEmitter.next(!0)}modalEscaped(){this.modalEscapeEmitter.next(!0)}payinFocus(){this.payinInputEmitter.next(!0)}repeatTicket(){this.repeatTicketEmitter.next(!0)}openModal(e){this.openModalEmitter.next(e)}availableSports(e){this.availableSportsSubject.next(e)}onStartCasinoGame(e){this.startCasinoGameEmitter.next(e)}onPromotionModalSend(e){this.promotionModalEmitter.next(e)}onLobbyCasinoCallEmitter(){this.lobbyCasinoCallEmitter.next(!0)}setSegmentRoute(e){this.routeState=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},Z4QM:function(e,t,i){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i("wd/R"))},Z57B:function(e,t,i){"use strict";var n=i("Re0n"),s=i("aK2G");t.timestamp=function(e){return void 0===e&&(e=n.async),s.map((function(t){return new r(t,e.now())}))};var r=function(){return function(e,t){this.value=e,this.timestamp=t}}();t.Timestamp=r},Z5tI:function(e,t,i){"use strict";var n=i("MkmW");t.subscribeToPromise=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,n.hostReportError),t}}},ZAMP:function(e,t,i){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wd/R"))},ZCeS:function(e,t,i){"use strict";t.Scheduler=function(){function e(t,i){void 0===i&&(i=e.now),this.SchedulerAction=t,this.now=i}return e.prototype.schedule=function(e,t,i){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(i,t)},e.now=Date.now?Date.now:function(){return+new Date},e}()},ZOsW:function(e,t,i){"use strict";i.d(t,"a",(function(){return xe})),i.d(t,"b",(function(){return Ie})),i.d(t,"c",(function(){return Me}));var n=i("fXoL"),s=i("3Pt+"),r=i("1G5W"),o=i("3UWI"),a=i("JX91"),c=i("vkgz"),l=i("Kj3r"),u=i("pLZG"),h=i("lJxs"),d=i("eNwd"),f=i("7Hc7"),p=i("XNiG"),m=i("xgIS"),g=i("VRyK"),_=i("ofXK");const b=["content"],y=["scroll"],v=["padding"],F=function(e){return{searchTerm:e}};function k(e,t){if(1&e&&(n.bc(0,"div",6),n.Xb(1,7),n.ac()),2&e){const e=n.nc();n.Hb(1),n.wc("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",n.Bc(2,F,e.filterValue))}}function w(e,t){if(1&e&&(n.bc(0,"div",8),n.Xb(1,7),n.ac()),2&e){const e=n.nc();n.Hb(1),n.wc("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",n.Bc(2,F,e.filterValue))}}const S=["*"],T=["searchInput"];function D(e,t){if(1&e){const e=n.cc();n.bc(0,"span",15),n.jc("click",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).unselect(i)})),n.Yc(1,"\xd7"),n.ac(),n.Wb(2,"span",16)}if(2&e){const e=n.nc().$implicit,t=n.nc(2);n.Hb(2),n.wc("ngItemLabel",e.label)("escape",t.escapeHTML)}}function E(e,t){}const M=function(e,t,i){return{item:e,clear:t,label:i}};function C(e,t){if(1&e&&(n.bc(0,"div",12),n.Wc(1,D,3,2,"ng-template",null,13,n.Xc),n.Wc(3,E,0,0,"ng-template",14),n.ac()),2&e){const e=t.$implicit,i=n.Jc(2),s=n.nc(2);n.Mb("ng-value-disabled",e.disabled),n.Hb(3),n.wc("ngTemplateOutlet",s.labelTemplate||i)("ngTemplateOutletContext",n.Dc(4,M,e.value,s.clearItem,e.label))}}function O(e,t){if(1&e&&(n.Zb(0),n.Wc(1,C,4,8,"div",11),n.Yb()),2&e){const e=n.nc();n.Hb(1),n.wc("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByOption)}}function x(e,t){}const L=function(e,t){return{items:e,clear:t}};function j(e,t){if(1&e&&n.Wc(0,x,0,0,"ng-template",14),2&e){const e=n.nc();n.wc("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",n.Cc(2,L,e.selectedValues,e.clearItem))}}function I(e,t){1&e&&n.Wb(0,"div",19)}function A(e,t){}function N(e,t){if(1&e&&(n.Zb(0),n.Wc(1,I,1,0,"ng-template",null,17,n.Xc),n.Wc(3,A,0,0,"ng-template",18),n.Yb()),2&e){const e=n.Jc(2),t=n.nc();n.Hb(3),n.wc("ngTemplateOutlet",t.loadingSpinnerTemplate||e)}}function R(e,t){if(1&e&&(n.bc(0,"span",20),n.bc(1,"span",21),n.Yc(2,"\xd7"),n.ac(),n.ac()),2&e){const e=n.nc();n.xc("title",e.clearAllText)}}function P(e,t){if(1&e&&n.Wb(0,"span",27),2&e){const e=n.nc().$implicit,t=n.nc(2);n.wc("ngItemLabel",e.label)("escape",t.escapeHTML)}}function B(e,t){}const Y=function(e,t,i,n){return{item:e,item$:t,index:i,searchTerm:n}};function H(e,t){if(1&e){const e=n.cc();n.bc(0,"div",25),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).toggleItem(s)}))("mouseover",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).onItemHover(s)})),n.Wc(1,P,1,2,"ng-template",null,26,n.Xc),n.Wc(3,B,0,0,"ng-template",14),n.ac()}if(2&e){const e=t.$implicit,i=n.Jc(2),s=n.nc(2);n.Mb("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===s.itemsList.markedItem),n.Ib("role",e.children?"group":"option")("aria-selected",e.selected)("id",null==e?null:e.htmlId),n.Hb(3),n.wc("ngTemplateOutlet",e.children?s.optgroupTemplate||i:s.optionTemplate||i)("ngTemplateOutletContext",n.Ec(17,Y,e.value,e,e.index,s.searchTerm))}}function V(e,t){if(1&e&&(n.bc(0,"span"),n.bc(1,"span",30),n.Yc(2),n.ac(),n.Yc(3),n.ac()),2&e){const e=n.nc(3);n.Hb(2),n.Zc(e.addTagText),n.Hb(1),n.ad('"',e.searchTerm,'"')}}function U(e,t){}function W(e,t){if(1&e){const e=n.cc();n.bc(0,"div",28),n.jc("mouseover",(function(t){return n.Mc(e),n.nc(2).itemsList.unmarkItem()}))("click",(function(t){return n.Mc(e),n.nc(2).selectTag()})),n.Wc(1,V,4,2,"ng-template",null,29,n.Xc),n.Wc(3,U,0,0,"ng-template",14),n.ac()}if(2&e){const e=n.Jc(2),t=n.nc(2);n.Mb("ng-option-marked",!t.itemsList.markedItem),n.Hb(3),n.wc("ngTemplateOutlet",t.tagTemplate||e)("ngTemplateOutletContext",n.Bc(4,F,t.searchTerm))}}function z(e,t){if(1&e&&(n.bc(0,"div",32),n.Yc(1),n.ac()),2&e){const e=n.nc(3);n.Hb(1),n.Zc(e.notFoundText)}}function $(e,t){}function G(e,t){if(1&e&&(n.Zb(0),n.Wc(1,z,2,1,"ng-template",null,31,n.Xc),n.Wc(3,$,0,0,"ng-template",14),n.Yb()),2&e){const e=n.Jc(2),t=n.nc(2);n.Hb(3),n.wc("ngTemplateOutlet",t.notFoundTemplate||e)("ngTemplateOutletContext",n.Bc(2,F,t.searchTerm))}}function q(e,t){if(1&e&&(n.bc(0,"div",32),n.Yc(1),n.ac()),2&e){const e=n.nc(3);n.Hb(1),n.Zc(e.typeToSearchText)}}function K(e,t){}function J(e,t){if(1&e&&(n.Zb(0),n.Wc(1,q,2,1,"ng-template",null,33,n.Xc),n.Wc(3,K,0,0,"ng-template",18),n.Yb()),2&e){const e=n.Jc(2),t=n.nc(2);n.Hb(3),n.wc("ngTemplateOutlet",t.typeToSearchTemplate||e)}}function Z(e,t){if(1&e&&(n.bc(0,"div",32),n.Yc(1),n.ac()),2&e){const e=n.nc(3);n.Hb(1),n.Zc(e.loadingText)}}function X(e,t){}function Q(e,t){if(1&e&&(n.Zb(0),n.Wc(1,Z,2,1,"ng-template",null,34,n.Xc),n.Wc(3,X,0,0,"ng-template",14),n.Yb()),2&e){const e=n.Jc(2),t=n.nc(2);n.Hb(3),n.wc("ngTemplateOutlet",t.loadingTextTemplate||e)("ngTemplateOutletContext",n.Bc(2,F,t.searchTerm))}}function ee(e,t){if(1&e){const e=n.cc();n.bc(0,"ng-dropdown-panel",22),n.jc("update",(function(t){return n.Mc(e),n.nc().viewPortItems=t}))("scroll",(function(t){return n.Mc(e),n.nc().scroll.emit(t)}))("scrollToEnd",(function(t){return n.Mc(e),n.nc().scrollToEnd.emit(t)}))("outsideClick",(function(t){return n.Mc(e),n.nc().close()})),n.Zb(1),n.Wc(2,H,4,22,"div",23),n.Wc(3,W,4,6,"div",24),n.Yb(),n.Wc(4,G,4,4,"ng-container",3),n.Wc(5,J,4,1,"ng-container",3),n.Wc(6,Q,4,4,"ng-container",3),n.ac()}if(2&e){const e=n.nc();n.Mb("ng-select-multiple",e.multiple),n.wc("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.classes:null)("id",e.dropdownId),n.Hb(2),n.wc("ngForOf",e.viewPortItems)("ngForTrackBy",e.trackByOption),n.Hb(1),n.wc("ngIf",e.showAddTag),n.Hb(1),n.wc("ngIf",e.showNoItemsFound()),n.Hb(1),n.wc("ngIf",e.showTypeToSearch()),n.Hb(1),n.wc("ngIf",e.loading&&0===e.itemsList.filteredItems.length)}}const te=/[&<>"']/g,ie=RegExp(te.source),ne={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function se(e){return null!=e}function re(e){return"object"==typeof e&&se(e)}function oe(e){return e instanceof Function}let ae=(()=>{class e{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){var t;this.element.nativeElement.innerHTML=this.escape?(t=this.ngItemLabel)&&ie.test(t)?t.replace(te,e=>ne[e]):t:this.ngItemLabel}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngItemLabel",""]],inputs:{escape:"escape",ngItemLabel:"ngItemLabel"},features:[n.Fb()]}),e})(),ce=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-option-tmp",""]]}),e})(),le=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-optgroup-tmp",""]]}),e})(),ue=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-label-tmp",""]]}),e})(),he=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-multi-label-tmp",""]]}),e})(),de=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-header-tmp",""]]}),e})(),fe=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-footer-tmp",""]]}),e})(),pe=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-notfound-tmp",""]]}),e})(),me=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-typetosearch-tmp",""]]}),e})(),ge=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-loadingtext-tmp",""]]}),e})(),_e=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-tag-tmp",""]]}),e})(),be=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ng-loadingspinner-tmp",""]]}),e})(),ye=(()=>{class e{warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();function ve(){return"axxxxxxxxxxx".replace(/[x]/g,(function(e){return(16*Math.random()|0).toString(16)}))}const Fe={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};function ke(e){return e.replace(/[^\u0000-\u007E]/g,e=>Fe[e]||e)}class we{constructor(e,t){this._ngSelect=e,this._selectionModel=t,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let e=this.selectedItems.length-1;for(;e>=0;e--){let t=this.selectedItems[e];if(!t.disabled)return t}return null}setItems(e){this._items=e.map((e,t)=>this.mapItem(e,t)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(e){if(e.selected||this.maxItemsSelected)return;const t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(e,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}unselect(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&se(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}findItem(e){let t;return t=this._ngSelect.compareWith?t=>this._ngSelect.compareWith(t.value,e):this._ngSelect.bindValue?t=>!t.children&&this.resolveNested(t.value,this._ngSelect.bindValue)===e:t=>t.value===e||!t.children&&t.label&&t.label===this.resolveNested(e,this._ngSelect.bindLabel),this._items.find(e=>t(e))}addItem(e){const t=this.mapItem(e,this._items.length);return this._items.push(t),this._filteredItems.push(t),t}clearSelected(e=!1){this._selectionModel.clear(e),this._items.forEach(t=>{t.selected=e&&t.selected&&t.disabled,t.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(e){return e=ke(e).toLocaleLowerCase(),this.filteredItems.find(t=>ke(t.label).toLocaleLowerCase().substr(0,e.length)===e)}filter(e){if(!e)return void this.resetFilteredItems();this._filteredItems=[],e=this._ngSelect.searchFn?e:ke(e).toLocaleLowerCase();const t=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(const n of Array.from(this._groups.keys())){const s=[];for(const r of this._groups.get(n))i&&(r.parent&&r.parent.selected||r.selected)||t(e,this._ngSelect.searchFn?r.value:r)&&s.push(r);if(s.length>0){const[e]=s.slice(-1);if(e.parent){const t=this._items.find(t=>t===e.parent);this._filteredItems.push(t)}this._filteredItems.push(...s)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(e=>!e.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(e){this._markedIndex=this._filteredItems.indexOf(e)}markSelectedOrDefault(e){if(0===this._filteredItems.length)return;const t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:e?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(e,t){if(!re(e))return e;if(-1===t.indexOf("."))return e[t];{let i=t.split("."),n=e;for(let e=0,t=i.length;e<t;++e){if(null==n)return null;n=n[i[e]]}return n}}mapItem(e,t){const i=se(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),n=se(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:t,label:se(i)?i.toString():"",value:n,disabled:e.disabled,htmlId:`${this._ngSelect.dropdownId}-${t}`}}mapSelectedItems(){const e=this._ngSelect.multiple;for(const t of this.selectedItems){const i=this._ngSelect.bindValue?this.resolveNested(t.value,this._ngSelect.bindValue):t.value,n=se(i)?this.findItem(i):null;this._selectionModel.unselect(t,e),this._selectionModel.select(n||t,e,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>-1===this.selectedItems.indexOf(e)))}_showSelected(e){if(this._filteredItems.push(e),e.parent){const t=e.parent;this._filteredItems.find(e=>e===t)||this._filteredItems.push(t)}else if(e.children)for(const t of e.children)t.selected=!1,this._filteredItems.push(t);this._filteredItems=[...this._filteredItems.sort((e,t)=>e.index-t.index)]}_hideSelected(e){this._filteredItems=this._filteredItems.filter(t=>t!==e),e.parent?e.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(t=>t!==e.parent)):e.children&&(this._filteredItems=this.filteredItems.filter(t=>t.parent!==e))}_defaultSearchFn(e,t){return ke(t.label).toLocaleLowerCase().indexOf(e)>-1}_getNextItemIndex(e){return e>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(e){0===this._filteredItems.length||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected)return-1;if(this._markedIndex>-1&&void 0===this.markedItem)return-1;const e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}_groupBy(e,t){const i=new Map;if(0===e.length)return i;if(Array.isArray(e[0].value[t])){for(const n of e){const e=(n.value[t]||[]).map((e,t)=>this.mapItem(e,t));i.set(n,e)}return i}const n=oe(this._ngSelect.groupBy),s=e=>{let i=n?t(e.value):e.value[t];return se(i)?i:void 0};for(const r of e){let e=s(r);const t=i.get(e);t?t.push(r):i.set(e,[r])}return i}_flatten(e){const t=oe(this._ngSelect.groupBy),i=[];for(const n of Array.from(e.keys())){let s=i.length;if(void 0===n){const t=e.get(void 0)||[];i.push(...t.map(e=>Object.assign({},e,{index:s++})));continue}const r=re(n),o={label:r?"":String(n),children:void 0,parent:null,index:s++,disabled:!this._ngSelect.selectableGroup,htmlId:ve()},a=t?this._ngSelect.bindLabel:this._ngSelect.groupBy,c=this._ngSelect.groupValue||(()=>r?n.value:{[a]:n}),l=e.get(n).map(e=>(e.parent=o,e.children=void 0,e.index=s++,e));o.children=l,o.value=c(n,l.map(e=>e.value)),i.push(o),i.push(...l)}return i}}const Se=function(){var e={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};return e[e.Tab]="Tab",e[e.Enter]="Enter",e[e.Esc]="Esc",e[e.Space]="Space",e[e.ArrowUp]="ArrowUp",e[e.ArrowDown]="ArrowDown",e[e.Backspace]="Backspace",e}();let Te=(()=>{class e{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,t,i){const n=this._dimensions,s=n.itemHeight*t,r=Math.max(0,e)/s*t;let o=Math.min(t,Math.ceil(r)+(n.itemsPerViewport+1));const a=Math.max(0,o-n.itemsPerViewport);let c=Math.min(a,Math.floor(r)),l=n.itemHeight*Math.ceil(c)-n.itemHeight*Math.min(c,i);return l=isNaN(l)?0:l,c=isNaN(c)?-1:c,o=isNaN(o)?-1:o,c-=i,c=Math.max(0,c),o+=i,o=Math.min(t,o),{topPadding:l,scrollHeight:s,start:c,end:o}}setDimensions(e,t){const i=Math.max(1,Math.floor(t/e));this._dimensions={itemHeight:e,panelHeight:t,itemsPerViewport:i}}getScrollTo(e,t,i){const{panelHeight:n}=this.dimensions,s=e+t,r=i+n;return n>=s&&i===e?null:s>r?i+s-r:e<=i?e:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const De="undefined"!=typeof requestAnimationFrame?d.a:f.a;let Ee=(()=>{class e{constructor(e,t,i,s,r){this._renderer=e,this._zone=t,this._panelService=i,this._document=r,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.n,this.scroll=new n.n,this.scrollToEnd=new n.n,this.outsideClick=new n.n,this._destroy$=new p.a,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=s.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:e,panelHeight:t}=this._panelService.dimensions,i=this.markedItem.index*e;return t>i?0:i}return 0}handleMousedown(e){"INPUT"!==e.target.tagName&&e.preventDefault()}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown()}ngOnChanges(e){if(e.items){const t=e.items;this._onItemsChange(t.currentValue,t.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,t=!1){if(!e)return;const i=this.items.indexOf(e);if(i<0||i>=this.itemsLength)return;let n;if(this.virtualScroll){const e=this._panelService.dimensions.itemHeight;n=this._panelService.getScrollTo(i*e,e,this._lastScrollPosition)}else{const i=this._dropdown.querySelector(`#${e.htmlId}`);n=this._panelService.getScrollTo(i.offsetTop,i.clientHeight,t?i.offsetTop:this._lastScrollPosition)}se(n)&&(this._scrollablePanel.scrollTop=n)}scrollToTag(){const e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){const e=this._parent.getBoundingClientRect(),t=this._select.getBoundingClientRect();this._setOffset(e,t)}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,"ng-select-top"),this._renderer.removeClass(this._dropdown,"ng-select-bottom"),this._renderer.addClass(this._select,"ng-select-top"),this._renderer.removeClass(this._select,"ng-select-bottom")):(this._renderer.addClass(this._dropdown,"ng-select-bottom"),this._renderer.removeClass(this._dropdown,"ng-select-top"),this._renderer.addClass(this._select,"ng-select-bottom"),this._renderer.removeClass(this._select,"ng-select-top")),this.appendTo&&this._updatePosition(),this._dropdown.style.opacity="1"}_handleScroll(){this._zone.runOutsideAngular(()=>{Object(m.a)(this.scrollElementRef.nativeElement,"scroll").pipe(Object(r.a)(this._destroy$),Object(o.a)(0,De)).subscribe(e=>this._onContentScrolled(e.target.scrollTop))})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Object(g.a)(Object(m.a)(this._document,"touchstart",{capture:!0}),Object(m.a)(this._document,"mousedown",{capture:!0})).pipe(Object(r.a)(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;const t=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&t&&t[0]&&this._select.contains(t[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,t){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(t):this._updateItems(t)}_updateItems(e){this.update.emit(this.items),!1!==e&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;const t=this._panelService.calculateItems(e=e||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(t.scrollHeight),this._contentPanel.style.transform=`translateY(${t.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(t.start,t.end)),this.scroll.emit({start:t.start,end:t.end})}),se(e)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{const t=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;return this._virtualPadding.style.height=`${t*this.itemsLength}px`,this._panelService.setDimensions(t,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(e){this._scrollToEndFired||0===e||e+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if("auto"!==this.position)return this.position;const t=this._select.getBoundingClientRect(),i=document.documentElement.scrollTop||document.body.scrollTop;return t.top+window.pageYOffset+t.height+e.getBoundingClientRect().height>i+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._parent.appendChild(this._dropdown)}}_updatePosition(){const e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),i=e.left-t.left;this._setOffset(t,e),this._dropdown.style.left=i+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_setOffset(e,t){const i=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=e.bottom-t.bottom+i+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-e.top+i+"px",this._dropdown.style.bottom="auto")}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.F),n.Vb(n.A),n.Vb(Te),n.Vb(n.l),n.Vb(_.d,8))},e.\u0275cmp=n.Pb({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,t){var i;1&e&&(n.Tc(b,!0,n.l),n.Tc(y,!0,n.l),n.Tc(v,!0,n.l)),2&e&&(n.Ic(i=n.kc())&&(t.contentElementRef=i.first),n.Ic(i=n.kc())&&(t.scrollElementRef=i.first),n.Ic(i=n.kc())&&(t.paddingElementRef=i.first))},hostBindings:function(e,t){1&e&&n.jc("mousedown",(function(e){return t.handleMousedown(e)}))},inputs:{items:"items",position:"position",virtualScroll:"virtualScroll",filterValue:"filterValue",markedItem:"markedItem",appendTo:"appendTo",bufferAmount:"bufferAmount",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.Fb()],ngContentSelectors:S,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,t){1&e&&(n.vc(),n.Wc(0,k,2,4,"div",0),n.bc(1,"div",1,2),n.Wb(3,"div",null,3),n.bc(5,"div",null,4),n.uc(7),n.ac(),n.ac(),n.Wc(8,w,2,4,"div",5)),2&e&&(n.wc("ngIf",t.headerTemplate),n.Hb(3),n.Mb("total-padding",t.virtualScroll),n.Hb(2),n.Mb("scrollable-content",t.virtualScroll&&t.items.length),n.Hb(3),n.wc("ngIf",t.footerTemplate))},directives:[_.q,_.u],encapsulation:2,changeDetection:0}),e})(),Me=(()=>{class e{constructor(e){this.elementRef=e,this.stateChange$=new p.a,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=this._isDisabled(e)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(e){return null!=e&&"false"!==`${e}`}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l))},e.\u0275cmp=n.Pb({type:e,selectors:[["ng-option"]],inputs:{disabled:"disabled",value:"value"},features:[n.Fb()],ngContentSelectors:S,decls:1,vars:0,template:function(e,t){1&e&&(n.vc(),n.uc(0))},encapsulation:2,changeDetection:0}),e})(),Ce=(()=>{class e{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Oe=new n.q("ng-select-selection-model");let xe=(()=>{class e{constructor(e,t,i,s,r,o,a){this.classes=e,this.autoFocus=t,this._cd=o,this._console=a,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.keyDownFn=e=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.n,this.focusEvent=new n.n,this.changeEvent=new n.n,this.openEvent=new n.n,this.closeEvent=new n.n,this.searchEvent=new n.n,this.clearEvent=new n.n,this.addEvent=new n.n,this.removeEvent=new n.n,this.scroll=new n.n,this.scrollToEnd=new n.n,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=ve(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new p.a,this._keyPress$=new p.a,this._onChange=e=>{},this._onTouched=()=>{},this.clearItem=e=>{const t=this.selectedItems.find(t=>t.value===e);this.unselect(t)},this.trackByOption=(e,t)=>this.trackByFn?this.trackByFn(t.value):t,this._mergeGlobalConfig(i),this.itemsList=new we(this,s()),this.element=r.nativeElement}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e}get compareWith(){return this._compareWith}set compareWith(e){if(!oe(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return se(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=se(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),se(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(Se[e.which]){if(!1===this.keyDownFn(e))return;this.handleKeyCode(e)}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){switch(e.which){case Se.ArrowDown:this._handleArrowDown(e);break;case Se.ArrowUp:this._handleArrowUp(e);break;case Se.Space:this._handleSpace(e);break;case Se.Enter:this._handleEnter(e);break;case Se.Tab:this._handleTab(e);break;case Se.Esc:this.close(),e.preventDefault();break;case Se.Backspace:this._handleBackspace()}}handleMousedown(e){const t=e.target;"INPUT"!==t.tagName&&e.preventDefault(),t.classList.contains("ng-clear-wrapper")?this.handleClearClick():t.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():t.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._onSelectionChanged())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))}selectTag(){let e;e=oe(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const t=e=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(e,null):this.itemsList.addItem(e);e instanceof Promise?e.then(e=>this.select(t(e))).catch(()=>{}):e&&this.select(t(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(t=>t.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(t=>t.label.toLowerCase()===e))&&!this.loading}showNoItemsFound(){const e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,this.searchWhileComposing||this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(e=>e.value)}),this.open())}onInputFocus(e){this.focused||(this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),this.isOpen||this.disabled||this._onTouched(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setItems(e){const t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=se(t)?!re(t):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&se(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const e=e=>{this.items=e.map(e=>({$ngOptionValue:e.value,$ngOptionLabel:e.elementRef.nativeElement.innerHTML,disabled:e.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},t=()=>{const e=Object(g.a)(this.ngOptions.changes,this._destroy$);Object(g.a)(...this.ngOptions.map(e=>e.stateChange$)).pipe(Object(r.a)(e)).subscribe(e=>{const t=this.itemsList.findItem(e.value);t.disabled=e.disabled,t.label=e.label||t.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Object(a.a)(this.ngOptions),Object(r.a)(this._destroy$)).subscribe(i=>{this.bindLabel=this._defaultLabel,e(i),t()})}_isValidWriteValue(e){if(!se(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;const t=e=>!(!se(this.compareWith)&&re(e)&&this.bindValue&&(this._console.warn(`Binding object(${JSON.stringify(e)}) with bindValue is not allowed.`),1));return this.multiple?Array.isArray(e)?e.every(e=>t(e)):(this._console.warn("Multiple select ngModel should be array."),!1):t(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;const t=e=>{let t=this.itemsList.findItem(e);if(t)this.itemsList.select(t);else{const i=re(e),n=!i&&!this.bindValue;i||n?this.itemsList.select(this.itemsList.mapItem(e,null)):this.bindValue&&(t={[this.bindLabel]:null,[this.bindValue]:e},this.itemsList.select(this.itemsList.mapItem(t,null)))}};this.multiple?e.forEach(e=>t(e)):t(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(Object(r.a)(this._destroy$),Object(c.a)(e=>this._pressedKeys.push(e)),Object(l.a)(200),Object(u.a)(()=>this._pressedKeys.length>0),Object(h.a)(()=>this._pressedKeys.join(""))).subscribe(e=>{const t=this.itemsList.findByLabel(e);t&&(this.isOpen?(this.itemsList.markItem(t),this._cd.markForCheck()):this.select(t)),this._pressedKeys=[]})}_setInputAttributes(){const e=this.searchInput.nativeElement,t=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(const i of Object.keys(t))e.setAttribute(i,t[i])}_updateNgModel(){const e=[];for(const i of this.selectedItems)if(this.bindValue){let t=null;t=i.children?i.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(i.value,this.bindValue),e.push(t)}else e.push(i.value);const t=this.selectedItems.map(e=>e.value);this.multiple?(this._onChange(e),this.changeEvent.emit(t)):(this._onChange(se(e[0])?e[0]:null),this.changeEvent.emit(t[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){(!1!==this.isOpen||this.addTag)&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){const t=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)}_handleBackspace(){!this.searchTerm&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=se(this.virtualScroll)?this.virtualScroll:!!se(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=se(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.appearance=this.appearance||e.appearance}}return e.\u0275fac=function(t){return new(t||e)(n.gc("class"),n.gc("autofocus"),n.Vb(Ce),n.Vb(Oe),n.Vb(n.l),n.Vb(n.h),n.Vb(ye))},e.\u0275cmp=n.Pb({type:e,selectors:[["ng-select"]],contentQueries:function(e,t,i){var s;1&e&&(n.Nb(i,ce,!0,n.M),n.Nb(i,le,!0,n.M),n.Nb(i,ue,!0,n.M),n.Nb(i,he,!0,n.M),n.Nb(i,de,!0,n.M),n.Nb(i,fe,!0,n.M),n.Nb(i,pe,!0,n.M),n.Nb(i,me,!0,n.M),n.Nb(i,ge,!0,n.M),n.Nb(i,_e,!0,n.M),n.Nb(i,be,!0,n.M),n.Nb(i,Me,!0)),2&e&&(n.Ic(s=n.kc())&&(t.optionTemplate=s.first),n.Ic(s=n.kc())&&(t.optgroupTemplate=s.first),n.Ic(s=n.kc())&&(t.labelTemplate=s.first),n.Ic(s=n.kc())&&(t.multiLabelTemplate=s.first),n.Ic(s=n.kc())&&(t.headerTemplate=s.first),n.Ic(s=n.kc())&&(t.footerTemplate=s.first),n.Ic(s=n.kc())&&(t.notFoundTemplate=s.first),n.Ic(s=n.kc())&&(t.typeToSearchTemplate=s.first),n.Ic(s=n.kc())&&(t.loadingTextTemplate=s.first),n.Ic(s=n.kc())&&(t.tagTemplate=s.first),n.Ic(s=n.kc())&&(t.loadingSpinnerTemplate=s.first),n.Ic(s=n.kc())&&(t.ngOptions=s))},viewQuery:function(e,t){var i;1&e&&(n.fd(Ee,!0),n.Tc(T,!0)),2&e&&(n.Ic(i=n.kc())&&(t.dropdownPanel=i.first),n.Ic(i=n.kc())&&(t.searchInput=i.first))},hostAttrs:["role","listbox",1,"ng-select"],hostVars:18,hostBindings:function(e,t){1&e&&n.jc("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&n.Mb("ng-select-single",!t.multiple)("ng-select-multiple",t.multiple)("ng-select-taggable",t.addTag)("ng-select-searchable",t.searchable)("ng-select-clearable",t.clearable)("ng-select-opened",t.isOpen)("ng-select-disabled",t.disabled)("ng-select-filtered",t.filtered)("ng-select-typeahead",t.typeahead)},inputs:{markFirst:"markFirst",dropdownPosition:"dropdownPosition",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",bufferAmount:"bufferAmount",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",keyDownFn:"keyDownFn",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",bindLabel:"bindLabel",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",virtualScroll:"virtualScroll",openOnEnter:"openOnEnter",appendTo:"appendTo",bindValue:"bindValue",appearance:"appearance",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",tabIndex:"tabIndex",typeahead:"typeahead"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n.Gb([{provide:s.j,useExisting:Object(n.V)(()=>e),multi:!0},Te]),n.Fb()],decls:14,vars:18,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],[1,"ng-input"],["role","combobox",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(e,t){if(1&e){const e=n.cc();n.bc(0,"div",0),n.jc("mousedown",(function(e){return t.handleMousedown(e)})),n.bc(1,"div",1),n.bc(2,"div",2),n.Yc(3),n.ac(),n.Wc(4,O,2,2,"ng-container",3),n.Wc(5,j,1,5,void 0,3),n.bc(6,"div",4),n.bc(7,"input",5,6),n.jc("input",(function(i){n.Mc(e);const s=n.Jc(8);return t.filter(s.value)}))("compositionstart",(function(e){return t.onCompositionStart()}))("compositionend",(function(i){n.Mc(e);const s=n.Jc(8);return t.onCompositionEnd(s.value)}))("focus",(function(e){return t.onInputFocus(e)}))("blur",(function(e){return t.onInputBlur(e)}))("change",(function(e){return e.stopPropagation()})),n.ac(),n.ac(),n.ac(),n.Wc(9,N,4,1,"ng-container",3),n.Wc(10,R,3,1,"span",7),n.bc(11,"span",8),n.Wb(12,"span",9),n.ac(),n.ac(),n.Wc(13,ee,7,19,"ng-dropdown-panel",10)}2&e&&(n.Mb("ng-appearance-outline","outline"===t.appearance)("ng-has-value",t.hasValue),n.Hb(3),n.Zc(t.placeholder),n.Hb(1),n.wc("ngIf",!t.multiLabelTemplate&&t.selectedItems.length>0),n.Hb(1),n.wc("ngIf",t.multiLabelTemplate&&t.selectedValues.length>0),n.Hb(2),n.wc("readOnly",!t.searchable||t.itemsList.maxItemsSelected)("disabled",t.disabled)("value",t.searchTerm?t.searchTerm:""),n.Ib("id",t.labelForId)("tabindex",t.tabIndex)("aria-expanded",t.isOpen)("aria-owns",t.isOpen?t.dropdownId:null)("aria-activedescendant",t.isOpen?null==t.itemsList?null:null==t.itemsList.markedItem?null:t.itemsList.markedItem.htmlId:null),n.Hb(2),n.wc("ngIf",t.loading),n.Hb(1),n.wc("ngIf",t.showClear()),n.Hb(3),n.wc("ngIf",t.isOpen))},directives:[_.q,_.p,_.u,ae,Ee,_.o],styles:[".ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:-webkit-box;display:flex;outline:0;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none;border:0;box-shadow:none;outline:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{-webkit-box-flex:1;flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute;z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation:.8s linear infinite load8;animation:.8s linear infinite load8}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}"],encapsulation:2,changeDetection:0}),e})();class Le{constructor(){this._selected=[]}get value(){return this._selected}select(e,t,i){if(e.selected=!0,(!e.children||!t&&i)&&this._selected.push(e),t)if(e.parent){const t=e.parent.children.length,i=e.parent.children.filter(e=>e.selected).length;e.parent.selected=t===i}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),this._selected=i&&this._activeChildren(e)?[...this._selected.filter(t=>t.parent!==e),e]:[...this._selected,...e.children.filter(e=>!e.disabled)])}unselect(e,t){if(this._selected=this._selected.filter(t=>t!==e),e.selected=!1,t)if(e.parent&&e.parent.selected){const t=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),this._selected.push(...t.filter(t=>t!==e&&!t.disabled)),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))}clear(e){this._selected=e?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(e,t){for(const i of e)i.disabled||(i.selected=t)}_removeChildren(e){this._selected=[...this._selected.filter(t=>t.parent!==e),...e.children.filter(t=>t.parent===e&&t.disabled&&t.selected)]}_removeParent(e){this._selected=this._selected.filter(t=>t!==e)}_activeChildren(e){return e.children.every(e=>!e.disabled||e.selected)}}const je=function(){return new Le};let Ie=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[{provide:Oe,useValue:je}],imports:[[_.c]]}),e})()},ZUHj:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("51Dv"),s=i("SeVD"),r=i("HDdC");function o(e,t,i,o,a=new n.a(e,i,o)){if(!a.closed)return t instanceof r.a?t.subscribe(a):Object(s.a)(t)(a)}},ZXB4:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.filter=function(e,t){return function(i){return i.lift(new r(e,t))}};var r=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))},e}(),o=function(e){function t(t,i,n){e.call(this,t),this.predicate=i,this.thisArg=n,this.count=0}return n(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)},t}(s.Subscriber)},Zduo:function(e,t,i){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,i){return e>11?i?"p.t.m.":"P.T.M.":i?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i("wd/R"))},Zy1z:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(){return e=>e.lift(new r)}class r{call(e,t){return t.subscribe(new o(e))}}class o extends n.a{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}},aIdf:function(e,t,i){!function(e){"use strict";function t(e,t,i){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(i("wd/R"))},aIsn:function(e,t,i){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},aK2G:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.map=function(e,t){return function(i){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new r(e,t))}};var r=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.project,this.thisArg))},e}();t.MapOperator=r;var o=function(e){function t(t,i,n){e.call(this,t),this.project=i,this.count=0,this.thisArg=n||this}return n(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)},t}(s.Subscriber)},aQkU:function(e,t,i){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wd/R"))},ast0:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("4WIM");t.windowCount=function(e,t){return void 0===t&&(t=0),function(i){return i.lift(new o(e,t))}};var o=function(){function e(e,t){this.windowSize=e,this.startWindowEvery=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.windowSize,this.startWindowEvery))},e}(),a=function(e){function t(t,i,n){e.call(this,t),this.destination=t,this.windowSize=i,this.startWindowEvery=n,this.windows=[new r.Subject],this.count=0,t.next(this.windows[0])}return n(t,e),t.prototype._next=function(e){for(var t=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,i=this.destination,n=this.windowSize,s=this.windows,o=s.length,a=0;a<o&&!this.closed;a++)s[a].next(e);var c=this.count-n+1;if(c>=0&&c%t==0&&!this.closed&&s.shift().complete(),++this.count%t==0&&!this.closed){var l=new r.Subject;s.push(l),i.next(l)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(s.Subscriber)},b1Dy:function(e,t,i){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},b6Qw:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("fXoL"),s=i("ofXK");let r=(()=>{class e{constructor(e,t){this.document=e,this.platformId=t,this.documentIsAccessible=Object(s.H)(this.platformId)}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);const t=this.getCookieRegExp(e).exec(this.document.cookie);return this.safeDecodeURIComponent(t[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const e={},t=this.document;return t.cookie&&""!==t.cookie&&t.cookie.split(";").forEach(t=>{const[i,n]=t.split("=");e[this.safeDecodeURIComponent(i.replace(/^ /,""))]=this.safeDecodeURIComponent(n)}),e}set(e,t,i,n,s,r,o){if(!this.documentIsAccessible)return;if("number"==typeof i||i instanceof Date||n||s||r||o)return void this.set(e,t,{expires:i,path:n,domain:s,secure:r,sameSite:o||"Lax"});let a=encodeURIComponent(e)+"="+encodeURIComponent(t)+";";const c=i||{};c.expires&&(a+="number"==typeof c.expires?"expires="+new Date((new Date).getTime()+1e3*c.expires*60*60*24).toUTCString()+";":"expires="+c.expires.toUTCString()+";"),c.path&&(a+="path="+c.path+";"),c.domain&&(a+="domain="+c.domain+";"),!1===c.secure&&"None"===c.sameSite&&(c.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.`+"More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130")),c.secure&&(a+="secure;"),c.sameSite||(c.sameSite="Lax"),a+="sameSite="+c.sameSite+";",this.document.cookie=a}delete(e,t,i,n,s="Lax"){if(!this.documentIsAccessible)return;const r=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:r,path:t,domain:i,secure:n,sameSite:s})}deleteAll(e,t,i,n="Lax"){if(!this.documentIsAccessible)return;const s=this.getAll();for(const r in s)s.hasOwnProperty(r)&&this.delete(r,e,t,i,n)}getCookieRegExp(e){const t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(t){return e}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(s.d),n.fc(n.C))},e.\u0275prov=Object(n.Rb)({factory:function(){return new e(Object(n.fc)(s.d),Object(n.fc)(n.C))},token:e,providedIn:"root"}),e})()},bHdf:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("5+tZ"),s=i("SpAZ");function r(e=Number.POSITIVE_INFINITY){return Object(n.a)(s.a,e)}},bOMt:function(e,t,i){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},bOdf:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("5+tZ");function s(e,t){return Object(n.a)(e,t,1)}},bXm7:function(e,t,i){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},bYM6:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i("wd/R"))},bpih:function(e,t,i){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},bq7C:function(e,t,i){"use strict";t.not=function(e,t){function i(){return!i.pred.apply(i.thisArg,arguments)}return i.pred=e,i.thisArg=t,i}},bxKX:function(e,t,i){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},c2HN:function(e,t,i){"use strict";function n(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}i.d(t,"a",(function(){return n}))},c4YM:function(e,t,i){"use strict";var n=i("rgOj");t.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged((function(i,n){return t?t(i[e],n[e]):i[e]===n[e]}))}},cRix:function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wd/R"))},cSoz:function(e,t,i){"use strict";var n=i("Vi6O"),s=i("6qA3"),r=i("Q1FS");t.subscribeToResult=function(e,t,i,o,a){if(void 0===a&&(a=new n.InnerSubscriber(e,i,o)),!a.closed)return t instanceof r.Observable?t.subscribe(a):s.subscribeTo(t)(a)}},cUCP:function(e,t,i){"use strict";var n=i("Re0n"),s=i("mdQD"),r=i("UqH8");t.auditTime=function(e,t){return void 0===t&&(t=n.async),s.audit((function(){return r.timer(e,t)}))}},cf1P:function(e,t,i){"use strict";var n=i("3VCA");t.multicast=function(e,t){return function(i){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new s(r,t));var o=Object.create(i,n.connectableObservableDescriptor);return o.source=i,o.subjectFactory=r,o}};var s=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var i=this.selector,n=this.subjectFactory(),s=i(n).subscribe(e);return s.add(t.subscribe(n)),s},e}();t.MulticastOperator=s},cp0P:function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i("HDdC"),s=i("DH7j"),r=i("lJxs"),o=i("XoHu"),a=i("Cfvw");function c(...e){if(1===e.length){const t=e[0];if(Object(s.a)(t))return l(t,null);if(Object(o.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(s.a)(e[0])?e[0]:e,null).pipe(Object(r.a)(e=>t(...e)))}return l(e,null)}function l(e,t){return new n.a(i=>{const n=e.length;if(0===n)return void i.complete();const s=new Array(n);let r=0,o=0;for(let c=0;c<n;c++){const l=Object(a.a)(e[c]);let u=!1;i.add(l.subscribe({next:e=>{u||(u=!0,o++),s[c]=e},error:e=>i.error(e),complete:()=>{r++,r!==n&&u||(o===n&&i.next(t?t.reduce((e,t,i)=>(e[t]=s[i],e),{}):s),i.complete())}}))}})}},crnd:function(e,t){function i(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}i.keys=function(){return[]},i.resolve=i,e.exports=i,i.id="crnd"},czMo:function(e,t,i){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wd/R"))},czP3:function(e,t,i){"use strict";var n=i("aK2G");function s(e,t){return function(i){for(var n=i,s=0;s<t;s++){var r=n[e[s]];if(void 0===r)return;n=r}return n}}t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var i=e.length;if(0===i)throw new Error("list of properties cannot be empty.");return function(t){return n.map(s(e,i))(t)}}},"d/wv":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("JPLv"),s=i("fXoL"),r=i("tyNb");let o=(()=>{class e{constructor(e,t){this.config=e,this.router=t}canActivate(e){const t=e.data.checker.Value,i=this.config.checkConfig(e.data.checker.Key);return i?i==t:(this.router.navigate([""]),!1)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.a),s.fc(r.e))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})()},dEu6:function(e,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"d",(function(){return r})),i.d(t,"a",(function(){return o})),i.d(t,"c",(function(){return a}));var n=i("fXoL");function s(e){return null!=e&&"false"!==`${e}`}function r(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function o(e){return Array.isArray(e)?e:[e]}function a(e){return e instanceof n.l?e.nativeElement:e}},dNwA:function(e,t,i){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i("wd/R"))},dZIy:function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m})),i.d(t,"c",(function(){return _})),i.d(t,"d",(function(){return g}));var n=i("fXoL"),s=i("pLZG"),r=i("3XJ7"),o=i("lUod"),a=i("R0Ic"),c=i("WyaX");const l=["*"];let u=(()=>{class e{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),h=(()=>{class e{constructor(){this.direction="down",this.isOpenChange=new n.n,this.isDisabledChange=new n.n,this.toggleClick=new n.n,this.dropdownMenu=new Promise(e=>{this.resolveDropdownMenu=e})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const d=[Object(a.j)({height:0,overflow:"hidden"}),Object(a.e)("220ms cubic-bezier(0, 0, 0.2, 1)",Object(a.j)({height:"*",overflow:"hidden"}))];let f=(()=>{class e{constructor(e,t,i,n,s){this._state=e,this.cd=t,this._renderer=i,this._element=n,this.isOpen=!1,this._factoryDropDownAnimation=s.build(d),this._subscription=e.isOpenChange.subscribe(e=>{this.isOpen=e;const t=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),t&&!Object(o.d)()&&(this._renderer.addClass(t,"show"),t.classList.contains("dropdown-menu-right")&&(this._renderer.setStyle(t,"left","auto"),this._renderer.setStyle(t,"right","0")),"up"===this.direction&&(this._renderer.setStyle(t,"top","auto"),this._renderer.setStyle(t,"transform","translateY(-101%)"))),t&&this._state.isAnimated&&this._factoryDropDownAnimation.create(t).play(),this.cd.markForCheck(),this.cd.detectChanges()})}get direction(){return this._state.direction}_contains(e){return this._element.nativeElement.contains(e)}ngOnDestroy(){this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(h),n.Vb(n.h),n.Vb(n.F),n.Vb(n.l),n.Vb(a.b))},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:l,decls:2,vars:8,template:function(e,t){1&e&&(n.vc(),n.bc(0,"div"),n.uc(1),n.ac()),2&e&&n.Mb("dropup","up"===t.direction)("dropdown","down"===t.direction)("show",t.isOpen)("open",t.isOpen)},directives:function(){return[p]},encapsulation:2,changeDetection:0}),e})(),p=(()=>{class e{constructor(e,t,i,n,s,r,o){this._elementRef=e,this._renderer=t,this._viewContainerRef=i,this._cis=n,this._state=s,this._config=r,this._isInlineOpen=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._factoryDropDownAnimation=o.build(d),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:h,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}set autoClose(e){this._state.autoClose=e}get autoClose(){return this._state.autoClose}set isAnimated(e){this._state.isAnimated=e}get isAnimated(){return this._state.isAnimated}set insideClick(e){this._state.insideClick=e}get insideClick(){return this._state.insideClick}set isDisabled(e){this._isDisabled=e,this._state.isDisabledChange.emit(e),e&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isShown}set isOpen(e){e?this.show():this.hide()}get isBs4(){return!Object(o.d)()}get _showInline(){return!this.container}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(e=>this.toggle(e))),this._subscriptions.push(this._state.isDisabledChange.pipe(Object(s.a)(e=>e)).subscribe(e=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled)return this._showInline?(this._inlinedMenu||this._state.dropdownMenu.then(e=>{this._dropdown.attachInline(e.viewContainer,e.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation()):void this._state.dropdownMenu.then(e=>{const t=this.dropup||void 0!==this.dropup&&this.dropup;this._state.direction=t?"up":"down";const i=this.placement||(t?"top start":"bottom start");this._dropdown.attach(f).to(this.container).position({attachment:i}).show({content:e.templateRef,placement:i}),this._state.isOpenChange.emit(!0)}).catch()}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(e){return this.isOpen||!e?this.hide():this.show()}_contains(e){return this._elementRef.nativeElement.contains(e.target)||this._dropdown.instance&&this._dropdown.instance._contains(e.target)}ngOnDestroy(){for(const e of this._subscriptions)e.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){Object(o.d)()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const e=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",e?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",e?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.F),n.Vb(n.P),n.Vb(r.a),n.Vb(h),n.Vb(u),n.Vb(a.b))},e.\u0275dir=n.Qb({type:e,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(e,t){2&e&&n.Mb("dropup",t.dropup)("open",t.isOpen)("show",t.isOpen&&t.isBs4)},inputs:{autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen",placement:"placement",triggers:"triggers",container:"container",dropup:"dropup"},outputs:{onShown:"onShown",onHidden:"onHidden",isOpenChange:"isOpenChange"},exportAs:["bs-dropdown"],features:[n.Gb([h])]}),e})(),m=(()=>{class e{constructor(e,t,i){e.resolveDropdownMenu({templateRef:i,viewContainer:t})}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(h),n.Vb(n.P),n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),e})(),g=(()=>{class e{constructor(e,t,i,n,s){this._changeDetectorRef=e,this._dropdown=t,this._element=i,this._renderer=n,this._state=s,this.isDisabled=null,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(e=>{this.isOpen=e,e?(this._documentClickListener=this._renderer.listen("document","click",e=>{!this._state.autoClose||2===e.button||this._element.nativeElement.contains(e.target)||this._state.insideClick&&this._dropdown._contains(e)||(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener(),this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(e=>this.isDisabled=e||null))}onClick(){this.isDisabled||this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const e of this._subscriptions)e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.h),n.Vb(p),n.Vb(n.l),n.Vb(n.F),n.Vb(h))},e.\u0275dir=n.Qb({type:e,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t.onClick()})),2&e&&n.Ib("aria-haspopup",!0)("disabled",t.isDisabled)("aria-expanded",t.isOpen)},exportAs:["bs-dropdown-toggle"]}),e})(),_=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[r.a,c.a,h]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)}}),e})()},drKT:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("r4Kj"),s=i("jtHE"),r=i("fXoL");let o=(()=>{class e{constructor(e){this.config=e}initialize(){if(this.cfgJson.ZendeskChatToken){const e=new s.a(1);if(window.zESettings={webWidget:{color:{theme:"#000000"}}},document.getElementById("ze-snippet"))e.next(!0),e.complete();else{const t=document.createElement("script");t.type="application/javascript",t.src="https://static.zdassets.com/ekr/snippet.js?key="+this.cfgJson.ZendeskChatToken,t.id="ze-snippet",t.defer=!0,t.onload=()=>{zE("messenger","hide"),e.next(!0),e.complete()},t.onerror=()=>{e.next(!1),e.complete(),console.error("Unable to initialize zendesk")},document.head.appendChild(t)}return e.asObservable()}}get cfgJson(){return this.config.config}}return e.\u0275fac=function(t){return new(t||e)(r.fc(n.a))},e.\u0275prov=r.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"e+ae":function(e,t,i){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function s(e,t,i,s){var r=e+" ";switch(i){case"s":return t||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||s?r+(n(e)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return t?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return t||s?r+(n(e)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?r+(n(e)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return t||s?"de\u0148":"d\u0148om";case"dd":return t||s?r+(n(e)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return t||s?"mesiac":"mesiacom";case"MM":return t||s?r+(n(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||s?"rok":"rokom";case"yy":return t||s?r+(n(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},eBTF:function(e,t,i){"use strict";var n=i("/WK6");function s(){return function(){function e(){this._values=[]}return e.prototype.add=function(e){this.has(e)||this._values.push(e)},e.prototype.has=function(e){return-1!==this._values.indexOf(e)},Object.defineProperty(e.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._values.length=0},e}()}t.minimalSetImpl=s,t.Set=n.root.Set||s()},eIep:function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i("l7GE"),s=i("51Dv"),r=i("ZUHj"),o=i("lJxs"),a=i("Cfvw");function c(e,t){return"function"==typeof t?i=>i.pipe(c((i,n)=>Object(a.a)(e(i,n)).pipe(Object(o.a)((e,s)=>t(i,e,n,s))))):t=>t.lift(new l(e))}class l{constructor(e){this.project=e}call(e,t){return t.subscribe(new u(e,this.project))}}class u extends n.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this._innerSub(t,e,i)}_innerSub(e,t,i){const n=this.innerSubscription;n&&n.unsubscribe();const o=new s.a(this,t,i),a=this.destination;a.add(o),this.innerSubscription=Object(r.a)(this,e,void 0,void 0,o),this.innerSubscription!==o&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,i,n,s){this.destination.next(t)}}},eNwd:function(e,t,i){"use strict";var n=i("3N8a");class s extends n.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var r=i("IjjT");class o extends r.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,n=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++n<s&&(e=t.shift()));if(this.active=!1,i){for(;++n<s&&(e=t.shift());)e.unsubscribe();throw i}}}i.d(t,"a",(function(){return a}));const a=new o(s)},eO1q:function(e,t,i){"use strict";var n=i("fXoL"),s=i("R0Ic"),r=i("ofXK"),o=i("YyRF");let a=(()=>{let e=class{constructor(e){this.el=e,this.iconPos="left",this.cornerStyleClass="ui-corner-all"}ngAfterViewInit(){if(o.a.addMultipleClasses(this.el.nativeElement,this.getStyleClass()),this.icon){let e=document.createElement("span");e.setAttribute("aria-hidden","true"),e.className=("right"==this.iconPos?"ui-button-icon-right":"ui-button-icon-left")+" ui-clickable "+this.icon,this.el.nativeElement.appendChild(e)}let e=document.createElement("span");this.icon&&!this.label&&e.setAttribute("aria-hidden","true"),e.className="ui-button-text ui-clickable",e.appendChild(document.createTextNode(this.label||"ui-btn")),this.el.nativeElement.appendChild(e),this.initialized=!0}getStyleClass(){let e="ui-button ui-widget ui-state-default "+this.cornerStyleClass;return e+=this.icon?null!=this.label&&null!=this.label&&""!=this.label?"left"==this.iconPos?" ui-button-text-icon-left":" ui-button-text-icon-right":" ui-button-icon-only":this.label?" ui-button-text-only":" ui-button-text-empty",e}setStyleClass(){let e=this.getStyleClass();this.el.nativeElement.className=e}get label(){return this._label}set label(e){this._label=e,this.initialized&&(o.a.findSingle(this.el.nativeElement,".ui-button-text").textContent=this._label||"ui-btn",this.icon||(this._label?(o.a.removeClass(this.el.nativeElement,"ui-button-text-empty"),o.a.addClass(this.el.nativeElement,"ui-button-text-only")):(o.a.addClass(this.el.nativeElement,"ui-button-text-empty"),o.a.removeClass(this.el.nativeElement,"ui-button-text-only"))),this.setStyleClass())}get icon(){return this._icon}set icon(e){if(this._icon=e,this.initialized){let e="right"==this.iconPos?"ui-button-icon-right":"ui-button-icon-left";o.a.findSingle(this.el.nativeElement,".ui-clickable").className=e+" ui-clickable "+this.icon,this.setStyleClass()}}ngOnDestroy(){for(;this.el.nativeElement.hasChildNodes();)this.el.nativeElement.removeChild(this.el.nativeElement.lastChild);this.initialized=!1}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l))},e.\u0275dir=n.Qb({type:e,selectors:[["","pButton",""]],inputs:{iconPos:"iconPos",cornerStyleClass:"cornerStyleClass",label:"label",icon:"icon"}}),e})(),c=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})();var l=i("7zfz"),u=i("3Pt+");i.d(t,"a",(function(){return ae})),i.d(t,"b",(function(){return ce}));const h=["contentWrapper"],d=["inputfield"],f=function(e){return{"ui-state-disabled":e}};function p(e,t){if(1&e){const e=n.cc();n.bc(0,"button",6),n.jc("click",(function(t){n.Mc(e),n.nc();const i=n.Jc(1);return n.nc().onButtonClick(t,i)})),n.ac()}if(2&e){const e=n.nc(2);n.wc("icon",e.icon)("ngClass",n.Bc(3,f,e.disabled))("disabled",e.disabled)}}function m(e,t){if(1&e){const e=n.cc();n.bc(0,"input",3,4),n.jc("focus",(function(t){return n.Mc(e),n.nc().onInputFocus(t)}))("keydown",(function(t){return n.Mc(e),n.nc().onInputKeydown(t)}))("click",(function(t){return n.Mc(e),n.nc().onInputClick()}))("blur",(function(t){return n.Mc(e),n.nc().onInputBlur(t)}))("input",(function(t){return n.Mc(e),n.nc().onUserInput(t)})),n.ac(),n.Wc(2,p,1,5,"button",5)}if(2&e){const e=n.nc();n.Jb(e.inputStyleClass),n.wc("value",e.inputFieldValue)("readonly",e.readonlyInput)("ngStyle",e.inputStyle)("placeholder",e.placeholder||"")("disabled",e.disabled)("ngClass","ui-inputtext ui-widget ui-state-default ui-corner-all"),n.Ib("id",e.inputId)("name",e.name)("required",e.required)("aria-required",e.required)("tabindex",e.tabindex)("aria-labelledby",e.ariaLabelledBy),n.Hb(2),n.wc("ngIf",e.showIcon)}}function g(e,t){if(1&e){const e=n.cc();n.bc(0,"a",24),n.jc("click",(function(t){return n.Mc(e),n.nc(4).onPrevButtonClick(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(4).onPrevButtonClick(t)}))("keydown",(function(t){return n.Mc(e),n.nc(4).onInputKeydown(t)})),n.Wb(1,"span",25),n.ac()}}function _(e,t){if(1&e&&(n.bc(0,"span",26),n.Yc(1),n.ac()),2&e){const e=n.nc().$implicit,t=n.nc(3);n.Hb(1),n.Zc(t.locale.monthNames[e.month])}}function b(e,t){if(1&e&&(n.bc(0,"option",29),n.Yc(1),n.ac()),2&e){const e=t.$implicit,i=t.index,s=n.nc(2).$implicit;n.wc("value",i)("selected",i===s.month),n.Hb(1),n.Zc(e)}}function y(e,t){if(1&e){const e=n.cc();n.bc(0,"select",27),n.jc("change",(function(t){return n.Mc(e),n.nc(4).onMonthDropdownChange(t.target.value)})),n.Wc(1,b,2,3,"option",28),n.ac()}if(2&e){const e=n.nc(4);n.Hb(1),n.wc("ngForOf",e.locale.monthNames)}}function v(e,t){if(1&e&&(n.bc(0,"option",29),n.Yc(1),n.ac()),2&e){const e=t.$implicit,i=n.nc(5);n.wc("value",e)("selected",e===i.currentYear),n.Hb(1),n.Zc(e)}}function F(e,t){if(1&e){const e=n.cc();n.bc(0,"select",30),n.jc("change",(function(t){return n.Mc(e),n.nc(4).onYearDropdownChange(t.target.value)})),n.Wc(1,v,2,3,"option",28),n.ac()}if(2&e){const e=n.nc(4);n.Hb(1),n.wc("ngForOf",e.yearOptions)}}function k(e,t){if(1&e&&(n.bc(0,"span",31),n.Yc(1),n.ac()),2&e){const e=n.nc().$implicit,t=n.nc(3);n.Hb(1),n.Zc("month"===t.view?t.currentYear:e.year)}}function w(e,t){if(1&e){const e=n.cc();n.bc(0,"a",32),n.jc("click",(function(t){return n.Mc(e),n.nc(4).onNextButtonClick(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(4).onNextButtonClick(t)}))("keydown",(function(t){return n.Mc(e),n.nc(4).onInputKeydown(t)})),n.Wb(1,"span",33),n.ac()}}function S(e,t){if(1&e&&(n.bc(0,"th",39),n.bc(1,"span"),n.Yc(2),n.ac(),n.ac()),2&e){const e=n.nc(5);n.Hb(2),n.Zc(e.locale.weekHeader)}}function T(e,t){if(1&e&&(n.bc(0,"th",40),n.bc(1,"span"),n.Yc(2),n.ac(),n.ac()),2&e){const e=t.$implicit;n.Hb(2),n.Zc(e)}}function D(e,t){if(1&e&&(n.bc(0,"td",43),n.bc(1,"span"),n.Yc(2),n.ac(),n.ac()),2&e){const e=n.nc().index,t=n.nc(2).$implicit;n.Hb(2),n.ad(" ",t.weekNumbers[e]," ")}}function E(e,t){if(1&e&&(n.Zb(0),n.Yc(1),n.Yb()),2&e){const e=n.nc(3).$implicit;n.Hb(1),n.Zc(e.day)}}function M(e,t){1&e&&n.Xb(0)}const C=function(e,t){return{"ui-state-active":e,"ui-state-highlight":t}},O=function(e){return{$implicit:e}};function x(e,t){if(1&e){const e=n.cc();n.bc(0,"a",47),n.jc("click",(function(t){n.Mc(e);const i=n.nc(2).$implicit;return n.nc(6).onDateSelect(t,i)}))("keydown",(function(t){n.Mc(e);const i=n.nc(2).$implicit,s=n.nc(3).index;return n.nc(3).onDateCellKeydown(t,i,s)})),n.Wc(1,E,2,1,"ng-container",9),n.Wc(2,M,1,0,"ng-container",48),n.ac()}if(2&e){const e=n.nc(2).$implicit,t=n.nc(6);n.wc("ngClass",n.Cc(4,C,t.isSelected(e),e.today)),n.Hb(1),n.wc("ngIf",!t.dateTemplate),n.Hb(1),n.wc("ngTemplateOutlet",t.dateTemplate)("ngTemplateOutletContext",n.Bc(7,O,e))}}function L(e,t){if(1&e&&(n.Zb(0),n.Yc(1),n.Yb()),2&e){const e=n.nc(3).$implicit;n.Hb(1),n.Zc(e.day)}}function j(e,t){1&e&&n.Xb(0)}function I(e,t){if(1&e&&(n.bc(0,"span",49),n.Wc(1,L,2,1,"ng-container",9),n.Wc(2,j,1,0,"ng-container",48),n.ac()),2&e){const e=n.nc(2).$implicit,t=n.nc(6);n.wc("ngClass",n.Cc(4,C,t.isSelected(e),e.today)),n.Hb(1),n.wc("ngIf",!t.disabledDateTemplate),n.Hb(1),n.wc("ngTemplateOutlet",t.disabledDateTemplate)("ngTemplateOutletContext",n.Bc(7,O,e))}}function A(e,t){if(1&e&&(n.Zb(0),n.Wc(1,x,3,9,"a",45),n.Wc(2,I,3,9,"span",46),n.Yb()),2&e){const e=n.nc().$implicit;n.Hb(1),n.wc("ngIf",e.selectable),n.Hb(1),n.wc("ngIf",!e.selectable)}}const N=function(e,t,i){return{"ui-datepicker-other-month":e,"ui-datepicker-current-day":t,"ui-datepicker-today":i}};function R(e,t){if(1&e&&(n.bc(0,"td",44),n.Wc(1,A,3,2,"ng-container",9),n.ac()),2&e){const e=t.$implicit,i=n.nc(6);n.wc("ngClass",n.Dc(2,N,e.otherMonth,i.isSelected(e),e.today)),n.Hb(1),n.wc("ngIf",!e.otherMonth||i.showOtherMonths)}}function P(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,D,3,1,"td",41),n.Wc(2,R,2,6,"td",42),n.ac()),2&e){const e=t.$implicit,i=n.nc(5);n.Hb(1),n.wc("ngIf",i.showWeek),n.Hb(1),n.wc("ngForOf",e)}}function B(e,t){if(1&e&&(n.bc(0,"div",34),n.bc(1,"table",35),n.bc(2,"thead"),n.bc(3,"tr"),n.Wc(4,S,3,1,"th",36),n.Wc(5,T,3,1,"th",37),n.ac(),n.ac(),n.bc(6,"tbody"),n.Wc(7,P,3,2,"tr",38),n.ac(),n.ac(),n.ac()),2&e){const e=n.nc().$implicit,t=n.nc(3);n.Hb(4),n.wc("ngIf",t.showWeek),n.Hb(1),n.wc("ngForOf",t.weekDays),n.Hb(2),n.wc("ngForOf",e.dates)}}function Y(e,t){if(1&e&&(n.bc(0,"div",14),n.bc(1,"div",15),n.Wc(2,g,2,0,"a",16),n.bc(3,"div",17),n.Wc(4,_,2,1,"span",18),n.Wc(5,y,2,1,"select",19),n.Wc(6,F,2,1,"select",20),n.Wc(7,k,2,1,"span",21),n.ac(),n.Wc(8,w,2,0,"a",22),n.ac(),n.Wc(9,B,8,3,"div",23),n.ac()),2&e){const e=t.index,i=n.nc(3);n.Hb(2),n.wc("ngIf",0===e),n.Hb(2),n.wc("ngIf",!i.monthNavigator&&"month"!==i.view),n.Hb(1),n.wc("ngIf",i.monthNavigator&&"month"!==i.view&&1===i.numberOfMonths),n.Hb(1),n.wc("ngIf",i.yearNavigator&&1===i.numberOfMonths),n.Hb(1),n.wc("ngIf",!i.yearNavigator),n.Hb(1),n.wc("ngIf",1===i.numberOfMonths||e===i.numberOfMonths-1),n.Hb(1),n.wc("ngIf","date"===i.view)}}const H=function(e,t){return{"ui-state-active":e,"ui-state-disabled":t}};function V(e,t){if(1&e){const e=n.cc();n.bc(0,"a",52),n.jc("click",(function(i){n.Mc(e);const s=t.index;return n.nc(4).onMonthSelect(i,s)}))("keydown",(function(i){n.Mc(e);const s=t.index;return n.nc(4).onMonthCellKeydown(i,s)})),n.Yc(1),n.ac()}if(2&e){const e=t.$implicit,i=t.index,s=n.nc(4);n.wc("ngClass",n.Cc(2,H,s.isMonthSelected(i),!s.isSelectable(1,i,s.currentYear,!1))),n.Hb(1),n.ad(" ",e," ")}}function U(e,t){if(1&e&&(n.bc(0,"div",50),n.Wc(1,V,2,5,"a",51),n.ac()),2&e){const e=n.nc(3);n.Hb(1),n.wc("ngForOf",e.monthPickerValues)}}function W(e,t){if(1&e&&(n.Zb(0),n.Wc(1,Y,10,7,"div",12),n.Wc(2,U,2,1,"div",13),n.Yb()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",e.months),n.Hb(1),n.wc("ngIf","month"===e.view)}}function z(e,t){if(1&e&&(n.bc(0,"div",59),n.bc(1,"a"),n.Wb(2,"span",56),n.ac(),n.bc(3,"span"),n.Yc(4),n.ac(),n.bc(5,"a"),n.Wb(6,"span",58),n.ac(),n.ac()),2&e){const e=n.nc(3);n.Hb(4),n.Zc(e.timeSeparator)}}const $=function(e){return{display:e}};function G(e,t){if(1&e){const e=n.cc();n.bc(0,"div",64),n.bc(1,"a",55),n.jc("keydown",(function(t){return n.Mc(e),n.nc(3).onContainerButtonKeydown(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(3).incrementSecond(t)}))("mousedown",(function(t){return n.Mc(e),n.nc(3).onTimePickerElementMouseDown(t,2,1)}))("mouseup",(function(t){return n.Mc(e),n.nc(3).onTimePickerElementMouseUp(t)}))("mouseout",(function(t){return n.Mc(e),n.nc(3).onTimePickerElementMouseOut(t)})),n.Wb(2,"span",56),n.ac(),n.bc(3,"span",57),n.Yc(4,"0"),n.ac(),n.bc(5,"span"),n.Yc(6),n.ac(),n.bc(7,"a",55),n.jc("keydown",(function(t){return n.Mc(e),n.nc(3).onContainerButtonKeydown(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(3).decrementSecond(t)}))("mousedown",(function(t){return n.Mc(e),n.nc(3).onTimePickerElementMouseDown(t,2,-1)}))("mouseup",(function(t){return n.Mc(e),n.nc(3).onTimePickerElementMouseUp(t)}))("mouseout",(function(t){return n.Mc(e),n.nc(3).onTimePickerElementMouseOut(t)})),n.Wb(8,"span",58),n.ac(),n.ac()}if(2&e){const e=n.nc(3);n.Hb(3),n.wc("ngStyle",n.Bc(2,$,e.currentSecond<10?"inline":"none")),n.Hb(3),n.Zc(e.currentSecond)}}function q(e,t){if(1&e){const e=n.cc();n.bc(0,"div",65),n.bc(1,"a",66),n.jc("keydown",(function(t){return n.Mc(e),n.nc(3).onContainerButtonKeydown(t)}))("click",(function(t){return n.Mc(e),n.nc(3).toggleAMPM(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(3).toggleAMPM(t)})),n.Wb(2,"span",56),n.ac(),n.bc(3,"span"),n.Yc(4),n.ac(),n.bc(5,"a",66),n.jc("keydown",(function(t){return n.Mc(e),n.nc(3).onContainerButtonKeydown(t)}))("click",(function(t){return n.Mc(e),n.nc(3).toggleAMPM(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(3).toggleAMPM(t)})),n.Wb(6,"span",58),n.ac(),n.ac()}if(2&e){const e=n.nc(3);n.Hb(4),n.Zc(e.pm?"PM":"AM")}}function K(e,t){if(1&e){const e=n.cc();n.bc(0,"div",53),n.bc(1,"div",54),n.bc(2,"a",55),n.jc("keydown",(function(t){return n.Mc(e),n.nc(2).onContainerButtonKeydown(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(2).incrementHour(t)}))("mousedown",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseDown(t,0,1)}))("mouseup",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseUp(t)}))("mouseout",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseOut(t)})),n.Wb(3,"span",56),n.ac(),n.bc(4,"span",57),n.Yc(5,"0"),n.ac(),n.bc(6,"span"),n.Yc(7),n.ac(),n.bc(8,"a",55),n.jc("keydown",(function(t){return n.Mc(e),n.nc(2).onContainerButtonKeydown(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(2).decrementHour(t)}))("mousedown",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseDown(t,0,-1)}))("mouseup",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseUp(t)}))("mouseout",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseOut(t)})),n.Wb(9,"span",58),n.ac(),n.ac(),n.bc(10,"div",59),n.bc(11,"a"),n.Wb(12,"span",56),n.ac(),n.bc(13,"span"),n.Yc(14),n.ac(),n.bc(15,"a"),n.Wb(16,"span",58),n.ac(),n.ac(),n.bc(17,"div",60),n.bc(18,"a",55),n.jc("keydown",(function(t){return n.Mc(e),n.nc(2).onContainerButtonKeydown(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(2).incrementMinute(t)}))("mousedown",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseDown(t,1,1)}))("mouseup",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseUp(t)}))("mouseout",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseOut(t)})),n.Wb(19,"span",56),n.ac(),n.bc(20,"span",57),n.Yc(21,"0"),n.ac(),n.bc(22,"span"),n.Yc(23),n.ac(),n.bc(24,"a",55),n.jc("keydown",(function(t){return n.Mc(e),n.nc(2).onContainerButtonKeydown(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc(2).decrementMinute(t)}))("mousedown",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseDown(t,1,-1)}))("mouseup",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseUp(t)}))("mouseout",(function(t){return n.Mc(e),n.nc(2).onTimePickerElementMouseOut(t)})),n.Wb(25,"span",58),n.ac(),n.ac(),n.Wc(26,z,7,1,"div",61),n.Wc(27,G,9,4,"div",62),n.Wc(28,q,7,1,"div",63),n.ac()}if(2&e){const e=n.nc(2);n.Hb(4),n.wc("ngStyle",n.Bc(8,$,e.currentHour<10?"inline":"none")),n.Hb(3),n.Zc(e.currentHour),n.Hb(7),n.Zc(e.timeSeparator),n.Hb(6),n.wc("ngStyle",n.Bc(10,$,e.currentMinute<10?"inline":"none")),n.Hb(3),n.Zc(e.currentMinute),n.Hb(3),n.wc("ngIf",e.showSeconds),n.Hb(1),n.wc("ngIf",e.showSeconds),n.Hb(1),n.wc("ngIf","12"==e.hourFormat)}}const J=function(e){return[e]};function Z(e,t){if(1&e){const e=n.cc();n.bc(0,"div",67),n.bc(1,"button",68),n.jc("keydown",(function(t){return n.Mc(e),n.nc(2).onContainerButtonKeydown(t)}))("click",(function(t){return n.Mc(e),n.nc(2).onTodayButtonClick(t)})),n.ac(),n.bc(2,"button",68),n.jc("keydown",(function(t){return n.Mc(e),n.nc(2).onContainerButtonKeydown(t)}))("click",(function(t){return n.Mc(e),n.nc(2).onClearButtonClick(t)})),n.ac(),n.ac()}if(2&e){const e=n.nc(2);n.Hb(1),n.wc("label",e._locale.today)("ngClass",n.Bc(4,J,e.todayButtonStyleClass)),n.Hb(1),n.wc("label",e._locale.clear)("ngClass",n.Bc(6,J,e.clearButtonStyleClass))}}const X=function(e,t,i,n,s,r,o){return{"ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all":!0,"ui-datepicker-inline":e,"ui-shadow":t,"ui-state-disabled":i,"ui-datepicker-timeonly":n,"ui-datepicker-multiple-month":s,"ui-datepicker-monthpicker":r,"ui-datepicker-touch-ui":o}},Q=function(e,t){return{showTransitionParams:e,hideTransitionParams:t}},ee=function(e){return{value:"visibleTouchUI",params:e}},te=function(e){return{value:"visible",params:e}};function ie(e,t){if(1&e){const e=n.cc();n.bc(0,"div",7,8),n.jc("@overlayAnimation.start",(function(t){return n.Mc(e),n.nc().onOverlayAnimationStart(t)}))("@overlayAnimation.done",(function(t){return n.Mc(e),n.nc().onOverlayAnimationDone(t)})),n.uc(2),n.Wc(3,W,3,2,"ng-container",9),n.Wc(4,K,29,12,"div",10),n.Wc(5,Z,3,8,"div",11),n.uc(6,1),n.ac()}if(2&e){const e=n.nc();n.Jb(e.panelStyleClass),n.wc("ngStyle",e.panelStyle)("ngClass",n.Hc(9,X,e.inline,!e.inline,e.disabled,e.timeOnly,e.numberOfMonths>1,"month"===e.view,e.touchUI))("@overlayAnimation",e.touchUI?n.Bc(20,ee,n.Cc(17,Q,e.showTransitionOptions,e.hideTransitionOptions)):n.Bc(25,te,n.Cc(22,Q,e.showTransitionOptions,e.hideTransitionOptions)))("@.disabled",!0===e.inline),n.Hb(3),n.wc("ngIf",!e.timeOnly),n.Hb(1),n.wc("ngIf",e.showTime||e.timeOnly),n.Hb(1),n.wc("ngIf",e.showButtonBar)}}const ne=[[["p-header"]],[["p-footer"]]],se=function(e,t){return{"ui-calendar":!0,"ui-calendar-w-btn":e,"ui-calendar-timeonly":t}},re=["p-header","p-footer"],oe={provide:u.j,useExisting:Object(n.V)(()=>ae),multi:!0};let ae=(()=>{let e=class{constructor(e,t,i,s){this.el=e,this.renderer=t,this.cd=i,this.zone=s,this.dateFormat="mm/dd/yy",this.multipleSeparator=",",this.rangeSeparator="-",this.inline=!1,this.showOtherMonths=!0,this.icon="pi pi-calendar",this.shortYearCutoff="+10",this.hourFormat="24",this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.showOnFocus=!0,this.showWeek=!1,this.dataType="date",this.selectionMode="single",this.todayButtonStyleClass="ui-button-secondary",this.clearButtonStyleClass="ui-button-secondary",this.autoZIndex=!0,this.baseZIndex=0,this.keepInvalid=!1,this.hideOnDateTimeSelect=!0,this.numberOfMonths=1,this.view="date",this.timeSeparator=":",this.focusTrap=!0,this.showTransitionOptions="225ms ease-out",this.hideTransitionOptions="195ms ease-in",this.onFocus=new n.n,this.onBlur=new n.n,this.onClose=new n.n,this.onSelect=new n.n,this.onInput=new n.n,this.onTodayClick=new n.n,this.onClearClick=new n.n,this.onMonthChange=new n.n,this.onYearChange=new n.n,this.onClickOutside=new n.n,this.onShow=new n.n,this._locale={firstDayOfWeek:0,dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"mm/dd/yy",weekHeader:"Wk"},this.onModelChange=()=>{},this.onModelTouched=()=>{},this.inputFieldValue=null,this.navigationState=null,this.convertTo24Hour=function(e,t){return"12"==this.hourFormat?12===e?t?12:0:t?e+12:e:e}}set content(e){this.contentViewChild=e,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):this.initFocusableCell())}get minDate(){return this._minDate}set minDate(e){this._minDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(e){this._disabledDates=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(e){this._disabledDays=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(e){if(this._yearRange=e,e){const t=e.split(":"),i=parseInt(t[0]),n=parseInt(t[1]);this.populateYearOptions(i,n)}}get showTime(){return this._showTime}set showTime(e){this._showTime=e,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get locale(){return this._locale}set locale(e){this._locale=e,"date"===this.view?(this.createWeekDays(),this.createMonths(this.currentMonth,this.currentYear)):"month"===this.view&&this.createMonthPickerValues()}ngOnInit(){const e=this.defaultDate||new Date;this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),"date"===this.view?(this.createWeekDays(),this.initTime(e),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7):"month"===this.view&&this.createMonthPickerValues()}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"date":this.dateTemplate=e.template;break;case"disabledDate":this.disabledDateTemplate=e.template;break;default:this.dateTemplate=e.template}})}populateYearOptions(e,t){this.yearOptions=[];for(let i=e;i<=t;i++)this.yearOptions.push(i)}createWeekDays(){this.weekDays=[];let e=this.locale.firstDayOfWeek;for(let t=0;t<7;t++)this.weekDays.push(this.locale.dayNamesMin[e]),e=6==e?0:++e}createMonthPickerValues(){this.monthPickerValues=[];for(let e=0;e<=11;e++)this.monthPickerValues.push(this.locale.monthNamesShort[e])}createMonths(e,t){this.months=this.months=[];for(let i=0;i<this.numberOfMonths;i++){let n=e+i,s=t;n>11&&(n=n%11-1,s=t+1),this.months.push(this.createMonth(n,s))}}getWeekNumber(e){let t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));let i=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((i-t.getTime())/864e5)/7)+1}createMonth(e,t){let i=[],n=this.getFirstDayOfMonthIndex(e,t),s=this.getDaysCountInMonth(e,t),r=this.getDaysCountInPrevMonth(e,t),o=1,a=new Date,c=[],l=Math.ceil((s+n)/7);for(let u=0;u<l;u++){let l=[];if(0==u){for(let s=r-n+1;s<=r;s++){let i=this.getPreviousMonthAndYear(e,t);l.push({day:s,month:i.month,year:i.year,otherMonth:!0,today:this.isToday(a,s,i.month,i.year),selectable:this.isSelectable(s,i.month,i.year,!0)})}let i=7-l.length;for(let n=0;n<i;n++)l.push({day:o,month:e,year:t,today:this.isToday(a,o,e,t),selectable:this.isSelectable(o,e,t,!1)}),o++}else for(let i=0;i<7;i++){if(o>s){let i=this.getNextMonthAndYear(e,t);l.push({day:o-s,month:i.month,year:i.year,otherMonth:!0,today:this.isToday(a,o-s,i.month,i.year),selectable:this.isSelectable(o-s,i.month,i.year,!0)})}else l.push({day:o,month:e,year:t,today:this.isToday(a,o,e,t),selectable:this.isSelectable(o,e,t,!1)});o++}this.showWeek&&c.push(this.getWeekNumber(new Date(l[0].year,l[0].month,l[0].day))),i.push(l)}return{month:e,year:t,dates:i,weekNumbers:c}}initTime(e){this.pm=e.getHours()>11,this.showTime?(this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds(),this.setCurrentHourPM(e.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(e){e.stopPropagation(),this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(e){e.stopPropagation(),this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){if(this.currentYear--,this.yearNavigator&&this.currentYear<this.yearOptions[0]){let e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]-e,this.yearOptions[this.yearOptions.length-1]-e)}}incrementYear(){if(this.currentYear++,this.yearNavigator&&this.currentYear>this.yearOptions[this.yearOptions.length-1]){let e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]+e,this.yearOptions[this.yearOptions.length-1]+e)}}onDateSelect(e,t){!this.disabled&&t.selectable?(this.isMultipleSelection()&&this.isSelected(t)?(this.value=this.value.filter((e,i)=>!this.isDateEquals(e,t)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(t)&&this.selectDate(t),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{e.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),e.preventDefault()):e.preventDefault()}shouldSelectDate(e){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(e,t){o.a.hasClass(e.target,"ui-state-disabled")||this.onDateSelect(e,{year:this.currentYear,month:t,day:1,selectable:!0})}updateInputfield(){let e="";if(this.value)if(this.isSingleSelection())e=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let t=0;t<this.value.length;t++)e+=this.formatDateTime(this.value[t]),t!==this.value.length-1&&(e+=this.multipleSeparator+" ");else if(this.isRangeSelection()&&this.value&&this.value.length){let t=this.value[1];e=this.formatDateTime(this.value[0]),t&&(e+=" "+this.rangeSeparator+" "+this.formatDateTime(t))}this.inputFieldValue=e,this.updateFilledState(),this.inputfieldViewChild&&this.inputfieldViewChild.nativeElement&&(this.inputfieldViewChild.nativeElement.value=this.inputFieldValue)}formatDateTime(e){let t=null;return e&&(this.timeOnly?t=this.formatTime(e):(t=this.formatDate(e,this.getDateFormat()),this.showTime&&(t+=" "+this.formatTime(e)))),t}setCurrentHourPM(e){"12"==this.hourFormat?(this.pm=e>11,this.currentHour=e>=12?12==e?12:e-12:0==e?12:e):this.currentHour=e}selectDate(e){let t=new Date(e.year,e.month,e.day);if(this.showTime&&(t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond)),this.minDate&&this.minDate>t&&(t=this.minDate,this.setCurrentHourPM(t.getHours()),this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds()),this.maxDate&&this.maxDate<t&&(t=this.maxDate,this.setCurrentHourPM(t.getHours()),this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds()),this.isSingleSelection())this.updateModel(t);else if(this.isMultipleSelection())this.updateModel(this.value?[...this.value,t]:[t]);else if(this.isRangeSelection())if(this.value&&this.value.length){let e=this.value[0],i=this.value[1];!i&&t.getTime()>=e.getTime()?i=t:(e=t,i=null),this.updateModel([e,i])}else this.updateModel([t,null]);this.onSelect.emit(t)}updateModel(e){if(this.value=e,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let e=null;this.value&&(e=this.value.map(e=>this.formatDateTime(e))),this.onModelChange(e)}}getFirstDayOfMonthIndex(e,t){let i=new Date;i.setDate(1),i.setMonth(e),i.setFullYear(t);let n=i.getDay()+this.getSundayIndex();return n>=7?n-7:n}getDaysCountInMonth(e,t){return 32-this.daylightSavingAdjust(new Date(t,e,32)).getDate()}getDaysCountInPrevMonth(e,t){let i=this.getPreviousMonthAndYear(e,t);return this.getDaysCountInMonth(i.month,i.year)}getPreviousMonthAndYear(e,t){let i,n;return 0===e?(i=11,n=t-1):(i=e-1,n=t),{month:i,year:n}}getNextMonthAndYear(e,t){let i,n;return 11===e?(i=0,n=t+1):(i=e+1,n=t),{month:i,year:n}}getSundayIndex(){return this.locale.firstDayOfWeek>0?7-this.locale.firstDayOfWeek:0}isSelected(e){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,e);if(this.isMultipleSelection()){let t=!1;for(let i of this.value)if(t=this.isDateEquals(i,e),t)break;return t}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],e)||this.isDateEquals(this.value[1],e)||this.isDateBetween(this.value[0],this.value[1],e):this.isDateEquals(this.value[0],e):void 0}isMonthSelected(e){let t=this.value?Array.isArray(this.value)?this.value[0].getDate():this.value.getDate():1;return this.isSelected({year:this.currentYear,month:e,day:t,selectable:!0})}isDateEquals(e,t){return!!e&&e.getDate()===t.day&&e.getMonth()===t.month&&e.getFullYear()===t.year}isDateBetween(e,t,i){if(e&&t){let n=new Date(i.year,i.month,i.day);return e.getTime()<=n.getTime()&&t.getTime()>=n.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(e,t,i,n){return e.getDate()===t&&e.getMonth()===i&&e.getFullYear()===n}isSelectable(e,t,i,n){let s=!0,r=!0,o=!0,a=!0;return!(n&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>i?s=!1:this.minDate.getFullYear()===i&&(this.minDate.getMonth()>t?s=!1:this.minDate.getMonth()===t&&this.minDate.getDate()>e&&(s=!1))),this.maxDate&&(this.maxDate.getFullYear()<i?r=!1:this.maxDate.getFullYear()===i&&(this.maxDate.getMonth()<t?r=!1:this.maxDate.getMonth()===t&&this.maxDate.getDate()<e&&(r=!1))),this.disabledDates&&(o=!this.isDateDisabled(e,t,i)),this.disabledDays&&(a=!this.isDayDisabled(e,t,i)),s&&r&&o&&a)}isDateDisabled(e,t,i){if(this.disabledDates)for(let n of this.disabledDates)if(n.getFullYear()===i&&n.getMonth()===t&&n.getDate()===e)return!0;return!1}isDayDisabled(e,t,i){if(this.disabledDays){let n=new Date(i,t,e).getDay();return-1!==this.disabledDays.indexOf(n)}return!1}onInputFocus(e){this.focus=!0,this.showOnFocus&&this.showOverlay(),this.onFocus.emit(e)}onInputClick(){this.overlay&&this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++o.a.zindex)),this.showOnFocus&&!this.overlayVisible&&this.showOverlay()}onInputBlur(e){this.focus=!1,this.onBlur.emit(e),this.keepInvalid||this.updateInputfield(),this.onModelTouched()}onButtonClick(e,t){this.overlayVisible?this.hideOverlay():(t.focus(),this.showOverlay())}onPrevButtonClick(e){this.navigationState={backward:!0,button:!0},this.navBackward(e)}onNextButtonClick(e){this.navigationState={backward:!1,button:!0},this.navForward(e)}onContainerButtonKeydown(e){switch(e.which){case 9:this.inline||this.trapFocus(e);break;case 27:this.overlayVisible=!1,e.preventDefault()}}onInputKeydown(e){this.isKeydown=!0,9===e.keyCode&&this.contentViewChild?this.trapFocus(e):27===e.keyCode&&this.overlayVisible&&(this.overlayVisible=!1,e.preventDefault())}onDateCellKeydown(e,t,i){const n=e.currentTarget,s=n.parentElement;switch(e.which){case 40:{n.tabIndex="-1";let t=o.a.index(s),i=s.parentElement.nextElementSibling;i?o.a.hasClass(i.children[t].children[0],"ui-state-disabled")?(this.navigationState={backward:!1},this.navForward(e)):(i.children[t].children[0].tabIndex="0",i.children[t].children[0].focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break}case 38:{n.tabIndex="-1";let t=o.a.index(s),i=s.parentElement.previousElementSibling;if(i){let n=i.children[t].children[0];o.a.hasClass(n,"ui-state-disabled")?(this.navigationState={backward:!0},this.navBackward(e)):(n.tabIndex="0",n.focus())}else this.navigationState={backward:!0},this.navBackward(e);e.preventDefault();break}case 37:{n.tabIndex="-1";let t=s.previousElementSibling;if(t){let e=t.children[0];o.a.hasClass(e,"ui-state-disabled")||o.a.hasClass(e.parentElement,"ui-datepicker-weeknumber")?this.navigateToMonth(!0,i):(e.tabIndex="0",e.focus())}else this.navigateToMonth(!0,i);e.preventDefault();break}case 39:{n.tabIndex="-1";let t=s.nextElementSibling;if(t){let e=t.children[0];o.a.hasClass(e,"ui-state-disabled")?this.navigateToMonth(!1,i):(e.tabIndex="0",e.focus())}else this.navigateToMonth(!1,i);e.preventDefault();break}case 13:this.onDateSelect(e,t),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}onMonthCellKeydown(e,t){const i=e.currentTarget;switch(e.which){case 38:case 40:{i.tabIndex="-1";var n=i.parentElement.children,s=o.a.index(i);let t=n[40===e.which?s+3:s-3];t&&(t.tabIndex="0",t.focus()),e.preventDefault();break}case 37:{i.tabIndex="-1";let t=i.previousElementSibling;t&&(t.tabIndex="0",t.focus()),e.preventDefault();break}case 39:{i.tabIndex="-1";let t=i.nextElementSibling;t&&(t.tabIndex="0",t.focus()),e.preventDefault();break}case 13:this.onMonthSelect(e,t),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}navigateToMonth(e,t){if(e)if(1===this.numberOfMonths||0===t)this.navigationState={backward:!0},this.navBackward(event);else{let e=o.a.find(this.contentViewChild.nativeElement.children[t-1],".ui-datepicker-calendar td a"),i=e[e.length-1];i.tabIndex="0",i.focus()}else if(1===this.numberOfMonths||t===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let e=o.a.findSingle(this.contentViewChild.nativeElement.children[t+1],".ui-datepicker-calendar td a");e.tabIndex="0",e.focus()}}updateFocus(){let e;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?o.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-prev").focus():o.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-next").focus();else{if(this.navigationState.backward){let t=o.a.find(this.contentViewChild.nativeElement,".ui-datepicker-calendar td a");e=t[t.length-1]}else e=o.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-calendar td a");e&&(e.tabIndex="0",e.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){let e;if("month"===this.view){let t=o.a.find(this.contentViewChild.nativeElement,".ui-monthpicker .ui-monthpicker-month:not(.ui-state-disabled)"),i=o.a.findSingle(this.contentViewChild.nativeElement,".ui-monthpicker .ui-monthpicker-month.ui-state-highlight");t.forEach(e=>e.tabIndex=-1),e=i||t[0],0===t.length&&o.a.find(this.contentViewChild.nativeElement,'.ui-monthpicker .ui-monthpicker-month.ui-state-disabled[tabindex = "0"]').forEach(e=>e.tabIndex=-1)}else e=o.a.findSingle(this.contentViewChild.nativeElement,"a.ui-state-active"),e||(e=o.a.findSingle(this.contentViewChild.nativeElement,"td.ui-datepicker-today a:not(.ui-state-disabled)")||o.a.findSingle(this.contentViewChild.nativeElement,".ui-datepicker-calendar td a"));e&&(e.tabIndex="0")}trapFocus(e){let t=o.a.getFocusableElements(this.contentViewChild.nativeElement);if(t&&t.length>0)if(document.activeElement){let i=t.indexOf(document.activeElement);if(e.shiftKey)if(-1==i||0===i)if(this.focusTrap)t[t.length-1].focus();else{if(-1===i)return this.hideOverlay();if(0===i)return}else t[i-1].focus();else if(-1==i||i===t.length-1){if(!this.focusTrap&&-1!=i)return this.hideOverlay();t[0].focus()}else t[i+1].focus()}else t[0].focus();e.preventDefault()}onMonthDropdownChange(e){this.currentMonth=parseInt(e),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}onYearDropdownChange(e){this.currentYear=parseInt(e),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}validateTime(e,t,i,n){let s=this.value;const r=this.convertTo24Hour(e,n);this.isRangeSelection()&&(s=this.value[1]||this.value[0]),this.isMultipleSelection()&&(s=this.value[this.value.length-1]);const o=s?s.toDateString():null;if(this.minDate&&o&&this.minDate.toDateString()===o){if(this.minDate.getHours()>r)return!1;if(this.minDate.getHours()===r){if(this.minDate.getMinutes()>t)return!1;if(this.minDate.getMinutes()===t&&this.minDate.getSeconds()>i)return!1}}if(this.maxDate&&o&&this.maxDate.toDateString()===o){if(this.maxDate.getHours()<r)return!1;if(this.maxDate.getHours()===r){if(this.maxDate.getMinutes()<t)return!1;if(this.maxDate.getMinutes()===t&&this.maxDate.getSeconds()<i)return!1}}return!0}incrementHour(e){let t=this.currentHour+this.stepHour,i=this.pm;"24"==this.hourFormat?t=t>=24?t-24:t:"12"==this.hourFormat&&(this.currentHour<12&&t>11&&(i=!this.pm),t=t>=13?t-12:t),this.validateTime(t,this.currentMinute,this.currentSecond,i)&&(this.currentHour=t,this.pm=i),e.preventDefault()}onTimePickerElementMouseDown(e,t,i){this.disabled||(this.repeat(e,null,t,i),e.preventDefault())}onTimePickerElementMouseUp(e){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseOut(e){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(e,t,i,n){let s=t||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(e,100,i,n)},s),i){case 0:1===n?this.incrementHour(e):this.decrementHour(e);break;case 1:1===n?this.incrementMinute(e):this.decrementMinute(e);break;case 2:1===n?this.incrementSecond(e):this.decrementSecond(e)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&clearTimeout(this.timePickerTimer)}decrementHour(e){let t=this.currentHour-this.stepHour,i=this.pm;"24"==this.hourFormat?t=t<0?24+t:t:"12"==this.hourFormat&&(12===this.currentHour&&(i=!this.pm),t=t<=0?12+t:t),this.validateTime(t,this.currentMinute,this.currentSecond,i)&&(this.currentHour=t,this.pm=i),e.preventDefault()}incrementMinute(e){let t=this.currentMinute+this.stepMinute;t=t>59?t-60:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()}decrementMinute(e){let t=this.currentMinute-this.stepMinute;t=t<0?60+t:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()}incrementSecond(e){let t=this.currentSecond+this.stepSecond;t=t>59?t-60:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()}decrementSecond(e){let t=this.currentSecond-this.stepSecond;t=t<0?60+t:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()}updateTime(){let e=this.value;this.isRangeSelection()&&(e=this.value[1]||this.value[0]),this.isMultipleSelection()&&(e=this.value[this.value.length-1]),e=e?new Date(e.getTime()):new Date,e.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),e.setMinutes(this.currentMinute),e.setSeconds(this.currentSecond),this.isRangeSelection()&&(e=this.value[1]?[this.value[0],e]:[e,null]),this.isMultipleSelection()&&(e=[...this.value.slice(0,-1),e]),this.updateModel(e),this.onSelect.emit(e),this.updateInputfield()}toggleAMPM(e){const t=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,t)&&(this.pm=t,this.updateTime()),e.preventDefault()}onUserInput(e){if(!this.isKeydown)return;this.isKeydown=!1;let t=e.target.value;try{let e=this.parseValueFromString(t);this.isValidSelection(e)&&(this.updateModel(e),this.updateUI())}catch(i){this.updateModel(null)}this.filled=null!=t&&t.length,this.onInput.emit(e)}isValidSelection(e){let t=!0;return this.isSingleSelection()?this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)||(t=!1):e.every(e=>this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1))&&this.isRangeSelection()&&(t=e.length>1&&e[1]>e[0]),t}parseValueFromString(e){if(!e||0===e.trim().length)return null;let t;if(this.isSingleSelection())t=this.parseDateTime(e);else if(this.isMultipleSelection()){let i=e.split(this.multipleSeparator);t=[];for(let e of i)t.push(this.parseDateTime(e.trim()))}else if(this.isRangeSelection()){let i=e.split(" "+this.rangeSeparator+" ");t=[];for(let e=0;e<i.length;e++)t[e]=this.parseDateTime(i[e].trim())}return t}parseDateTime(e){let t,i=e.split(" ");if(this.timeOnly)t=new Date,this.populateTime(t,i[0],i[1]);else{const n=this.getDateFormat();if(this.showTime){let e="12"==this.hourFormat?i.pop():null,s=i.pop();t=this.parseDate(i.join(" "),n),this.populateTime(t,s,e)}else t=this.parseDate(e,n)}return t}populateTime(e,t,i){if("12"==this.hourFormat&&!i)throw"Invalid Time";this.pm="PM"===i||"pm"===i;let n=this.parseTime(t);e.setHours(n.hour),e.setMinutes(n.minute),e.setSeconds(n.second)}updateUI(){let e=this.value||this.defaultDate||new Date;Array.isArray(e)&&(e=e[0]),this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),this.createMonths(this.currentMonth,this.currentYear),(this.showTime||this.timeOnly)&&(this.setCurrentHourPM(e.getHours()),this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds())}showOverlay(){this.overlayVisible||(this.updateUI(),this.overlayVisible=!0)}hideOverlay(){this.overlayVisible=!1,this.clearTimePickerTimer(),this.touchUI&&this.disableModality()}toggle(){this.inline||(this.overlayVisible?this.hideOverlay():(this.showOverlay(),this.inputfieldViewChild.nativeElement.focus()))}onOverlayAnimationStart(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.overlay=e.element,this.appendOverlay(),this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++o.a.zindex)),this.alignOverlay(),this.onShow.emit(e));break;case"void":this.onOverlayHide(),this.onClose.emit(e)}}onOverlayAnimationDone(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.bindDocumentClickListener(),this.bindDocumentResizeListener())}}appendOverlay(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):o.a.appendChild(this.overlay,this.appendTo))}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}alignOverlay(){this.touchUI?this.enableModality(this.overlay):this.appendTo?o.a.absolutePosition(this.overlay,this.inputfieldViewChild.nativeElement):o.a.relativePosition(this.overlay,this.inputfieldViewChild.nativeElement)}enableModality(e){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(e.style.zIndex)-1),o.a.addMultipleClasses(this.mask,"ui-widget-overlay ui-datepicker-mask ui-datepicker-mask-scrollblocker"),this.maskClickListener=this.renderer.listen(this.mask,"click",e=>{this.disableModality()}),document.body.appendChild(this.mask),o.a.addClass(document.body,"ui-overflow-hidden"))}disableModality(){if(this.mask){document.body.removeChild(this.mask);let e,t=document.body.children;for(let i=0;i<t.length;i++)if(o.a.hasClass(t[i],"ui-datepicker-mask-scrollblocker")){e=!0;break}e||o.a.removeClass(document.body,"ui-overflow-hidden"),this.unbindMaskClickListener(),this.mask=null}}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}writeValue(e){this.value=e,this.value&&"string"==typeof this.value&&(this.value=this.parseValueFromString(this.value)),this.updateInputfield(),this.updateUI()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e}getDateFormat(){return this.dateFormat||this.locale.dateFormat}formatDate(e,t){if(!e)return"";let i;const n=e=>{const n=i+1<t.length&&t.charAt(i+1)===e;return n&&i++,n},s=(e,t,i)=>{let s=""+t;if(n(e))for(;s.length<i;)s="0"+s;return s},r=(e,t,i,s)=>n(e)?s[t]:i[t];let o="",a=!1;if(e)for(i=0;i<t.length;i++)if(a)"'"!==t.charAt(i)||n("'")?o+=t.charAt(i):a=!1;else switch(t.charAt(i)){case"d":o+=s("d",e.getDate(),2);break;case"D":o+=r("D",e.getDay(),this.locale.dayNamesShort,this.locale.dayNames);break;case"o":o+=s("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":o+=s("m",e.getMonth()+1,2);break;case"M":o+=r("M",e.getMonth(),this.locale.monthNamesShort,this.locale.monthNames);break;case"y":o+=n("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":o+=e.getTime();break;case"!":o+=1e4*e.getTime()+this.ticksTo1970;break;case"'":n("'")?o+="'":a=!0;break;default:o+=t.charAt(i)}return o}formatTime(e){if(!e)return"";let t="",i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return"12"==this.hourFormat&&i>11&&12!=i&&(i-=12),t+="12"==this.hourFormat&&0===i?12:i<10?"0"+i:i,t+=":",t+=n<10?"0"+n:n,this.showSeconds&&(t+=":",t+=s<10?"0"+s:s),"12"==this.hourFormat&&(t+=e.getHours()>11?" PM":" AM"),t}parseTime(e){let t=e.split(":");if(t.length!==(this.showSeconds?3:2))throw"Invalid time";let i=parseInt(t[0]),n=parseInt(t[1]),s=this.showSeconds?parseInt(t[2]):null;if(isNaN(i)||isNaN(n)||i>23||n>59||"12"==this.hourFormat&&i>12||this.showSeconds&&(isNaN(s)||s>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==i&&this.pm?i+=12:this.pm||12!==i||(i-=12)),{hour:i,minute:n,second:s}}parseDate(e,t){if(null==t||null==e)throw"Invalid arguments";if(""===(e="object"==typeof e?e.toString():e+""))return null;let i,n,s,r,o=0,a="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),c=-1,l=-1,u=-1,h=-1,d=!1,f=e=>{let n=i+1<t.length&&t.charAt(i+1)===e;return n&&i++,n},p=t=>{let i=f(t),n="@"===t?14:"!"===t?20:"y"===t&&i?4:"o"===t?3:2,s=new RegExp("^\\d{"+("y"===t?n:1)+","+n+"}"),r=e.substring(o).match(s);if(!r)throw"Missing number at position "+o;return o+=r[0].length,parseInt(r[0],10)},m=(t,i,n)=>{let s=-1,r=f(t)?n:i,a=[];for(let e=0;e<r.length;e++)a.push([e,r[e]]);a.sort((e,t)=>-(e[1].length-t[1].length));for(let c=0;c<a.length;c++){let t=a[c][1];if(e.substr(o,t.length).toLowerCase()===t.toLowerCase()){s=a[c][0],o+=t.length;break}}if(-1!==s)return s+1;throw"Unknown name at position "+o},g=()=>{if(e.charAt(o)!==t.charAt(i))throw"Unexpected literal at position "+o;o++};for("month"===this.view&&(u=1),i=0;i<t.length;i++)if(d)"'"!==t.charAt(i)||f("'")?g():d=!1;else switch(t.charAt(i)){case"d":u=p("d");break;case"D":m("D",this.locale.dayNamesShort,this.locale.dayNames);break;case"o":h=p("o");break;case"m":l=p("m");break;case"M":l=m("M",this.locale.monthNamesShort,this.locale.monthNames);break;case"y":c=p("y");break;case"@":r=new Date(p("@")),c=r.getFullYear(),l=r.getMonth()+1,u=r.getDate();break;case"!":r=new Date((p("!")-this.ticksTo1970)/1e4),c=r.getFullYear(),l=r.getMonth()+1,u=r.getDate();break;case"'":f("'")?g():d=!0;break;default:g()}if(o<e.length&&(s=e.substr(o),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===c?c=(new Date).getFullYear():c<100&&(c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=a?0:-100)),h>-1)for(l=1,u=h;n=this.getDaysCountInMonth(c,l-1),!(u<=n);)l++,u-=n;if(r=this.daylightSavingAdjust(new Date(c,l-1,u)),r.getFullYear()!==c||r.getMonth()+1!==l||r.getDate()!==u)throw"Invalid date";return r}daylightSavingAdjust(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(e){let t=new Date,i={day:t.getDate(),month:t.getMonth(),year:t.getFullYear(),otherMonth:t.getMonth()!==this.currentMonth||t.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(e,i),this.onTodayClick.emit(e)}onClearButtonClick(e){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(e)}bindDocumentClickListener(){this.documentClickListener||this.zone.runOutsideAngular(()=>{this.documentClickListener=this.renderer.listen("document","click",e=>{this.isOutsideClicked(e)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(e),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||this.touchUI||(this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener))}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}isOutsideClicked(e){return!(this.el.nativeElement.isSameNode(e.target)||this.isNavIconClicked(e)||this.el.nativeElement.contains(e.target)||this.overlay&&this.overlay.contains(e.target))}isNavIconClicked(e){return o.a.hasClass(e.target,"ui-datepicker-prev")||o.a.hasClass(e.target,"ui-datepicker-prev-icon")||o.a.hasClass(e.target,"ui-datepicker-next")||o.a.hasClass(e.target,"ui-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!o.a.isAndroid()&&this.hideOverlay()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindMaskClickListener(),this.unbindDocumentResizeListener(),this.overlay=null,this.disableModality()}ngOnDestroy(){this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.F),n.Vb(n.h),n.Vb(n.A))},e.\u0275cmp=n.Pb({type:e,selectors:[["p-calendar"]],contentQueries:function(e,t,i){var s;1&e&&n.Nb(i,l.c,!1),2&e&&n.Ic(s=n.kc())&&(t.templates=s)},viewQuery:function(e,t){var i;1&e&&(n.fd(h,!0),n.fd(d,!0)),2&e&&(n.Ic(i=n.kc())&&(t.content=i.first),n.Ic(i=n.kc())&&(t.inputfieldViewChild=i.first))},hostVars:4,hostBindings:function(e,t){2&e&&n.Mb("ui-inputwrapper-filled",t.filled)("ui-inputwrapper-focus",t.focus)},inputs:{dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",icon:"icon",shortYearCutoff:"shortYearCutoff",hourFormat:"hourFormat",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",showOnFocus:"showOnFocus",showWeek:"showWeek",dataType:"dataType",selectionMode:"selectionMode",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",numberOfMonths:"numberOfMonths",view:"view",timeSeparator:"timeSeparator",focusTrap:"focusTrap",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",locale:"locale",disabled:"disabled",defaultDate:"defaultDate",style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",appendTo:"appendTo",readonlyInput:"readonlyInput",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",timeOnly:"timeOnly",required:"required",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",touchUI:"touchUI",tabindex:"tabindex"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[n.Gb([oe])],ngContentSelectors:re,decls:3,vars:9,consts:[[3,"ngClass","ngStyle"],[3,"ngIf"],[3,"class","ngStyle","ngClass",4,"ngIf"],["type","text","autocomplete","off",3,"value","readonly","ngStyle","placeholder","disabled","ngClass","focus","keydown","click","blur","input"],["inputfield",""],["type","button","pButton","","class","ui-datepicker-trigger ui-calendar-button","tabindex","0",3,"icon","ngClass","disabled","click",4,"ngIf"],["type","button","pButton","","tabindex","0",1,"ui-datepicker-trigger","ui-calendar-button",3,"icon","ngClass","disabled","click"],[3,"ngStyle","ngClass"],["contentWrapper",""],[4,"ngIf"],["class","ui-timepicker ui-widget-header ui-corner-all",4,"ngIf"],["class","ui-datepicker-buttonbar ui-widget-header",4,"ngIf"],["class","ui-datepicker-group ui-widget-content",4,"ngFor","ngForOf"],["class","ui-monthpicker",4,"ngIf"],[1,"ui-datepicker-group","ui-widget-content"],[1,"ui-datepicker-header","ui-widget-header","ui-helper-clearfix","ui-corner-all"],["class","ui-datepicker-prev ui-corner-all","tabindex","0",3,"click","keydown.enter","keydown",4,"ngIf"],[1,"ui-datepicker-title"],["class","ui-datepicker-month",4,"ngIf"],["tabindex","0","class","ui-datepicker-month",3,"change",4,"ngIf"],["tabindex","0","class","ui-datepicker-year",3,"change",4,"ngIf"],["class","ui-datepicker-year",4,"ngIf"],["class","ui-datepicker-next ui-corner-all","tabindex","0",3,"click","keydown.enter","keydown",4,"ngIf"],["class","ui-datepicker-calendar-container",4,"ngIf"],["tabindex","0",1,"ui-datepicker-prev","ui-corner-all",3,"click","keydown.enter","keydown"],[1,"ui-datepicker-prev-icon","pi","pi-chevron-left"],[1,"ui-datepicker-month"],["tabindex","0",1,"ui-datepicker-month",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["tabindex","0",1,"ui-datepicker-year",3,"change"],[1,"ui-datepicker-year"],["tabindex","0",1,"ui-datepicker-next","ui-corner-all",3,"click","keydown.enter","keydown"],[1,"ui-datepicker-next-icon","pi","pi-chevron-right"],[1,"ui-datepicker-calendar-container"],[1,"ui-datepicker-calendar"],["class","ui-datepicker-weekheader",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"ui-datepicker-weekheader"],["scope","col"],["class","ui-datepicker-weeknumber ui-state-disabled",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"ui-datepicker-weeknumber","ui-state-disabled"],[3,"ngClass"],["class","ui-state-default","draggable","false",3,"ngClass","click","keydown",4,"ngIf"],["class","ui-state-default ui-state-disabled",3,"ngClass",4,"ngIf"],["draggable","false",1,"ui-state-default",3,"ngClass","click","keydown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ui-state-default","ui-state-disabled",3,"ngClass"],[1,"ui-monthpicker"],["class","ui-monthpicker-month",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],[1,"ui-monthpicker-month",3,"ngClass","click","keydown"],[1,"ui-timepicker","ui-widget-header","ui-corner-all"],[1,"ui-hour-picker"],["tabindex","0",3,"keydown","keydown.enter","mousedown","mouseup","mouseout"],[1,"pi","pi-chevron-up"],[3,"ngStyle"],[1,"pi","pi-chevron-down"],[1,"ui-separator"],[1,"ui-minute-picker"],["class","ui-separator",4,"ngIf"],["class","ui-second-picker",4,"ngIf"],["class","ui-ampm-picker",4,"ngIf"],[1,"ui-second-picker"],[1,"ui-ampm-picker"],["tabindex","0",3,"keydown","click","keydown.enter"],[1,"ui-datepicker-buttonbar","ui-widget-header"],["type","button","tabindex","0","pButton","",3,"label","ngClass","keydown","click"]],template:function(e,t){1&e&&(n.vc(ne),n.bc(0,"span",0),n.Wc(1,m,3,15,"ng-template",1),n.Wc(2,ie,7,27,"div",2),n.ac()),2&e&&(n.Jb(t.styleClass),n.wc("ngClass",n.Cc(6,se,t.showIcon,t.timeOnly))("ngStyle",t.style),n.Hb(1),n.wc("ngIf",!t.inline),n.Hb(1),n.wc("ngIf",t.inline||t.overlayVisible))},directives:[r.o,r.r,r.q,a,r.p,r.u],encapsulation:2,data:{animation:[Object(s.l)("overlayAnimation",[Object(s.i)("visible",Object(s.j)({transform:"translateY(0)",opacity:1})),Object(s.i)("visibleTouchUI",Object(s.j)({transform:"translate(-50%,-50%)",opacity:1})),Object(s.k)("void => visible",[Object(s.j)({transform:"translateY(5%)",opacity:0}),Object(s.e)("{{showTransitionParams}}")]),Object(s.k)("visible => void",[Object(s.e)("{{hideTransitionParams}}",Object(s.j)({opacity:0,transform:"translateY(5%)"}))]),Object(s.k)("void => visibleTouchUI",[Object(s.j)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),Object(s.e)("{{showTransitionParams}}")]),Object(s.k)("visibleTouchUI => void",[Object(s.e)("{{hideTransitionParams}}",Object(s.j)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]}}),e})(),ce=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[r.c,c,l.d],c,l.d]}),e})()},evrj:function(e,t,i){var n=i("m4GZ");e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(n(e).replace(/(.)/g,(function(e,t){var i=t.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i})))}(t)}catch(i){return n(t)}}},f0q5:function(e,t,i){"use strict";var n=i("mdQD");t.audit=n.audit;var s=i("cUCP");t.auditTime=s.auditTime;var r=i("zobD");t.buffer=r.buffer;var o=i("16yF");t.bufferCount=o.bufferCount;var a=i("wELj");t.bufferTime=a.bufferTime;var c=i("re5B");t.bufferToggle=c.bufferToggle;var l=i("N6Zr");t.bufferWhen=l.bufferWhen;var u=i("CxhQ");t.catchError=u.catchError;var h=i("OMR/");t.combineAll=h.combineAll;var d=i("SWOv");t.combineLatest=d.combineLatest;var f=i("WC+f");t.concat=f.concat;var p=i("A0iX");t.concatAll=p.concatAll;var m=i("+WiC");t.concatMap=m.concatMap;var g=i("zVww");t.concatMapTo=g.concatMapTo;var _=i("iYe0");t.count=_.count;var b=i("zL8T");t.debounce=b.debounce;var y=i("AzqM");t.debounceTime=y.debounceTime;var v=i("2Tbn");t.defaultIfEmpty=v.defaultIfEmpty;var F=i("QCIY");t.delay=F.delay;var k=i("4GoQ");t.delayWhen=k.delayWhen;var w=i("mO1z");t.dematerialize=w.dematerialize;var S=i("nQov");t.distinct=S.distinct;var T=i("rgOj");t.distinctUntilChanged=T.distinctUntilChanged;var D=i("c4YM");t.distinctUntilKeyChanged=D.distinctUntilKeyChanged;var E=i("PxRv");t.elementAt=E.elementAt;var M=i("ER9c");t.every=M.every;var C=i("H0zL");t.exhaust=C.exhaust;var O=i("GEfX");t.exhaustMap=O.exhaustMap;var x=i("we3k");t.expand=x.expand;var L=i("ZXB4");t.filter=L.filter;var j=i("q9sB");t.finalize=j.finalize;var I=i("DKXc");t.find=I.find;var A=i("qN2p");t.findIndex=A.findIndex;var N=i("L/jt");t.first=N.first;var R=i("Q6nm");t.groupBy=R.groupBy;var P=i("Tb5M");t.ignoreElements=P.ignoreElements;var B=i("XNQH");t.isEmpty=B.isEmpty;var Y=i("ffiR");t.last=Y.last;var H=i("aK2G");t.map=H.map;var V=i("saxw");t.mapTo=V.mapTo;var U=i("oGc9");t.materialize=U.materialize;var W=i("5aaB");t.max=W.max;var z=i("LqmK");t.merge=z.merge;var $=i("0p2S");t.mergeAll=$.mergeAll;var G=i("lf2g");t.mergeMap=G.mergeMap;var q=i("lf2g");t.flatMap=q.mergeMap;var K=i("fEEN");t.mergeMapTo=K.mergeMapTo;var J=i("SQLu");t.mergeScan=J.mergeScan;var Z=i("Kc9Z");t.min=Z.min;var X=i("cf1P");t.multicast=X.multicast;var Q=i("0zyO");t.observeOn=Q.observeOn;var ee=i("Rm1J");t.onErrorResumeNext=ee.onErrorResumeNext;var te=i("ABAE");t.pairwise=te.pairwise;var ie=i("gSfb");t.partition=ie.partition;var ne=i("czP3");t.pluck=ne.pluck;var se=i("gcf/");t.publish=se.publish;var re=i("7f6I");t.publishBehavior=re.publishBehavior;var oe=i("O/EN");t.publishLast=oe.publishLast;var ae=i("f947");t.publishReplay=ae.publishReplay;var ce=i("UUzK");t.race=ce.race;var le=i("6fvh");t.reduce=le.reduce;var ue=i("+PC9");t.repeat=ue.repeat;var he=i("0j0j");t.repeatWhen=he.repeatWhen;var de=i("7c4m");t.retry=de.retry;var fe=i("C8RJ");t.retryWhen=fe.retryWhen;var pe=i("pk/4");t.refCount=pe.refCount;var me=i("WQoq");t.sample=me.sample;var ge=i("7LGj");t.sampleTime=ge.sampleTime;var _e=i("n8Qg");t.scan=_e.scan;var be=i("3Ind");t.sequenceEqual=be.sequenceEqual;var ye=i("X/dC");t.share=ye.share;var ve=i("0Qin");t.shareReplay=ve.shareReplay;var Fe=i("Xrsd");t.single=Fe.single;var ke=i("1DV/");t.skip=ke.skip;var we=i("7Nkz");t.skipLast=we.skipLast;var Se=i("WgKs");t.skipUntil=Se.skipUntil;var Te=i("SX7S");t.skipWhile=Te.skipWhile;var De=i("DFxj");t.startWith=De.startWith;var Ee=i("hY8S");t.switchAll=Ee.switchAll;var Me=i("VVja");t.switchMap=Me.switchMap;var Ce=i("VthU");t.switchMapTo=Ce.switchMapTo;var Oe=i("3hIw");t.take=Oe.take;var xe=i("WO4J");t.takeLast=xe.takeLast;var Le=i("MHPA");t.takeUntil=Le.takeUntil;var je=i("3jsl");t.takeWhile=je.takeWhile;var Ie=i("Kqb3");t.tap=Ie.tap;var Ae=i("o6MN");t.throttle=Ae.throttle;var Ne=i("BnoD");t.throttleTime=Ne.throttleTime;var Re=i("BTim");t.timeInterval=Re.timeInterval;var Pe=i("9BwH");t.timeout=Pe.timeout;var Be=i("uj+q");t.timeoutWith=Be.timeoutWith;var Ye=i("Z57B");t.timestamp=Ye.timestamp;var He=i("M6BU");t.toArray=He.toArray;var Ve=i("0Iwa");t.window=Ve.window;var Ue=i("ast0");t.windowCount=Ue.windowCount;var We=i("3WZS");t.windowTime=We.windowTime;var ze=i("8pnh");t.windowToggle=ze.windowToggle;var $e=i("+djB");t.windowWhen=$e.windowWhen;var Ge=i("2Wg+");t.withLatestFrom=Ge.withLatestFrom;var qe=i("oQYR");t.zip=qe.zip;var Ke=i("FBtj");t.zipAll=Ke.zipAll},f947:function(e,t,i){"use strict";var n=i("BjeI"),s=i("cf1P");t.publishReplay=function(e,t,i,r){i&&"function"!=typeof i&&(r=i);var o="function"==typeof i?i:void 0,a=new n.ReplaySubject(e,t,r);return function(e){return s.multicast((function(){return a}),o)(e)}}},fEEN:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.mergeMapTo=function(e,t,i){return void 0===i&&(i=Number.POSITIVE_INFINITY),"number"==typeof t&&(i=t,t=null),function(n){return n.lift(new o(e,t,i))}};var o=function(){function e(e,t,i){void 0===i&&(i=Number.POSITIVE_INFINITY),this.ish=e,this.resultSelector=t,this.concurrent=i}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.ish,this.resultSelector,this.concurrent))},e}();t.MergeMapToOperator=o;var a=function(e){function t(t,i,n,s){void 0===s&&(s=Number.POSITIVE_INFINITY),e.call(this,t),this.ish=i,this.resultSelector=n,this.concurrent=s,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return n(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.resultSelector,i=this.index++,n=this.ish,s=this.destination;this.active++,this._innerSub(n,s,t,e,i)}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,i,n,s){this.add(r.subscribeToResult(this,e,n,s))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.destination;this.resultSelector?this.trySelectResult(e,t,i,n):r.next(t)},t.prototype.trySelectResult=function(e,t,i,n){var s,r=this.resultSelector,o=this.destination;try{s=r(e,t,i,n)}catch(a){return void o.error(a)}o.next(s)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(s.OuterSubscriber);t.MergeMapToSubscriber=a},fHJZ:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("tyNb"),s=i("JPLv"),r=i("fXoL");let o=(()=>{class e{constructor(e,t){this.router=e,this.configService=t,this.key=""}depositTransaction(e){this.initialized&&gtag("event","refund",{transaction_id:e.transaction_identifier,affiliation:e.provider_name,value:e.amount,currency:this.currency})}withdrawTransaction(e){this.initialized&&gtag("event","purchase",{transaction_id:e.transaction_identifier,affiliation:e.provider_name,value:e.amount,currency:this.currency})}initialize(e){if(!this.initialized&&e&&(this.key=e,this.currency=this.configService.configTerminal.CurrencyId.toUpperCase(),!document.getElementById("google-analytics"))){const t=document.createElement("script"),i=document.createElement("noscript");t.src="https://www.googletagmanager.com/gtag/js?id="+e,e.startsWith("GTM")&&(t.src="https://www.googletagmanager.com/gtm.js?id="+e),t.defer=!0,t.onload=()=>{if(window.dataLayer=window.dataLayer?window.dataLayer:[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),e.startsWith("GTM")){const t=document.createElement("iframe");t.setAttribute("src",`https://www.googletagmanager.com/ns.html?id=${e}`),t.setAttribute("height","0"),t.setAttribute("width","0"),t.setAttribute("style","display:none;visibility:hidden"),i.appendChild(t),document.body.insertBefore(i,document.body.firstChild)}this.router.events.subscribe(e=>{e instanceof n.c&&this.onNavigationEnd(e.urlAfterRedirects)}),this.initialized=!0},document.getElementsByTagName("head")[0].appendChild(t)}}onNavigationEnd(e){this.initialized&&this.key&&gtag("config",this.key,{page_path:e})}}return e.\u0275fac=function(t){return new(t||e)(r.fc(n.e),r.fc(s.a))},e.\u0275prov=r.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},fNvp:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("q6IF"),s=i("fXoL"),r=i("tyNb");let o=(()=>{class e{constructor(e,t){this.permissionService=e,this.router=t}canActivate(e){return!!this.permissionService.hasPermission(e.data.checker)||(this.router.navigate([""]),!1)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.b),s.fc(r.e))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})()},fXoL:function(e,t,i){"use strict";i.d(t,"a",(function(){return Tr})),i.d(t,"b",(function(){return gl})),i.d(t,"c",(function(){return hl})),i.d(t,"d",(function(){return ll})),i.d(t,"e",(function(){return ul})),i.d(t,"f",(function(){return cu})),i.d(t,"g",(function(){return Xl})),i.d(t,"h",(function(){return cr})),i.d(t,"i",(function(){return El})),i.d(t,"j",(function(){return wa})),i.d(t,"k",(function(){return yl})),i.d(t,"l",(function(){return Sa})),i.d(t,"m",(function(){return li})),i.d(t,"n",(function(){return Pc})),i.d(t,"o",(function(){return q})),i.d(t,"p",(function(){return h})),i.d(t,"q",(function(){return G})),i.d(t,"r",(function(){return Sr})),i.d(t,"s",(function(){return cl})),i.d(t,"t",(function(){return Ua})),i.d(t,"u",(function(){return Wa})),i.d(t,"v",(function(){return bl})),i.d(t,"w",(function(){return le})),i.d(t,"x",(function(){return eu})),i.d(t,"y",(function(){return ce})),i.d(t,"z",(function(){return Gl})),i.d(t,"A",(function(){return xl})),i.d(t,"B",(function(){return d})),i.d(t,"C",(function(){return ml})),i.d(t,"D",(function(){return pl})),i.d(t,"E",(function(){return Yc})),i.d(t,"F",(function(){return Ma})),i.d(t,"G",(function(){return Da})),i.d(t,"H",(function(){return Ea})),i.d(t,"I",(function(){return Oa})),i.d(t,"J",(function(){return Ji})),i.d(t,"K",(function(){return p})),i.d(t,"L",(function(){return nu})),i.d(t,"M",(function(){return qa})),i.d(t,"N",(function(){return Bl})),i.d(t,"O",(function(){return xa})),i.d(t,"P",(function(){return Ja})),i.d(t,"Q",(function(){return be})),i.d(t,"R",(function(){return jr})),i.d(t,"S",(function(){return ql})),i.d(t,"T",(function(){return y})),i.d(t,"U",(function(){return Ei})),i.d(t,"V",(function(){return L})),i.d(t,"W",(function(){return se})),i.d(t,"X",(function(){return Di})),i.d(t,"Y",(function(){return ou})),i.d(t,"Z",(function(){return Vl})),i.d(t,"ab",(function(){return _l})),i.d(t,"bb",(function(){return ur})),i.d(t,"cb",(function(){return hc})),i.d(t,"db",(function(){return Y})),i.d(t,"eb",(function(){return H})),i.d(t,"fb",(function(){return V})),i.d(t,"gb",(function(){return S})),i.d(t,"hb",(function(){return qi})),i.d(t,"ib",(function(){return Qi})),i.d(t,"jb",(function(){return xi})),i.d(t,"kb",(function(){return _i})),i.d(t,"lb",(function(){return yi})),i.d(t,"mb",(function(){return wi})),i.d(t,"nb",(function(){return Fi})),i.d(t,"ob",(function(){return vi})),i.d(t,"pb",(function(){return ki})),i.d(t,"qb",(function(){return ac})),i.d(t,"rb",(function(){return ru})),i.d(t,"sb",(function(){return cc})),i.d(t,"tb",(function(){return lc})),i.d(t,"ub",(function(){return bi})),i.d(t,"vb",(function(){return B})),i.d(t,"wb",(function(){return Ir})),i.d(t,"xb",(function(){return oo})),i.d(t,"yb",(function(){return ro})),i.d(t,"zb",(function(){return Lr})),i.d(t,"Ab",(function(){return oc})),i.d(t,"Bb",(function(){return St})),i.d(t,"Cb",(function(){return C})),i.d(t,"Db",(function(){return gi})),i.d(t,"Eb",(function(){return sa})),i.d(t,"Fb",(function(){return ua})),i.d(t,"Gb",(function(){return va})),i.d(t,"Hb",(function(){return In})),i.d(t,"Ib",(function(){return Vr})),i.d(t,"Jb",(function(){return Io})),i.d(t,"Kb",(function(){return ea})),i.d(t,"Lb",(function(){return ta})),i.d(t,"Mb",(function(){return xo})),i.d(t,"Nb",(function(){return Qc})),i.d(t,"Ob",(function(){return rn})),i.d(t,"Pb",(function(){return we})),i.d(t,"Qb",(function(){return Oe})),i.d(t,"Rb",(function(){return b})),i.d(t,"Sb",(function(){return v})),i.d(t,"Tb",(function(){return Ee})),i.d(t,"Ub",(function(){return xe})),i.d(t,"Vb",(function(){return Gr})),i.d(t,"Wb",(function(){return eo})),i.d(t,"Xb",(function(){return no})),i.d(t,"Yb",(function(){return io})),i.d(t,"Zb",(function(){return to})),i.d(t,"ac",(function(){return Qr})),i.d(t,"bc",(function(){return Xr})),i.d(t,"cc",(function(){return so})),i.d(t,"dc",(function(){return ri})),i.d(t,"ec",(function(){return ia})),i.d(t,"fc",(function(){return ne})),i.d(t,"gc",(function(){return qr})),i.d(t,"hc",(function(){return al})),i.d(t,"ic",(function(){return Kr})),i.d(t,"jc",(function(){return ao})),i.d(t,"kc",(function(){return il})),i.d(t,"lc",(function(){return mt})),i.d(t,"mc",(function(){return pt})),i.d(t,"nc",(function(){return uo})),i.d(t,"oc",(function(){return Oc})),i.d(t,"pc",(function(){return xc})),i.d(t,"qc",(function(){return Lc})),i.d(t,"rc",(function(){return jc})),i.d(t,"sc",(function(){return Ic})),i.d(t,"tc",(function(){return Ac})),i.d(t,"uc",(function(){return po})),i.d(t,"vc",(function(){return fo})),i.d(t,"wc",(function(){return Jr})),i.d(t,"xc",(function(){return mo})),i.d(t,"yc",(function(){return go})),i.d(t,"zc",(function(){return _o})),i.d(t,"Ac",(function(){return bc})),i.d(t,"Bc",(function(){return yc})),i.d(t,"Cc",(function(){return vc})),i.d(t,"Dc",(function(){return Fc})),i.d(t,"Ec",(function(){return kc})),i.d(t,"Fc",(function(){return wc})),i.d(t,"Gc",(function(){return Sc})),i.d(t,"Hc",(function(){return Tc})),i.d(t,"Ic",(function(){return Kc})),i.d(t,"Jc",(function(){return $r})),i.d(t,"Kc",(function(){return Ht})),i.d(t,"Lc",(function(){return Yt})),i.d(t,"Mc",(function(){return $e})),i.d(t,"Nc",(function(){return en})),i.d(t,"Oc",(function(){return sn})),i.d(t,"Pc",(function(){return tn})),i.d(t,"Qc",(function(){return nn})),i.d(t,"Rc",(function(){return Me})),i.d(t,"Sc",(function(){return el})),i.d(t,"Tc",(function(){return Jc})),i.d(t,"Uc",(function(){return Lo})),i.d(t,"Vc",(function(){return Oo})),i.d(t,"Wc",(function(){return zr})),i.d(t,"Xc",(function(){return ol})),i.d(t,"Yc",(function(){return Go})),i.d(t,"Zc",(function(){return qo})),i.d(t,"ad",(function(){return Ko})),i.d(t,"bd",(function(){return Jo})),i.d(t,"cd",(function(){return Zo})),i.d(t,"dd",(function(){return Xo})),i.d(t,"ed",(function(){return Qo})),i.d(t,"fd",(function(){return Zc}));var n=i("XNiG"),s=i("quSY"),r=i("HDdC"),o=i("VRyK"),a=i("w1tV");function c(e){return function(...t){if(e){const i=e(...t);for(const e in i)this[e]=i[e]}}}function l(e,t,i){const n=c(t);function s(...e){if(this instanceof s)return n.apply(this,e),this;const t=new s(...e);return i.annotation=t,i;function i(e,i,n){const s=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(t),e}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}function u(e,t,i,n){const s=c(t);function r(...e){if(this instanceof r)return s.apply(this,e),this;const t=new r(...e);return function(i,s){const r=i.constructor,o=r.hasOwnProperty("__prop__metadata__")?r.__prop__metadata__:Object.defineProperty(r,"__prop__metadata__",{value:{}}).__prop__metadata__;o[s]=o.hasOwnProperty(s)&&o[s]||[],o[s].unshift(t),n&&n(i,s,...e)}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}const h=l("Inject",e=>({token:e})),d=l("Optional"),f=l("Self"),p=l("SkipSelf");var m=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}({});function g(e){for(let t in e)if(e[t]===g)return t;throw Error("Could not find renamed property on target object.")}function _(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const y=b;function v(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function F(e){return k(e,e[S])||k(e,e[E])}function k(e,t){return t&&t.token===e?t:null}function w(e){return e&&(e.hasOwnProperty(T)||e.hasOwnProperty(M))?e[T]:null}const S=g({"\u0275prov":g}),T=g({"\u0275inj":g}),D=g({"\u0275provFallback":g}),E=g({ngInjectableDef:g}),M=g({ngInjectorDef:g});function C(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(C).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 i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function O(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const x=g({__forward_ref__:g});function L(e){return e.__forward_ref__=L,e.toString=function(){return C(this())},e}function j(e){return I(e)?e():e}function I(e){return"function"==typeof e&&e.hasOwnProperty(x)&&e.__forward_ref__===L}const A="undefined"!=typeof globalThis&&globalThis,N="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,P="undefined"!=typeof global&&global,B=A||P||N||R,Y=g({"\u0275cmp":g}),H=g({"\u0275dir":g}),V=g({"\u0275pipe":g}),U=g({"\u0275mod":g}),W=g({"\u0275loc":g}),z=g({"\u0275fac":g}),$=g({__NG_ELEMENT_ID__:g});class G{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=b({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const q=new G("INJECTOR",-1),K={},J=/\n/gm,Z=g({provide:String,useValue:g});let X,Q=void 0;function ee(e){const t=Q;return Q=e,t}function te(e){const t=X;return X=e,t}function ie(e,t=m.Default){if(void 0===Q)throw new Error("inject() must be called from an injection context");return null===Q?re(e,void 0,t):Q.get(e,t&m.Optional?null:void 0,t)}function ne(e,t=m.Default){return(X||ie)(j(e),t)}const se=ne;function re(e,t,i){const n=F(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&m.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${C(e)}]`)}function oe(e){const t=[];for(let i=0;i<e.length;i++){const n=j(e[i]);if(Array.isArray(n)){if(0===n.length)throw new Error("Arguments array must have arguments.");let e=void 0,i=m.Default;for(let t=0;t<n.length;t++){const s=n[t];s instanceof d||"Optional"===s.ngMetadataName||s===d?i|=m.Optional:s instanceof p||"SkipSelf"===s.ngMetadataName||s===p?i|=m.SkipSelf:s instanceof f||"Self"===s.ngMetadataName||s===f?i|=m.Self:e=s instanceof h||s===h?s.token:s}t.push(ne(e,i))}else t.push(ne(n))}return t}class ae{get(e,t=K){if(t===K){const t=new Error(`NullInjectorError: No provider for ${C(e)}!`);throw t.name="NullInjectorError",t}return t}}class ce{}class le{}function ue(e,t){e.forEach(e=>Array.isArray(e)?ue(e,t):t(e))}function he(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function de(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function fe(e,t){const i=[];for(let n=0;n<e;n++)i.push(t);return i}function pe(e,t,i){let n=ge(e,t);return n>=0?e[1|n]=i:(n=~n,function(e,t,i,n){let s=e.length;if(s==t)e.push(i,n);else if(1===s)e.push(n,e[0]),e[0]=i;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=i,e[t+1]=n}}(e,n,t,i)),n}function me(e,t){const i=ge(e,t);if(i>=0)return e[1|i]}function ge(e,t){return function(e,t,i){let n=0,s=e.length>>1;for(;s!==n;){const i=n+(s-n>>1),r=e[i<<1];if(t===r)return i<<1;r>t?s=i:n=i+1}return~(s<<1)}(e,t)}const _e=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),be=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}();function ye(e){return""+{toString:e}}const ve={},Fe=[];let ke=0;function we(e){const t=e.type,i=t.prototype,n={},s={type:t,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:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:i.ngOnInit||null,doCheck:i.ngDoCheck||null,afterContentInit:i.ngAfterContentInit||null,afterContentChecked:i.ngAfterContentChecked||null,afterViewInit:i.ngAfterViewInit||null,afterViewChecked:i.ngAfterViewChecked||null,onDestroy:i.ngOnDestroy||null,onPush:e.changeDetection===_e.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||be.Emulated,id:"c",styles:e.styles||Fe,_:null,setInput:null,schemas:e.schemas||null,tView:null};return s._=ye(()=>{const t=e.directives,i=e.features,r=e.pipes;s.id+=ke++,s.inputs=Ce(e.inputs,n),s.outputs=Ce(e.outputs),i&&i.forEach(e=>e(s)),s.directiveDefs=t?()=>("function"==typeof t?t():t).map(Se):null,s.pipeDefs=r?()=>("function"==typeof r?r():r).map(Te):null}),s}function Se(e){return Le(e)||function(e){return e[H]||null}(e)}function Te(e){return function(e){return e[V]||null}(e)}const De={};function Ee(e){const t={type:e.type,bootstrap:e.bootstrap||Fe,declarations:e.declarations||Fe,imports:e.imports||Fe,exports:e.exports||Fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ye(()=>{De[e.id]=e.type}),t}function Me(e,t){return ye(()=>{const i=Ie(e,!0);i.declarations=t.declarations||Fe,i.imports=t.imports||Fe,i.exports=t.exports||Fe})}function Ce(e,t){if(null==e)return ve;const i={};for(const n in e)if(e.hasOwnProperty(n)){let s=e[n],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),i[s]=n,t&&(t[s]=r)}return i}const Oe=we;function xe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Le(e){return e[Y]||null}function je(e,t){return e.hasOwnProperty(z)?e[z]:null}function Ie(e,t){const i=e[U]||null;if(!i&&!0===t)throw new Error(`Type ${C(e)} does not have '\u0275mod' property.`);return i}function Ae(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ne(e){return Array.isArray(e)&&!0===e[1]}function Re(e){return 0!=(8&e.flags)}function Pe(e){return 2==(2&e.flags)}function Be(e){return 1==(1&e.flags)}function Ye(e){return null!==e.template}function He(e){return 0!=(512&e[2])}const Ve={lFrame:ut(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ue(){return Ve.bindingsEnabled}function We(){return Ve.lFrame.lView}function ze(){return Ve.lFrame.tView}function $e(e){Ve.lFrame.contextLView=e}function Ge(){return Ve.lFrame.previousOrParentTNode}function qe(e,t){Ve.lFrame.previousOrParentTNode=e,Ve.lFrame.isParent=t}function Ke(){return Ve.lFrame.isParent}function Je(){Ve.lFrame.isParent=!1}function Ze(){return Ve.checkNoChangesMode}function Xe(e){Ve.checkNoChangesMode=e}function Qe(){const e=Ve.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function et(){return Ve.lFrame.bindingIndex}function tt(){return Ve.lFrame.bindingIndex++}function it(e){const t=Ve.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function nt(e,t){const i=Ve.lFrame;i.bindingIndex=i.bindingRootIndex=e,i.currentDirectiveIndex=t}function st(){return Ve.lFrame.currentQueryIndex}function rt(e){Ve.lFrame.currentQueryIndex=e}function ot(e,t){const i=lt();Ve.lFrame=i,i.previousOrParentTNode=t,i.lView=e}const at=ht;function ct(e,t){const i=lt(),n=e[1];Ve.lFrame=i,i.previousOrParentTNode=t,i.isParent=!0,i.lView=e,i.tView=n,i.selectedIndex=0,i.contextLView=e,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.currentSanitizer=null,i.bindingRootIndex=-1,i.bindingIndex=n.bindingStartIndex,i.currentQueryIndex=0}function lt(){const e=Ve.lFrame,t=null===e?null:e.child;return null===t?ut(e):t}function ut(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function ht(){Ve.lFrame=Ve.lFrame.parent}function dt(){return Ve.lFrame.selectedIndex}function ft(e){Ve.lFrame.selectedIndex=e}function pt(){Ve.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function mt(){Ve.lFrame.currentNamespace=null}function gt(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i<n;i++){const t=e.data[i];t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-i,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(i,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,t.afterContentChecked)),t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-i,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(i,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,t.afterViewChecked)),null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(i,t.onDestroy)}}function _t(e,t,i){vt(e,t,3,i)}function bt(e,t,i,n){(3&e[2])===i&&vt(e,t,i,n)}function yt(e,t){let i=e[2];(3&i)===t&&(i&=1023,i+=1,e[2]=i)}function vt(e,t,i,n){const s=null!=n?n:-1;let r=0;for(let o=void 0!==n?65535&e[18]:0;o<t.length;o++)if("number"==typeof t[o+1]){if(r=t[o],null!=n&&r>=n)break}else t[o]<0&&(e[18]+=65536),(r<s||-1==s)&&(Ft(e,i,t,o),e[18]=(4294901760&e[18])+o+2),o++}function Ft(e,t,i,n){const s=i[n]<0,r=i[n+1],o=e[s?-i[n]:i[n]];s?e[2]>>10<e[18]>>16&&(3&e[2])===t&&(e[2]+=1024,r.call(o)):r.call(o)}class kt{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}let wt=void 0;function St(e){wt=e}function Tt(){return void 0!==wt?wt:"undefined"!=typeof document?document:void 0}function Dt(e){return!!e.listen}const Et={createRenderer:(e,t)=>Tt()};function Mt(e,t,i){const n=Dt(e);let s=0;for(;s<i.length;){const r=i[s];if("number"==typeof r){if(0!==r)break;s++;const o=i[s++],a=i[s++],c=i[s++];n?e.setAttribute(t,a,c,o):t.setAttributeNS(o,a,c)}else{const o=r,a=i[++s];Ot(o)?n&&e.setProperty(t,o,a):n?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function Ct(e){return 3===e||4===e||6===e}function Ot(e){return 64===e.charCodeAt(0)}function xt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let n=0;n<t.length;n++){const s=t[n];"number"==typeof s?i=s:0===i||Lt(e,i,s,null,-1===i||2===i?t[++n]:null)}}return e}function Lt(e,t,i,n,s){let r=0,o=e.length;if(-1===t)o=-1;else for(;r<e.length;){const i=e[r++];if("number"==typeof i){if(i===t){o=-1;break}if(i>t){o=r-1;break}}}for(;r<e.length;){const t=e[r];if("number"==typeof t)break;if(t===i){if(null===n)return void(null!==s&&(e[r+1]=s));if(n===e[r+1])return void(e[r+2]=s)}r++,null!==n&&r++,null!==s&&r++}-1!==o&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,i),null!==n&&e.splice(r++,0,n),null!==s&&e.splice(r++,0,s)}function jt(e){return-1!==e}function It(e){return 32767&e}function At(e){return e>>16}function Nt(e,t){let i=At(e),n=t;for(;i>0;)n=n[15],i--;return n}function Rt(e){return"string"==typeof e?e:null==e?"":""+e}function Pt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Rt(e)}const Bt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(B))();function Yt(e){return{name:"window",target:e.ownerDocument.defaultView}}function Ht(e){return{name:"document",target:e.ownerDocument}}function Vt(e){return e instanceof Function?e():e}let Ut=!0;function Wt(e){const t=Ut;return Ut=e,t}let zt=0;function $t(e,t){const i=qt(e,t);if(-1!==i)return i;const n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,Gt(n.data,e),Gt(t,null),Gt(n.blueprint,null));const s=Kt(e,t),r=e.injectorIndex;if(jt(s)){const e=It(s),i=Nt(s,t),n=i[1].data;for(let s=0;s<8;s++)t[r+s]=i[e+s]|n[e+s]}return t[r+8]=s,r}function Gt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Kt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=t[6],n=1;for(;i&&-1===i.injectorIndex;)i=(t=t[15])?t[6]:null,n++;return i?i.injectorIndex|n<<16:-1}function Jt(e,t,i){!function(e,t,i){let n="string"!=typeof i?i[$]:i.charCodeAt(0)||0;null==n&&(n=i[$]=zt++);const s=255&n,r=1<<s,o=64&s,a=32&s,c=t.data;128&s?o?a?c[e+7]|=r:c[e+6]|=r:a?c[e+5]|=r:c[e+4]|=r:o?a?c[e+3]|=r:c[e+2]|=r:a?c[e+1]|=r:c[e]|=r}(e,t,i)}function Zt(e,t,i,n=m.Default,s){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e[$];return"number"==typeof t&&t>0?255&t:t}(i);if("function"==typeof s){ot(t,e);try{const e=s();if(null!=e||n&m.Optional)return e;throw new Error(`No provider for ${Pt(i)}!`)}finally{at()}}else if("number"==typeof s){if(-1===s)return new si(e,t);let r=null,o=qt(e,t),a=-1,c=n&m.Host?t[16][6]:null;for((-1===o||n&m.SkipSelf)&&(a=-1===o?Kt(e,t):t[o+8],ni(n,!1)?(r=t[1],o=It(a),t=Nt(a,t)):o=-1);-1!==o;){a=t[o+8];const e=t[1];if(ii(s,o,e.data)){const e=Qt(o,t,i,r,n,c);if(e!==Xt)return e}ni(n,t[1].data[o+8]===c)&&ii(s,o,t)?(r=e,o=It(a),t=Nt(a,t)):o=-1}}}if(n&m.Optional&&void 0===s&&(s=null),0==(n&(m.Self|m.Host))){const e=t[9],r=te(void 0);try{return e?e.get(i,s,n&m.Optional):re(i,s,n&m.Optional)}finally{te(r)}}if(n&m.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Pt(i)}]`)}const Xt={};function Qt(e,t,i,n,s,r){const o=t[1],a=o.data[e+8],c=ei(a,o,i,null==n?Pe(a)&&Ut:n!=o&&3===a.type,s&m.Host&&r===a);return null!==c?ti(t,o,c,a):Xt}function ei(e,t,i,n,s){const r=e.providerIndexes,o=t.data,a=65535&r,c=e.directiveStart,l=r>>16,u=s?a+l:e.directiveEnd;for(let h=n?a:a+l;h<u;h++){const e=o[h];if(h<c&&i===e||h>=c&&e.type===i)return h}if(s){const e=o[c];if(e&&Ye(e)&&e.type===i)return c}return null}function ti(e,t,i,n){let s=e[i];const r=t.data;if(s instanceof kt){const o=s;if(o.resolving)throw new Error(`Circular dep for ${Pt(r[i])}`);const a=Wt(o.canSeeViewProviders);let c;o.resolving=!0,o.injectImpl&&(c=te(o.injectImpl)),ot(e,n);try{s=e[i]=o.factory(void 0,r,e,n),t.firstCreatePass&&i>=n.directiveStart&&function(e,t,i){const{onChanges:n,onInit:s,doCheck:r}=t;n&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,n)),s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(-e,s),r&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,r),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,r))}(i,r[i],t)}finally{o.injectImpl&&te(c),Wt(a),o.resolving=!1,at()}}return s}function ii(e,t,i){const n=64&e,s=32&e;let r;return r=128&e?n?s?i[t+7]:i[t+6]:s?i[t+5]:i[t+4]:n?s?i[t+3]:i[t+2]:s?i[t+1]:i[t],!!(r&1<<e)}function ni(e,t){return!(e&m.Self||e&m.Host&&t)}class si{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Zt(this._tNode,this._lView,e,void 0,t)}}function ri(e){const t=Object.getPrototypeOf(e.prototype).constructor,i=t[z]||function e(t){const i=t;if(I(t))return()=>{const t=e(j(i));return t?t():null};let n=je(i);if(null===n){const e=w(i);n=e&&e.factory}return n||null}(t);return null!==i?i:e=>new e}function oi(e){return e.ngDebugContext}function ai(e){return e.ngOriginalError}function ci(e,...t){e.error(...t)}class li{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=this._findContext(e),n=function(e){return e.ngErrorLogger||ci}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(e){return e?oi(e)?oi(e):this._findContext(ai(e)):null}_findOriginalError(e){let t=ai(e);for(;t&&ai(t);)t=ai(t);return t}}class ui{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class hi extends ui{getTypeName(){return"HTML"}}class di extends ui{getTypeName(){return"Style"}}class fi extends ui{getTypeName(){return"Script"}}class pi extends ui{getTypeName(){return"URL"}}class mi extends ui{getTypeName(){return"ResourceURL"}}function gi(e){return e instanceof ui?e.changingThisBreaksApplicationSecurity:e}function _i(e,t){const i=bi(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===t}function bi(e){return e instanceof ui&&e.getTypeName()||null}function yi(e){return new hi(e)}function vi(e){return new di(e)}function Fi(e){return new fi(e)}function ki(e){return new pi(e)}function wi(e){return new mi(e)}let Si=!0,Ti=!1;function Di(){return Ti=!0,Si}function Ei(){if(Ti)throw new Error("Cannot enable prod mode after platform setup.");Si=!1}class Mi{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!t.querySelector||t.querySelector("svg")?(t.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(n){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const i=t.response.body;return i.removeChild(i.firstChild),i}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const i=this.inertDocument.createElement("body");return i.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0<n;n--){const i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}let i=e.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Ci=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Oi=/^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 xi(e){return(e=String(e)).match(Ci)||e.match(Oi)?e:(Di()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Li(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ji(...e){const t={};for(const i of e)for(const e in i)i.hasOwnProperty(e)&&(t[e]=!0);return t}const Ii=Li("area,br,col,hr,img,wbr"),Ai=Li("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ni=Li("rp,rt"),Ri=ji(Ni,Ai),Pi=ji(Ii,ji(Ai,Li("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")),ji(Ni,Li("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")),Ri),Bi=Li("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yi=Li("srcset"),Hi=ji(Bi,Yi,Li("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"),Li("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")),Vi=Li("script,style,template");class Ui{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&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(!Pi.hasOwnProperty(t))return this.sanitizedSomething=!0,!Vi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=e.attributes;for(let s=0;s<i.length;s++){const e=i.item(s),t=e.name,r=t.toLowerCase();if(!Hi.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=e.value;Bi[r]&&(o=xi(o)),Yi[r]&&(n=o,o=(n=String(n)).split(",").map(e=>xi(e.trim())).join(", ")),this.buf.push(" ",t,'="',$i(o),'"')}var n;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Pi.hasOwnProperty(t)&&!Ii.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push($i(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 Wi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zi=/([^\#-~ |!])/g;function $i(e){return e.replace(/&/g,"&amp;").replace(Wi,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(zi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Gi;function qi(e,t){let i=null;try{Gi=Gi||new Mi(e);let n=t?String(t):"";i=Gi.getInertBodyElement(n);let s=5,r=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=r,r=i.innerHTML,i=Gi.getInertBodyElement(n)}while(n!==r);const o=new Ui,a=o.sanitizeChildren(Ki(i)||i);return Di()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(i){const e=Ki(i)||i;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Ki(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Ji=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Zi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Xi=/^url\(([^)]+)\)$/;function Qi(e){if(!(e=String(e).trim()))return"";const t=e.match(Xi);return t&&xi(t[1])===t[1]||e.match(Zi)&&function(e){let t=!0,i=!0;for(let n=0;n<e.length;n++){const s=e.charAt(n);"'"===s&&i?t=!t:'"'===s&&t&&(i=!i)}return t&&i}(e)?e:(Di()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}function en(e){const t=an();return t?t.sanitize(Ji.HTML,e)||"":_i(e,"HTML")?gi(e):qi(Tt(),Rt(e))}function tn(e){const t=an();return t?t.sanitize(Ji.STYLE,e)||"":_i(e,"Style")?gi(e):Qi(Rt(e))}function nn(e){const t=an();return t?t.sanitize(Ji.URL,e)||"":_i(e,"URL")?gi(e):xi(Rt(e))}function sn(e){const t=an();if(t)return t.sanitize(Ji.RESOURCE_URL,e)||"";if(_i(e,"ResourceURL"))return gi(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}const rn=function(e,t,i){if(void 0===t&&void 0===i)return tn(e);let n=!0;return 1&(i=i||3)&&(n=on(e)),2&i?n?tn(t):gi(t):n};function on(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function an(){const e=We();return e&&e[12]}function cn(e){for(;Array.isArray(e);)e=e[0];return e}function ln(e,t){return cn(t[e+19])}function un(e,t){return cn(t[e.index])}function hn(e,t){return e.data[t+19]}function dn(e,t){return e[t+19]}function fn(e,t){const i=t[e];return Ae(i)?i:i[0]}function pn(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function mn(e){return 4==(4&e[2])}function gn(e){return 128==(128&e[2])}function _n(e,t){return null===e||null==t?null:e[t]}function bn(e){e[18]=0}function yn(e,t){e.__ngContext__=t}function vn(e){throw new Error(`Multiple components match node with tagname ${e.tagName}`)}function Fn(){throw new Error("Cannot mix multi providers and regular providers")}function kn(e,t,i){let n=e.length;for(;;){const s=e.indexOf(t,i);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===n||e.charCodeAt(s+i)<=32)return s}i=s+1}}function wn(e,t,i){let n=0;for(;n<e.length;){let s=e[n++];if(i&&"class"===s){if(s=e[n],-1!==kn(s.toLowerCase(),t,0))return!0}else if(1===s){for(;n<e.length&&"string"==typeof(s=e[n++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function Sn(e,t,i){return t===(0!==e.type||i?e.tagName:"ng-template")}function Tn(e,t,i){let n=4;const s=e.attrs||[],r=function(e){for(let t=0;t<e.length;t++)if(Ct(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!o)if(4&n){if(n=2|1&n,""!==c&&!Sn(e,c,i)||""===c&&1===t.length){if(Dn(n))return!1;o=!0}}else{const l=8&n?c:t[++a];if(8&n&&null!==e.attrs){if(!wn(e.attrs,l,i)){if(Dn(n))return!1;o=!0}continue}const u=En(8&n?"class":c,s,0==e.type&&"ng-template"!==e.tagName,i);if(-1===u){if(Dn(n))return!1;o=!0;continue}if(""!==l){let e;e=u>r?"":s[u+1].toLowerCase();const t=8&n?e:null;if(t&&-1!==kn(t,l,0)||2&n&&l!==e){if(Dn(n))return!1;o=!0}}}}else{if(!o&&!Dn(n)&&!Dn(c))return!1;if(o&&Dn(c))continue;o=!1,n=c|1&n}}return Dn(n)||o}function Dn(e){return 0==(1&e)}function En(e,t,i,n){if(null===t)return-1;let s=0;if(n||!i){let i=!1;for(;s<t.length;){const n=t[s];if(n===e)return s;if(3===n||6===n)i=!0;else{if(1===n||2===n){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===n)break;if(0===n){s+=4;continue}}s+=i?1:2}return-1}return function(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){if(e[i]===t)return i;i++}return-1}(t,e)}function Mn(e,t,i=!1){for(let n=0;n<t.length;n++)if(Tn(e,t[n],i))return!0;return!1}function Cn(e,t){e:for(let i=0;i<t.length;i++){const n=t[i];if(e.length===n.length){for(let t=0;t<e.length;t++)if(e[t]!==n[t])continue e;return!0}}return!1}function On(e,t){return e?":not("+t.trim()+")":t}function xn(e){let t=e[0],i=1,n=2,s="",r=!1;for(;i<e.length;){let o=e[i];if("string"==typeof o)if(2&n){const t=e[++i];s+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&n?s+="."+o:4&n&&(s+=" "+o);else""===s||Dn(o)||(t+=On(r,s),s=""),n=o,r=r||!Dn(n);i++}return""!==s&&(t+=On(r,s)),t}const Ln={};function jn(e){const t=e[3];return Ne(t)?t[3]:t}function In(e){An(ze(),We(),dt()+e,Ze())}function An(e,t,i,n){if(!n)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&_t(t,n,i)}else{const n=e.preOrderHooks;null!==n&&bt(t,n,0,i)}ft(i)}function Nn(e,t){return e<<17|t<<2}function Rn(e){return e>>17&32767}function Pn(e){return 2|e}function Bn(e){return(131068&e)>>2}function Yn(e,t){return-131069&e|t<<2}function Hn(e){return 1|e}function Vn(e,t){const i=e.contentQueries;if(null!==i)for(let n=0;n<i.length;n+=2){const s=i[n],r=i[n+1];if(-1!==r){const i=e.data[r];rt(s),i.contentQueries(2,t[r],r)}}}function Un(e,t,i){return Dt(t)?t.createElement(e,i):null===i?t.createElement(e):t.createElementNS(i,e)}function Wn(e,t,i,n,s,r,o,a,c,l){const u=t.blueprint.slice();return u[0]=s,u[2]=140|n,bn(u),u[3]=u[15]=e,u[8]=i,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=r,u[16]=2==t.type?e[16]:u,u}function zn(e,t,i,n,s,r){const o=i+19,a=e.data[o]||function(e,t,i,n,s,r){const o=Ge(),a=Ke(),c=a?o:o&&o.parent,l=e.data[i]=ts(0,c&&c!==t?c:null,n,i,s,r);return null===e.firstChild&&(e.firstChild=l),o&&(!a||null!=o.child||null===l.parent&&2!==o.type?a||(o.next=l):o.child=l),l}(e,t,o,n,s,r);return qe(a,!0),a}function $n(e,t,i){ct(t,t[6]);try{const n=e.viewQuery;null!==n&&Ss(1,n,i);const s=e.template;null!==s&&Kn(e,t,s,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Vn(e,t),e.staticViewQueries&&Ss(2,e.viewQuery,i);const r=e.components;null!==r&&function(e,t){for(let i=0;i<t.length;i++)ys(e,t[i])}(t,r)}finally{t[2]&=-5,ht()}}function Gn(e,t,i,n){const s=t[2];if(256==(256&s))return;ct(t,t[6]);const r=Ze();try{bn(t),Ve.lFrame.bindingIndex=e.bindingStartIndex,null!==i&&Kn(e,t,i,2,n);const o=3==(3&s);if(!r)if(o){const i=e.preOrderCheckHooks;null!==i&&_t(t,i,null)}else{const i=e.preOrderHooks;null!==i&&bt(t,i,0,null),yt(t,0)}if(function(e){let t=e[13];for(;null!==t;){let i;if(Ne(t)&&(i=t[2])>>1==-1){for(let e=9;e<t.length;e++){const i=t[e],n=i[1];gn(i)&&Gn(n,i,n.template,i[8])}0!=(1&i)&&_s(t,e[16])}t=t[4]}}(t),null!==e.contentQueries&&Vn(e,t),!r)if(o){const i=e.contentCheckHooks;null!==i&&_t(t,i)}else{const i=e.contentHooks;null!==i&&bt(t,i,1),yt(t,1)}!function(e,t){try{const i=e.expandoInstructions;if(null!==i){let n=e.expandoStartIndex,s=-1,r=-1;for(let e=0;e<i.length;e++){const o=i[e];"number"==typeof o?o<=0?(r=0-o,ft(r),n+=9+i[++e],s=n):n+=o:(null!==o&&(nt(n,s),o(2,t[s])),s++)}}}finally{ft(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let i=0;i<t.length;i++)bs(e,t[i])}(t,a);const c=e.viewQuery;if(null!==c&&Ss(2,c,n),!r)if(o){const i=e.viewCheckHooks;null!==i&&_t(t,i)}else{const i=e.viewHooks;null!==i&&bt(t,i,2),yt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),r||(t[2]&=-73)}finally{ht()}}function qn(e,t,i,n){const s=t[10],r=!Ze(),o=mn(t);try{r&&!o&&s.begin&&s.begin(),o&&$n(e,t,n),Gn(e,t,i,n)}finally{r&&!o&&s.end&&s.end()}}function Kn(e,t,i,n,s){const r=dt();try{ft(-1),2&n&&t.length>19&&An(e,t,0,Ze()),i(n,s)}finally{ft(r)}}function Jn(e,t,i){if(Re(t)){const n=t.directiveEnd;for(let s=t.directiveStart;s<n;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,i[s],s)}}}function Zn(e,t,i){Ue()&&(function(e,t,i,n){const s=i.directiveStart,r=i.directiveEnd;e.firstCreatePass||$t(i,t),yn(n,t);const o=i.initialInputs;for(let a=s;a<r;a++){const n=e.data[a],r=Ye(n);r&&fs(t,i,n);const c=ti(t,e,a,i);yn(c,t),null!==o&&ps(0,a-s,c,n,0,o),r&&(fn(i.index,t)[8]=c)}}(e,t,i,un(i,t)),128==(128&i.flags)&&function(e,t,i){const n=i.directiveStart,s=i.directiveEnd,r=e.expandoInstructions,o=e.firstCreatePass,a=i.index-19;try{ft(a);for(let i=n;i<s;i++){const n=e.data[i],s=t[i];null!==n.hostBindings||0!==n.hostVars||null!==n.hostAttrs?as(n,s):o&&r.push(null)}}finally{ft(-1)}}(e,t,i))}function Xn(e,t,i=un){const n=t.localNames;if(null!==n){let s=t.index+1;for(let r=0;r<n.length;r+=2){const o=n[r+1],a=-1===o?i(t,e):e[o];e[s++]=a}}}function Qn(e){return e.tView||(e.tView=es(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts))}function es(e,t,i,n,s,r,o,a,c,l){const u=19+n,h=u+s,d=function(e,t){const i=[];for(let n=0;n<t;n++)i.push(n<e?null:Ln);return i}(u,h);return d[1]={type:e,id:t,blueprint:d,template:i,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:l}}function ts(e,t,i,n,s,r){return{type:i,index:n,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:r,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,residualStyles:void 0,classes:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function is(e,t,i){for(let n in e)if(e.hasOwnProperty(n)){const s=e[n];(i=null===i?{}:i).hasOwnProperty(n)?i[n].push(t,s):i[n]=[t,s]}return i}function ns(e,t,i,n,s,r,o,a){const c=ln(i,t),l=hn(e,i);let u,h=l.inputs;if(!o&&null!=h&&(u=h[n]))Cs(e,t,u,n,s),Pe(l)&&function(e,t){const i=fn(t,e);16&i[2]||(i[2]|=64)}(t,i+19);else if(3===l.type){n="class"===(d=n)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d;const e=a?a(l,t):t[11];s=null!=r?r(s,l.tagName||"",n):s,Dt(e)?e.setProperty(c,n,s):Ot(n)||(c.setProperty?c.setProperty(n,s):c[n]=s)}var d}function ss(e,t,i,n){let s=!1;if(Ue()){const r=function(e,t,i){const n=e.directiveRegistry;let s=null;if(n)for(let r=0;r<n.length;r++){const o=n[r];Mn(i,o.selectors,!1)&&(s||(s=[]),Jt($t(i,t),e,o.type),Ye(o)?(2&i.flags&&vn(i),ls(e,i),s.unshift(o)):s.push(o))}return s}(e,t,i),o=null===n?null:{"":-1};if(null!==r){let n=0;s=!0,hs(i,e.data.length,r.length);for(let e=0;e<r.length;e++){const t=r[e];t.providersResolver&&t.providersResolver(t)}cs(e,i,r.length);let a=!1,c=!1;for(let s=0;s<r.length;s++){const l=r[s];i.mergedAttrs=xt(i.mergedAttrs,l.hostAttrs),ds(e,t,l),us(e.data.length-1,l,o),null!==l.contentQueries&&(i.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(i.flags|=128),!a&&(l.onChanges||l.onInit||l.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index-19),a=!0),c||!l.onChanges&&!l.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index-19),c=!0),rs(e,l),n+=l.hostVars}!function(e,t){const i=t.directiveEnd,n=e.data,s=t.attrs,r=[];let o=null,a=null;for(let c=t.directiveStart;c<i;c++){const e=n[c],t=e.inputs;r.push(null!==s?ms(t,s):null),o=is(t,c,o),a=is(e.outputs,c,a)}null!==o&&((o.hasOwnProperty("class")||o.hasOwnProperty("className"))&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=r,t.inputs=o,t.outputs=a}(e,i),os(e,t,n)}o&&function(e,t,i){if(t){const n=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=i[t[e+1]];if(null==s)throw new Error(`Export of name '${t[e+1]}' not found!`);n.push(t[e],s)}}}(i,n,o)}return i.mergedAttrs=xt(i.mergedAttrs,i.attrs),s}function rs(e,t){const i=e.expandoInstructions;i.push(t.hostBindings),0!==t.hostVars&&i.push(t.hostVars)}function os(e,t,i){for(let n=0;n<i;n++)t.push(Ln),e.blueprint.push(Ln),e.data.push(null)}function as(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function cs(e,t,i){const n=19-t.index,s=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(n,s,i)}function ls(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function us(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;Ye(t)&&(i[""]=e)}}function hs(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function ds(e,t,i){e.data.push(i);const n=i.factory||(i.factory=je(i.type)),s=new kt(n,Ye(i),null);e.blueprint.push(s),t.push(s)}function fs(e,t,i){const n=un(t,e),s=Qn(i),r=e[10],o=vs(e,Wn(e,s,null,i.onPush?64:16,n,t,r,r.createRenderer(n,i)));e[t.index]=o}function ps(e,t,i,n,s,r){const o=r[t];if(null!==o){const e=n.setInput;for(let t=0;t<o.length;){const s=o[t++],r=o[t++],a=o[t++];null!==e?n.setInput(i,a,s,r):i[r]=a}}}function ms(e,t){let i=null,n=0;for(;n<t.length;){const s=t[n];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===i&&(i=[]),i.push(s,e[s],t[n+1])),n+=2}else n+=2;else n+=4}return i}function gs(e,t,i,n){return new Array(e,!0,-2,t,null,null,n,i,null)}function _s(e,t){const i=e[5];for(let n=0;n<i.length;n++){const e=i[n],s=e[3][3][16];if(s!==t&&0==(16&s[2])){const t=e[1];Gn(t,e,t.template,e[8])}}}function bs(e,t){const i=fn(t,e);if(gn(i)&&80&i[2]){const e=i[1];Gn(e,i,e.template,i[8])}}function ys(e,t){const i=fn(t,e),n=i[1];!function(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(n,i),$n(n,i,i[8])}function vs(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Fs(e){for(;e;){e[2]|=64;const t=jn(e);if(He(e)&&!t)return e;e=t}return null}function ks(e,t,i){const n=t[10];n.begin&&n.begin();try{Gn(e,t,e.template,i)}catch(s){throw Ms(t,s),s}finally{n.end&&n.end()}}function ws(e){!function(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],n=pn(i),s=n[1];qn(s,n,s.template,i)}}(e[8])}function Ss(e,t,i){rt(0),t(e,i)}const Ts=(()=>Promise.resolve(null))();function Ds(e){return e[7]||(e[7]=[])}function Es(e){return e.cleanup||(e.cleanup=[])}function Ms(e,t){const i=e[9],n=i?i.get(li,null):null;n&&n.handleError(t)}function Cs(e,t,i,n,s){for(let r=0;r<i.length;){const o=i[r++],a=i[r++],c=t[o],l=e.data[o];null!==l.setInput?l.setInput(c,s,n,a):c[a]=s}}function Os(e,t,i){const n=ln(t,e),s=e[11];Dt(s)?s.setValue(n,i):n.textContent=i}function xs(e,t){const i=t[3];return-1===e.index?Ne(i)?i:null:i}function Ls(e,t){const i=xs(e,t);return i?Ws(t[11],i[7]):null}function js(e,t,i,n,s){if(null!=n){let r,o=!1;Ne(n)?r=n:Ae(n)&&(o=!0,n=n[0]);const a=cn(n);0===e&&null!==i?null==s?Vs(t,i,a):Hs(t,i,a,s||null):1===e&&null!==i?Hs(t,i,a,s||null):2===e?function(e,t,i){const n=Ws(e,t);n&&function(e,t,i,n){Dt(e)?e.removeChild(t,i,n):t.removeChild(i)}(e,n,t,i)}(t,a,o):3===e&&t.destroyNode(a),null!=r&&function(e,t,i,n,s){const r=i[7];r!==cn(i)&&js(t,e,n,r,s);for(let o=9;o<i.length;o++){const s=i[o];Ks(s[1],s,e,t,n,r)}}(t,e,r,i,s)}}function Is(e,t,i,n){const s=Ls(e.node,t);s&&Ks(e,t,t[11],i?1:2,s,n)}function As(e,t){const i=e[5],n=i.indexOf(t);i.splice(n,1)}function Ns(e,t){if(e.length<=9)return;const i=9+t,n=e[i];if(n){const s=n[17];null!==s&&s!==e&&As(s,n),t>0&&(e[i-1][4]=n[4]);const r=de(e,9+t);Is(n[1],n,!1,null);const o=r[5];null!==o&&o.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}function Rs(e,t){if(!(256&t[2])){const i=t[11];Dt(i)&&i.destroyNode&&Ks(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return Bs(e[1],e);for(;t;){let i=null;if(Ae(t))i=t[13];else{const e=t[9];e&&(i=e)}if(!i){for(;t&&!t[4]&&t!==e;)Ae(t)&&Bs(t[1],t),t=Ps(t,e);null===t&&(t=e),Ae(t)&&Bs(t[1],t),i=t&&t[4]}t=i}}(t)}}function Ps(e,t){let i;return Ae(e)&&(i=e[6])&&2===i.type?xs(i,e):e[3]===t?null:e[3]}function Bs(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let n=0;n<i.length;n+=2){const e=t[i[n]];e instanceof kt||i[n+1].call(e)}}(e,t),function(e,t){const i=e.cleanup;if(null!==i){const e=t[7];for(let n=0;n<i.length-1;n+=2)if("string"==typeof i[n]){const s=i[n+1],r="function"==typeof s?s(t):cn(t[s]),o=e[i[n+2]],a=i[n+3];"boolean"==typeof a?r.removeEventListener(i[n],o,a):a>=0?e[a]():e[-a].unsubscribe(),n+=2}else i[n].call(e[i[n+1]]);t[7]=null}}(e,t);const i=t[6];i&&3===i.type&&Dt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Ne(t[3])){n!==t[3]&&As(n,t);const i=t[5];null!==i&&i.detachView(e)}}}function Ys(e,t,i){let n=t.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(t=n).parent;if(null==n){const e=i[6];return 2===e.type?Ls(e,i):i[0]}if(t&&5===t.type&&4&t.flags)return un(t,i).parentNode;if(2&n.flags){const t=e.data,i=t[t[n.index].directiveStart].encapsulation;if(i!==be.ShadowDom&&i!==be.Native)return null}return un(n,i)}function Hs(e,t,i,n){Dt(e)?e.insertBefore(t,i,n):t.insertBefore(i,n,!0)}function Vs(e,t,i){Dt(e)?e.appendChild(t,i):t.appendChild(i)}function Us(e,t,i,n){null!==n?Hs(e,t,i,n):Vs(e,t,i)}function Ws(e,t){return Dt(e)?e.parentNode(t):t.parentNode}function zs(e,t){if(2===e.type){const i=xs(e,t);return null===i?null:Gs(i.indexOf(t,9)-9,i)}return 4===e.type||5===e.type?un(e,t):null}function $s(e,t,i,n){const s=Ys(e,n,t);if(null!=s){const e=t[11],r=zs(n.parent||t[6],t);if(Array.isArray(i))for(let t=0;t<i.length;t++)Us(e,s,i[t],r);else Us(e,s,i,r)}}function Gs(e,t){const i=9+e+1;if(i<t.length){const e=t[i],n=e[1].firstChild;if(null!==n)return function e(t,i){if(null!==i){const n=i.type;if(3===n)return un(i,t);if(0===n)return Gs(-1,t[i.index]);if(4===n||5===n){const n=i.child;if(null!==n)return e(t,n);{const e=t[i.index];return Ne(e)?Gs(-1,e):cn(e)}}{const n=t[16],s=n[6],r=jn(n),o=s.projection[i.projection];return null!=o?e(r,o):e(t,i.next)}}return null}(e,n)}return t[7]}function qs(e,t,i,n,s,r,o){for(;null!=i;){const a=n[i.index],c=i.type;o&&0===t&&(a&&yn(cn(a),n),i.flags|=4),64!=(64&i.flags)&&(4===c||5===c?(qs(e,t,i.child,n,s,r,!1),js(t,e,s,a,r)):1===c?Js(e,t,n,i,s,r):js(t,e,s,a,r)),i=o?i.projectionNext:i.next}}function Ks(e,t,i,n,s,r){qs(i,n,e.node.child,t,s,r,!1)}function Js(e,t,i,n,s,r){const o=i[16],a=o[6].projection[n.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)js(t,e,s,a[c],r);else qs(e,t,a,o[3],s,r,!0)}function Zs(e,t,i){Dt(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function Xs(e,t,i){Dt(e)?""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i):t.className=i}class Qs{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,i,n,s,r=!1){for(;null!==n;){const o=i[n.index];if(null!==o&&s.push(cn(o)),Ne(o))for(let t=9;t<o.length;t++){const i=o[t],n=i[1].firstChild;null!==n&&e(i[1],i,n,s)}const a=n.type;if(4===a||5===a)e(t,i,n.child,s);else if(1===a){const t=i[16],r=t[6],o=jn(t);let a=r.projection[n.projection];null!==a&&null!==o&&e(o[1],o,a,s,!0)}n=r?n.projectionNext:n.next}return s}(e[1],e,e[6].child,[]):[]}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}Rs(this._lView[1],this._lView)}onDestroy(e){var t,i,n;t=this._lView[1],n=e,Ds(i=this._lView).push(n),t.firstCreatePass&&Es(t).push(i[7].length-1,null)}markForCheck(){Fs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ks(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){Xe(!0);try{ks(e,t,i)}finally{Xe(!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,Ks(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 er extends Qs{constructor(e){super(e),this._view=e}detectChanges(){ws(this._view)}checkNoChanges(){!function(e){Xe(!0);try{ws(e)}finally{Xe(!1)}}(this._view)}get context(){return null}}let tr,ir,nr;function sr(e,t,i){return tr||(tr=class extends e{}),new tr(un(t,i))}function rr(e,t,i,n){return ir||(ir=class extends e{constructor(e,t,i){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=Wn(this._declarationView,t,e,16,null,t.node);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[5];null!==n&&(i[5]=n.createEmbeddedView(t)),$n(t,i,e);const s=new Qs(i);return s._tViewNode=i[6],s}}),0===i.type?new ir(n,i,sr(t,i,n)):null}function or(e,t,i,n){let s;nr||(nr=class extends e{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostView=i}get element(){return sr(t,this._hostTNode,this._hostView)}get injector(){return new si(this._hostTNode,this._hostView)}get parentInjector(){const e=Kt(this._hostTNode,this._hostView),t=Nt(e,this._hostView),i=function(e,t,i){if(i.parent&&-1!==i.parent.injectorIndex){const e=i.parent.injectorIndex;let t=i.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let n=At(e),s=t,r=t[6];for(;n>1;)s=s[15],r=s[6],n--;return r}(e,this._hostView,this._hostTNode);return jt(e)&&null!=i?new si(i,t):new si(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-9}createEmbeddedView(e,t,i){const n=e.createEmbeddedView(t||{});return this.insert(n,i),n}createComponent(e,t,i,n,s){const r=i||this.parentInjector;if(!s&&null==e.ngModule&&r){const e=r.get(ce,null);e&&(s=e)}const o=e.create(r,n,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){const i=e._lView,n=i[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ne(i[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[3],n=new nr(t,t[6],t[3]);n.detach(n.indexOf(e))}}const s=this._adjustIndex(t);return function(e,t,i,n){const s=9+n,r=i.length;n>0&&(i[s-1][4]=t),n<r-9?(t[4]=i[s],he(i,9+n,t)):(i.push(t),t[4]=null),t[3]=i;const o=t[17];null!==o&&i!==o&&function(e,t){const i=e[5],n=t[3][3][16];16!=(16&n[2])&&t[16]!==n&&(e[2]|=1),null===i?e[5]=[t]:i.push(t)}(o,t);const a=t[5];null!==a&&a.insertView(e),t[2]|=128}(n,i,this._lContainer,s),Is(n,i,!0,Gs(s,this._lContainer)),e.attachToViewContainerRef(this),he(this._lContainer[8],s,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);(function(e,t){const i=Ns(e,t);i&&Rs(i[1],i)})(this._lContainer,t),de(this._lContainer[8],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),i=Ns(this._lContainer,t);return i&&null!=de(this._lContainer[8],t)?new Qs(i):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const r=n[i.index];if(Ne(r))s=r,function(e,t){e[2]=-2}(s);else{let e;if(4===i.type)e=cn(r);else if(e=n[11].createComment(""),He(n)){const t=n[11],s=un(i,n);Hs(t,Ws(t,s),e,function(e,t){return Dt(e)?e.nextSibling(t):t.nextSibling}(t,s))}else $s(n[1],n,e,i);n[i.index]=s=gs(r,n,e,i),vs(n,s)}return new nr(s,i,n)}function ar(e=!1){return function(e,t,i){if(!i&&Pe(e)){const i=fn(e.index,t);return new Qs(i,i)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Qs(t[16],t):null}(Ge(),We(),e)}let cr=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>lr(),e})();const lr=ar,ur=new G("Set Injector scope."),hr={},dr={},fr=[];let pr=void 0;function mr(){return void 0===pr&&(pr=new ae),pr}function gr(e,t=null,i=null,n){return t=t||mr(),new _r(e,i,t,n)}class _r{constructor(e,t,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&ue(t,i=>this.processProvider(i,e,t)),ue([e],e=>this.processInjectorType(e,[],s)),this.records.set(q,vr(void 0,this));const r=this.records.get(ur);this.scope=null!=r?r.value:null,this.injectorDefTypes.forEach(e=>this.get(e)),this.source=n||("object"==typeof e?null:C(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=K,i=m.Default){this.assertNotDestroyed();const n=ee(this);try{if(!(i&m.SkipSelf)){let t=this.records.get(e);if(void 0===t){const i=("function"==typeof(s=e)||"object"==typeof s&&s instanceof G)&&F(e);t=i&&this.injectableDefInScope(i)?vr(br(e),hr):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(i&m.Self?mr():this.parent).get(e,t=i&m.Optional&&t===K?null:t)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(C(e)),n)throw r;return function(e,t,i,n){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=function(e,t,i,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=C(t);if(Array.isArray(t))s=t.map(C).join(" -> ");else if("object"==typeof t){let e=[];for(let i in t)if(t.hasOwnProperty(i)){let n=t[i];e.push(i+":"+("string"==typeof n?JSON.stringify(n):C(n)))}s=`{${e.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${e.replace(J,"\n  ")}`}("\n"+e.message,s,i,n),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(r,e,"R3InjectorError",this.source)}throw r}finally{ee(n)}var s}toString(){const e=[];return this.records.forEach((t,i)=>e.push(C(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,i){if(!(e=j(e)))return!1;let n=w(e);const s=null==n&&e.ngModule||void 0,r=void 0===s?e:s,o=-1!==i.indexOf(r);if(void 0!==s&&(n=w(s)),null==n)return!1;if(null!=n.imports&&!o){let e;i.push(r);try{ue(n.imports,n=>{this.processInjectorType(n,t,i)&&(void 0===e&&(e=[]),e.push(n))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:i,providers:n}=e[t];ue(n,e=>this.processProvider(e,i,n||fr))}}this.injectorDefTypes.add(r),this.records.set(r,vr(n.factory,hr));const a=n.providers;if(null!=a&&!o){const t=e;ue(a,e=>this.processProvider(e,t,a))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,i){let n=kr(e=j(e))?e:j(e&&e.provide);const s=function(e,t,i){return Fr(e)?vr(void 0,e.useValue):vr(yr(e,t,i),hr)}(e,t,i);if(kr(e)||!0!==e.multi){const e=this.records.get(n);e&&void 0!==e.multi&&Fn()}else{let t=this.records.get(n);t?void 0===t.multi&&Fn():(t=vr(void 0,hr,!0),t.factory=()=>oe(t.multi),this.records.set(n,t)),n=e,t.multi.push(e)}this.records.set(n,s)}hydrate(e,t){var i;return t.value===dr?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(C(e)):t.value===hr&&(t.value=dr,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(i=t.value)&&"object"==typeof i&&"function"==typeof i.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 br(e){const t=F(e),i=null!==t?t.factory:je(e);if(null!==i)return i;const n=w(e);if(null!==n)return n.factory;if(e instanceof G)throw new Error(`Token ${C(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const i=fe(t,"?");throw new Error(`Can't resolve all parameters for ${C(e)}: (${i.join(", ")}).`)}const i=function(e){const t=e&&(e[S]||e[E]||e[D]&&e[D]());if(t){const i=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 "${i}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function yr(e,t,i){let n=void 0;if(kr(e))return br(j(e));if(Fr(e))n=()=>j(e.useValue);else if((s=e)&&s.useFactory)n=()=>e.useFactory(...oe(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=()=>ne(j(e.useExisting));else{const s=j(e&&(e.useClass||e.provide));if(s||function(e,t,i){let n="";throw e&&t&&(n=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==i?"?"+i+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${C(e)}'`+n)}(t,i,e),!function(e){return!!e.deps}(e))return br(s);n=()=>new s(...oe(e.deps))}var s;return n}function vr(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Fr(e){return null!==e&&"object"==typeof e&&Z in e}function kr(e){return"function"==typeof e}const wr=function(e,t,i){return gr({name:i},t,e,i)};let Sr=(()=>{class e{static create(e,t){return Array.isArray(e)?wr(e,t,""):wr(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=K,e.NULL=new ae,e.\u0275prov=b({token:e,providedIn:"any",factory:()=>ne(q)}),e.__NG_ELEMENT_ID__=-1,e})();const Tr=new G("AnalyzeForEntryComponents");let Dr=new Map;const Er=new Set;function Mr(e){return"string"==typeof e?e:e.text()}function Cr(e,t){let i=e.styles,n=e.classes,s=0;for(let r=0;r<t.length;r++){const e=t[r];"number"==typeof e?s=e:1==s?n=O(n,e):2==s&&(i=O(i,e+": "+t[++r]+";"))}null!==i&&(e.styles=i),null!==n&&(e.classes=n)}let Or=null;function xr(){if(!Or){const e=B.Symbol;if(e&&e.iterator)Or=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const i=e[t];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Or=i)}}}return Or}function Lr(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}class jr{constructor(e){this.wrapped=e}static wrap(e){return new jr(e)}static unwrap(e){return jr.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof jr}}function Ir(e){return!!Ar(e)&&(Array.isArray(e)||!(e instanceof Map)&&xr()in e)}function Ar(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Nr(e,t,i){return e[t]=i}function Rr(e,t){return e[t]}function Pr(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Br(e,t,i,n){const s=Pr(e,t,i);return Pr(e,t+1,n)||s}function Yr(e,t,i,n,s){const r=Br(e,t,i,n);return Pr(e,t+2,s)||r}function Hr(e,t,i,n,s,r){const o=Br(e,t,i,n);return Br(e,t+2,s,r)||o}function Vr(e,t,i,n){const s=We();return Pr(s,tt(),t)&&function(e,t,i,n,s,r,o){const a=ln(e,s),c=s[11];if(null==i)Dt(c)?c.removeAttribute(a,t,o):a.removeAttribute(t);else{const s=hn(n,e),l=null==r?Rt(i):r(i,s.tagName||"",t);Dt(c)?c.setAttribute(a,t,l,o):o?a.setAttributeNS(o,t,l):a.setAttribute(t,l)}}(dt(),e,t,ze(),s,i,n),Vr}function Ur(e,t,i,n){return Pr(e,tt(),i)?t+Rt(i)+n:Ln}function Wr(e,t,i,n,s,r){const o=Br(e,et(),i,s);return it(2),o?t+Rt(i)+n+Rt(s)+r:Ln}function zr(e,t,i,n,s,r,o,a){const c=We(),l=ze(),u=e+19,h=l.firstCreatePass?function(e,t,i,n,s,r,o,a,c){const l=t.consts,u=zn(t,i[6],e,0,o||null,_n(l,a));ss(t,i,u,_n(l,c)),gt(t,u);const h=u.tViews=es(2,-1,n,s,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),d=ts(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,i,n,s,r,o):l.data[u];qe(h,!1);const d=c[11].createComment("");$s(l,c,d,h),yn(d,c),vs(c,c[u]=gs(d,c,d,h)),Be(h)&&Zn(l,c,h),null!=o&&Xn(c,h,a)}function $r(e){return dn(Ve.lFrame.contextLView,e)}function Gr(e,t=m.Default){const i=We();return null==i?ne(e,t):Zt(Ge(),i,j(e),t)}function qr(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const e=i.length;let n=0;for(;n<e;){const s=i[n];if(Ct(s))break;if(0===s)n+=2;else if("number"==typeof s)for(n++;n<e&&"string"==typeof i[n];)n++;else{if(s===t)return i[n+1];n+=2}}}return null}(Ge(),e)}function Kr(){throw new Error("invalid")}function Jr(e,t,i){const n=We();if(Pr(n,tt(),t)){const s=dt();ns(ze(),n,s,e,t,i)}return Jr}function Zr(e,t,i,n,s){const r=t.inputs,o=s?"class":"style";Cs(e,i,r[o]||s&&r.className,o,n)}function Xr(e,t,i,n){const s=We(),r=ze(),o=19+e,a=s[11],c=s[o]=Un(t,a,Ve.lFrame.currentNamespace),l=r.firstCreatePass?function(e,t,i,n,s,r,o){const a=t.consts,c=_n(a,r),l=zn(t,i[6],e,3,s,c);return ss(t,i,l,_n(a,o)),null!==l.mergedAttrs&&Cr(l,l.mergedAttrs),null!==t.queries&&t.queries.elementStart(t,l),l}(e,r,s,0,t,i,n):r.data[o];qe(l,!0);const u=l.mergedAttrs;null!==u&&Mt(a,c,u);const h=l.classes;null!==h&&Xs(a,c,h);const d=l.styles;null!==d&&Zs(a,c,d),$s(r,s,c,l),0===Ve.lFrame.elementDepthCount&&yn(c,s),Ve.lFrame.elementDepthCount++,Be(l)&&(Zn(r,s,l),Jn(r,l,s)),null!==n&&Xn(s,l)}function Qr(){let e=Ge();Ke()?Je():(e=e.parent,qe(e,!1));const t=e;Ve.lFrame.elementDepthCount--;const i=ze();i.firstCreatePass&&(gt(i,e),Re(e)&&i.queries.elementEnd(e)),null!==t.classes&&function(e){return 0!=(16&e.flags)}(t)&&Zr(i,t,We(),t.classes,!0),null!==t.styles&&function(e){return 0!=(32&e.flags)}(t)&&Zr(i,t,We(),t.styles,!1)}function eo(e,t,i,n){Xr(e,t,i,n),Qr()}function to(e,t,i){const n=We(),s=ze(),r=e+19,o=s.firstCreatePass?function(e,t,i,n,s){const r=t.consts,o=_n(r,n),a=zn(t,i[6],e,4,"ng-container",o);return null!==o&&Cr(a,o),ss(t,i,a,_n(r,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,s,n,t,i):s.data[r];qe(o,!0);const a=n[r]=n[11].createComment("");$s(s,n,a,o),yn(a,n),Be(o)&&(Zn(s,n,o),Jn(s,o,n)),null!=i&&Xn(n,o)}function io(){let e=Ge();const t=ze();Ke()?Je():(e=e.parent,qe(e,!1)),t.firstCreatePass&&(gt(t,e),Re(e)&&t.queries.elementEnd(e))}function no(e,t,i){to(e,t,i),io()}function so(){return We()}function ro(e){return!!e&&"function"==typeof e.then}function oo(e){return!!e&&"function"==typeof e.subscribe}function ao(e,t,i=!1,n){const s=We(),r=ze(),o=Ge();return function(e,t,i,n,s,r,o=!1,a){const c=Be(n),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=Ds(t);let h=!0;if(3===n.type){const d=un(n,t),f=a?a(d):ve,p=f.target||d,m=u.length,g=a?e=>a(cn(e[n.index])).target:n.index;if(Dt(i)){let o=null;if(!a&&c&&(o=function(e,t,i,n){const s=e.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const e=s[r];if(e===i&&s[r+1]===n){const e=t[7],i=s[r+2];return e.length>i?e[i]:null}"string"==typeof e&&(r+=2)}return null}(e,t,s,n.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=lo(n,t,r,!1);const e=i.listen(f.name||p,s,r);u.push(r,e),l&&l.push(s,g,m,m+1)}}else r=lo(n,t,r,!0),p.addEventListener(s,r,o),u.push(r),l&&l.push(s,g,m,o)}const d=n.outputs;let f;if(h&&null!==d&&(f=d[s])){const e=f.length;if(e)for(let i=0;i<e;i+=2){const e=t[f[i]][f[i+1]].subscribe(r),o=u.length;u.push(r,e),l&&l.push(s,n.index,o,-(o+1))}}}(r,s,s[11],o,e,t,i,n),ao}function co(e,t,i){try{return!1!==t(i)}catch(n){return Ms(e,n),!1}}function lo(e,t,i,n){return function s(r){if(r===Function)return i;const o=2&e.flags?fn(e.index,t):t;0==(32&t[2])&&Fs(o);let a=co(t,i,r),c=s.__ngNextListenerFn__;for(;c;)a=co(t,c,r)&&a,c=c.__ngNextListenerFn__;return n&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function uo(e=1){return function(e){return(Ve.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Ve.lFrame.contextLView))[8]}(e)}function ho(e,t){let i=null;const n=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 s=0;s<t.length;s++){const r=t[s];if("*"!==r){if(null===n?Mn(e,r,!0):Cn(n,r))return s}else i=s}return i}function fo(e){const t=We()[16][6];if(!t.projection){const i=t.projection=fe(e?e.length:1,null),n=i.slice();let s=t.child;for(;null!==s;){const t=e?ho(s,e):0;null!==t&&(n[t]?n[t].projectionNext=s:i[t]=s,n[t]=s),s=s.next}}}function po(e,t=0,i){const n=We(),s=ze(),r=zn(s,n[6],e,1,null,i||null);null===r.projection&&(r.projection=t),Je(),function(e,t,i){Js(t[11],0,t,i,Ys(e,i,t),zs(i.parent||t[6],t))}(s,n,r)}function mo(e,t,i){return go(e,"",t,"",i),mo}function go(e,t,i,n,s){const r=We(),o=Ur(r,t,i,n);if(o!==Ln){const t=dt();ns(ze(),r,t,e,o,s)}return go}function _o(e,t,i,n,s,r,o){const a=We(),c=Wr(a,t,i,n,s,r);if(c!==Ln){const t=dt();ns(ze(),a,t,e,c,o)}return _o}const bo=[];function yo(e,t,i,n,s){const r=e[i+1],o=null===t;let a=n?Rn(r):Bn(r),c=!1;for(;0!==a&&(!1===c||o);){const i=e[a+1];vo(e[a],t)&&(c=!0,e[a+1]=n?Hn(i):Pn(i)),a=n?Rn(i):Bn(i)}c&&(e[i+1]=n?Pn(r):Hn(r))}function vo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ge(e,t)>=0}const Fo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ko(e){return e.substring(Fo.key,Fo.keyEnd)}function wo(e){return e.substring(Fo.value,Fo.valueEnd)}function So(e,t){const i=Fo.textEnd;return i===t?-1:(t=Fo.keyEnd=function(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,Fo.key=t,i),Eo(e,t,i))}function To(e,t){const i=Fo.textEnd;let n=Fo.key=Eo(e,t,i);return i===n?-1:(n=Fo.keyEnd=function(e,t,i){let n;for(;t<i&&(45===(n=e.charCodeAt(t))||95===n||(-33&n)>=65&&(-33&n)<=90);)t++;return t}(e,n,i),n=Mo(e,n,i),n=Fo.value=Eo(e,n,i),n=Fo.valueEnd=function(e,t,i){let n=-1,s=-1,r=-1,o=t,a=o;for(;o<i;){const c=e.charCodeAt(o++);if(59===c)return a;34===c||39===c?a=o=Co(e,c,o,i):t===o-4&&85===r&&82===s&&76===n&&40===c?a=o=Co(e,41,o,i):c>32&&(a=o),r=s,s=n,n=-33&c}return a}(e,n,i),Mo(e,n,i))}function Do(e){Fo.key=0,Fo.keyEnd=0,Fo.value=0,Fo.valueEnd=0,Fo.textEnd=e.length}function Eo(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function Mo(e,t,i,n){return(t=Eo(e,t,i))<i&&t++,t}function Co(e,t,i,n){let s=-1,r=i;for(;r<n;){const i=e.charCodeAt(r++);if(i==t&&92!==s)return r;s=92==i&&92===s?0:i}throw new Error}function Oo(e,t,i){return No(e,t,i,!1),Oo}function xo(e,t){return No(e,t,null,!0),xo}function Lo(e){Ro(Vo,jo,e,!1)}function jo(e,t){for(let i=function(e){return Do(e),To(e,Eo(e,0,Fo.textEnd))}(t);i>=0;i=To(t,i))Vo(e,ko(t),wo(t))}function Io(e){Ro(pe,Ao,e,!0)}function Ao(e,t){for(let i=function(e){return Do(e),So(e,Eo(e,0,Fo.textEnd))}(t);i>=0;i=So(t,i))pe(e,ko(t),!0)}function No(e,t,i,n){const s=We(),r=ze(),o=it(2);if(r.firstUpdatePass&&Bo(r,e,o,n),t!==Ln&&Pr(s,o,t)){let a;null==i&&(a=function(){const e=Ve.lFrame;return null===e?null:e.currentSanitizer}())&&(i=a),Uo(r,r.data[dt()+19],s,s[11],e,s[o+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=C(gi(e)))),e}(t,i),n,o)}}function Ro(e,t,i,n){const s=ze(),r=it(2);s.firstUpdatePass&&Bo(s,null,r,n);const o=We();if(i!==Ln&&Pr(o,r,i)){const a=s.data[dt()+19];if($o(a,n)&&!Po(s,r)){let e=n?a.classes:a.styles;"string"==typeof i&&(i=O(e,i)),Zr(s,a,o,i,n)}else!function(e,t,i,n,s,r,o,a){s===Ln&&(s=bo);let c=0,l=0,u=0<s.length?s[0]:null,h=0<r.length?r[0]:null;for(;null!==u||null!==h;){const d=c<s.length?s[c+1]:void 0,f=l<r.length?r[l+1]:void 0;let p=null,m=void 0;u===h?(c+=2,l+=2,d!==f&&(p=h,m=f)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,m=f),null!==p&&Uo(e,t,i,n,p,m,o,a),u=c<s.length?s[c]:null,h=l<r.length?r[l]:null}}(s,a,o,o[11],o[r+1],o[r+1]=function(e,t,i){if(null==i||""===i)return bo;const n=[];if(Array.isArray(i))for(let s=0;s<i.length;s++)e(n,i[s],!0);else if("object"==typeof i)if(i instanceof Map)i.forEach((t,i)=>e(n,i,t));else if(i instanceof Set)i.forEach(t=>e(n,t,!0));else for(const s in i)i.hasOwnProperty(s)&&e(n,s,i[s]);else"string"==typeof i&&t(n,i);return n}(e,t,i),n,r)}}function Po(e,t){return t>=e.expandoStartIndex}function Bo(e,t,i,n){const s=e.data;if(null===s[i+1]){const r=s[dt()+19],o=Po(e,i);$o(r,n)&&null===t&&!o&&(t=!1),t=function(e,t,i,n){const s=function(e){const t=Ve.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=n?t.residualClasses:t.residualStyles;if(null===s)0===(n?t.classBindings:t.styleBindings)&&(i=Ho(i=Yo(null,e,t,i,n),t.attrs,n),r=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(i=Yo(s,e,t,i,n),null===r){let i=function(e,t,i){const n=i?t.classBindings:t.styleBindings;if(0!==Bn(n))return e[Rn(n)]}(e,t,n);void 0!==i&&Array.isArray(i)&&(i=Yo(null,e,t,i[1],n),i=Ho(i,t.attrs,n),function(e,t,i,n){e[Rn(i?t.classBindings:t.styleBindings)]=n}(e,t,n,i))}else r=function(e,t,i){let n=void 0;const s=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<s;r++)n=Ho(n,e[r].hostAttrs,i);return Ho(n,t.attrs,i)}(e,t,n)}return void 0!==r&&(n?t.residualClasses=r:t.residualStyles=r),i}(s,r,t,n),function(e,t,i,n,s,r){let o=r?t.classBindings:t.styleBindings,a=Rn(o),c=Bn(o);e[n]=i;let l,u=!1;if(Array.isArray(i)){const e=i;l=e[1],(null===l||ge(e,l)>0)&&(u=!0)}else l=i;if(s)if(0!==c){const t=Rn(e[a+1]);e[n+1]=Nn(t,a),0!==t&&(e[t+1]=Yn(e[t+1],n)),e[a+1]=131071&e[a+1]|n<<17}else e[n+1]=Nn(a,0),0!==a&&(e[a+1]=Yn(e[a+1],n)),a=n;else e[n+1]=Nn(c,0),0===a?a=n:e[c+1]=Yn(e[c+1],n),c=n;u&&(e[n+1]=Pn(e[n+1])),yo(e,l,n,!0),yo(e,l,n,!1),function(e,t,i,n,s){const r=s?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&ge(r,t)>=0&&(i[n+1]=Hn(i[n+1]))}(t,l,e,n,r),o=Nn(a,c),r?t.classBindings=o:t.styleBindings=o}(s,r,t,i,o,n)}}function Yo(e,t,i,n,s){let r=null;const o=i.directiveEnd;let a=i.directiveStylingLast;for(-1===a?a=i.directiveStart:a++;a<o&&(r=t[a],n=Ho(n,r.hostAttrs,s),r!==e);)a++;return null!==e&&(i.directiveStylingLast=a),n}function Ho(e,t,i){const n=i?1:2;let s=-1;if(null!==t)for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?s=o:s===n&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),pe(e,o,!!i||t[++r]))}return void 0===e?null:e}function Vo(e,t,i){on(t)&&(i=tn(i)),pe(e,t,i)}function Uo(e,t,i,n,s,r,o,a){if(3!==t.type)return;const c=e.data,l=c[a+1];zo(1==(1&l)?Wo(c,t,i,s,Bn(l),o):void 0)||(zo(r)||function(e){return 2==(2&e)}(l)&&(r=Wo(c,null,i,s,a,o)),function(e,t,i,n,s){const r=Dt(e);if(t)s?r?e.addClass(i,n):i.classList.add(n):r?e.removeClass(i,n):i.classList.remove(n);else{const t=-1==n.indexOf("-")?void 0:2;null==s?r?e.removeStyle(i,n,t):i.style.removeProperty(n):r?e.setStyle(i,n,s,t):i.style.setProperty(n,s)}}(n,o,ln(dt(),i),s,r))}function Wo(e,t,i,n,s,r){const o=null===t;let a=void 0;for(;s>0;){const t=e[s],r=Array.isArray(t),c=r?t[1]:t,l=null===c;let u=i[s+1];u===Ln&&(u=l?bo:void 0);let h=l?me(u,n):c===n?u:void 0;if(r&&!zo(h)&&(h=me(t,n)),zo(h)&&(a=h,o))return a;const d=e[s+1];s=o?Rn(d):Bn(d)}if(null!==t){let e=r?t.residualClasses:t.residualStyles;null!=e&&(a=me(e,n))}return a}function zo(e){return void 0!==e}function $o(e,t){return 0!=(e.flags&(t?16:32))}function Go(e,t=""){const i=We(),n=ze(),s=e+19,r=n.firstCreatePass?zn(n,i[6],e,3,null,null):n.data[s],o=i[s]=function(e,t){return Dt(t)?t.createText(e):t.createTextNode(e)}(t,i[11]);$s(n,i,o,r),qe(r,!1)}function qo(e){return Ko("",e,""),qo}function Ko(e,t,i){const n=We(),s=Ur(n,e,t,i);return s!==Ln&&Os(n,dt(),s),Ko}function Jo(e,t,i,n,s){const r=We(),o=Wr(r,e,t,i,n,s);return o!==Ln&&Os(r,dt(),o),Jo}function Zo(e,t,i,n,s,r,o){const a=We(),c=function(e,t,i,n,s,r,o,a){const c=Yr(e,et(),i,s,o);return it(3),c?t+Rt(i)+n+Rt(s)+r+Rt(o)+a:Ln}(a,e,t,i,n,s,r,o);return c!==Ln&&Os(a,dt(),c),Zo}function Xo(e,t,i,n,s,r,o,a,c){const l=We(),u=function(e,t,i,n,s,r,o,a,c,l){const u=Hr(e,et(),i,s,o,c);return it(4),u?t+Rt(i)+n+Rt(s)+r+Rt(o)+a+Rt(c)+l:Ln}(l,e,t,i,n,s,r,o,a,c);return u!==Ln&&Os(l,dt(),u),Xo}function Qo(e,t,i,n,s,r,o,a,c,l,u){const h=We(),d=function(e,t,i,n,s,r,o,a,c,l,u,h){const d=et();let f=Hr(e,d,i,s,o,c);return f=Pr(e,d+4,u)||f,it(5),f?t+Rt(i)+n+Rt(s)+r+Rt(o)+a+Rt(c)+l+Rt(u)+h:Ln}(h,e,t,i,n,s,r,o,a,c,l,u);return d!==Ln&&Os(h,dt(),d),Qo}function ea(e,t,i){Ro(pe,Ao,Ur(We(),e,t,i),!0)}function ta(e,t,i,n,s){Ro(pe,Ao,Wr(We(),e,t,i,n,s),!0)}function ia(e,t,i){const n=We();if(Pr(n,tt(),t)){const s=dt();ns(ze(),n,s,e,t,i,!0)}return ia}function na(e,t){const i=pn(e)[1],n=i.data.length-1;gt(i,{directiveStart:n,directiveEnd:n+1})}function sa(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,i=!0;const n=[e];for(;t;){let s=void 0;if(Ye(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(i){n.push(s);const t=e;t.inputs=ra(e.inputs),t.declaredInputs=ra(e.declaredInputs),t.outputs=ra(e.outputs);const i=s.hostBindings;i&&ca(e,i);const r=s.viewQuery,o=s.contentQueries;r&&oa(e,r),o&&aa(e,o),_(e.inputs,s.inputs),_(e.declaredInputs,s.declaredInputs),_(e.outputs,s.outputs),t.afterContentChecked=t.afterContentChecked||s.afterContentChecked,t.afterContentInit=e.afterContentInit||s.afterContentInit,t.afterViewChecked=e.afterViewChecked||s.afterViewChecked,t.afterViewInit=e.afterViewInit||s.afterViewInit,t.doCheck=e.doCheck||s.doCheck,t.onDestroy=e.onDestroy||s.onDestroy,t.onInit=e.onInit||s.onInit}const t=s.features;if(t)for(let n=0;n<t.length;n++){const s=t[n];s&&s.ngInherit&&s(e),s===sa&&(i=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,i=null;for(let n=e.length-1;n>=0;n--){const s=e[n];s.hostVars=t+=s.hostVars,s.hostAttrs=xt(s.hostAttrs,i=xt(i,s.hostAttrs))}}(n)}function ra(e){return e===ve?{}:e===Fe?[]:e}function oa(e,t){const i=e.viewQuery;e.viewQuery=i?(e,n)=>{t(e,n),i(e,n)}:t}function aa(e,t){const i=e.contentQueries;e.contentQueries=i?(e,n,s)=>{t(e,n,s),i(e,n,s)}:t}function ca(e,t){const i=e.hostBindings;e.hostBindings=i?(e,n)=>{t(e,n),i(e,n)}:t}class la{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function ua(){return ha.ngInherit=!0,ha}function ha(e){e.type.prototype.ngOnChanges&&(e.setInput=da,e.onChanges=function(){const e=fa(this),t=e&&e.current;if(t){const i=e.previous;if(i===ve)e.previous=t;else for(let e in t)i[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function da(e,t,i,n){const s=fa(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ve,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[i],c=o[a];r[a]=new la(c&&c.currentValue,t,o===ve),e[n]=t}function fa(e){return e.__ngSimpleChanges__||null}function pa(e,t,i,n,s){if(e=j(e),Array.isArray(e))for(let r=0;r<e.length;r++)pa(e[r],t,i,n,s);else{const r=ze(),o=We();let a=kr(e)?e:j(e.provide),c=yr(e);const l=Ge(),u=65535&l.providerIndexes,h=l.directiveStart,d=l.providerIndexes>>16;if(e.useClass||kr(e)){const i=(e.useClass||e).prototype.ngOnDestroy;i&&(r.destroyHooks||(r.destroyHooks=[])).push(t.length,i)}if(kr(e)||!e.multi){const e=new kt(c,s,Gr),n=ga(a,t,s?u:u+d,h);-1==n?(Jt($t(l,o),r,a),t.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=65536),i.push(e),o.push(e)):(i[n]=e,o[n]=e)}else{const e=ga(a,t,u+d,h),f=ga(a,t,u,u+d),p=e>=0&&i[e],m=f>=0&&i[f];if(s&&!m||!s&&!p){Jt($t(l,o),r,a);const e=function(e,t,i,n,s){const r=new kt(e,i,Gr);return r.multi=[],r.index=t,r.componentProviders=0,ma(r,s,n&&!i),r}(s?ba:_a,i.length,s,n,c);!s&&m&&(i[f].providerFactory=e),t.push(a),l.directiveStart++,l.directiveEnd++,s&&(l.providerIndexes+=65536),i.push(e),o.push(e)}else ma(i[s?f:e],c,!s&&n);!s&&n&&m&&i[f].componentProviders++}}}function ma(e,t,i){e.multi.push(t),i&&e.componentProviders++}function ga(e,t,i,n){for(let s=i;s<n;s++)if(t[s]===e)return s;return-1}function _a(e,t,i,n){return ya(this.multi,[])}function ba(e,t,i,n){const s=this.multi;let r;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=ti(i,i[1],this.providerFactory.index,n);r=t.slice(0,e),ya(s,r);for(let i=e;i<t.length;i++)r.push(t[i])}else r=[],ya(s,r);return r}function ya(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function va(e,t=[]){return i=>{i.providersResolver=(i,n)=>function(e,t,i){const n=ze();if(n.firstCreatePass){const s=Ye(e);pa(i,n.data,n.blueprint,s,!0),pa(t,n.data,n.blueprint,s,!1)}}(i,n?n(e):e,t)}}class Fa{}class ka{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${C(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let wa=(()=>{class e{}return e.NULL=new ka,e})(),Sa=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Ta(e),e})();const Ta=function(e){return sr(e,Ge(),We())};class Da{}const Ea=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Ma=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ca(),e})();const Ca=function(){const e=We(),t=fn(Ge().index,e);return function(e){const t=e[11];if(Dt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ae(t)?t:e)};let Oa=(()=>{class e{}return e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null}),e})();class xa{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const La=new xa("9.1.0-next.0");class ja{constructor(){}supports(e){return Ir(e)}create(e){return new Aa(e)}}const Ia=(e,t)=>t;class Aa{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||Ia}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,n=0,s=null;for(;t||i;){const r=!i||t&&t.currentIndex<Ba(i,n,s)?t:i,o=Ba(r,n,s),a=r.currentIndex;if(r===i)n--,i=i._nextRemoved;else if(t=t._next,null==r.previousIndex)n++;else{s||(s=[]);const e=o-n,t=a-n;if(e!=t){for(let i=0;i<e;i++){const n=i<s.length?s[i]:s[i]=0,r=n+i;t<=r&&r<e&&(s[i]=n+1)}s[r.previousIndex]=t-e}}o!==a&&e(r,o,a)}}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=[]),!Ir(e))throw new Error(`Error trying to diff '${C(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,i,n,s=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)i=e[t],n=this._trackByFn(t,i),null!==s&&Lr(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,i,n,t)),Lr(s.item,i)||this._addIdentityChange(s,i)):(s=this._mismatch(s,i,n,t),r=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[xr()]();let n;for(;!(n=i.next()).done;)t(n.value)}}(e,e=>{n=this._trackByFn(t,e),null!==s&&Lr(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,e,n,t)),Lr(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,n,t),r=!0),s=s._next,t++}),this.length=t;return this._truncate(s),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,t;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=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,n){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Lr(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Lr(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,n)):e=this._addAfter(new Na(t,i),s,n),e}_verifyReinsertion(e,t,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?e=this._reinsertAfter(s,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const n=e._prevRemoved,s=e._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Pa),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Pa),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 Na{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 Ra{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Lr(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class Pa{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new Ra,this.map.set(t,i)),i.add(e)}get(e,t){const i=this.map.get(e);return i?i.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()}}function Ba(e,t,i){const n=e.previousIndex;if(null===n)return n;let s=0;return i&&n<i.length&&(s=i[n]),n+t+s}class Ya{constructor(){}supports(e){return e instanceof Map||Ar(e)}create(){return new Ha}}class Ha{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||Ar(e)))throw new Error(`Error trying to diff '${C(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,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const n=this._getOrCreateRecordForKey(i,e);t=this._insertBeforeOrAppend(t,n)}}),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 i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._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 i=this._records.get(e);this._maybeAddToChanges(i,t);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new Va(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_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){Lr(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(i=>t(e[i],i))}}class Va{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 Ua=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(null!=i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,i)},deps:[[e,new p,new d]]}}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 '${i=e,i.name||typeof i}'`);var i}}return e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e([new ja])}),e})(),Wa=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,i)},deps:[[e,new p,new d]]}}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=b({token:e,providedIn:"root",factory:()=>new e([new Ya])}),e})();const za=[new Ya],$a=new Ua([new ja]),Ga=new Wa(za);let qa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ka(e,Sa),e})();const Ka=function(e,t){return rr(e,t,Ge(),We())};let Ja=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Za(e,Sa),e})();const Za=function(e,t){return or(e,t,Ge(),We())},Xa={};function Qa(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const ec=new G("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Bt});class tc extends Fa{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(xn).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Qa(this.componentDef.inputs)}get outputs(){return Qa(this.componentDef.outputs)}create(e,t,i,n){const s=(n=n||this.ngModule)?function(e,t){return{get:(i,n,s)=>{const r=e.get(i,Xa,s);return r!==Xa||n===Xa?r:t.get(i,n,s)}}}(e,n.injector):e,r=s.get(Da,Et),o=s.get(Oa,null),a=r.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=i?function(e,t,i){if(Dt(e))return e.selectRootElement(t,i===be.ShadowDom);let n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(a,i,this.componentDef.encapsulation):Un(c,r.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}(c)),u=this.componentDef.onPush?576:528,h="string"==typeof i&&/^#root-ng-internal-isolated-\d+/.test(i),d={components:[],scheduler:Bt,clean:Ts,playerHandler:null,flags:0},f=es(0,-1,null,1,0,null,null,null,null,null),p=Wn(null,f,d,u,null,null,r,a,o,s),m=i&&l?La.full:null;let g,_;ct(p,null);try{const e=function(e,t,i,n,s,r,o){const a=i[1];i[19]=e;const c=zn(a,null,0,3,null,null),l=c.mergedAttrs=t.hostAttrs;null!==l&&(Cr(c,l),null!==e&&(Mt(s,e,l),null!==c.classes&&Xs(s,e,c.classes),null!==c.styles&&Zs(s,e,c.styles)));const u=n.createRenderer(e,t);null!==e&&r&&(Dt(s)?s.setAttribute(e,"ng-version",r):e.setAttribute("ng-version",r));const h=Wn(i,Qn(t),null,t.onPush?64:16,i[19],c,n,u,null);return a.firstCreatePass&&(Jt($t(c,i),a,t.type),ls(a,c),hs(c,i.length,1)),vs(i,h),i[19]=h}(l,this.componentDef,p,r,a,m);_=hn(p[1],0),t&&(_.projection=t.map(e=>Array.from(e))),g=function(e,t,i,n,s){const r=i[1],o=function(e,t,i){const n=Ge();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),cs(e,n,1),ds(e,t,i));const s=ti(t,e,t.length-1,n);yn(s,t);const r=un(n,t);return r&&yn(r,t),s}(r,i,t);n.components.push(o),e[8]=o,s&&s.forEach(e=>e(o,t)),t.contentQueries&&t.contentQueries(1,o,i.length-1);const a=Ge();if(r.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){ft(a.index-19);const e=i[1];rs(e,t),os(e,i,t.hostVars),as(t,o)}return o}(e,this.componentDef,p,d,[na]),$n(f,p,null)}finally{ht()}const b=new ic(this.componentType,g,sr(Sa,_,p),p,_);return i&&!h||(b.hostView._tViewNode.child=_),b}}class ic extends class{}{constructor(e,t,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new er(n),this.hostView._tViewNode=function(e,t,i,n){let s=e.node;return null==s&&(e.node=s=ts(0,null,2,-1,null,null)),n[6]=s}(n[1],0,0,n),this.componentType=e}get injector(){return new si(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)}}const nc=void 0;var sc=["en",[["a","p"],["AM","PM"],nc],[["AM","PM"],nc,nc],[["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"]],nc,[["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"]],nc,[["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}",nc,"{1} 'at' {0}",nc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let rc={};function oc(e,t,i){"string"!=typeof t&&(i=t,t=e[hc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),rc[t]=e,i&&(rc[t][hc.ExtraData]=i)}function ac(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=uc(t);if(i)return i;const n=t.split("-")[0];if(i=uc(n),i)return i;if("en"===n)return sc;throw new Error(`Missing locale data for the locale "${e}".`)}function cc(e){return ac(e)[hc.CurrencyCode]||null}function lc(e){return ac(e)[hc.PluralCase]}function uc(e){return e in rc||(rc[e]=B.ng&&B.ng.common&&B.ng.common.locales&&B.ng.common.locales[e]),rc[e]}const hc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();let dc="en-US";function fc(e){var t,i;i="Expected localeId to be defined",null==(t=e)&&function(e,t,i,n){throw new Error(`ASSERTION ERROR: ${e}`+` [Expected=> null != ${t} <=Actual]`)}(i,t),"string"==typeof e&&(dc=e.toLowerCase().replace(/_/g,"-"))}const pc=new Map,mc={provide:wa,useClass:class extends wa{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Le(e);return new tc(t,this.ngModule)}},deps:[ce]};class gc extends ce{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[];const i=Ie(e),n=e[W]||null;n&&fc(n),this._bootstrapComponents=Vt(i.bootstrap),this._r3Injector=gr(e,t,[{provide:ce,useValue:this},mc],C(e)),this.instance=this.get(e)}get(e,t=Sr.THROW_IF_NOT_FOUND,i=m.Default){return e===Sr||e===ce||e===q?this:this._r3Injector.get(e,t,i)}get componentFactoryResolver(){return this.get(wa)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class _c extends le{constructor(e){super(),this.moduleType=e,null!==Ie(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${C(t)} vs ${C(t.name)}`)})(e,pc.get(e),t),pc.set(e,t)}let i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(t=>e(t))}(e)}create(e){return new gc(this.moduleType,e)}}function bc(e,t,i){const n=Qe()+e,s=We();return s[n]===Ln?Nr(s,n,i?t.call(i):t()):Rr(s,n)}function yc(e,t,i,n){return Dc(We(),Qe(),e,t,i,n)}function vc(e,t,i,n,s){return Ec(We(),Qe(),e,t,i,n,s)}function Fc(e,t,i,n,s,r){return Mc(We(),Qe(),e,t,i,n,s,r)}function kc(e,t,i,n,s,r,o){return Cc(We(),Qe(),e,t,i,n,s,r,o)}function wc(e,t,i,n,s,r,o,a){const c=Qe()+e,l=We(),u=Hr(l,c,i,n,s,r);return Pr(l,c+4,o)||u?Nr(l,c+5,a?t.call(a,i,n,s,r,o):t(i,n,s,r,o)):Rr(l,c+5)}function Sc(e,t,i,n,s,r,o,a,c){const l=Qe()+e,u=We(),h=Hr(u,l,i,n,s,r);return Br(u,l+4,o,a)||h?Nr(u,l+6,c?t.call(c,i,n,s,r,o,a):t(i,n,s,r,o,a)):Rr(u,l+6)}function Tc(e,t,i,n,s,r,o,a,c,l){const u=Qe()+e,h=We();let d=Hr(h,u,i,n,s,r);return Yr(h,u+4,o,a,c)||d?Nr(h,u+7,l?t.call(l,i,n,s,r,o,a,c):t(i,n,s,r,o,a,c)):Rr(h,u+7)}function Dc(e,t,i,n,s,r){const o=t+i;return Pr(e,o,s)?Nr(e,o+1,r?n.call(r,s):n(s)):Rr(e,o+1)}function Ec(e,t,i,n,s,r,o){const a=t+i;return Br(e,a,s,r)?Nr(e,a+2,o?n.call(o,s,r):n(s,r)):Rr(e,a+2)}function Mc(e,t,i,n,s,r,o,a){const c=t+i;return Yr(e,c,s,r,o)?Nr(e,c+3,a?n.call(a,s,r,o):n(s,r,o)):Rr(e,c+3)}function Cc(e,t,i,n,s,r,o,a,c){const l=t+i;return Hr(e,l,s,r,o,a)?Nr(e,l+4,c?n.call(c,s,r,o,a):n(s,r,o,a)):Rr(e,l+4)}function Oc(e,t){const i=ze();let n;const s=e+19;i.firstCreatePass?(n=function(e,t){if(t)for(let i=t.length-1;i>=0;i--){const n=t[i];if(e===n.name)return n}throw new Error(`The pipe '${e}' could not be found!`)}(t,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const r=(n.factory||(n.factory=je(n.type)))();return function(e,t,i,n){const s=i+19;s>=e.data.length&&(e.data[s]=null,e.blueprint[s]=null),t[s]=n}(i,We(),e,r),r}function xc(e,t,i){const n=We(),s=dn(n,e);return Rc(n,Nc(n,e)?Dc(n,Qe(),t,s.transform,i,s):s.transform(i))}function Lc(e,t,i,n){const s=We(),r=dn(s,e);return Rc(s,Nc(s,e)?Ec(s,Qe(),t,r.transform,i,n,r):r.transform(i,n))}function jc(e,t,i,n,s){const r=We(),o=dn(r,e);return Rc(r,Nc(r,e)?Mc(r,Qe(),t,o.transform,i,n,s,o):o.transform(i,n,s))}function Ic(e,t,i,n,s,r){const o=We(),a=dn(o,e);return Rc(o,Nc(o,e)?Cc(o,Qe(),t,a.transform,i,n,s,r,a):a.transform(i,n,s,r))}function Ac(e,t,i){const n=We(),s=dn(n,e);return Rc(n,Nc(n,e)?function(e,t,i,n,s,r){let o=t+i,a=!1;for(let c=0;c<s.length;c++)Pr(e,o++,s[c])&&(a=!0);return a?Nr(e,o,n.apply(r,s)):Rr(e,o)}(n,Qe(),t,s.transform,i,s):s.transform.apply(s,i))}function Nc(e,t){return e[1].data[t+19].pure}function Rc(e,t){return jr.isWrapped(t)&&(t=jr.unwrap(t),e[et()]=Ln),t}class Pc extends n.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let n,r=e=>null,o=()=>null;e&&"object"==typeof e?(n=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(r=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(n=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),i&&(o=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const a=super.subscribe(n,r,o);return e instanceof s.a&&e.add(a),a}}function Bc(){return this._results[xr()]()}class Yc{constructor(){this.dirty=!0,this._results=[],this.changes=new Pc,this.length=0;const e=xr(),t=Yc.prototype;t[e]||(t[e]=Bc)}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=function e(t,i){void 0===i&&(i=t);for(let n=0;n<t.length;n++){let s=t[n];Array.isArray(s)?(i===t&&(i=t.slice(0,n)),e(s,i)):i!==t&&i.push(s)}return i}(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()}}class Hc{constructor(e){this.queryList=e,this.matches=null}clone(){return new Hc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Vc{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const i=null!==e.contentQueries?e.contentQueries[0]:t.length,n=[];for(let e=0;e<i;e++){const i=t.getByIndex(e);n.push(this.queries[i.indexInDeclarationView].clone())}return new Vc(n)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==rl(e,t).matches&&this.queries[t].setDirty()}}class Uc{constructor(e,t,i,n=null){this.predicate=e,this.descendants=t,this.isStatic=i,this.read=n}}class Wc{constructor(e=[]){this.queries=e}elementStart(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const n=null!==t?t.length:0,s=this.getByIndex(i).embeddedTView(e,n);s&&(s.indexInDeclarationView=i,null!==t?t.push(s):t=[s])}return null!==t?new Wc(t):null}template(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class zc{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 zc(this.metadata)):null}isApplyingToNode(e){return this._appliesToNextNode&&!1===this.metadata.descendants?this._declarationNodeIndex===(e.parent?e.parent.index:-1):this._appliesToNextNode}matchTNode(e,t){if(Array.isArray(this.metadata.predicate)){const i=this.metadata.predicate;for(let n=0;n<i.length;n++)this.matchTNodeWithReadOption(e,t,$c(t,i[n]))}else{const i=this.metadata.predicate;i===qa?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,ei(t,e,i,!1,!1))}}matchTNodeWithReadOption(e,t,i){if(null!==i){const n=this.metadata.read;if(null!==n)if(n===Sa||n===Ja||n===qa&&0===t.type)this.addMatch(t.index,-2);else{const i=ei(t,e,n,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,i)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function $c(e,t){const i=e.localNames;if(null!==i)for(let n=0;n<i.length;n+=2)if(i[n]===t)return i[n+1];return null}function Gc(e,t,i,n){return-1===i?function(e,t){return 3===e.type||4===e.type?sr(Sa,e,t):0===e.type?rr(qa,Sa,e,t):null}(t,e):-2===i?function(e,t,i){return i===Sa?sr(Sa,t,e):i===qa?rr(qa,Sa,t,e):i===Ja?or(Ja,Sa,t,e):void 0}(e,t,n):ti(e,e[1],i,t)}function qc(e,t,i,n){const s=t[5].queries[n];if(null===s.matches){const n=e.data,r=i.matches,o=[];for(let e=0;e<r.length;e+=2){const s=r[e];o.push(s<0?null:Gc(t,n[s],r[e+1],i.metadata.read))}s.matches=o}return s.matches}function Kc(e){const t=We(),i=ze(),n=st();rt(n+1);const s=rl(i,n);if(e.dirty&&mn(t)===s.metadata.isStatic){if(null===s.matches)e.reset([]);else{const r=s.crossesNgTemplate?function e(t,i,n,s){const r=t.queries.getByIndex(n),o=r.matches;if(null!==o){const a=qc(t,i,r,n);for(let t=0;t<o.length;t+=2){const n=o[t];if(n>0)s.push(a[t/2]);else{const r=o[t+1],a=i[-n];for(let t=9;t<a.length;t++){const i=a[t];i[17]===i[3]&&e(i[1],i,r,s)}if(null!==a[5]){const t=a[5];for(let i=0;i<t.length;i++){const n=t[i];e(n[1],n,r,s)}}}}}return s}(i,t,n,[]):qc(i,t,s,n);e.reset(r),e.notifyOnChanges()}return!0}return!1}function Jc(e,t,i){Xc(ze(),We(),e,t,i,!0)}function Zc(e,t,i){Xc(ze(),We(),e,t,i,!1)}function Xc(e,t,i,n,s,r){e.firstCreatePass&&(sl(e,new Uc(i,n,r,s),-1),r&&(e.staticViewQueries=!0)),nl(e,t)}function Qc(e,t,i,n){tl(ze(),We(),t,i,n,!1,Ge(),e)}function el(e,t,i,n){tl(ze(),We(),t,i,n,!0,Ge(),e)}function tl(e,t,i,n,s,r,o,a){e.firstCreatePass&&(sl(e,new Uc(i,n,r,s),o.index),function(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(e,a),r&&(e.staticContentQueries=!0)),nl(e,t)}function il(){return e=We(),t=st(),e[5].queries[t].queryList;var e,t}function nl(e,t){const i=new Yc;!function(e,t,i,n){const s=Ds(t);s.push(i),e.firstCreatePass&&Es(e).push(n,s.length-1)}(e,t,i,i.destroy),null===t[5]&&(t[5]=new Vc),t[5].queries.push(new Hc(i))}function sl(e,t,i){null===e.queries&&(e.queries=new Wc),e.queries.track(new zc(t,i))}function rl(e,t){return e.queries.getByIndex(t)}function ol(e,t){return rr(qa,Sa,e,t)}function al(e=m.Default){const t=ar(!0);if(null!=t||e&m.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}const cl=u("Input",e=>({bindingPropertyName:e})),ll=new G("Application Initializer");let ul=(()=>{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 i=0;i<this.appInits.length;i++){const t=this.appInits[i]();ro(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)(ne(ll,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();const hl=new G("AppId"),dl={provide:hl,useFactory:function(){return`${fl()}${fl()}${fl()}`},deps:[]};function fl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const pl=new G("Platform Initializer"),ml=new G("Platform ID"),gl=new G("appBootstrapListener");let _l=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();const bl=new G("LocaleId"),yl=new G("DefaultCurrencyCode");class vl{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Fl=function(e){return new _c(e)},kl=Fl,wl=function(e){return Promise.resolve(Fl(e))},Sl=function(e){const t=Fl(e),i=Vt(Ie(e).declarations).reduce((e,t)=>{const i=Le(t);return i&&e.push(new tc(i)),e},[]);return new vl(t,i)},Tl=Sl,Dl=function(e){return Promise.resolve(Sl(e))};let El=(()=>{class e{constructor(){this.compileModuleSync=kl,this.compileModuleAsync=wl,this.compileModuleAndAllComponentsSync=Tl,this.compileModuleAndAllComponentsAsync=Dl}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();const Ml=new G("compilerOptions"),Cl=(()=>Promise.resolve(0))();function Ol(e){"undefined"==typeof Zone?Cl.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xl{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pc(!1),this.onMicrotaskEmpty=new Pc(!1),this.onStable=new Pc(!1),this.onError=new Pc(!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=B.requestAnimationFrame,t=B.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(B,()=>{e.lastRequestAnimationFrameId=-1,Al(e),Il(e)}),Al(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(i,n,s,r,o,a)=>{try{return Nl(e),i.invokeTask(s,r,o,a)}finally{t&&"eventTask"===r.type&&t(),Rl(e)}},onInvoke:(t,i,n,s,r,o,a)=>{try{return Nl(e),t.invoke(n,s,r,o,a)}finally{Rl(e)}},onHasTask:(t,i,n,s)=>{t.hasTask(n,s),i===n&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Al(e),Il(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,i,n,s)=>(t.handleError(n,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,n){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+n,e,jl,Ll,Ll);try{return s.runTask(r,t,i)}finally{s.cancelTask(r)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}function Ll(){}const jl={};function Il(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 Al(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Nl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rl(e){e._nesting--,Il(e)}class Pl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pc,this.onMicrotaskEmpty=new Pc,this.onStable=new Pc,this.onError=new Pc}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}}let Bl=(()=>{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:()=>{xl.assertNotInAngularZone(),Ol(()=>{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())Ol(()=>{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,i){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:i})}whenStable(e,t,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(ne(xl))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})(),Yl=(()=>{class e{constructor(){this._applications=new Map,Wl.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 Wl.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();class Hl{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}function Vl(e){Wl=e}let Ul,Wl=new Hl,zl=function(e,t,i){const n=new _c(i);if(0===Dr.size)return Promise.resolve(n);const s=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(Ml,[]).concat(t).map(e=>e.providers));if(0===s.length)return Promise.resolve(n);const r=function(){const e=B.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}(),o=Sr.create({providers:s}).get(r.ResourceLoader);return function(e){const t=[],i=new Map;function n(e){let t=i.get(e);if(!t){const n=(e=>Promise.resolve(o.get(e)))(e);i.set(e,t=n.then(Mr))}return t}return Dr.forEach((e,i)=>{const s=[];e.templateUrl&&s.push(n(e.templateUrl).then(t=>{e.template=t}));const r=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;r&&r.forEach((t,i)=>{o.push(""),s.push(n(t).then(n=>{o[a+i]=n,r.splice(r.indexOf(t),1),0==r.length&&(e.styleUrls=void 0)}))});const c=Promise.all(s).then(()=>function(e){Er.delete(e)}(i));t.push(c)}),Dr=new Map,Promise.all(t).then(()=>{})}().then(()=>n)};const $l=new G("AllowMultipleToken");class Gl{constructor(e,t){this.name=e,this.token=t}}function ql(e,t,i=[]){const n=`Platform: ${t}`,s=new G(n);return(t=[])=>{let r=Kl();if(!r||r.injector.get($l,!1))if(e)e(i.concat(t).concat({provide:s,useValue:!0}));else{const e=i.concat(t).concat({provide:s,useValue:!0},{provide:ur,useValue:"platform"});!function(e){if(Ul&&!Ul.destroyed&&!Ul.injector.get($l,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ul=e.get(Jl);const t=e.get(pl,null);t&&t.forEach(e=>e())}(Sr.create({providers:e,name:n}))}return function(e){const t=Kl();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}(s)}}function Kl(){return Ul&&!Ul.destroyed?Ul:null}let Jl=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const i=function(e,t){let i;return i="noop"===e?new Pl:("zone.js"===e?void 0:e)||new xl({enableLongStackTrace:Di(),shouldCoalesceEventChangeDetection:t}),i}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),n=[{provide:xl,useValue:i}];return i.run(()=>{const t=Sr.create({providers:n,parent:this.injector,name:e.moduleType.name}),s=e.create(t),r=s.injector.get(li,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Ql(this._modules,s)),i.runOutsideAngular(()=>i.onError.subscribe({next:e=>{r.handleError(e)}})),function(e,t,i){try{const n=i();return ro(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(r,i,()=>{const e=s.injector.get(ul);return e.runInitializers(),e.donePromise.then(()=>(fc(s.injector.get(bl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const i=Zl({},t);return zl(this.injector,i,e).then(e=>this.bootstrapModuleFactory(e,i))}_moduleDoBootstrap(e){const t=e.injector.get(Xl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${C(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)(ne(Sr))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();function Zl(e,t){return Array.isArray(t)?t.reduce(Zl,e):Object.assign(Object.assign({},e),t)}let Xl=(()=>{class e{constructor(e,t,i,n,s,c){this._zone=e,this._console=t,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Di(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new r.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new r.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{xl.assertNotInAngularZone(),Ol(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{xl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),i.unsubscribe()}});this.isStable=Object(o.a)(l,u.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=e instanceof Fa?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(ce),s=i.create(Sr.NULL,[],t||i.selector,n);s.onDestroy(()=>{this._unloadComponent(s)});const r=s.injector.get(Bl,null);return r&&s.injector.get(Yl).registerApplication(s.location.nativeElement,r),this._loadComponent(s),Di()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}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;Ql(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(gl,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Ql(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)(ne(xl),ne(_l),ne(Sr),ne(li),ne(wa),ne(ul))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();function Ql(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class eu{}class tu{}const iu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let nu=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||iu}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,n]=e.split("#");return void 0===n&&(n="default"),i("crnd")(t).then(e=>e[n]).then(e=>su(e,t,n)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,n]=e.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[n+s]).then(e=>su(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)(ne(El),ne(tu,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();function su(e,t,i){if(!e)throw new Error(`Cannot find '${i}' in '${t}'`);return e}const ru=function(e){return null},ou=ql(null,"core",[{provide:ml,useValue:"unknown"},{provide:Jl,deps:[Sr]},{provide:Yl,deps:[]},{provide:_l,deps:[]}]),au=[{provide:Xl,useClass:Xl,deps:[xl,_l,Sr,li,wa,ul]},{provide:ec,deps:[xl],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:ul,useClass:ul,deps:[[new d,ll]]},{provide:El,useClass:El,deps:[]},dl,{provide:Ua,useFactory:function(){return $a},deps:[]},{provide:Wa,useFactory:function(){return Ga},deps:[]},{provide:bl,useFactory:function(e){return fc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new h(bl),new d,new p]]},{provide:yl,useValue:"USD"}];let cu=(()=>{class e{constructor(e){}}return e.\u0275mod=Ee({type:e}),e.\u0275inj=v({factory:function(t){return new(t||e)(ne(Xl))},providers:au}),e})()},ffiR:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("2fIB");t.last=function(e,t,i){return function(n){return n.lift(new o(e,t,i,n))}};var o=function(){function e(e,t,i,n){this.predicate=e,this.resultSelector=t,this.defaultValue=i,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.resultSelector,this.defaultValue,this.source))},e}(),a=function(e){function t(t,i,n,s,r){e.call(this,t),this.predicate=i,this.resultSelector=n,this.defaultValue=s,this.source=r,this.hasValue=!1,this.index=0,void 0!==s&&(this.lastValue=s,this.hasValue=!0)}return n(t,e),t.prototype._next=function(e){var t=this.index++;if(this.predicate)this._tryPredicate(e,t);else{if(this.resultSelector)return void this._tryResultSelector(e,t);this.lastValue=e,this.hasValue=!0}},t.prototype._tryPredicate=function(e,t){var i;try{i=this.predicate(e,t,this.source)}catch(n){return void this.destination.error(n)}if(i){if(this.resultSelector)return void this._tryResultSelector(e,t);this.lastValue=e,this.hasValue=!0}},t.prototype._tryResultSelector=function(e,t){var i;try{i=this.resultSelector(e,t)}catch(n){return void this.destination.error(n)}this.lastValue=i,this.hasValue=!0},t.prototype._complete=function(){var e=this.destination;this.hasValue?(e.next(this.lastValue),e.complete()):e.error(new r.EmptyError)},t}(s.Subscriber)},ffpz:function(e,t,i){"use strict";t.Scheduler=function(){function e(t,i){void 0===i&&(i=e.now),this.SchedulerAction=t,this.now=i}return e.prototype.schedule=function(e,t,i){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(i,t)},e.now=function(){return Date.now()},e}()},foHw:function(e,t,i){"use strict";t.isArrayLike=function(e){return e&&"number"==typeof e.length}},fzPg:function(e,t,i){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(i("wd/R"))},g2Fv:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("/WK6"),r=i("8JYq");t.AsyncAction=function(e){function t(t,i){e.call(this,t,i),this.scheduler=t,this.pending=!1,this.work=i}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e,this.pending=!0;var i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,i){return void 0===i&&(i=0),s.root.setInterval(e.flush.bind(e,this),i)},t.prototype.recycleAsyncId=function(e,t,i){if(void 0===i&&(i=0),null!==i&&this.delay===i&&!1===this.pending)return t;s.root.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var i=!1,n=void 0;try{this.work(e)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(r.Action)},gRDe:function(e,t,i){"use strict";t.noop=function(){}},gRHU:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("2fFW"),s=i("NJ4a");const r={closed:!0,next(e){},error(e){if(n.a.useDeprecatedSynchronousErrorHandling)throw e;Object(s.a)(e)},complete(){}}},gSfb:function(e,t,i){"use strict";var n=i("bq7C"),s=i("ZXB4");t.partition=function(e,t){return function(i){return[s.filter(e,t)(i),s.filter(n.not(e,t))(i)]}}},gVVK:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s=e+" ";switch(i){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return s+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return s+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return s+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return s+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return s+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))},gYN0:function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("tyNb"),s=i("pLZG"),r=i("lJxs"),o=i("fXoL"),a=i("jhN1"),c=i("IKD2");let l=(()=>{class e{constructor(e,t,i,n,s){this.router=e,this.activatedRoute=t,this.title=i,this.meta=n,this.localizationService=s}initialize(){this.router.events.pipe(Object(s.a)(e=>e instanceof n.c),Object(r.a)(()=>{let e=this.activatedRoute;for(;e.firstChild;)e=e.firstChild;return e}),Object(s.a)(e=>"primary"===e.outlet),Object(r.a)(e=>{if(this.localizationService.languages&&this.localizationService.languages.length>0&&this.localizationService.language){const t=e.data;let i,n;const s=t.value.metaRobots?t.value.metaRobots:"all";if(t.value.titleDynamic){let n=t.value.titleDynamicPrefix?t.value.titleDynamicPrefix:"SEO_TITLE";for(const t of e.url.value)n+=`_${t.path}`;n=this.generateKey(n),i=this.localizationService.translate(n),n===i&&(n=t.value.title?t.value.title:"SEO_TITLE_DEFAULT",i=this.localizationService.translate(n))}else i=this.localizationService.translate(t.value.title?t.value.title:"SEO_TITLE_DEFAULT");if(t.value.metaDescriptionDynamic){let i=t.value.metaDescriptionDynamicPrefix?t.value.metaDescriptionDynamicPrefix:"SEO_META_DESCRIPTION";for(const t of e.url.value)i+=`_${t.path}`;i=this.generateKey(i),n=this.localizationService.translate(i),i===n&&(i=t.value.metaDescriptionDynamicPrefix?t.value.metaDescriptionDynamicPrefix:"SEO_META_DESCRIPTION",n=this.localizationService.translate(i))}else n=this.localizationService.translate(t.value.metaDescription?t.value.metaDescription:"SEO_META_DESCRIPTION");return{title:i,metaDescription:n,metaRobots:s}}return{}})).subscribe(e=>{e.title&&this.title.setTitle(e.title),e.metaDescription&&this.meta.updateTag({name:"description",content:e.metaDescription}),e.metaRobots&&this.meta.updateTag({name:"robots",content:e.metaRobots})})}generateKey(e){return e&&(e=(e=(e=(e=e.trim()).toUpperCase()).replace(/[^A-Za-z0-9]+/g,"_")).replace(/[_]+/g,"_")),e}generateSportKey(e,t,...i){for(const r of i)e+=`_${this.generateKey(r)}`,t+=`_${this.generateKey(r)}`;let n=this.localizationService.translate(e),s=this.localizationService.translate(t);n===e&&(e=this.localizationService.translate("SEO_TITLE_SPORT_BETTING_OFFER")),s===t&&(t=this.localizationService.translate("SEO_META_DESCRIPTION_SPORT_BETTING_OFFER")),this.title.setTitle(this.localizationService.translate(e)),this.meta.updateTag({name:"description",content:this.localizationService.translate(t)})}}return e.\u0275fac=function(t){return new(t||e)(o.fc(n.e),o.fc(n.a),o.fc(a.d),o.fc(a.c),o.fc(c.s))},e.\u0275prov=o.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"gcf/":function(e,t,i){"use strict";var n=i("4WIM"),s=i("cf1P");t.publish=function(e){return e?s.multicast((function(){return new n.Subject}),e):s.multicast(new n.Subject)}},gekB:function(e,t,i){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,s,r){var o="";switch(s){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(e,n){return e<10?n?i[e]:t[e]:e}(e,r)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},gjCT:function(e,t,i){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i("wd/R"))},hKrs:function(e,t,i){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wd/R"))},hY8S:function(e,t,i){"use strict";var n=i("VVja"),s=i("LAU0");t.switchAll=function(){return n.switchMap(s.identity)}},honF:function(e,t,i){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},i={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wd/R"))},"hut+":function(e,t,i){"use strict";t.isDate=function(e){return e instanceof Date&&!isNaN(+e)}},hzby:function(e,t,i){"use strict";i.d(t,"a",(function(){return lt})),i.d(t,"b",(function(){return mt})),i.d(t,"c",(function(){return Lt})),i.d(t,"d",(function(){return Ye}));var n=i("fXoL"),s=i("pLZG"),r=i("lJxs"),o=i("IzEk"),a=i("1G5W"),c=i("/uUt"),l=i("U9ZV"),u=i("WyaX"),h=i("R0Ic"),d=i("2Vo4"),f=i("XNiG"),p=i("2oBD"),m=i("3XJ7"),g=i("3Pt+"),_=i("ofXK"),b=i("Mfq2"),y=i("lUod");function v(e,t){if(1&e){const e=n.cc();n.bc(0,"bs-days-calendar-view",9),n.jc("onNavigate",(function(t){return n.Mc(e),n.nc(3).navigateTo(t)}))("onViewMode",(function(t){return n.Mc(e),n.nc(3).setViewMode(t)}))("onHover",(function(t){return n.Mc(e),n.nc(3).dayHoverHandler(t)}))("onHoverWeek",(function(t){return n.Mc(e),n.nc(3).weekHoverHandler(t)}))("onSelect",(function(t){return n.Mc(e),n.nc(3).daySelectHandler(t)})),n.oc(1,"async"),n.oc(2,"async"),n.ac()}if(2&e){const e=t.$implicit,s=n.nc(3);var i;const r=(null==(i=n.pc(1,4,s.daysCalendar))?null:i.length)>1;n.Mb("bs-datepicker-multiple",r),n.wc("calendar",e)("options",n.pc(2,6,s.options))}}function F(e,t){if(1&e&&(n.bc(0,"div",7),n.Wc(1,v,3,8,"bs-days-calendar-view",8),n.oc(2,"async"),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",n.pc(2,1,e.daysCalendar))}}function k(e,t){if(1&e){const e=n.cc();n.bc(0,"bs-month-calendar-view",11),n.jc("onNavigate",(function(t){return n.Mc(e),n.nc(3).navigateTo(t)}))("onViewMode",(function(t){return n.Mc(e),n.nc(3).setViewMode(t)}))("onHover",(function(t){return n.Mc(e),n.nc(3).monthHoverHandler(t)}))("onSelect",(function(t){return n.Mc(e),n.nc(3).monthSelectHandler(t)})),n.oc(1,"async"),n.ac()}if(2&e){const e=t.$implicit,s=n.nc(3);var i;const r=(null==(i=n.pc(1,3,s.daysCalendar))?null:i.length)>1;n.Mb("bs-datepicker-multiple",r),n.wc("calendar",e)}}function w(e,t){if(1&e&&(n.bc(0,"div",7),n.Wc(1,k,2,5,"bs-month-calendar-view",10),n.oc(2,"async"),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",n.pc(2,1,e.monthsCalendar))}}function S(e,t){if(1&e){const e=n.cc();n.bc(0,"bs-years-calendar-view",11),n.jc("onNavigate",(function(t){return n.Mc(e),n.nc(3).navigateTo(t)}))("onViewMode",(function(t){return n.Mc(e),n.nc(3).setViewMode(t)}))("onHover",(function(t){return n.Mc(e),n.nc(3).yearHoverHandler(t)}))("onSelect",(function(t){return n.Mc(e),n.nc(3).yearSelectHandler(t)})),n.oc(1,"async"),n.ac()}if(2&e){const e=t.$implicit,s=n.nc(3);var i;const r=(null==(i=n.pc(1,3,s.daysCalendar))?null:i.length)>1;n.Mb("bs-datepicker-multiple",r),n.wc("calendar",e)}}function T(e,t){if(1&e&&(n.bc(0,"div",7),n.Wc(1,S,2,5,"bs-years-calendar-view",10),n.oc(2,"async"),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",n.pc(2,1,e.yearsCalendar))}}function D(e,t){1&e&&(n.bc(0,"div",12),n.bc(1,"button",13),n.Yc(2,"Apply"),n.ac(),n.bc(3,"button",14),n.Yc(4,"Cancel"),n.ac(),n.ac())}function E(e,t){if(1&e){const e=n.cc();n.bc(0,"div",17),n.bc(1,"button",18),n.jc("click",(function(t){return n.Mc(e),n.nc(3).setToday()})),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=n.nc(3);n.Mb("today-left","left"===e.todayPos)("today-right","right"===e.todayPos)("today-center","center"===e.todayPos),n.Hb(2),n.Zc(e.todayBtnLbl)}}function M(e,t){if(1&e){const e=n.cc();n.bc(0,"div",19),n.bc(1,"button",18),n.jc("click",(function(t){return n.Mc(e),n.nc(3).clearDate()})),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=n.nc(3);n.Mb("clear-left","left"===e.clearPos)("clear-right","right"===e.clearPos)("clear-center","center"===e.clearPos),n.Hb(2),n.Zc(e.clearBtnLbl)}}function C(e,t){if(1&e&&(n.bc(0,"div",12),n.Wc(1,E,3,7,"div",15),n.Wc(2,M,3,7,"div",16),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngIf",e.showTodayBtn),n.Hb(1),n.wc("ngIf",e.showClearBtn)}}function O(e,t){if(1&e){const e=n.cc();n.bc(0,"div",20),n.bc(1,"bs-custom-date-view",21),n.jc("onSelect",(function(t){return n.Mc(e),n.nc(2).setRangeOnCalendar(t)})),n.ac(),n.ac()}if(2&e){const e=n.nc(2);n.Hb(1),n.wc("selectedRange",e.chosenRange)("ranges",e.customRanges)("customRangeLabel",e.customRangeBtnLbl)}}function x(e,t){if(1&e){const e=n.cc();n.bc(0,"div",1),n.bc(1,"div",2),n.jc("@datepickerAnimation.done",(function(t){return n.Mc(e),n.nc().positionServiceEnable()})),n.bc(2,"div",3),n.oc(3,"async"),n.Wc(4,F,3,3,"div",4),n.Wc(5,w,3,3,"div",4),n.Wc(6,T,3,3,"div",4),n.ac(),n.Wc(7,D,5,0,"div",5),n.Wc(8,C,3,2,"div",5),n.ac(),n.Wc(9,O,2,3,"div",6),n.ac()}if(2&e){const e=n.nc();n.wc("ngClass",e.containerClass),n.Hb(1),n.wc("@datepickerAnimation",e.animationState),n.Hb(1),n.wc("ngSwitch",n.pc(3,9,e.viewMode)),n.Hb(2),n.wc("ngSwitchCase","day"),n.Hb(1),n.wc("ngSwitchCase","month"),n.Hb(1),n.wc("ngSwitchCase","year"),n.Hb(1),n.wc("ngIf",!1),n.Hb(1),n.wc("ngIf",e.showTodayBtn||e.showClearBtn),n.Hb(1),n.wc("ngIf",(null==e.customRanges?null:e.customRanges.length)>0)}}function L(e,t){if(1&e){const e=n.cc();n.bc(0,"bs-days-calendar-view",9),n.jc("onNavigate",(function(t){return n.Mc(e),n.nc(3).navigateTo(t)}))("onViewMode",(function(t){return n.Mc(e),n.nc(3).setViewMode(t)}))("onHover",(function(t){return n.Mc(e),n.nc(3).dayHoverHandler(t)}))("onHoverWeek",(function(t){return n.Mc(e),n.nc(3).weekHoverHandler(t)}))("onSelect",(function(t){return n.Mc(e),n.nc(3).daySelectHandler(t)})),n.oc(1,"async"),n.oc(2,"async"),n.ac()}if(2&e){const e=t.$implicit,s=n.nc(3);var i;const r=(null==(i=n.pc(1,4,s.daysCalendar))?null:i.length)>1;n.Mb("bs-datepicker-multiple",r),n.wc("calendar",e)("options",n.pc(2,6,s.options))}}function j(e,t){if(1&e&&(n.bc(0,"div",7),n.Wc(1,L,3,8,"bs-days-calendar-view",8),n.oc(2,"async"),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",n.pc(2,1,e.daysCalendar))}}function I(e,t){if(1&e){const e=n.cc();n.bc(0,"bs-month-calendar-view",11),n.jc("onNavigate",(function(t){return n.Mc(e),n.nc(3).navigateTo(t)}))("onViewMode",(function(t){return n.Mc(e),n.nc(3).setViewMode(t)}))("onHover",(function(t){return n.Mc(e),n.nc(3).monthHoverHandler(t)}))("onSelect",(function(t){return n.Mc(e),n.nc(3).monthSelectHandler(t)})),n.oc(1,"async"),n.ac()}if(2&e){const e=t.$implicit,s=n.nc(3);var i;const r=(null==(i=n.pc(1,3,s.daysCalendar))?null:i.length)>1;n.Mb("bs-datepicker-multiple",r),n.wc("calendar",e)}}function A(e,t){if(1&e&&(n.bc(0,"div",7),n.Wc(1,I,2,5,"bs-month-calendar-view",10),n.oc(2,"async"),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",n.pc(2,1,e.monthsCalendar))}}function N(e,t){if(1&e){const e=n.cc();n.bc(0,"bs-years-calendar-view",11),n.jc("onNavigate",(function(t){return n.Mc(e),n.nc(3).navigateTo(t)}))("onViewMode",(function(t){return n.Mc(e),n.nc(3).setViewMode(t)}))("onHover",(function(t){return n.Mc(e),n.nc(3).yearHoverHandler(t)}))("onSelect",(function(t){return n.Mc(e),n.nc(3).yearSelectHandler(t)})),n.oc(1,"async"),n.ac()}if(2&e){const e=t.$implicit,s=n.nc(3);var i;const r=(null==(i=n.pc(1,3,s.daysCalendar))?null:i.length)>1;n.Mb("bs-datepicker-multiple",r),n.wc("calendar",e)}}function R(e,t){if(1&e&&(n.bc(0,"div",7),n.Wc(1,N,2,5,"bs-years-calendar-view",10),n.oc(2,"async"),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngForOf",n.pc(2,1,e.yearsCalendar))}}function P(e,t){1&e&&(n.bc(0,"div",12),n.bc(1,"button",13),n.Yc(2,"Apply"),n.ac(),n.bc(3,"button",14),n.Yc(4,"Cancel"),n.ac(),n.ac())}function B(e,t){if(1&e){const e=n.cc();n.bc(0,"div",17),n.bc(1,"button",18),n.jc("click",(function(t){return n.Mc(e),n.nc(3).setToday()})),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=n.nc(3);n.Mb("today-left","left"===e.todayPos)("today-right","right"===e.todayPos)("today-center","center"===e.todayPos),n.Hb(2),n.Zc(e.todayBtnLbl)}}function Y(e,t){if(1&e){const e=n.cc();n.bc(0,"div",19),n.bc(1,"button",18),n.jc("click",(function(t){return n.Mc(e),n.nc(3).clearDate()})),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=n.nc(3);n.Mb("clear-left","left"===e.clearPos)("clear-right","right"===e.clearPos)("clear-center","center"===e.clearPos),n.Hb(2),n.Zc(e.clearBtnLbl)}}function H(e,t){if(1&e&&(n.bc(0,"div",12),n.Wc(1,B,3,7,"div",15),n.Wc(2,Y,3,7,"div",16),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngIf",e.showTodayBtn),n.Hb(1),n.wc("ngIf",e.showClearBtn)}}function V(e,t){if(1&e){const e=n.cc();n.bc(0,"div",20),n.bc(1,"bs-custom-date-view",21),n.jc("onSelect",(function(t){return n.Mc(e),n.nc(2).setRangeOnCalendar(t)})),n.ac(),n.ac()}if(2&e){const e=n.nc(2);n.Hb(1),n.wc("selectedRange",e.chosenRange)("ranges",e.customRanges)("customRangeLabel",e.customRangeBtnLbl)}}function U(e,t){if(1&e){const e=n.cc();n.bc(0,"div",1),n.bc(1,"div",2),n.jc("@datepickerAnimation.done",(function(t){return n.Mc(e),n.nc().positionServiceEnable()})),n.bc(2,"div",3),n.oc(3,"async"),n.Wc(4,j,3,3,"div",4),n.Wc(5,A,3,3,"div",4),n.Wc(6,R,3,3,"div",4),n.ac(),n.Wc(7,P,5,0,"div",5),n.Wc(8,H,3,2,"div",5),n.ac(),n.Wc(9,V,2,3,"div",6),n.ac()}if(2&e){const e=n.nc();n.wc("ngClass",e.containerClass),n.Hb(1),n.wc("@datepickerAnimation",e.animationState),n.Hb(1),n.wc("ngSwitch",n.pc(3,9,e.viewMode)),n.Hb(2),n.wc("ngSwitchCase","day"),n.Hb(1),n.wc("ngSwitchCase","month"),n.Hb(1),n.wc("ngSwitchCase","year"),n.Hb(1),n.wc("ngIf",!1),n.Hb(1),n.wc("ngIf",e.showTodayBtn||e.showClearBtn),n.Hb(1),n.wc("ngIf",(null==e.customRanges?null:e.customRanges.length)>0)}}function W(e,t){1&e&&n.Wb(0,"bs-current-date",4)}function z(e,t){1&e&&n.Wb(0,"bs-timepicker")}const $=[[["bs-datepicker-navigation-view"]],"*"],G=["bs-datepicker-navigation-view","*"];function q(e,t){if(1&e){const e=n.cc();n.bc(0,"button",2),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc().selectFromRanges(s)})),n.Yc(1),n.ac()}if(2&e){const e=t.$implicit,i=n.nc();n.Mb("selected",e.value===i.selectedRange),n.Hb(1),n.ad(" ",e.label," ")}}const K=["bsDatepickerDayDecorator",""];function J(e,t){if(1&e){const e=n.cc();n.Zb(0),n.Yc(1," \u200b "),n.bc(2,"button",2),n.jc("click",(function(t){return n.Mc(e),n.nc().view("month")})),n.bc(3,"span"),n.Yc(4),n.ac(),n.ac(),n.Yb()}if(2&e){const e=n.nc();n.Hb(4),n.Zc(e.calendar.monthTitle)}}function Z(e,t){1&e&&n.Wb(0,"th")}function X(e,t){if(1&e&&(n.bc(0,"th",5),n.Yc(1),n.ac()),2&e){const e=t.index,i=n.nc();n.Hb(1),n.ad("",i.calendar.weekdays[e]," ")}}function Q(e,t){if(1&e){const e=n.cc();n.bc(0,"span",11),n.jc("click",(function(t){n.Mc(e);const i=n.nc(2).$implicit;return n.nc().selectWeek(i)})),n.Yc(1),n.ac()}if(2&e){const e=n.nc(2).index,t=n.nc();n.Hb(1),n.Zc(t.calendar.weekNumbers[e])}}function ee(e,t){if(1&e){const e=n.cc();n.bc(0,"span",12),n.jc("click",(function(t){n.Mc(e);const i=n.nc(2).$implicit;return n.nc().selectWeek(i)}))("mouseenter",(function(t){n.Mc(e);const i=n.nc(2).$implicit;return n.nc().weekHoverHandler(i,!0)}))("mouseleave",(function(t){n.Mc(e);const i=n.nc(2).$implicit;return n.nc().weekHoverHandler(i,!1)})),n.Yc(1),n.ac()}if(2&e){const e=n.nc(2).index,t=n.nc();n.Hb(1),n.Zc(t.calendar.weekNumbers[e])}}function te(e,t){if(1&e&&(n.bc(0,"td",8),n.Wc(1,Q,2,1,"span",9),n.Wc(2,ee,2,1,"span",10),n.ac()),2&e){const e=n.nc(2);n.Mb("active-week",e.isWeekHovered),n.Hb(1),n.wc("ngIf",e.isiOS),n.Hb(1),n.wc("ngIf",!e.isiOS)}}function ie(e,t){if(1&e){const e=n.cc();n.bc(0,"span",17),n.jc("click",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).selectDay(i)}))("mouseenter",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).hoverDay(i,!0)}))("mouseleave",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).hoverDay(i,!1)})),n.Yc(1),n.ac()}if(2&e){const e=n.nc().$implicit;n.xc("tooltip",e.tooltipText),n.wc("day",e),n.Hb(1),n.ad("",e.label," 3")}}function ne(e,t){if(1&e){const e=n.cc();n.bc(0,"span",18),n.jc("click",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).selectDay(i)}))("mouseenter",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).hoverDay(i,!0)}))("mouseleave",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).hoverDay(i,!1)})),n.Yc(1),n.ac()}if(2&e){const e=n.nc().$implicit;n.wc("day",e),n.Hb(1),n.ad("",e.label," 2")}}function se(e,t){if(1&e){const e=n.cc();n.bc(0,"span",19),n.jc("click",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(2).selectDay(i)})),n.Yc(1),n.ac()}if(2&e){const e=n.nc().$implicit;n.wc("day",e),n.Hb(1),n.ad("",e.label," 1")}}function re(e,t){if(1&e&&(n.bc(0,"td",13),n.Wc(1,ie,2,3,"span",14),n.Wc(2,ne,2,2,"span",15),n.Wc(3,se,2,2,"span",16),n.ac()),2&e){const e=n.nc(2);n.Hb(1),n.wc("ngIf",!e.isiOS&&e.isShowTooltip),n.Hb(1),n.wc("ngIf",!e.isiOS&&!e.isShowTooltip),n.Hb(1),n.wc("ngIf",e.isiOS)}}function oe(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,te,3,4,"td",6),n.Wc(2,re,4,3,"td",7),n.ac()),2&e){const e=t.$implicit,i=n.nc();n.Hb(1),n.wc("ngIf",i.options.showWeekNumbers),n.Hb(1),n.wc("ngForOf",e.days)}}function ae(e,t){if(1&e){const e=n.cc();n.bc(0,"td",4),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).viewMonth(s)}))("mouseenter",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).hoverMonth(s,!0)}))("mouseleave",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).hoverMonth(s,!1)})),n.bc(1,"span"),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=t.$implicit;n.Mb("disabled",e.isDisabled)("is-highlighted",e.isHovered),n.Hb(1),n.Mb("selected",e.isSelected),n.Hb(1),n.Zc(e.label)}}function ce(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,ae,3,7,"td",3),n.ac()),2&e){const e=t.$implicit;n.Hb(1),n.wc("ngForOf",e)}}function le(e,t){if(1&e){const e=n.cc();n.bc(0,"td",4),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).viewYear(s)}))("mouseenter",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).hoverYear(s,!0)}))("mouseleave",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(2).hoverYear(s,!1)})),n.bc(1,"span"),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=t.$implicit;n.Mb("disabled",e.isDisabled)("is-highlighted",e.isHovered),n.Hb(1),n.Mb("selected",e.isSelected),n.Hb(1),n.Zc(e.label)}}function ue(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,le,3,7,"td",3),n.ac()),2&e){const e=t.$implicit;n.Hb(1),n.wc("ngForOf",e)}}function he(e,t){1&e&&(n.bc(0,"div",1),n.uc(1),n.ac())}const de=["*"];function fe(e,t){if(1&e){const e=n.cc();n.bc(0,"button",8),n.jc("click",(function(t){return n.Mc(e),n.nc(2).datePicker.move(-1)})),n.Yc(1,"\u2039"),n.ac()}}function pe(e,t){if(1&e){const e=n.cc();n.bc(0,"button",8),n.jc("click",(function(t){return n.Mc(e),n.nc(2).datePicker.move(-1)})),n.Yc(1,"<"),n.ac()}}function me(e,t){if(1&e){const e=n.cc();n.bc(0,"button",9),n.jc("click",(function(t){return n.Mc(e),n.nc(2).datePicker.move(1)})),n.Yc(1,"\u203a"),n.ac()}}function ge(e,t){if(1&e){const e=n.cc();n.bc(0,"button",9),n.jc("click",(function(t){return n.Mc(e),n.nc(2).datePicker.move(1)})),n.Yc(1,"> "),n.ac()}}function _e(e,t){1&e&&n.Wb(0,"th")}function be(e,t){if(1&e&&(n.bc(0,"th",10),n.bc(1,"small",11),n.bc(2,"b"),n.Yc(3),n.ac(),n.ac(),n.ac()),2&e){const e=t.$implicit;n.Hb(3),n.Zc(e.abbr)}}function ye(e,t){if(1&e&&(n.bc(0,"td",10),n.bc(1,"em"),n.Yc(2),n.ac(),n.ac()),2&e){const e=n.nc(2).index,t=n.nc(2);n.Hb(2),n.Zc(t.weekNumbers[e])}}const ve=function(e,t,i,n,s){return{"btn-secondary":e,"btn-info":t,disabled:i,active:n,"btn-default":s}},Fe=function(e,t){return{"text-muted":e,"text-info":t}};function ke(e,t){if(1&e){const e=n.cc();n.bc(0,"button",16),n.jc("click",(function(t){n.Mc(e);const i=n.nc().$implicit;return n.nc(4).datePicker.select(i.date)})),n.bc(1,"span",17),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=n.nc().$implicit,t=n.nc(4);n.Kb("btn btn-sm ",e.customClass,""),n.wc("ngClass",n.Fc(7,ve,t.isBs4&&!e.selected&&!t.datePicker.isActive(e),e.selected,e.disabled,!t.isBs4&&t.datePicker.isActive(e),!t.isBs4))("disabled",e.disabled),n.Hb(1),n.wc("ngClass",n.Cc(13,Fe,e.secondary||e.current,!t.isBs4&&e.current)),n.Hb(1),n.Zc(e.label)}}function we(e,t){if(1&e&&(n.bc(0,"td",14),n.Wc(1,ke,3,16,"button",15),n.ac()),2&e){const e=t.$implicit,i=n.nc(4);n.wc("id",e.uid),n.Hb(1),n.wc("ngIf",!(i.datePicker.onlyCurrentMonth&&e.secondary))}}function Se(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,ye,3,1,"td",12),n.Wc(2,we,2,2,"td",13),n.ac()),2&e){const e=n.nc().$implicit,t=n.nc(2);n.Hb(1),n.wc("ngIf",t.datePicker.showWeeks),n.Hb(1),n.wc("ngForOf",e)}}function Te(e,t){if(1&e&&n.Wc(0,Se,3,2,"tr",5),2&e){const e=t.$implicit,i=n.nc(2);n.wc("ngIf",!(i.datePicker.onlyCurrentMonth&&e[0].secondary&&e[6].secondary))}}const De=function(e){return{disabled:e}};function Ee(e,t){if(1&e){const e=n.cc();n.bc(0,"table",1),n.bc(1,"thead"),n.bc(2,"tr"),n.bc(3,"th"),n.Wc(4,fe,2,0,"button",2),n.Wc(5,pe,2,0,"button",2),n.ac(),n.bc(6,"th"),n.bc(7,"button",3),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.toggleMode(0)})),n.bc(8,"strong"),n.Yc(9),n.ac(),n.ac(),n.ac(),n.bc(10,"th"),n.Wc(11,me,2,0,"button",4),n.Wc(12,ge,2,0,"button",4),n.ac(),n.ac(),n.bc(13,"tr"),n.Wc(14,_e,1,0,"th",5),n.Wc(15,be,4,1,"th",6),n.ac(),n.ac(),n.bc(16,"tbody"),n.Wc(17,Te,1,1,"ng-template",7),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Ib("aria-labelledby",e.datePicker.uniqueId+"-title"),n.Hb(4),n.wc("ngIf",!e.isBs4),n.Hb(1),n.wc("ngIf",e.isBs4),n.Hb(1),n.Ib("colspan",5+(e.datePicker.showWeeks?1:0)),n.Hb(1),n.wc("id",e.datePicker.uniqueId+"-title")("disabled",e.datePicker.datepickerMode===e.datePicker.maxMode)("ngClass",n.Bc(13,De,e.datePicker.datepickerMode===e.datePicker.maxMode)),n.Hb(2),n.Zc(e.title),n.Hb(2),n.wc("ngIf",!e.isBs4),n.Hb(1),n.wc("ngIf",e.isBs4),n.Hb(2),n.wc("ngIf",e.datePicker.showWeeks),n.Hb(1),n.wc("ngForOf",e.labels),n.Hb(2),n.wc("ngForOf",e.rows)}}const Me=function(e,t,i,n){return{"btn-link":e,"btn-info":t,disabled:i,active:n}},Ce=function(e,t){return{"text-success":e,"text-info":t}};function Oe(e,t){if(1&e){const e=n.cc();n.bc(0,"td",7),n.bc(1,"button",8),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(3).datePicker.select(s.date)})),n.bc(2,"span",9),n.Yc(3),n.ac(),n.ac(),n.ac()}if(2&e){const e=t.$implicit,i=n.nc(3);n.wc("ngClass",e.customClass),n.Ib("id",e.uid),n.Hb(1),n.wc("ngClass",n.Ec(6,Me,i.isBs4&&!e.selected&&!i.datePicker.isActive(e),e.selected||i.isBs4&&!e.selected&&i.datePicker.isActive(e),e.disabled,!i.isBs4&&i.datePicker.isActive(e)))("disabled",e.disabled),n.Hb(1),n.wc("ngClass",n.Cc(11,Ce,i.isBs4&&e.current,!i.isBs4&&e.current)),n.Hb(1),n.Zc(e.label)}}function xe(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,Oe,4,14,"td",6),n.ac()),2&e){const e=t.$implicit;n.Hb(1),n.wc("ngForOf",e)}}function Le(e,t){if(1&e){const e=n.cc();n.bc(0,"table",1),n.bc(1,"thead"),n.bc(2,"tr"),n.bc(3,"th"),n.bc(4,"button",2),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.move(-1)})),n.Yc(5,"\u2039"),n.ac(),n.ac(),n.bc(6,"th"),n.bc(7,"button",3),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.toggleMode(0)})),n.bc(8,"strong"),n.Yc(9),n.ac(),n.ac(),n.ac(),n.bc(10,"th"),n.bc(11,"button",4),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.move(1)})),n.Yc(12,"\u203a"),n.ac(),n.ac(),n.ac(),n.ac(),n.bc(13,"tbody"),n.Wc(14,xe,2,1,"tr",5),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(6),n.Ib("colspan",e.datePicker.monthColLimit-2<=0?1:e.datePicker.monthColLimit-2),n.Hb(1),n.wc("id",e.datePicker.uniqueId+"-title")("disabled",e.datePicker.datepickerMode===e.maxMode)("ngClass",n.Bc(6,De,e.datePicker.datepickerMode===e.maxMode)),n.Hb(2),n.Zc(e.title),n.Hb(5),n.wc("ngForOf",e.rows)}}function je(e,t){if(1&e){const e=n.cc();n.bc(0,"td",7),n.bc(1,"button",8),n.jc("click",(function(i){n.Mc(e);const s=t.$implicit;return n.nc(3).datePicker.select(s.date)})),n.bc(2,"span",9),n.Yc(3),n.ac(),n.ac(),n.ac()}if(2&e){const e=t.$implicit,i=n.nc(3);n.Ib("id",e.uid),n.Hb(1),n.wc("ngClass",n.Ec(5,Me,i.isBs4&&!e.selected&&!i.datePicker.isActive(e),e.selected||i.isBs4&&!e.selected&&i.datePicker.isActive(e),e.disabled,!i.isBs4&&i.datePicker.isActive(e)))("disabled",e.disabled),n.Hb(1),n.wc("ngClass",n.Cc(10,Ce,i.isBs4&&e.current,!i.isBs4&&e.current)),n.Hb(1),n.Zc(e.label)}}function Ie(e,t){if(1&e&&(n.bc(0,"tr"),n.Wc(1,je,4,13,"td",6),n.ac()),2&e){const e=t.$implicit;n.Hb(1),n.wc("ngForOf",e)}}function Ae(e,t){if(1&e){const e=n.cc();n.bc(0,"table",1),n.bc(1,"thead"),n.bc(2,"tr"),n.bc(3,"th"),n.bc(4,"button",2),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.move(-1)})),n.Yc(5,"\u2039"),n.ac(),n.ac(),n.bc(6,"th"),n.bc(7,"button",3),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.toggleMode(0)})),n.bc(8,"strong"),n.Yc(9),n.ac(),n.ac(),n.ac(),n.bc(10,"th"),n.bc(11,"button",4),n.jc("click",(function(t){return n.Mc(e),n.nc().datePicker.move(1)})),n.Yc(12,"\u203a"),n.ac(),n.ac(),n.ac(),n.ac(),n.bc(13,"tbody"),n.Wc(14,Ie,2,1,"tr",5),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(6),n.Ib("colspan",e.datePicker.yearColLimit-2<=0?1:e.datePicker.yearColLimit-2),n.Hb(1),n.wc("id",e.datePicker.uniqueId+"-title")("disabled",e.datePicker.datepickerMode===e.datePicker.maxMode)("ngClass",n.Bc(6,De,e.datePicker.datepickerMode===e.datePicker.maxMode)),n.Hb(2),n.Zc(e.title),n.Hb(5),n.wc("ngForOf",e.rows)}}let Ne=(()=>{class e{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Re=Object(h.l)("datepickerAnimation",[Object(h.i)("animated-down",Object(h.j)({height:"*",overflow:"hidden"})),Object(h.k)("* => animated-down",[Object(h.j)({height:0,overflow:"hidden"}),Object(h.e)("220ms cubic-bezier(0, 0, 0.2, 1)")]),Object(h.i)("animated-up",Object(h.j)({height:"*",overflow:"hidden"})),Object(h.k)("* => animated-up",[Object(h.j)({height:"*",overflow:"hidden"}),Object(h.e)("220ms cubic-bezier(0, 0, 0.2, 1)")]),Object(h.k)("* => unanimated",Object(h.e)("0s"))]);class Pe{constructor(){this.customRanges=[],this.chosenRange=[]}set minDate(e){this._effects.setMinDate(e)}set maxDate(e){this._effects.setMaxDate(e)}set daysDisabled(e){this._effects.setDaysDisabled(e)}set datesDisabled(e){this._effects.setDatesDisabled(e)}set datesEnabled(e){this._effects.setDatesEnabled(e)}set isDisabled(e){this._effects.setDisabled(e)}set dateCustomClasses(e){this._effects.setDateCustomClasses(e)}set dateTooltipTexts(e){this._effects.setDateTooltipTexts(e)}setViewMode(e){}navigateTo(e){}dayHoverHandler(e){}weekHoverHandler(e){}monthHoverHandler(e){}yearHoverHandler(e){}daySelectHandler(e){}monthSelectHandler(e){}yearSelectHandler(e){}setRangeOnCalendar(e){}setToday(){}clearDate(){}_stopPropagation(e){e.stopPropagation()}}let Be=(()=>{class e{calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}flag(){return{type:e.FLAG}}select(t){return{type:e.SELECT,payload:t}}changeViewMode(t){return{type:e.CHANGE_VIEWMODE,payload:t}}navigateTo(t){return{type:e.NAVIGATE_TO,payload:t}}navigateStep(t){return{type:e.NAVIGATE_OFFSET,payload:t}}setOptions(t){return{type:e.SET_OPTIONS,payload:t}}selectRange(t){return{type:e.SELECT_RANGE,payload:t}}hoverDay(t){return{type:e.HOVER,payload:t.isHovered?t.cell.date:null}}minDate(t){return{type:e.SET_MIN_DATE,payload:t}}maxDate(t){return{type:e.SET_MAX_DATE,payload:t}}daysDisabled(t){return{type:e.SET_DAYSDISABLED,payload:t}}datesDisabled(t){return{type:e.SET_DATESDISABLED,payload:t}}datesEnabled(t){return{type:e.SET_DATESENABLED,payload:t}}isDisabled(t){return{type:e.SET_IS_DISABLED,payload:t}}setDateCustomClasses(t){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:t}}setDateTooltipTexts(t){return{type:e.SET_DATE_TOOLTIP_TEXTS,payload:t}}setLocale(t){return{type:e.SET_LOCALE,payload:t}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e.CALCULATE="[datepicker] calculate dates matrix",e.FORMAT="[datepicker] format datepicker values",e.FLAG="[datepicker] set flags",e.SELECT="[datepicker] select date",e.NAVIGATE_OFFSET="[datepicker] shift view date",e.NAVIGATE_TO="[datepicker] change view date",e.SET_OPTIONS="[datepicker] update render options",e.HOVER="[datepicker] hover date",e.CHANGE_VIEWMODE="[datepicker] switch view mode",e.SET_MIN_DATE="[datepicker] set min date",e.SET_MAX_DATE="[datepicker] set max date",e.SET_DAYSDISABLED="[datepicker] set days disabled",e.SET_DATESDISABLED="[datepicker] set dates disabled",e.SET_DATESENABLED="[datepicker] set dates enabled",e.SET_IS_DISABLED="[datepicker] set is disabled",e.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",e.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts",e.SET_LOCALE="[datepicker] set datepicker locale",e.SELECT_RANGE="[daterangepicker] select dates range",e})(),Ye=(()=>{class e{constructor(){this._defaultLocale="en",this._locale=new d.a(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(e){e!==this.currentLocale&&this._locale.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),He=(()=>{class e{constructor(e,t){this._actions=e,this._localeService=t,this._subs=[]}init(e){return this._store=e,this}setValue(e){this._store.dispatch(this._actions.select(e))}setRangeValue(e){this._store.dispatch(this._actions.selectRange(e))}setMinDate(e){return this._store.dispatch(this._actions.minDate(e)),this}setMaxDate(e){return this._store.dispatch(this._actions.maxDate(e)),this}setDaysDisabled(e){return this._store.dispatch(this._actions.daysDisabled(e)),this}setDatesDisabled(e){return this._store.dispatch(this._actions.datesDisabled(e)),this}setDatesEnabled(e){return this._store.dispatch(this._actions.datesEnabled(e)),this}setDisabled(e){return this._store.dispatch(this._actions.isDisabled(e)),this}setDateCustomClasses(e){return this._store.dispatch(this._actions.setDateCustomClasses(e)),this}setDateTooltipTexts(e){return this._store.dispatch(this._actions.setDateTooltipTexts(e)),this}setOptions(e){const t=Object.assign({locale:this._localeService.currentLocale},e);return this._store.dispatch(this._actions.setOptions(t)),this}setBindings(e){return e.daysCalendar=this._store.select(e=>e.flaggedMonths).pipe(Object(s.a)(e=>!!e)),e.monthsCalendar=this._store.select(e=>e.flaggedMonthsCalendar).pipe(Object(s.a)(e=>!!e)),e.yearsCalendar=this._store.select(e=>e.yearsCalendarFlagged).pipe(Object(s.a)(e=>!!e)),e.viewMode=this._store.select(e=>e.view.mode),e.options=this._store.select(e=>e.showWeekNumbers).pipe(Object(r.a)(e=>({showWeekNumbers:e}))),this}setEventHandlers(e){return e.setViewMode=e=>{this._store.dispatch(this._actions.changeViewMode(e))},e.navigateTo=e=>{this._store.dispatch(this._actions.navigateStep(e.step))},e.dayHoverHandler=e=>{const t=e.cell;t.isOtherMonth||t.isDisabled||(this._store.dispatch(this._actions.hoverDay(e)),t.isHovered=e.isHovered)},e.monthHoverHandler=e=>{e.cell.isHovered=e.isHovered},e.yearHoverHandler=e=>{e.cell.isHovered=e.isHovered},this}registerDatepickerSideEffects(){return this._subs.push(this._store.select(e=>e.view).subscribe(e=>{this._store.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(e=>e.monthsModel).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.format()))),this._subs.push(this._store.select(e=>e.formattedMonths).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.selectedDate).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.selectedRange).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.monthsCalendar).subscribe(()=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.yearsCalendarModel).pipe(Object(s.a)(e=>!!e)).subscribe(()=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.hoveredDate).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.dateCustomClasses).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.dateTooltipTexts).pipe(Object(s.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(e=>this._store.dispatch(this._actions.setLocale(e)))),this}destroy(){for(const e of this._subs)e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(Be),n.fc(Ye))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const Ve={date:new Date,mode:"day"},Ue=Object.assign(new Ne,{locale:"en",view:Ve,selectedRange:[],monthViewOptions:{width:7,height:6}});function We(e,t,i){const n=t&&Object(l.m)(Object(l.d)(e,"month"),t,"day"),s=i&&Object(l.k)(Object(l.y)(e,"month"),i,"day");return n||s}function ze(e,t,i){const n=t&&Object(l.m)(Object(l.d)(e,"year"),t,"day"),s=i&&Object(l.k)(Object(l.y)(e,"year"),i,"day");return n||s}function $e(e,t=0){const i=e&&e.yearsCalendarModel&&e.yearsCalendarModel[t];return i&&i.years&&i.years[0]&&i.years[0][0]&&i.years[0][0].date}function Ge(e,t){let i=e.initialDate;const n=new Array(e.height);for(let s=0;s<e.height;s++){n[s]=new Array(e.width);for(let r=0;r<e.width;r++)n[s][r]=t(i),i=Object(l.x)(i,e.shift)}return n}function qe(e,t){const i=Object(l.g)(e),n=function(e,t){if(Object(l.q)(e,t.firstDayOfWeek))return e;const i=function(e,t){if(0===t)return e;const i=e-t%7;return i<0?i+7:i}(Object(l.f)(e),t.firstDayOfWeek);return Object(l.x)(e,{day:-i})}(i,t);return{daysMatrix:Ge({width:t.width,height:t.height,initialDate:n,shift:{day:1}},e=>e),month:i}}function Ke(e){const t=Object(l.i)(e),i=t.weekdaysShort(),n=t.firstDayOfWeek();return[...i.slice(n),...i.slice(0,n)]}function Je(e,t){return!t||e>=t}const Ze={month:1};function Xe(e,t){return{months:Ge({width:3,height:4,initialDate:Object(l.y)(e,"year"),shift:Ze},e=>({date:e,label:Object(l.e)(e,t.monthLabel,t.locale)})),monthTitle:"",yearTitle:Object(l.e)(e,t.yearTitle,t.locale)}}const Qe=-1*(Math.floor(8)-1),et={year:1};function tt(e,t,i){const n=Ge({width:4,height:4,initialDate:function(e,t){return t&&e.getFullYear()>=t.getFullYear()&&e.getFullYear()<t.getFullYear()+16?t:Object(l.x)(e,{year:Qe})}(e,i),shift:et},e=>({date:e,label:Object(l.e)(e,t.yearLabel,t.locale)}));return{years:n,monthTitle:"",yearTitle:function(e,t){return`${Object(l.e)(e[0][0].date,t.yearTitle,t.locale)} - ${Object(l.e)(e[3][3].date,t.yearTitle,t.locale)}`}(n,t)}}function it(e=Ue,t){switch(t.type){case Be.CALCULATE:return function(e){const t=e.displayOneMonthRange&&ot(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths;let i=e.view.date;if("day"===e.view.mode){e.showPreviousMonth&&e.selectedRange&&0===e.selectedRange.length&&(i=Object(l.x)(i,{month:-1})),e.monthViewOptions.firstDayOfWeek=Object(l.i)(e.locale).firstDayOfWeek();const n=new Array(t);for(let s=0;s<t;s++)n[s]=qe(i,e.monthViewOptions),i=Object(l.x)(i,{month:1});return Object.assign({},e,{monthsModel:n})}if("month"===e.view.mode){const n=new Array(t);for(let s=0;s<t;s++)n[s]=Xe(i,st(e)),i=Object(l.x)(i,{year:1});return Object.assign({},e,{monthsCalendar:n})}if("year"===e.view.mode){const n=new Array(t);for(let s=0;s<t;s++)n[s]=tt(i,st(e),"year"===e.minMode?$e(e,s):void 0),i=Object(l.x)(i,{year:16});return Object.assign({},e,{yearsCalendarModel:n})}return e}(e);case Be.FORMAT:return function(e,t){if("day"===e.view.mode){const t=e.monthsModel.map((t,i)=>function(e,t,i){return{month:e.month,monthTitle:Object(l.e)(e.month,t.monthTitle,t.locale),yearTitle:Object(l.e)(e.month,t.yearTitle,t.locale),weekNumbers:(n=e.daysMatrix,s=t.weekNumbers,r=t.locale,n.map(e=>e[0]?Object(l.e)(e[0],s,r):"")),weekdays:Ke(t.locale),weeks:e.daysMatrix.map((e,n)=>({days:e.map((e,s)=>({date:e,label:Object(l.e)(e,t.dayLabel,t.locale),monthIndex:i,weekIndex:n,dayIndex:s}))}))};var n,s,r}(t,st(e),i));return Object.assign({},e,{formattedMonths:t})}const i=e.displayMonths;let n=e.view.date;if("month"===e.view.mode){const t=new Array(i);for(let s=0;s<i;s++)t[s]=Xe(n,st(e)),n=Object(l.x)(n,{year:1});return Object.assign({},e,{monthsCalendar:t})}if("year"===e.view.mode){const t=new Array(i);for(let s=0;s<i;s++)t[s]=tt(n,st(e)),n=Object(l.x)(n,{year:16});return Object.assign({},e,{yearsCalendarModel:t})}return e}(e);case Be.FLAG:return function(e,t){const i=ot(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths;if("day"===e.view.mode){const t=e.formattedMonths.map((t,n)=>function(e,t){return e.weeks.forEach(i=>{i.days.forEach((n,s)=>{const r=!Object(l.t)(n.date,e.month),o=!r&&Object(l.s)(n.date,t.hoveredDate),a=!r&&t.selectedRange&&Object(l.s)(n.date,t.selectedRange[0]),c=!r&&t.selectedRange&&Object(l.s)(n.date,t.selectedRange[1]),u=!r&&Object(l.s)(n.date,t.selectedDate)||a||c,h=!r&&t.selectedRange&&function(e,t,i){return!(!e||!t[0])&&(t[1]?e>t[0]&&e<=t[1]:!!i&&e>t[0]&&e<=i)}(n.date,t.selectedRange,t.hoveredDate),d=t.isDisabled||Object(l.m)(n.date,t.minDate,"day")||Object(l.k)(n.date,t.maxDate,"day")||Object(l.p)(n.date,t.daysDisabled)||(f=n.date,!!((p=t.datesDisabled)&&Object(l.l)(p)&&p.length)&&p.some(e=>Object(l.r)(f,e,"date")))||function(e,t){return!!(t&&Object(l.l)(t)&&t.length)&&!t.some(t=>Object(l.r)(e,t,"date"))}(n.date,t.datesEnabled);var f,p;const m=new Date,g=!r&&Object(l.s)(n.date,m),_=t.dateCustomClasses&&t.dateCustomClasses.map(e=>Object(l.s)(n.date,e.date)?e.classes:[]).reduce((e,t)=>e.concat(t),[]).join(" ")||"",b=t.dateTooltipTexts&&t.dateTooltipTexts.map(e=>Object(l.s)(n.date,e.date)?e.tooltipText:"").reduce((e,t)=>e.concat(t),[]).join(" ")||"",y=Object.assign({},n,{isOtherMonth:r,isHovered:o,isSelected:u,isSelectionStart:a,isSelectionEnd:c,isInRange:h,isDisabled:d,isToday:g,customClasses:_,tooltipText:b});n.isOtherMonth===y.isOtherMonth&&n.isHovered===y.isHovered&&n.isSelected===y.isSelected&&n.isSelectionStart===y.isSelectionStart&&n.isSelectionEnd===y.isSelectionEnd&&n.isDisabled===y.isDisabled&&n.isInRange===y.isInRange&&n.customClasses===y.customClasses&&n.tooltipText===y.tooltipText||(i.days[s]=y)})}),e.hideLeftArrow=t.isDisabled||t.monthIndex>0&&t.monthIndex!==t.displayMonths,e.hideRightArrow=t.isDisabled||t.monthIndex<t.displayMonths&&t.monthIndex+1!==t.displayMonths,e.disableLeftArrow=We(Object(l.x)(e.month,{month:-1}),t.minDate,t.maxDate),e.disableRightArrow=We(Object(l.x)(e.month,{month:1}),t.minDate,t.maxDate),e}(t,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,daysDisabled:e.daysDisabled,datesDisabled:e.datesDisabled,datesEnabled:e.datesEnabled,hoveredDate:e.hoveredDate,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:i,dateCustomClasses:e.dateCustomClasses,dateTooltipTexts:e.dateTooltipTexts,monthIndex:n}));return Object.assign({},e,{flaggedMonths:t})}if("month"===e.view.mode){const t=e.monthsCalendar.map((t,n)=>{return r={isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredMonth:e.hoveredMonth,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:i,monthIndex:n},(s=t).months.forEach((e,t)=>{e.forEach((e,i)=>{let n;const o=Object(l.t)(e.date,r.hoveredMonth),a=r.isDisabled||We(e.date,r.minDate,r.maxDate);!r.selectedDate&&r.selectedRange?(n=Object(l.t)(e.date,r.selectedRange[0]),n||(n=Object(l.t)(e.date,r.selectedRange[1]))):n=Object(l.t)(e.date,r.selectedDate);const c=Object.assign(e,{isHovered:o,isDisabled:a,isSelected:n});e.isHovered===c.isHovered&&e.isDisabled===c.isDisabled&&e.isSelected===c.isSelected||(s.months[t][i]=c)})}),s.hideLeftArrow=r.monthIndex>0&&r.monthIndex!==r.displayMonths,s.hideRightArrow=r.monthIndex<r.displayMonths&&r.monthIndex+1!==r.displayMonths,s.disableLeftArrow=ze(Object(l.x)(s.months[0][0].date,{year:-1}),r.minDate,r.maxDate),s.disableRightArrow=ze(Object(l.x)(s.months[0][0].date,{year:1}),r.minDate,r.maxDate),s;var s,r});return Object.assign({},e,{flaggedMonthsCalendar:t})}if("year"===e.view.mode){const t=e.yearsCalendarModel.map((t,n)=>function(e,t){e.years.forEach((i,n)=>{i.forEach((i,s)=>{let r;const o=Object(l.u)(i.date,t.hoveredYear),a=t.isDisabled||ze(i.date,t.minDate,t.maxDate);!t.selectedDate&&t.selectedRange?(r=Object(l.u)(i.date,t.selectedRange[0]),r||(r=Object(l.u)(i.date,t.selectedRange[1]))):r=Object(l.u)(i.date,t.selectedDate);const c=Object.assign(i,{isHovered:o,isDisabled:a,isSelected:r});i.isHovered===c.isHovered&&i.isDisabled===c.isDisabled&&i.isSelected===c.isSelected||(e.years[n][s]=c)})}),e.hideLeftArrow=t.yearIndex>0&&t.yearIndex!==t.displayMonths,e.hideRightArrow=t.yearIndex<t.displayMonths&&t.yearIndex+1!==t.displayMonths,e.disableLeftArrow=ze(Object(l.x)(e.years[0][0].date,{year:-1}),t.minDate,t.maxDate);const i=e.years.length-1,n=e.years[i].length-1;return e.disableRightArrow=ze(Object(l.x)(e.years[i][n].date,{year:1}),t.minDate,t.maxDate),e}(t,{isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredYear:e.hoveredYear,selectedDate:e.selectedDate,selectedRange:e.selectedRange,displayMonths:i,yearIndex:n}));return Object.assign({},e,{yearsCalendarFlagged:t})}return e}(e);case Be.NAVIGATE_OFFSET:return function(e,t){const i={view:{mode:e.view.mode,date:nt(e,t)}};return Object.assign({},e,i)}(e,t);case Be.NAVIGATE_TO:{const i=t.payload,n=Object(l.w)(e.view.date,i.unit);let s,r;return Je(i.viewMode,e.minMode)?(r=i.viewMode,s={view:{date:n,mode:r}}):(r=e.view.mode,s={selectedDate:n,view:{date:n,mode:r}}),Object.assign({},e,s)}case Be.CHANGE_VIEWMODE:return Je(t.payload,e.minMode)?Object.assign({},e,{view:{date:e.view.date,mode:t.payload}}):e;case Be.HOVER:return Object.assign({},e,{hoveredDate:t.payload});case Be.SELECT:{const i={selectedDate:t.payload,view:e.view},n=e.view.mode,s=rt(t.payload||e.view.date,e.minDate,e.maxDate);return i.view={mode:n,date:s},Object.assign({},e,i)}case Be.SET_OPTIONS:{const i=t.payload,n=i.minMode?i.minMode:e.view.mode,s=rt(Object(l.o)(i.value)&&i.value||Object(l.l)(i.value)&&Object(l.o)(i.value[0])&&i.value[0]||e.view.date,i.minDate,i.maxDate);return i.view={mode:n,date:s},i.value&&(Object(l.l)(i.value)&&(i.selectedRange=i.value),i.value instanceof Date&&(i.selectedDate=i.value)),Object.assign({},e,i)}case Be.SELECT_RANGE:{const i={selectedRange:t.payload,view:e.view},n=e.view.mode,s=rt(t.payload&&t.payload[0]||e.view.date,e.minDate,e.maxDate);return i.view={mode:n,date:s},Object.assign({},e,i)}case Be.SET_MIN_DATE:return Object.assign({},e,{minDate:t.payload});case Be.SET_MAX_DATE:return Object.assign({},e,{maxDate:t.payload});case Be.SET_IS_DISABLED:return Object.assign({},e,{isDisabled:t.payload});case Be.SET_DATE_CUSTOM_CLASSES:return Object.assign({},e,{dateCustomClasses:t.payload});case Be.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},e,{dateTooltipTexts:t.payload});default:return e}}function nt(e,t){if("year"===e.view.mode&&"year"===e.minMode){const i=$e(e,0),n=Object(l.x)(i,{year:-Qe});return Object(l.x)(n,t.payload)}return Object(l.x)(Object(l.y)(e.view.date,"month"),t.payload)}function st(e){return{locale:e.locale,monthTitle:e.monthTitle,yearTitle:e.yearTitle,dayLabel:e.dayLabel,monthLabel:e.monthLabel,yearLabel:e.yearLabel,weekNumbers:e.weekNumbers}}function rt(e,t,i){const n=Array.isArray(e)?e[0]:e;return t&&Object(l.k)(t,n,"day")?t:i&&Object(l.m)(i,n,"day")?i:n}function ot(e,t,i){return!(!i||!Object(l.r)(i,e,"day"))||!(!t||!i||t.getMonth()!==i.getMonth())}let at=(()=>{class e extends p.b{constructor(){const e=new d.a({type:"[datepicker] dispatcher init"});super(e,it,new p.a(Ue,e,it))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),ct=(()=>{class e extends Pe{constructor(e,t,i,s,r,o,a){super(),this._config=t,this._store=i,this._element=s,this._actions=r,this._positionService=a,this.valueChange=new n.n,this.animationState="void",this._subs=[],this._effects=o,e.setStyle(s.nativeElement,"display","block"),e.setStyle(s.nativeElement,"position","absolute")}set value(e){this._effects.setValue(e)}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(o.a)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(e=>e.selectedDate).subscribe(e=>this.valueChange.emit(e))),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(e){e&&((this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||this._store.dispatch(this._actions.select(e.date)))}monthSelectHandler(e){e&&!e.isDisabled&&this._store.dispatch(this._actions.navigateTo({unit:{month:Object(l.j)(e.date),year:Object(l.h)(e.date)},viewMode:"day"}))}yearSelectHandler(e){e&&!e.isDisabled&&this._store.dispatch(this._actions.navigateTo({unit:{year:Object(l.h)(e.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(const e of this._subs)e.unsubscribe();this._effects.destroy()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.F),n.Vb(Ne),n.Vb(at),n.Vb(n.l),n.Vb(Be),n.Vb(He),n.Vb(u.a))},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-datepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t._stopPropagation(e)}))},features:[n.Gb([at,He]),n.Eb],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","customRangeLabel","onSelect"]],template:function(e,t){1&e&&(n.Wc(0,x,10,11,"div",0),n.oc(1,"async")),2&e&&n.wc("ngIf",n.pc(1,1,t.viewMode))},directives:function(){return[_.q,_.o,_.s,_.t,_.p,Mt,Ct,xt,St]},pipes:function(){return[_.b]},encapsulation:2,data:{animation:[Re]}}),e})(),lt=(()=>{class e{constructor(e,t,i,s,r){this._config=e,this._elementRef=t,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new n.n,this._subs=[],this._dateInputFormat$=new f.a,Object.assign(this,this._config),this._datepicker=r.createLoader(t,s,i),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new d.a(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(e){this.isOpen$.next(e)}set bsValue(e){this._bsValue&&e&&this._bsValue.getTime()===e.getTime()||(this._bsValue=e,this.bsValueChange.emit(e))}set bsConfig(e){this._bsConfig=e,this.setConfig(),this._dateInputFormat$.next(e&&e.dateInputFormat)}get bsConfig(){return this._bsConfig}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this.isDestroy$=new f.a,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),e.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}ngAfterViewInit(){this.isOpen$.pipe(Object(s.a)(e=>e!==this.isOpen),Object(a.a)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Ne,useValue:this._config}).attach(ct).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(e=>{this._datepickerRef.instance.value=e})),this._subs.push(this._datepickerRef.instance.valueChange.subscribe(e=>{this.bsValue=e,this.hide()})))}hide(){this.isOpen&&this._datepicker.hide();for(const e of this._subs)e.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode})}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(Ne),n.Vb(n.l),n.Vb(n.F),n.Vb(n.P),n.Vb(m.a))},e.\u0275dir=n.Qb({type:e,selectors:[["","bsDatepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDatepicker"],features:[n.Fb()]}),e})();const ut=n.dc((()=>{class e extends Ne{}return e.\u0275fac=function(t){return ut(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})()),ht=n.dc((()=>{class e extends Ne{constructor(){super(...arguments),this.displayMonths=2,this.isAnimated=!1}}return e.\u0275fac=function(t){return ht(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})());let dt=(()=>{class e extends Pe{constructor(e,t,i,s,r,o,a){super(),this._config=t,this._store=i,this._element=s,this._actions=r,this._positionService=a,this.valueChange=new n.n,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this._effects=o,this.customRanges=this._config.ranges,this.customRangeBtnLbl=this._config.customRangeButtonLabel,e.setStyle(s.nativeElement,"display","block"),e.setStyle(s.nativeElement,"position","absolute")}set value(e){this._effects.setRangeValue(e)}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(o.a)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(e=>e.selectedRange).subscribe(e=>{this.valueChange.emit(e),this.chosenRange=e}))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(e){e&&((this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||this.rangesProcessing(e))}monthSelectHandler(e){if(e)if(e.isSelected=!0,"month"===this._config.minMode)this.rangesProcessing(e);else{if(e.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{month:Object(l.j)(e.date),year:Object(l.h)(e.date)},viewMode:"day"}))}}yearSelectHandler(e){if(e)if(e.isSelected=!0,"year"===this._config.minMode)this.rangesProcessing(e);else{if(e.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{year:Object(l.h)(e.date)},viewMode:"month"}))}}rangesProcessing(e){1===this._rangeStack.length&&(this._rangeStack=e.date>=this._rangeStack[0]?[this._rangeStack[0],e.date]:[e.date]),0===this._rangeStack.length&&(this._rangeStack=[e.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(e.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){for(const e of this._subs)e.unsubscribe();this._effects.destroy()}setRangeOnCalendar(e){this._rangeStack=null===e?[]:e.value instanceof Date?[e.value]:e.value,this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(e){const t=new Date(e);t.setDate(e.getDate()+this._config.maxDateRange),this._effects.setMaxDate(t)}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.F),n.Vb(Ne),n.Vb(at),n.Vb(n.l),n.Vb(Be),n.Vb(He),n.Vb(u.a))},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-daterangepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(e,t){1&e&&n.jc("click",(function(e){return t._stopPropagation(e)}))},features:[n.Gb([at,He]),n.Eb],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","customRangeLabel","onSelect"]],template:function(e,t){1&e&&(n.Wc(0,U,10,11,"div",0),n.oc(1,"async")),2&e&&n.wc("ngIf",n.pc(1,1,t.viewMode))},directives:function(){return[_.q,_.o,_.s,_.t,_.p,Mt,Ct,xt,St]},pipes:function(){return[_.b]},encapsulation:2,data:{animation:[Re]}}),e})();const ft={provide:g.j,useExisting:Object(n.V)(()=>mt),multi:!0},pt={provide:g.i,useExisting:Object(n.V)(()=>mt),multi:!0};let mt=(()=>{class e{constructor(e,t,i,n,s){this._picker=e,this._localeService=t,this._renderer=i,this._elRef=n,this.changeDetection=s,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe(e=>{this._setInputValue(e),this._value!==e&&(this._value=e,this._onChange(e),this._onTouched()),this.changeDetection.markForCheck()}),this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)}),this._picker.dateInputFormat$.pipe(Object(c.a)()).subscribe(()=>{this._setInputValue(this._value)})}onKeydownEvent(e){13!==e.keyCode&&"Enter"!==e.code||this.hide()}_setInputValue(e){const t=e?Object(l.e)(e,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",t)}onChange(e){this.writeValue(e.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(e){const t=e.value;if(null==t||""===t)return null;if(Object(l.n)(t)){if(!Object(l.o)(t))return{bsDate:{invalid:t}};if(this._picker&&this._picker.minDate&&Object(l.m)(t,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Object(l.k)(t,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}}registerOnValidatorChange(e){this._validatorChange=e}writeValue(e){if(e){const t=this._localeService.currentLocale;if(!Object(l.i)(t))throw new Error(`Locale "${t}" is not defined, please add it with "defineLocale(...)"`);this._value=Object(l.v)(e,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc&&(this._value=Object(l.z)(this._value))}else this._value=null;this._picker.bsValue=this._value}setDisabledState(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(lt,1),n.Vb(Ye),n.Vb(n.F),n.Vb(n.l),n.Vb(n.h))},e.\u0275dir=n.Qb({type:e,selectors:[["input","bsDatepicker",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e)}))("keyup.esc",(function(e){return t.hide()}))("keydown",(function(e){return t.onKeydownEvent(e)}))("blur",(function(e){return t.onBlur()}))},features:[n.Gb([ft,pt])]}),e})(),gt=(()=>{class e extends Ne{constructor(){super(...arguments),this.displayMonths=2}}return e.\u0275fac=function(t){return _t(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const _t=n.dc(gt);let bt=(()=>{class e{constructor(e,t,i,s,r){this._config=e,this._elementRef=t,this._renderer=i,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new n.n,this._subs=[],this._rangeInputFormat$=new f.a,this._datepicker=r.createLoader(t,s,i),Object.assign(this,e),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new d.a(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(e){this.isOpen$.next(e)}set bsValue(e){this._bsValue!==e&&(this._bsValue=e,this.bsValueChange.emit(e))}set bsConfig(e){this._bsConfig=e,this.setConfig(),this._rangeInputFormat$.next(e&&e.rangeInputFormat)}get bsConfig(){return this._bsConfig}get rangeInputFormat$(){return this._rangeInputFormat$}ngOnInit(){this.isDestroy$=new f.a,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),e.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe(Object(s.a)(e=>e!==this.isOpen),Object(a.a)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Ne,useValue:this._config}).attach(dt).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(e=>{this._datepickerRef.instance.value=e})),this._subs.push(this._datepickerRef.instance.valueChange.pipe(Object(s.a)(e=>e&&e[0]&&!!e[1])).subscribe(e=>{this.bsValue=e,this.hide()})))}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:this.bsConfig&&this.bsConfig.ranges,maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange})}hide(){this.isOpen&&this._datepicker.hide();for(const e of this._subs)e.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(gt),n.Vb(n.l),n.Vb(n.F),n.Vb(n.P),n.Vb(m.a))},e.\u0275dir=n.Qb({type:e,selectors:[["","bsDaterangepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDaterangepicker"],features:[n.Fb()]}),e})();const yt={provide:g.j,useExisting:Object(n.V)(()=>Ft),multi:!0},vt={provide:g.i,useExisting:Object(n.V)(()=>Ft),multi:!0};let Ft=(()=>{class e{constructor(e,t,i,n,s){this._picker=e,this._localeService=t,this._renderer=i,this._elRef=n,this.changeDetection=s,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe(e=>{this._setInputValue(e),this._value!==e&&(this._value=e,this._onChange(e),this._onTouched()),this.changeDetection.markForCheck()}),this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)}),this._picker.rangeInputFormat$.pipe(Object(c.a)()).subscribe(()=>{this._setInputValue(this._value)})}onKeydownEvent(e){13!==e.keyCode&&"Enter"!==e.code||this.hide()}_setInputValue(e){let t="";if(e){const i=e[0]?Object(l.e)(e[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",n=e[1]?Object(l.e)(e[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";t=i&&n?i+this._picker._config.rangeSeparator+n:""}this._renderer.setProperty(this._elRef.nativeElement,"value",t)}onChange(e){this.writeValue(e.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(e){const t=e.value,i=[];if(null==t||!Object(l.l)(t))return null;t.sort((e,t)=>e-t);const n=Object(l.o)(t[0]),s=Object(l.o)(t[1]);return n?s?(this._picker&&this._picker.minDate&&Object(l.m)(t[0],this._picker.minDate,"date")&&(t[0]=this._picker.minDate,i.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&Object(l.k)(t[1],this._picker.maxDate,"date")&&(t[1]=this._picker.maxDate,i.push({bsDate:{maxDate:this._picker.maxDate}})),i.length>0?(this.writeValue(t),i):void 0):{bsDate:{invalid:t[1]}}:{bsDate:{invalid:t[0]}}}registerOnValidatorChange(e){this._validatorChange=e}writeValue(e){if(e){const t=this._localeService.currentLocale;if(!Object(l.i)(t))throw new Error(`Locale "${t}" is not defined, please add it with "defineLocale(...)"`);let i=[];"string"==typeof e&&(i=e.split(this._picker._config.rangeSeparator)),Array.isArray(e)&&(i=e),this._value=i.map(e=>this._picker._config.useUtc?Object(l.z)(Object(l.v)(e,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):Object(l.v)(e,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(e=>isNaN(e.valueOf())?null:e)}else this._value=null;this._picker.bsValue=this._value}setDisabledState(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(bt,1),n.Vb(Ye),n.Vb(n.F),n.Vb(n.l),n.Vb(n.h))},e.\u0275dir=n.Qb({type:e,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(e,t){1&e&&n.jc("change",(function(e){return t.onChange(e)}))("keyup.esc",(function(e){return t.hide()}))("keydown",(function(e){return t.onKeydownEvent(e)}))("blur",(function(e){return t.onBlur()}))},features:[n.Gb([yt,vt])]}),e})(),kt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-calendar-layout"]],ngContentSelectors:G,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(e,t){1&e&&(n.vc($),n.Wc(0,W,1,0,"bs-current-date",0),n.bc(1,"div",1),n.uc(2),n.ac(),n.bc(3,"div",2),n.uc(4,1),n.ac(),n.Wc(5,z,1,0,"bs-timepicker",3)),2&e&&(n.wc("ngIf",!1),n.Hb(5),n.wc("ngIf",!1))},directives:function(){return[_.q,wt,Ot]},encapsulation:2}),e})(),wt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(e,t){1&e&&(n.bc(0,"div",0),n.bc(1,"span"),n.Yc(2),n.ac(),n.ac()),2&e&&(n.Hb(2),n.Zc(t.title))},encapsulation:2}),e})(),St=(()=>{class e{constructor(){this.onSelect=new n.n,this.customRange=null}selectFromRanges(e){this.onSelect.emit(e)}checkRange(){return!!this.ranges&&this.ranges.filter(e=>e.value===this.selectedRange).length>0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},decls:4,vars:4,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(e,t){1&e&&(n.bc(0,"div",0),n.Wc(1,q,2,3,"button",1),n.bc(2,"button",2),n.jc("click",(function(e){return t.selectFromRanges(t.customRange)})),n.Yc(3),n.ac(),n.ac()),2&e&&(n.Hb(1),n.wc("ngForOf",t.ranges),n.Hb(1),n.Mb("selected",!t.checkRange()),n.Hb(1),n.ad(" ",t.customRangeLabel," "))},directives:[_.p],encapsulation:2,changeDetection:0}),e})(),Tt=(()=>{class e{constructor(e,t,i){this._config=e,this._elRef=t,this._renderer=i}ngOnInit(){this.day.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day.customClasses&&this.day.customClasses.split(" ").filter(e=>e).forEach(e=>{this._renderer.addClass(this._elRef.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(Ne),n.Vb(n.l),n.Vb(n.F))},e.\u0275cmp=n.Pb({type:e,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(e,t){2&e&&n.Mb("disabled",t.day.isDisabled)("is-highlighted",t.day.isHovered)("is-other-month",t.day.isOtherMonth)("is-active-other-month",t.day.isOtherMonthHovered)("in-range",t.day.isInRange)("select-start",t.day.isSelectionStart)("select-end",t.day.isSelectionEnd)("selected",t.day.isSelected)},inputs:{day:"day"},attrs:K,decls:1,vars:1,template:function(e,t){1&e&&n.Yc(0),2&e&&n.Zc(t.day.label)},encapsulation:2,changeDetection:0}),e})();const Dt=function(){var e={UP:0,DOWN:1};return e[e.UP]="UP",e[e.DOWN]="DOWN",e}();let Et=(()=>{class e{constructor(){this.onNavigate=new n.n,this.onViewMode=new n.n}navTo(e){this.onNavigate.emit(e?Dt.DOWN:Dt.UP)}view(e){this.onViewMode.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:8,consts:[["type","button",1,"previous",3,"disabled","click"],[4,"ngIf"],["type","button",1,"current",3,"click"],["type","button",1,"next",3,"disabled","click"]],template:function(e,t){1&e&&(n.bc(0,"button",0),n.jc("click",(function(e){return t.navTo(!0)})),n.bc(1,"span"),n.Yc(2,"\u2039"),n.ac(),n.ac(),n.Wc(3,J,5,1,"ng-container",1),n.Yc(4," \u200b "),n.bc(5,"button",2),n.jc("click",(function(e){return t.view("year")})),n.bc(6,"span"),n.Yc(7),n.ac(),n.ac(),n.Yc(8," \u200b "),n.bc(9,"button",3),n.jc("click",(function(e){return t.navTo(!1)})),n.bc(10,"span"),n.Yc(11,"\u203a"),n.ac(),n.ac()),2&e&&(n.Vc("visibility",t.calendar.hideLeftArrow?"hidden":"visible"),n.wc("disabled",t.calendar.disableLeftArrow),n.Hb(3),n.wc("ngIf",t.calendar.monthTitle),n.Hb(4),n.Zc(t.calendar.yearTitle),n.Hb(2),n.Vc("visibility",t.calendar.hideRightArrow?"hidden":"visible"),n.wc("disabled",t.calendar.disableRightArrow))},directives:[_.q],encapsulation:2,changeDetection:0}),e})(),Mt=(()=>{class e{constructor(e){this._config=e,this.onNavigate=new n.n,this.onViewMode=new n.n,this.onSelect=new n.n,this.onHover=new n.n,this.onHoverWeek=new n.n,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(e){this.onNavigate.emit({step:{month:Dt.DOWN===e?-1:1}})}changeViewMode(e){this.onViewMode.emit(e)}selectDay(e){this.onSelect.emit(e)}selectWeek(e){if(!this._config.selectWeek&&!this._config.selectWeekDateRange)return;if(0===e.days.length)return;if(this._config.selectWeek&&e.days[0]&&!e.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(e.days[0]);const t=e.days.find(e=>this._config.selectFromOtherMonth?!e.isDisabled:!e.isOtherMonth&&!e.isDisabled);if(this.onSelect.emit(t),this._config.selectWeekDateRange){const t=e.days.slice(0).reverse().find(e=>this._config.selectFromOtherMonth?!e.isDisabled:!e.isOtherMonth&&!e.isDisabled);this.onSelect.emit(t)}}weekHoverHandler(e,t){(this._config.selectWeek||this._config.selectWeekDateRange)&&e.days.find(e=>this._config.selectFromOtherMonth?!e.isDisabled:!e.isOtherMonth&&!e.isDisabled)&&(e.isHovered=t,this.isWeekHovered=t,this.onHoverWeek.emit(e))}hoverDay(e,t){this._config.selectFromOtherMonth&&e.isOtherMonth&&(e.isOtherMonthHovered=t),this._config.dateTooltipTexts&&(e.tooltipText="",this._config.dateTooltipTexts.forEach(t=>{Object(l.s)(t.date,e.date)&&(e.tooltipText=t.tooltipText)})),this.onHover.emit({cell:e,isHovered:t})}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(Ne))},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:4,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","click"]],template:function(e,t){1&e&&(n.bc(0,"bs-calendar-layout"),n.bc(1,"bs-datepicker-navigation-view",0),n.jc("onNavigate",(function(e){return t.navigateTo(e)}))("onViewMode",(function(e){return t.changeViewMode(e)})),n.ac(),n.bc(2,"table",1),n.bc(3,"thead"),n.bc(4,"tr"),n.Wc(5,Z,1,0,"th",2),n.Wc(6,X,2,1,"th",3),n.ac(),n.ac(),n.bc(7,"tbody"),n.Wc(8,oe,3,2,"tr",4),n.ac(),n.ac(),n.ac()),2&e&&(n.Hb(1),n.wc("calendar",t.calendar),n.Hb(4),n.wc("ngIf",t.options.showWeekNumbers),n.Hb(1),n.wc("ngForOf",t.calendar.weekdays),n.Hb(2),n.wc("ngForOf",t.calendar.weeks))},directives:[kt,Et,_.q,_.p,Tt,b.a],encapsulation:2}),e})(),Ct=(()=>{class e{constructor(){this.onNavigate=new n.n,this.onViewMode=new n.n,this.onSelect=new n.n,this.onHover=new n.n}navigateTo(e){this.onNavigate.emit({step:{year:Dt.DOWN===e?-1:1}})}viewMonth(e){this.onSelect.emit(e)}hoverMonth(e,t){this.onHover.emit({cell:e,isHovered:t})}changeViewMode(e){this.onViewMode.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(n.bc(0,"bs-calendar-layout"),n.bc(1,"bs-datepicker-navigation-view",0),n.jc("onNavigate",(function(e){return t.navigateTo(e)}))("onViewMode",(function(e){return t.changeViewMode(e)})),n.ac(),n.bc(2,"table",1),n.bc(3,"tbody"),n.Wc(4,ce,2,1,"tr",2),n.ac(),n.ac(),n.ac()),2&e&&(n.Hb(1),n.wc("calendar",t.calendar),n.Hb(3),n.wc("ngForOf",t.calendar.months))},directives:[kt,Et,_.p],encapsulation:2}),e})(),Ot=(()=>{class e{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(e,t){1&e&&(n.bc(0,"div",0),n.bc(1,"div",1),n.bc(2,"button",2),n.Yc(3,"-"),n.ac(),n.Wb(4,"input",3),n.bc(5,"button",4),n.Yc(6,"+"),n.ac(),n.ac(),n.bc(7,"div",1),n.bc(8,"button",2),n.Yc(9,"-"),n.ac(),n.Wb(10,"input",3),n.bc(11,"button",4),n.Yc(12,"+"),n.ac(),n.ac(),n.bc(13,"button",5),n.Yc(14),n.Wb(15,"img",6),n.ac(),n.ac()),2&e&&(n.Hb(4),n.wc("value",t.hours),n.Hb(6),n.wc("value",t.minutes),n.Hb(4),n.ad("",t.ampm," "))},encapsulation:2}),e})(),xt=(()=>{class e{constructor(){this.onNavigate=new n.n,this.onViewMode=new n.n,this.onSelect=new n.n,this.onHover=new n.n}navigateTo(e){this.onNavigate.emit({step:{year:16*(Dt.DOWN===e?-1:1)}})}viewYear(e){this.onSelect.emit(e)}hoverYear(e,t){this.onHover.emit({cell:e,isHovered:t})}changeViewMode(e){this.onViewMode.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(n.bc(0,"bs-calendar-layout"),n.bc(1,"bs-datepicker-navigation-view",0),n.jc("onNavigate",(function(e){return t.navigateTo(e)}))("onViewMode",(function(e){return t.changeViewMode(e)})),n.ac(),n.bc(2,"table",1),n.bc(3,"tbody"),n.Wc(4,ue,2,1,"tr",2),n.ac(),n.ac(),n.ac()),2&e&&(n.Hb(1),n.wc("calendar",t.calendar),n.Hb(3),n.wc("ngForOf",t.calendar.years))},directives:[kt,Et,_.p],encapsulation:2}),e})(),Lt=(()=>{class e{static forRoot(){return{ngModule:e,providers:[m.a,u.a,at,Be,He,Ye]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[_.c,b.b.forRoot()]]}),e})();class jt{format(e,t,i){return Object(l.e)(e,t,i)}}let It=(()=>{class e{constructor(){this.selectionDone=new n.n(void 0),this.update=new n.n(!1),this.activeDateChange=new n.n(void 0),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new jt}get activeDate(){return this._activeDate}set activeDate(e){this._activeDate=e}ngOnInit(){this.uniqueId=`datepicker--${Math.floor(1e4*Math.random())}`,this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)}ngOnChanges(e){this.refreshView(),this.checkIfActiveDateGotUpdated(e.activeDate)}checkIfActiveDateGotUpdated(e){if(e&&!e.firstChange){const t=e.previousValue;t&&t instanceof Date&&t.getTime()!==e.currentValue.getTime()&&this.activeDateChange.emit(this.activeDate)}}setCompareHandler(e,t){"day"===t&&(this.compareHandlerDay=e),"month"===t&&(this.compareHandlerMonth=e),"year"===t&&(this.compareHandlerYear=e)}compare(e,t){if(void 0!==e&&void 0!==t)return"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(e,t):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(e,t):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(e,t):void 0}setRefreshViewHandler(e,t){"day"===t&&(this.refreshViewHandlerDay=e),"month"===t&&(this.refreshViewHandlerMonth=e),"year"===t&&(this.refreshViewHandlerYear=e)}refreshView(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()}dateFilter(e,t){return this.dateFormatter.format(e,t,this.locale)}isActive(e){return 0===this.compare(e.date,this.activeDate)&&(this.activeDateId=e.uid,!0)}createDateObject(e,t){const i={};return i.date=new Date(e.getFullYear(),e.getMonth(),e.getDate()),i.date=this.fixTimeZone(i.date),i.label=this.dateFilter(e,t),i.selected=0===this.compare(e,this.selectedDate),i.disabled=this.isDisabled(e),i.current=0===this.compare(e,new Date),i.customClass=this.getCustomClassForDate(i.date),i}split(e,t){const i=[];for(;e.length>0;)i.push(e.splice(0,t));return i}fixTimeZone(e){const t=e.getHours();return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23===t?t+2:0)}select(e,t=!0){this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1])),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()}move(e){let t;if("day"===this.datepickerMode&&(t=this.stepDay),"month"===this.datepickerMode&&(t=this.stepMonth),"year"===this.datepickerMode&&(t=this.stepYear),t){const i=this.activeDate.getFullYear()+e*(t.years||0),n=this.activeDate.getMonth()+e*(t.months||0);this.activeDate=new Date(i,n,1),this.refreshView(),this.activeDateChange.emit(this.activeDate)}}toggleMode(e){const t=e||1;this.datepickerMode===this.maxMode&&1===t||this.datepickerMode===this.minMode&&-1===t||(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+t],this.refreshView())}getCustomClassForDate(e){if(!this.customClass)return"";const t=this.customClass.find(t=>t.date.valueOf()===e.valueOf()&&t.mode===this.datepickerMode,this);return void 0===t?"":t.clazz}compareDateDisabled(e,t){if(void 0!==e&&void 0!==t)return"day"===e.mode&&this.compareHandlerDay?this.compareHandlerDay(e.date,t):"month"===e.mode&&this.compareHandlerMonth?this.compareHandlerMonth(e.date,t):"year"===e.mode&&this.compareHandlerYear?this.compareHandlerYear(e.date,t):void 0}isDisabled(e){let t=!1;return this.dateDisabled&&this.dateDisabled.forEach(i=>{0===this.compareDateDisabled(i,e)&&(t=!0)}),this.dayDisabled&&(t=t||this.dayDisabled.indexOf(e.getDay())>-1),t||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&this.compare(e,this.maxDate)>0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Pb({type:e,selectors:[["datepicker-inner"]],inputs:{activeDate:"activeDate",datepickerMode:"datepickerMode",locale:"locale",startingDay:"startingDay",yearRange:"yearRange",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",showWeeks:"showWeeks",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",customClass:"customClass",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled",initDate:"initDate"},outputs:{selectionDone:"selectionDone",update:"update",activeDateChange:"activeDateChange"},features:[n.Fb()],ngContentSelectors:de,decls:1,vars:1,consts:[["class","well well-sm bg-faded p-a card","role","application",4,"ngIf"],["role","application",1,"well","well-sm","bg-faded","p-a","card"]],template:function(e,t){1&e&&(n.vc(),n.Wc(0,he,2,0,"div",0)),2&e&&n.wc("ngIf",t.datepickerMode)},directives:[_.q],encapsulation:2}),e})(),At=(()=>{class e{constructor(){this.locale="en",this.datepickerMode="day",this.startingDay=0,this.yearRange=20,this.minMode="day",this.maxMode="year",this.showWeeks=!0,this.formatDay="DD",this.formatMonth="MMMM",this.formatYear="YYYY",this.formatDayHeader="dd",this.formatDayTitle="MMMM YYYY",this.formatMonthTitle="YYYY",this.onlyCurrentMonth=!1,this.monthColLimit=3,this.yearColLimit=5,this.shortcutPropagation=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Nt={provide:g.j,useExisting:Object(n.V)(()=>Rt),multi:!0};let Rt=(()=>{class e{constructor(e){this.datepickerMode="day",this.showWeeks=!0,this.selectionDone=new n.n(void 0),this.activeDateChange=new n.n(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.config=e,this.configureOptions()}get activeDate(){return this._activeDate||this._now}set activeDate(e){this._activeDate=e}configureOptions(){Object.assign(this,this.config)}onUpdate(e){this.activeDate=e,this.onChange(e)}onSelectionDone(e){this.selectionDone.emit(e)}onActiveDateChange(e){this.activeDateChange.emit(e)}writeValue(e){if(0!==this._datePicker.compare(e,this._activeDate))return e&&e instanceof Date?(this.activeDate=e,void this._datePicker.select(e,!1)):void(this.activeDate=e?new Date(e):void 0)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(At))},e.\u0275cmp=n.Pb({type:e,selectors:[["datepicker"]],viewQuery:function(e,t){var i;1&e&&n.Tc(It,!0),2&e&&n.Ic(i=n.kc())&&(t._datePicker=i.first)},inputs:{datepickerMode:"datepickerMode",showWeeks:"showWeeks",activeDate:"activeDate",initDate:"initDate",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",startingDay:"startingDay",yearRange:"yearRange",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",customClass:"customClass",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled"},outputs:{selectionDone:"selectionDone",activeDateChange:"activeDateChange"},features:[n.Gb([Nt])],decls:4,vars:24,consts:[[3,"activeDate","locale","datepickerMode","initDate","minDate","maxDate","minMode","maxMode","showWeeks","formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","startingDay","yearRange","customClass","dateDisabled","dayDisabled","onlyCurrentMonth","shortcutPropagation","monthColLimit","yearColLimit","update","selectionDone","activeDateChange"],["tabindex","0"]],template:function(e,t){1&e&&(n.bc(0,"datepicker-inner",0),n.jc("update",(function(e){return t.onUpdate(e)}))("selectionDone",(function(e){return t.onSelectionDone(e)}))("activeDateChange",(function(e){return t.onActiveDateChange(e)})),n.Wb(1,"daypicker",1),n.Wb(2,"monthpicker",1),n.Wb(3,"yearpicker",1),n.ac()),2&e&&n.wc("activeDate",t.activeDate)("locale",t.config.locale)("datepickerMode",t.datepickerMode)("initDate",t.initDate)("minDate",t.minDate)("maxDate",t.maxDate)("minMode",t.minMode)("maxMode",t.maxMode)("showWeeks",t.showWeeks)("formatDay",t.formatDay)("formatMonth",t.formatMonth)("formatYear",t.formatYear)("formatDayHeader",t.formatDayHeader)("formatDayTitle",t.formatDayTitle)("formatMonthTitle",t.formatMonthTitle)("startingDay",t.startingDay)("yearRange",t.yearRange)("customClass",t.customClass)("dateDisabled",t.dateDisabled)("dayDisabled",t.dayDisabled)("onlyCurrentMonth",t.onlyCurrentMonth)("shortcutPropagation",t.shortcutPropagation)("monthColLimit",t.monthColLimit)("yearColLimit",t.yearColLimit)},directives:function(){return[It,Pt,Bt,Yt]},encapsulation:2}),e})(),Pt=(()=>{class e{constructor(e){this.labels=[],this.rows=[],this.weekNumbers=[],this.datePicker=e}get isBs4(){return!Object(y.d)()}ngOnInit(){const e=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler((function(){const t=this.activeDate.getFullYear(),i=this.activeDate.getMonth(),n=new Date(t,i,1),s=this.startingDay-n.getDay(),r=s>0?7-s:-s,o=new Date(n.getTime());r>0&&o.setDate(1-r);const a=e.getDates(o,42),c=[];for(let e=0;e<42;e++){const t=this.createDateObject(a[e],this.formatDay);t.secondary=a[e].getMonth()!==i,t.uid=this.uniqueId+"-"+e,c[e]=t}e.labels=[];for(let l=0;l<7;l++)e.labels[l]={},e.labels[l].abbr=this.dateFilter(c[l].date,this.formatDayHeader),e.labels[l].full=this.dateFilter(c[l].date,"EEEE");if(e.title=this.dateFilter(this.activeDate,this.formatDayTitle),e.rows=this.split(c,7),this.showWeeks){e.weekNumbers=[];const t=(11-this.startingDay)%7,i=e.rows.length;for(let n=0;n<i;n++)e.weekNumbers.push(e.getISO8601WeekNumber(e.rows[n][t].date))}}),"day"),this.datePicker.setCompareHandler((function(e,t){const i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(t.getFullYear(),t.getMonth(),t.getDate());return i.getTime()-n.getTime()}),"day"),this.datePicker.refreshView()}getDates(e,t){const i=new Array(t);let n,s=new Date(e.getTime()),r=0;for(;r<t;)n=new Date(s.getTime()),n=this.datePicker.fixTimeZone(n),i[r++]=n,s=new Date(n.getFullYear(),n.getMonth(),n.getDate()+1);return i}getISO8601WeekNumber(e){const t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));const i=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((i-t.getTime())/864e5)/7)+1}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(It))},e.\u0275cmp=n.Pb({type:e,selectors:[["daypicker"]],decls:1,vars:1,consts:[["role","grid","aria-activedescendant","activeDateId",4,"ngIf"],["role","grid","aria-activedescendant","activeDateId"],["type","button","class","btn btn-default btn-secondary btn-sm pull-left float-left","tabindex","-1",3,"click",4,"ngIf"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","class","btn btn-default btn-secondary btn-sm pull-right float-right","tabindex","-1",3,"click",4,"ngIf"],[4,"ngIf"],["class","text-center",4,"ngFor","ngForOf"],["ngFor","",3,"ngForOf"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm","pull-right","float-right",3,"click"],[1,"text-center"],["aria-label","labelz.full"],["class","h6","class","text-center",4,"ngIf"],["class","text-center","role","gridcell",3,"id",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"id"],["type","button","style","min-width:100%;","tabindex","-1",3,"class","ngClass","disabled","click",4,"ngIf"],["type","button","tabindex","-1",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(e,t){1&e&&n.Wc(0,Ee,18,15,"table",0),2&e&&n.wc("ngIf","day"===t.datePicker.datepickerMode)},directives:[_.q,_.o,_.p],styles:["[_nghost-%COMP%]   .btn-secondary[_ngcontent-%COMP%] {\n      color: #292b2c;\n      background-color: #fff;\n      border-color: #ccc;\n    }\n    [_nghost-%COMP%]   .btn-info[_ngcontent-%COMP%]   .text-muted[_ngcontent-%COMP%] {\n      color: #292b2c !important;\n    }"]}),e})(),Bt=(()=>{class e{constructor(e){this.rows=[],this.datePicker=e}get isBs4(){return!Object(y.d)()}ngOnInit(){const e=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler((function(){const t=new Array(12),i=this.activeDate.getFullYear();let n;for(let e=0;e<12;e++)n=new Date(i,e,1),n=this.fixTimeZone(n),t[e]=this.createDateObject(n,this.formatMonth),t[e].uid=this.uniqueId+"-"+e;e.title=this.dateFilter(this.activeDate,this.formatMonthTitle),e.rows=this.split(t,e.datePicker.monthColLimit)}),"month"),this.datePicker.setCompareHandler((function(e,t){const i=new Date(e.getFullYear(),e.getMonth()),n=new Date(t.getFullYear(),t.getMonth());return i.getTime()-n.getTime()}),"month"),this.datePicker.refreshView()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(It))},e.\u0275cmp=n.Pb({type:e,selectors:[["monthpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",3,"ngClass",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"ngClass"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(e,t){1&e&&n.Wc(0,Le,15,8,"table",0),2&e&&n.wc("ngIf","month"===t.datePicker.datepickerMode)},directives:[_.q,_.o,_.p],styles:["[_nghost-%COMP%]   .btn-info[_ngcontent-%COMP%]   .text-success[_ngcontent-%COMP%] {\n      color: #fff !important;\n    }"]}),e})(),Yt=(()=>{class e{constructor(e){this.rows=[],this.datePicker=e}get isBs4(){return!Object(y.d)()}ngOnInit(){const e=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler((function(){const t=new Array(this.yearRange);let i;const n=e.getStartingYear(this.activeDate.getFullYear());for(let e=0;e<this.yearRange;e++)i=new Date(n+e,0,1),i=this.fixTimeZone(i),t[e]=this.createDateObject(i,this.formatYear),t[e].uid=this.uniqueId+"-"+e;e.title=[t[0].label,t[this.yearRange-1].label].join(" - "),e.rows=this.split(t,e.datePicker.yearColLimit)}),"year"),this.datePicker.setCompareHandler((function(e,t){return e.getFullYear()-t.getFullYear()}),"year"),this.datePicker.refreshView()}getStartingYear(e){return(e-1)/this.datePicker.yearRange*this.datePicker.yearRange+1}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(It))},e.\u0275cmp=n.Pb({type:e,selectors:[["yearpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["role","heading","type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(e,t){1&e&&n.Wc(0,Ae,15,8,"table",0),2&e&&n.wc("ngIf","year"===t.datePicker.datepickerMode)},directives:[_.q,_.o,_.p],styles:["[_nghost-%COMP%]   .btn-info[_ngcontent-%COMP%]   .text-success[_ngcontent-%COMP%] {\n      color: #fff !important;\n    }"]}),e})()},iEDd:function(e,t,i){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},iYe0:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.count=function(e){return function(t){return t.lift(new r(e,t))}};var r=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate,this.source))},e}(),o=function(e){function t(t,i,n){e.call(this,t),this.predicate=i,this.source=n,this.count=0,this.index=0}return n(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(i){return void this.destination.error(i)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(s.Subscriber)},iYuL:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wd/R"))},itXk:function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("z+Ro"),s=i("DH7j"),r=i("l7GE"),o=i("ZUHj"),a=i("yCtX");const c={};function l(...e){let t=null,i=null;return Object(n.a)(e[e.length-1])&&(i=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(s.a)(e[0])&&(e=e[0]),Object(a.a)(e,i).lift(new u(t))}class u{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new h(e,this.resultSelector))}}class h extends r.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(c),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 i=0;i<t;i++){const t=e[i];this.add(Object(o.a)(this,t,t,i))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,i,n,s){const r=this.values,o=this.toRespond?r[i]===c?--this.toRespond:this.toRespond:0;r[i]=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(i){return void this.destination.error(i)}this.destination.next(t)}}},jCJ1:function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return p})),i.d(t,"c",(function(){return g})),i("mrSG");var n=i("fXoL"),s=i("ofXK"),r=i("LRne"),o=i("2Vo4");i("XNiG"),i("3Pt+");const a=new n.q("recaptcha-language"),c=new n.q("recaptcha-base-url"),l=new n.q("recaptcha-nonce-tag");let u=(()=>{let e=h=class{constructor(e,t,i,n){this.platformId=e,this.language=t,this.baseUrl=i,this.nonce=n,this.init(),this.ready=Object(s.H)(this.platformId)?h.ready.asObservable():Object(r.a)()}init(){if(!h.ready&&Object(s.H)(this.platformId)){const e=new o.a(null);h.ready=e,function(t,i,n,s,r){window.ng2recaptchaloaded=()=>{(t=>{e.next(t)})(grecaptcha)};const o=document.createElement("script");o.innerHTML="",o.src=`${s||"https://www.google.com/recaptcha/api.js"}?render=explicit&onload=ng2recaptchaloaded${n}`,r&&(o.nonce=r),o.async=!0,o.defer=!0,document.head.appendChild(o)}(0,0,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}};return e.\u0275fac=function(t){return new(t||e)(n.fc(n.C),n.fc(a,8),n.fc(c,8),n.fc(l,8))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e.ready=null,e})();var h;const d=new n.q("recaptcha-settings");let f=0,p=(()=>{let e=class{constructor(e,t,i,s){this.elementRef=e,this.loader=t,this.zone=i,this.id=`ngrecaptcha-${f++}`,this.resolved=new n.n,s&&(this.siteKey=s.siteKey,this.theme=s.theme,this.type=s.type,this.size=s.size,this.badge=s.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{null!=e&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}expired(){this.resolved.emit(null)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){this.widget=this.grecaptcha.render(this.elementRef.nativeElement,{badge:this.badge,callback:e=>{this.zone.run(()=>this.captchaResponseCallback(e))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type}),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(u),n.Vb(n.A),n.Vb(d,8))},e.\u0275cmp=n.Pb({type:e,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(e,t){2&e&&n.Ib("id",t.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",badge:"badge",tabIndex:"tabIndex"},outputs:{resolved:"resolved"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),m=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)}}),e})(),g=(()=>{let e=_=class{static forRoot(){return _}};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[u],imports:[[m]]}),e})();var _},jLSX:function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return f}));var n=i("fXoL"),s=i("R0Ic"),r=i("ofXK"),o=i("YyRF");const a=["container"],c=function(){return{"ui-sidebar-close ui-corner-all":!0}};function l(e,t){if(1&e){const e=n.cc();n.bc(0,"a",3),n.jc("click",(function(t){return n.Mc(e),n.nc().close(t)}))("keydown.enter",(function(t){return n.Mc(e),n.nc().close(t)})),n.Wb(1,"span",4),n.ac()}if(2&e){const e=n.nc();n.wc("ngClass",n.Ac(2,c)),n.Ib("aria-label",e.ariaCloseLabel)}}const u=function(e,t,i,n,s,r){return{"ui-sidebar ui-widget ui-widget-content ui-shadow":!0,"ui-sidebar-active":e,"ui-sidebar-left":t,"ui-sidebar-right":i,"ui-sidebar-top":n,"ui-sidebar-bottom":s,"ui-sidebar-full":r}},h=["*"];let d=(()=>{let e=class{constructor(e,t){this.el=e,this.renderer=t,this.position="left",this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.modal=!0,this.dismissible=!0,this.showCloseIcon=!0,this.closeOnEscape=!0,this.onShow=new n.n,this.onHide=new n.n,this.visibleChange=new n.n}ngAfterViewInit(){this.initialized=!0,this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.containerViewChild.nativeElement):o.a.appendChild(this.containerViewChild.nativeElement,this.appendTo)),this.visible&&this.show()}get visible(){return this._visible}set visible(e){this._visible=e,this.initialized&&this.containerViewChild&&this.containerViewChild.nativeElement&&(this._visible?this.show():this.preventVisibleChangePropagation?this.preventVisibleChangePropagation=!1:this.hide())}ngAfterViewChecked(){this.executePostDisplayActions&&(this.onShow.emit({}),this.executePostDisplayActions=!1)}show(){this.executePostDisplayActions=!0,this.autoZIndex&&(this.containerViewChild.nativeElement.style.zIndex=String(this.baseZIndex+ ++o.a.zindex)),this.modal&&this.enableModality()}hide(){this.onHide.emit({}),this.modal&&this.disableModality()}close(e){this.preventVisibleChangePropagation=!0,this.hide(),this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(this.containerViewChild.nativeElement.style.zIndex)-1),o.a.addMultipleClasses(this.mask,"ui-widget-overlay ui-sidebar-mask"),this.dismissible&&(this.maskClickListener=this.renderer.listen(this.mask,"click",e=>{this.dismissible&&this.close(e)})),document.body.appendChild(this.mask),this.blockScroll&&o.a.addClass(document.body,"ui-overflow-hidden"))}disableModality(){this.mask&&(this.unbindMaskClickListener(),document.body.removeChild(this.mask),this.blockScroll&&o.a.removeClass(document.body,"ui-overflow-hidden"),this.mask=null)}onAnimationStart(e){switch(e.toState){case"visible":this.closeOnEscape&&this.bindDocumentEscapeListener();break;case"hidden":this.unbindGlobalListeners()}}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen("document","keydown",e=>{27==e.which&&parseInt(this.containerViewChild.nativeElement.style.zIndex)===o.a.zindex+this.baseZIndex&&this.close(e)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindGlobalListeners(){this.unbindMaskClickListener(),this.unbindDocumentEscapeListener()}ngOnDestroy(){this.initialized=!1,this.visible&&this.hide(),this.appendTo&&this.el.nativeElement.appendChild(this.containerViewChild.nativeElement),this.unbindGlobalListeners()}};return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.F))},e.\u0275cmp=n.Pb({type:e,selectors:[["p-sidebar"]],viewQuery:function(e,t){var i;1&e&&n.fd(a,!0),2&e&&n.Ic(i=n.kc())&&(t.containerViewChild=i.first)},inputs:{position:"position",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",modal:"modal",dismissible:"dismissible",showCloseIcon:"showCloseIcon",closeOnEscape:"closeOnEscape",visible:"visible",fullScreen:"fullScreen",appendTo:"appendTo",style:"style",styleClass:"styleClass",ariaCloseLabel:"ariaCloseLabel"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange"},ngContentSelectors:h,decls:4,vars:14,consts:[["role","complementary",3,"ngClass","ngStyle"],["container",""],["tabindex","0","role","button",3,"ngClass","click","keydown.enter",4,"ngIf"],["tabindex","0","role","button",3,"ngClass","click","keydown.enter"],[1,"pi","pi-times"]],template:function(e,t){1&e&&(n.vc(),n.bc(0,"div",0,1),n.jc("@panelState.start",(function(e){return t.onAnimationStart(e)})),n.Wc(2,l,2,3,"a",2),n.uc(3),n.ac()),2&e&&(n.Jb(t.styleClass),n.wc("ngClass",n.Gc(7,u,t.visible,"left"===t.position,"right"===t.position,"top"===t.position,"bottom"===t.position,t.fullScreen))("@panelState",t.visible?"visible":"hidden")("ngStyle",t.style),n.Ib("aria-modal",t.modal),n.Hb(2),n.wc("ngIf",t.showCloseIcon))},directives:[r.o,r.r,r.q],encapsulation:2,data:{animation:[Object(s.l)("panelState",[Object(s.i)("hidden",Object(s.j)({opacity:0})),Object(s.i)("visible",Object(s.j)({opacity:1})),Object(s.k)("visible => hidden",Object(s.e)("300ms ease-in")),Object(s.k)("hidden => visible",Object(s.e)("300ms ease-out"))])]}}),e})(),f=(()=>{let e=class{};return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})()},jUeY:function(e,t,i){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,i){return e>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var i,n=this._calendarEl[e],s=t&&t.hours();return((i=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.replace("{}",s%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i("wd/R"))},jVdC:function(e,t,i){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,i){var s=e+" ";switch(i){case"ss":return s+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return s+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return s+(n(e)?"godziny":"godzin");case"MM":return s+(n(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+i[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},jZKg:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("HDdC"),s=i("quSY");function r(e,t){return new n.a(i=>{const n=new s.a;let r=0;return n.add(t.schedule((function(){r!==e.length?(i.next(e[r++]),i.closed||n.add(this.schedule())):i.complete()}))),n})}},jfSC:function(e,t,i){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,i){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i("wd/R"))},jhN1:function(e,t,i){"use strict";i.d(t,"a",(function(){return R})),i.d(t,"b",(function(){return x})),i.d(t,"c",(function(){return B})),i.d(t,"d",(function(){return H})),i.d(t,"e",(function(){return A})),i.d(t,"f",(function(){return F}));var n=i("ofXK"),s=i("fXoL");class r extends n.K{constructor(){super()}supportsDOMEvents(){return!0}}class o extends r{static makeCurrent(){Object(n.O)(new o)}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,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!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:(i=t,a||(a=document.createElement("a")),a.setAttribute("href",i),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var i}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(n.N)(document.cookie,e)}}let a,c=null;const l=new s.q("TRANSITION_ID"),u=[{provide:s.d,useFactory:function(e,t,i){return()=>{i.get(s.e).donePromise.then(()=>{const i=Object(n.M)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>i.remove(e))})}},deps:[l,n.d,s.r],multi:!0}];class h{static init(){Object(s.Z)(new h)}addToWindow(e){s.vb.getAngularTestability=(t,i=!0)=>{const n=e.findTestabilityInTree(t,i);if(null==n)throw new Error("Could not find testability for element.");return n},s.vb.getAllAngularTestabilities=()=>e.getAllTestabilities(),s.vb.getAllAngularRootElements=()=>e.getAllRootElements(),s.vb.frameworkStabilizers||(s.vb.frameworkStabilizers=[]),s.vb.frameworkStabilizers.push(e=>{const t=s.vb.getAllAngularTestabilities();let i=t.length,n=!1;const r=function(t){n=n||t,i--,0==i&&e(n)};t.forEach((function(e){e.whenStable(r)}))})}findTestabilityInTree(e,t,i){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:i?Object(n.M)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const d=new s.q("EventManagerPlugins");let f=(()=>{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,i){return this._findPluginFor(t).addEventListener(e,t,i)}addGlobalEventListener(e,t,i){return this._findPluginFor(t).addGlobalEventListener(e,t,i)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const i=this._plugins;for(let n=0;n<i.length;n++){const t=i[n];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)(s.fc(d),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class p{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const s=Object(n.M)().getGlobalEventTarget(this._doc,e);if(!s)throw new Error(`Unsupported event target ${s} for event ${t}`);return this.addEventListener(s,t,i)}}let m=(()=>{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=s.Rb({token:e,factory:e.\u0275fac}),e})(),g=(()=>{class e extends m{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 i=this._doc.createElement("style");i.textContent=e,this._styleNodes.add(t.appendChild(i))})}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(n.M)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.d))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();const _={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/"},b=/%COMP%/g;function y(e,t,i){for(let n=0;n<t.length;n++){let s=t[n];Array.isArray(s)?y(e,s,i):(s=s.replace(b,e),i.push(s))}return i}function v(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let F=(()=>{class e{constructor(e,t,i){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new k(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case s.Q.Emulated:{let i=this.rendererByCompId.get(t.id);return i||(i=new w(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,i)),i.applyToHost(e),i}case s.Q.Native:case s.Q.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=y(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)(s.fc(f),s.fc(g),s.fc(s.c))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class k{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(_[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,i){e&&e.insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;const s=_[n];s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const n=_[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,n){n&s.H.DashCase?e.style.setProperty(t,i,n&s.H.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&s.H.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,v(i)):this.eventManager.addEventListener(e,t,v(i))}}class w extends k{constructor(e,t,i,n){super(e),this.component=i;const s=y(n+"-"+i.id,i.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(b,n+"-"+i.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(b,e)}(n+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class S extends k{constructor(e,t,i,n){super(e),this.sharedStylesHost=t,this.hostEl=i,this.component=n,this.shadowRoot=n.encapsulation===s.Q.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const r=y(n.id,n.styles,[]);for(let s=0;s<r.length;s++){const e=document.createElement("style");e.textContent=r[s],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,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let T=(()=>{class e extends p{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i){return e.addEventListener(t,i,!1),()=>this.removeEventListener(e,t,i)}removeEventListener(e,t,i){return e.removeEventListener(t,i)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.d))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();const D=["alt","control","meta","shift"],E={"\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"},M={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"},C={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let O=(()=>{class e extends p{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,s){const r=e.parseEventName(i),o=e.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(n.M)().onAndCancel(t,r.domEventName,o))}static parseEventName(t){const i=t.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=e._normalizeKey(i.pop());let r="";if(D.forEach(e=>{const t=i.indexOf(e);t>-1&&(i.splice(t,1),r+=e+".")}),r+=s,0!=i.length||0===s.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static getEventFullKey(e){let t="",i=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&&M.hasOwnProperty(t)&&(t=M[t]))}return E[t]||t}(e);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),D.forEach(n=>{n!=i&&(0,C[n])(e)&&(t+=n+".")}),t+=i,t}static eventCallback(t,i,n){return s=>{e.getEventFullKey(s)===t&&n.runGuarded(()=>i(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.d))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),x=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s.Rb)({factory:function(){return Object(s.fc)(j)},token:e,providedIn:"root"}),e})();function L(e){return new j(e.get(n.d))}let j=(()=>{class e extends x{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case s.J.NONE:return t;case s.J.HTML:return Object(s.kb)(t,"HTML")?Object(s.Db)(t):Object(s.hb)(this._doc,String(t));case s.J.STYLE:return Object(s.kb)(t,"Style")?Object(s.Db)(t):Object(s.ib)(t);case s.J.SCRIPT:if(Object(s.kb)(t,"Script"))return Object(s.Db)(t);throw new Error("unsafe value used in a script context");case s.J.URL:return Object(s.ub)(t),Object(s.kb)(t,"URL")?Object(s.Db)(t):Object(s.jb)(String(t));case s.J.RESOURCE_URL:if(Object(s.kb)(t,"ResourceURL"))return Object(s.Db)(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(s.lb)(e)}bypassSecurityTrustStyle(e){return Object(s.ob)(e)}bypassSecurityTrustScript(e){return Object(s.nb)(e)}bypassSecurityTrustUrl(e){return Object(s.pb)(e)}bypassSecurityTrustResourceUrl(e){return Object(s.mb)(e)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.d))},e.\u0275prov=Object(s.Rb)({factory:function(){return L(Object(s.fc)(s.o))},token:e,providedIn:"root"}),e})();const I=[{provide:s.C,useValue:n.L},{provide:s.D,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:n.d,useFactory:function(){return Object(s.Bb)(document),document},deps:[]}],A=Object(s.S)(s.Y,"browser",I),N=[[],{provide:s.bb,useValue:"root"},{provide:s.m,useFactory:function(){return new s.m},deps:[]},{provide:d,useClass:T,multi:!0,deps:[n.d,s.A,s.C]},{provide:d,useClass:O,multi:!0,deps:[n.d]},[],{provide:F,useClass:F,deps:[f,g,s.c]},{provide:s.G,useExisting:F},{provide:m,useExisting:g},{provide:g,useClass:g,deps:[n.d]},{provide:s.N,useClass:s.N,deps:[s.A]},{provide:f,useClass:f,deps:[d,s.A]},[]];let R=(()=>{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:s.c,useValue:t.appId},{provide:l,useExisting:s.c},u]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)(s.fc(e,12))},providers:N,imports:[n.c,s.f]}),e})();function P(){return new B(Object(s.fc)(n.d))}let B=(()=>{class e{constructor(e){this._doc=e,this._dom=Object(n.M)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,i)=>(i&&e.push(this._getOrCreateElement(i,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 i=this.getTag(t);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),i=this.getTag(t);if(i&&this._containsAttributes(e,i))return i}const i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(i=>t.setAttribute(i,e[i])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(i=>t.getAttribute(i)===e[i])}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.d))},e.\u0275prov=Object(s.Rb)({factory:P,token:e,providedIn:"root"}),e})();function Y(){return new H(Object(s.fc)(n.d))}let H=(()=>{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)(s.fc(n.d))},e.\u0275prov=Object(s.Rb)({factory:Y,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window},jnO4:function(e,t,i){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,i,r,o){var a=n(t),c=s[e][n(t)];return 2===a&&(c=c[i?0:1]),c.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wd/R"))},jtHE:function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("XNiG"),s=i("qgXg"),r=i("quSY"),o=i("pxpQ"),a=i("9ppp"),c=i("Ylt2");class l extends n.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,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){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new u(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,i=t?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let l;if(this.closed)throw new a.a;if(this.isStopped||this.hasError?l=r.a.EMPTY:(this.observers.push(e),l=new c.a(this,e)),n&&e.add(e=new o.a(e,n)),t)for(let r=0;r<s&&!e.closed;r++)e.next(i[r]);else for(let r=0;r<s&&!e.closed;r++)e.next(i[r].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),l}_getNow(){return(this.scheduler||s.a).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,i=this._windowTime,n=this._events,s=n.length;let r=0;for(;r<s&&!(e-n[r].time<i);)r++;return s>t&&(r=Math.max(r,s-t)),r>0&&n.splice(0,r),n}}class u{constructor(e,t){this.time=e,this.value=t}}},kEOa:function(e,t,i){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i("wd/R"))},kJWO:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kOpN:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wd/R"))},kUHs:function(e,t,i){"use strict";i.d(t,"a",(function(){return K})),i.d(t,"b",(function(){return J}));var n=i("fXoL"),s=i("3Pt+"),r=i("2Vo4"),o=i("2oBD"),a=i("ofXK");function c(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0\xa0\xa0"),n.ac())}function l(e,t){if(1&e){const e=n.cc();n.bc(0,"td"),n.bc(1,"a",1),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.changeMinutes(i.minuteStep)})),n.Wb(2,"span",2),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(1),n.Mb("disabled",!e.canIncrementMinutes||!e.isEditable)}}function u(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0"),n.ac())}function h(e,t){if(1&e){const e=n.cc();n.bc(0,"td"),n.bc(1,"a",1),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.changeSeconds(i.secondsStep)})),n.Wb(2,"span",2),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(1),n.Mb("disabled",!e.canIncrementSeconds||!e.isEditable)}}function d(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0\xa0\xa0"),n.ac())}function f(e,t){1&e&&n.Wb(0,"td")}function p(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0:\xa0"),n.ac())}function m(e,t){if(1&e){const e=n.cc();n.bc(0,"td",4),n.bc(1,"input",5),n.jc("wheel",(function(t){n.Mc(e);const i=n.nc();return i.prevDef(t),i.changeMinutes(i.minuteStep*i.wheelSign(t),"wheel")}))("keydown.ArrowUp",(function(t){n.Mc(e);const i=n.nc();return i.changeMinutes(i.minuteStep,"key")}))("keydown.ArrowDown",(function(t){n.Mc(e);const i=n.nc();return i.changeMinutes(0-i.minuteStep,"key")}))("change",(function(t){return n.Mc(e),n.nc().updateMinutes(t.target.value)})),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Mb("has-error",e.invalidMinutes),n.Hb(1),n.Mb("is-invalid",e.invalidMinutes),n.wc("placeholder",e.minutesPlaceholder)("readonly",e.readonlyInput)("disabled",e.disabled)("value",e.minutes),n.Ib("aria-label",e.labelMinutes)}}function g(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0:\xa0"),n.ac())}function _(e,t){if(1&e){const e=n.cc();n.bc(0,"td",4),n.bc(1,"input",5),n.jc("wheel",(function(t){n.Mc(e);const i=n.nc();return i.prevDef(t),i.changeSeconds(i.secondsStep*i.wheelSign(t),"wheel")}))("keydown.ArrowUp",(function(t){n.Mc(e);const i=n.nc();return i.changeSeconds(i.secondsStep,"key")}))("keydown.ArrowDown",(function(t){n.Mc(e);const i=n.nc();return i.changeSeconds(0-i.secondsStep,"key")}))("change",(function(t){return n.Mc(e),n.nc().updateSeconds(t.target.value)})),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Mb("has-error",e.invalidSeconds),n.Hb(1),n.Mb("is-invalid",e.invalidSeconds),n.wc("placeholder",e.secondsPlaceholder)("readonly",e.readonlyInput)("disabled",e.disabled)("value",e.seconds),n.Ib("aria-label",e.labelSeconds)}}function b(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0\xa0\xa0"),n.ac())}function y(e,t){if(1&e){const e=n.cc();n.bc(0,"td"),n.bc(1,"button",8),n.jc("click",(function(t){return n.Mc(e),n.nc().toggleMeridian()})),n.Yc(2),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(1),n.Mb("disabled",!e.isEditable||!e.canToggleMeridian),n.wc("disabled",!e.isEditable||!e.canToggleMeridian),n.Hb(1),n.ad("",e.meridian," ")}}function v(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0\xa0\xa0"),n.ac())}function F(e,t){if(1&e){const e=n.cc();n.bc(0,"td"),n.bc(1,"a",1),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.changeMinutes(0-i.minuteStep)})),n.Wb(2,"span",7),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(1),n.Mb("disabled",!e.canDecrementMinutes||!e.isEditable)}}function k(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0"),n.ac())}function w(e,t){if(1&e){const e=n.cc();n.bc(0,"td"),n.bc(1,"a",1),n.jc("click",(function(t){n.Mc(e);const i=n.nc();return i.changeSeconds(0-i.secondsStep)})),n.Wb(2,"span",7),n.ac(),n.ac()}if(2&e){const e=n.nc();n.Hb(1),n.Mb("disabled",!e.canDecrementSeconds||!e.isEditable)}}function S(e,t){1&e&&(n.bc(0,"td"),n.Yc(1,"\xa0\xa0\xa0"),n.ac())}function T(e,t){1&e&&n.Wb(0,"td")}let D=(()=>{class e{writeValue(t){return{type:e.WRITE_VALUE,payload:t}}changeHours(t){return{type:e.CHANGE_HOURS,payload:t}}changeMinutes(t){return{type:e.CHANGE_MINUTES,payload:t}}changeSeconds(t){return{type:e.CHANGE_SECONDS,payload:t}}setTime(t){return{type:e.SET_TIME_UNIT,payload:t}}updateControls(t){return{type:e.UPDATE_CONTROLS,payload:t}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e.WRITE_VALUE="[timepicker] write value from ng model",e.CHANGE_HOURS="[timepicker] change hours",e.CHANGE_MINUTES="[timepicker] change minutes",e.CHANGE_SECONDS="[timepicker] change seconds",e.SET_TIME_UNIT="[timepicker] set time unit",e.UPDATE_CONTROLS="[timepicker] update controls",e})();function E(e){return!!e&&!(e instanceof Date&&isNaN(e.getHours()))&&("string"!=typeof e||E(new Date(e)))}function M(e,t){return!(e.min&&t<e.min||e.max&&t>e.max)}function C(e){return"number"==typeof e?e:parseInt(e,10)}function O(e,t=!1){const i=C(e);return isNaN(i)||i<0||i>(t?12:24)?NaN:i}function x(e){const t=C(e);return isNaN(t)||t<0||t>60?NaN:t}function L(e){const t=C(e);return isNaN(t)||t<0||t>60?NaN:t}function j(e){return"string"==typeof e?new Date(e):e}function I(e,t){if(!e)return I(N(new Date,0,0,0),t);let i=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return t.hour&&(i+=C(t.hour)),t.minute&&(n+=C(t.minute)),t.seconds&&(s+=C(t.seconds)),N(e,i,n,s)}function A(e,t){let i=O(t.hour);const n=x(t.minute),s=L(t.seconds)||0;return t.isPM&&12!==i&&(i+=12),e?isNaN(i)||isNaN(n)?e:N(e,i,n,s):isNaN(i)||isNaN(n)?e:N(new Date,i,n,s)}function N(e,t,i,n){const s=new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,i,n,e.getMilliseconds());return s.setFullYear(e.getFullYear()),s.setMonth(e.getMonth()),s.setDate(e.getDate()),s}function R(e){const t=e.toString();return t.length>1?t:`0${t}`}function P(e,t){return!isNaN(O(e,t))}function B(e){return!isNaN(x(e))}function Y(e){return!isNaN(L(e))}function H(e,t="0",i="0",n){return P(e,n)&&B(t)&&Y(i)}function V(e,t){if(e.readonlyInput||e.disabled)return!1;if(t){if("wheel"===t.source&&!e.mousewheel)return!1;if("key"===t.source&&!e.arrowkeys)return!1}return!0}function U(e){const{hourStep:t,minuteStep:i,secondsStep:n,readonlyInput:s,disabled:r,mousewheel:o,arrowkeys:a,showSpinners:c,showMeridian:l,showSeconds:u,meridians:h,min:d,max:f}=e;return{hourStep:t,minuteStep:i,secondsStep:n,readonlyInput:s,disabled:r,mousewheel:o,arrowkeys:a,showSpinners:c,showMeridian:l,showSeconds:u,meridians:h,min:d,max:f}}let W=(()=>{class e{constructor(){this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.showMeridian=!0,this.meridians=["AM","PM"],this.readonlyInput=!1,this.disabled=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showSeconds=!1,this.showMinutes=!0,this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.ariaLabelHours="hours",this.ariaLabelMinutes="minutes",this.ariaLabelSeconds="seconds"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const z={value:null,config:new W,controls:{canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0}};function $(e=z,t){switch(t.type){case D.WRITE_VALUE:return Object.assign({},e,{value:t.payload});case D.CHANGE_HOURS:{if(!V(e.config,t.payload)||!function(e,t){return!(!e.step||e.step>0&&!t.canIncrementHours||e.step<0&&!t.canDecrementHours)}(t.payload,e.controls))return e;const i=I(e.value,{hour:t.payload.step});return!e.config.max&&!e.config.min||M(e.config,i)?Object.assign({},e,{value:i}):e}case D.CHANGE_MINUTES:{if(!V(e.config,t.payload)||!function(e,t){return!(!e.step||e.step>0&&!t.canIncrementMinutes||e.step<0&&!t.canDecrementMinutes)}(t.payload,e.controls))return e;const i=I(e.value,{minute:t.payload.step});return!e.config.max&&!e.config.min||M(e.config,i)?Object.assign({},e,{value:i}):e}case D.CHANGE_SECONDS:{if(!V(e.config,t.payload)||!function(e,t){return!(!e.step||e.step>0&&!t.canIncrementSeconds||e.step<0&&!t.canDecrementSeconds)}(t.payload,e.controls))return e;const i=I(e.value,{seconds:t.payload.step});return!e.config.max&&!e.config.min||M(e.config,i)?Object.assign({},e,{value:i}):e}case D.SET_TIME_UNIT:{if(!V(e.config))return e;const i=A(e.value,t.payload);return Object.assign({},e,{value:i})}case D.UPDATE_CONTROLS:{const i=function(e,t){const{min:i,max:n,hourStep:s,minuteStep:r,secondsStep:o,showSeconds:a}=t,c={canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0};if(!e)return c;if(n){const t=I(e,{hour:s});if(c.canIncrementHours=n>t&&e.getHours()+s<24,!c.canIncrementHours){const t=I(e,{minute:r});c.canIncrementMinutes=a?n>t:n>=t}if(!c.canIncrementMinutes){const t=I(e,{seconds:o});c.canIncrementSeconds=n>=t}e.getHours()<12&&(c.canToggleMeridian=I(e,{hour:12})<n)}if(i){const t=I(e,{hour:-s});if(c.canDecrementHours=i<t,!c.canDecrementHours){const t=I(e,{minute:-r});c.canDecrementMinutes=a?i<t:i<=t}if(!c.canDecrementMinutes){const t=I(e,{seconds:-o});c.canDecrementSeconds=i<=t}e.getHours()>=12&&(c.canToggleMeridian=I(e,{hour:-12})>i)}return c}(e.value,t.payload),n={value:e.value,config:t.payload,controls:i};return e.config.showMeridian!==n.config.showMeridian&&e.value&&(n.value=new Date(e.value)),Object.assign({},e,n)}default:return e}}let G=(()=>{class e extends o.b{constructor(){const e=new r.a({type:"[mini-ngrx] dispatcher init"});super(e,$,new o.a(z,e,$))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const q={provide:s.j,useExisting:Object(n.V)(()=>K),multi:!0};let K=(()=>{class e{constructor(e,t,i,s){this._cd=t,this._store=i,this._timepickerActions=s,this.isValid=new n.n,this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype,Object.assign(this,e),this.timepickerSub=i.select(e=>e.value).subscribe(e=>{this._renderTime(e),this.onChange(e),this._store.dispatch(this._timepickerActions.updateControls(U(this)))}),i.select(e=>e.controls).subscribe(e=>{this.isValid.emit(H(this.hours,this.minutes,this.seconds,this.isPM())),Object.assign(this,e),t.markForCheck()})}get isSpinnersVisible(){return this.showSpinners&&!this.readonlyInput}get isEditable(){return!(this.readonlyInput||this.disabled)}resetValidation(){this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1}isPM(){return this.showMeridian&&this.meridian===this.meridians[1]}prevDef(e){e.preventDefault()}wheelSign(e){return-1*Math.sign(e.deltaY)}ngOnChanges(e){this._store.dispatch(this._timepickerActions.updateControls(U(this)))}changeHours(e,t=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeHours({step:e,source:t}))}changeMinutes(e,t=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeMinutes({step:e,source:t}))}changeSeconds(e,t=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeSeconds({step:e,source:t}))}updateHours(e){if(this.resetValidation(),this.hours=e,!P(this.hours,this.isPM())||!this.isValidLimit())return this.invalidHours=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateMinutes(e){if(this.resetValidation(),this.minutes=e,!B(this.minutes)||!this.isValidLimit())return this.invalidMinutes=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateSeconds(e){if(this.resetValidation(),this.seconds=e,!Y(this.seconds)||!this.isValidLimit())return this.invalidSeconds=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}isValidLimit(){return function(e,t,i){const n=A(new Date,e);return!(t&&n>t||i&&n<i)}({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()},this.max,this.min)}_updateTime(){if(!H(this.hours,this.showMinutes?this.minutes:void 0,this.showSeconds?this.seconds:void 0,this.isPM()))return this.isValid.emit(!1),void this.onChange(null);this._store.dispatch(this._timepickerActions.setTime({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()}))}toggleMeridian(){this.showMeridian&&this.isEditable&&this._store.dispatch(this._timepickerActions.changeHours({step:12,source:""}))}writeValue(e){E(e)?this._store.dispatch(this._timepickerActions.writeValue(j(e))):null==e&&this._store.dispatch(this._timepickerActions.writeValue(null))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._cd.markForCheck()}ngOnDestroy(){this.timepickerSub.unsubscribe()}_renderTime(e){if(!E(e))return this.hours="",this.minutes="",this.seconds="",void(this.meridian=this.meridians[0]);const t=j(e);let i=t.getHours();this.showMeridian&&(this.meridian=this.meridians[i>=12?1:0],i%=12,0===i&&(i=12)),this.hours=R(i),this.minutes=R(t.getMinutes()),this.seconds=R(t.getUTCSeconds())}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(W),n.Vb(n.h),n.Vb(G),n.Vb(D))},e.\u0275cmp=n.Pb({type:e,selectors:[["timepicker"]],inputs:{disabled:"disabled",hourStep:"hourStep",minuteStep:"minuteStep",secondsStep:"secondsStep",readonlyInput:"readonlyInput",mousewheel:"mousewheel",arrowkeys:"arrowkeys",showSpinners:"showSpinners",showMeridian:"showMeridian",showMinutes:"showMinutes",showSeconds:"showSeconds",meridians:"meridians",min:"min",max:"max",hoursPlaceholder:"hoursPlaceholder",minutesPlaceholder:"minutesPlaceholder",secondsPlaceholder:"secondsPlaceholder"},outputs:{isValid:"isValid"},features:[n.Gb([q,G]),n.Fb()],decls:31,vars:33,consts:[[1,"text-center",3,"hidden"],[1,"btn","btn-link",3,"click"],[1,"bs-chevron","bs-chevron-up"],[4,"ngIf"],[1,"form-group"],["type","text","maxlength","2",1,"form-control","text-center","bs-timepicker-field",3,"placeholder","readonly","disabled","value","wheel","keydown.ArrowUp","keydown.ArrowDown","change"],["class","form-group",3,"has-error",4,"ngIf"],[1,"bs-chevron","bs-chevron-down"],["type","button",1,"btn","btn-default","text-center",3,"disabled","click"]],template:function(e,t){1&e&&(n.bc(0,"table"),n.bc(1,"tbody"),n.bc(2,"tr",0),n.bc(3,"td"),n.bc(4,"a",1),n.jc("click",(function(e){return t.changeHours(t.hourStep)})),n.Wb(5,"span",2),n.ac(),n.ac(),n.Wc(6,c,2,0,"td",3),n.Wc(7,l,3,2,"td",3),n.Wc(8,u,2,0,"td",3),n.Wc(9,h,3,2,"td",3),n.Wc(10,d,2,0,"td",3),n.Wc(11,f,1,0,"td",3),n.ac(),n.bc(12,"tr"),n.bc(13,"td",4),n.bc(14,"input",5),n.jc("wheel",(function(e){return t.prevDef(e),t.changeHours(t.hourStep*t.wheelSign(e),"wheel")}))("keydown.ArrowUp",(function(e){return t.changeHours(t.hourStep,"key")}))("keydown.ArrowDown",(function(e){return t.changeHours(0-t.hourStep,"key")}))("change",(function(e){return t.updateHours(e.target.value)})),n.ac(),n.ac(),n.Wc(15,p,2,0,"td",3),n.Wc(16,m,2,9,"td",6),n.Wc(17,g,2,0,"td",3),n.Wc(18,_,2,9,"td",6),n.Wc(19,b,2,0,"td",3),n.Wc(20,y,3,4,"td",3),n.ac(),n.bc(21,"tr",0),n.bc(22,"td"),n.bc(23,"a",1),n.jc("click",(function(e){return t.changeHours(0-t.hourStep)})),n.Wb(24,"span",7),n.ac(),n.ac(),n.Wc(25,v,2,0,"td",3),n.Wc(26,F,3,2,"td",3),n.Wc(27,k,2,0,"td",3),n.Wc(28,w,3,2,"td",3),n.Wc(29,S,2,0,"td",3),n.Wc(30,T,1,0,"td",3),n.ac(),n.ac(),n.ac()),2&e&&(n.Hb(2),n.wc("hidden",!t.showSpinners),n.Hb(2),n.Mb("disabled",!t.canIncrementHours||!t.isEditable),n.Hb(2),n.wc("ngIf",t.showMinutes),n.Hb(1),n.wc("ngIf",t.showMinutes),n.Hb(1),n.wc("ngIf",t.showSeconds),n.Hb(1),n.wc("ngIf",t.showSeconds),n.Hb(1),n.wc("ngIf",t.showMeridian),n.Hb(1),n.wc("ngIf",t.showMeridian),n.Hb(2),n.Mb("has-error",t.invalidHours),n.Hb(1),n.Mb("is-invalid",t.invalidHours),n.wc("placeholder",t.hoursPlaceholder)("readonly",t.readonlyInput)("disabled",t.disabled)("value",t.hours),n.Ib("aria-label",t.labelHours),n.Hb(1),n.wc("ngIf",t.showMinutes),n.Hb(1),n.wc("ngIf",t.showMinutes),n.Hb(1),n.wc("ngIf",t.showSeconds),n.Hb(1),n.wc("ngIf",t.showSeconds),n.Hb(1),n.wc("ngIf",t.showMeridian),n.Hb(1),n.wc("ngIf",t.showMeridian),n.Hb(1),n.wc("hidden",!t.showSpinners),n.Hb(2),n.Mb("disabled",!t.canDecrementHours||!t.isEditable),n.Hb(2),n.wc("ngIf",t.showMinutes),n.Hb(1),n.wc("ngIf",t.showMinutes),n.Hb(1),n.wc("ngIf",t.showSeconds),n.Hb(1),n.wc("ngIf",t.showSeconds),n.Hb(1),n.wc("ngIf",t.showMeridian),n.Hb(1),n.wc("ngIf",t.showMeridian))},directives:[a.q],styles:["\n    .bs-chevron {\n      border-style: solid;\n      display: block;\n      width: 9px;\n      height: 9px;\n      position: relative;\n      border-width: 3px 0px 0 3px;\n    }\n\n    .bs-chevron-up {\n      -webkit-transform: rotate(45deg);\n      transform: rotate(45deg);\n      top: 2px;\n    }\n\n    .bs-chevron-down {\n      -webkit-transform: rotate(-135deg);\n      transform: rotate(-135deg);\n      top: -2px;\n    }\n\n    .bs-timepicker-field {\n      width: 50px;\n      padding: .375rem .55rem;\n    }\n  "],encapsulation:2,changeDetection:0}),e})(),J=(()=>{class e{static forRoot(){return{ngModule:e,providers:[D,G]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},imports:[[a.c]]}),e})()},keVj:function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i("r4Kj"),s=i("JPLv"),r=i("fXoL"),o=i("tyNb"),a=i("IKD2");let c=(()=>{class e{constructor(e,t,i,n){this.router=e,this.localeService=t,this.configJson=i,this.cfg=n}canActivate(){var e,t;return!this.configJson.config.DisableLanding||(this.router.navigate(["/"+this.localeService.language+"/sports-betting"],{queryParams:{hours:null===(t=null===(e=this.cfg)||void 0===e?void 0:e.configTerminal)||void 0===t?void 0:t.DefaultSportTimeFilter}}),!1)}}return e.\u0275fac=function(t){return new(t||e)(r.fc(o.e),r.fc(a.s),r.fc(n.a),r.fc(s.a))},e.\u0275prov=r.Rb({token:e,factory:e.\u0275fac}),e})()},kwlx:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=function(e){function t(t){e.call(this),this.errors=t;var i=Error.call(this,t?t.length+" errors occurred during unsubscription:\n  "+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"");this.name=i.name="UnsubscriptionError",this.stack=i.stack,this.message=i.message}return n(t,e),t}(Error);t.UnsubscriptionError=s},l5ep:function(e,t,i){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(i("wd/R"))},l7GE:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");class s extends n.a{notifyNext(e,t,i,n,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(e,t){return function(i){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new r(e,t))}}class r{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends n.a{constructor(e,t,i){super(e),this.project=t,this.count=0,this.thisArg=i||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}},lUod:function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m})),i.d(t,"c",(function(){return h})),i.d(t,"d",(function(){return f})),i.d(t,"e",(function(){return a})),i.d(t,"f",(function(){return o})),i.d(t,"g",(function(){return l})),i.d(t,"h",(function(){return c})),i.d(t,"i",(function(){return b})),i.d(t,"j",(function(){return u}));var n=i("fXoL");class s{constructor(e,t){this.open=e,this.close=t||e}isManual(){return"manual"===this.open||"manual"===this.close}}const r={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function o(e,t=r){const i=(e||"").trim();if(0===i.length)return[];const n=i.split(/\s+/).map(e=>e.split(":")).map(e=>{const i=t[e[0]]||e;return new s(i[0],i[1])}),o=n.filter(e=>e.isManual());if(o.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===o.length&&n.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return n}function a(e,t){const i=o(t.triggers),n=t.target;if(1===i.length&&i[0].isManual())return Function.prototype;const s=[],r=[],a=()=>{r.forEach(e=>s.push(e())),r.length=0};return i.forEach(i=>{const o=i.open===i.close,c=o?t.toggle:t.show;o||r.push(()=>e.listen(n,i.close,t.hide)),s.push(e.listen(n,i.open,()=>c(a)))}),()=>{s.forEach(e=>e())}}function c(e,t){return t.outsideClick?e.listen("document","click",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype}function l(e,t){return t.outsideEsc?e.listen("document","keyup.esc",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype}const u="undefined"!=typeof window&&window||{},h=u.document;let d;function f(){return void 0===u||(void 0===u.__theme?d?"bs3"===d:(d=function(){if("undefined"==typeof document)return null;const e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");const t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}(),"bs3"===d):"bs4"!==u.__theme)}function p(e){return function(e,t){const i=` __${t}Value`;Object.defineProperty(e,t,{get(){return this[i]},set(e){const n=this[i];this[i]=e,n!==e&&this[t+"Change"]&&this[t+"Change"].emit(e)}})}}class m{static reflow(e){}static getStyles(e){let t=e.ownerDocument.defaultView;return t&&t.opener||(t=u),t.getComputedStyle(e)}}const g={},_="undefined"==typeof console||!("warn"in console);function b(e){!Object(n.X)()||_||e in g||(g[e]=!0,console.warn(e))}},lW6c:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return u}));var n=i("mrSG"),s=i("9/Zf"),r=i("8LbN"),o=i("KjyA"),a=function(){function e(e,t,i){void 0===t&&(t=new o.a),void 0===i&&(i=3),this._version=i,this._stack=[],this._stack.push({client:e,scope:t})}return e.prototype._invokeClient=function(e){for(var t,i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];var r=this.getStackTop();r&&r.client&&r.client[e]&&(t=r.client)[e].apply(t,n.g(i,[r.scope]))},e.prototype.isOlderThan=function(e){return this._version<e},e.prototype.bindClient=function(e){this.getStackTop().client=e},e.prototype.pushScope=function(){var e=this.getStack(),t=o.a.clone(e.length>0?e[e.length-1].scope:void 0);return this.getStack().push({client:this.getClient(),scope:t}),t},e.prototype.popScope=function(){return void 0!==this.getStack().pop()},e.prototype.withScope=function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}},e.prototype.getClient=function(){return this.getStackTop().client},e.prototype.getScope=function(){return this.getStackTop().scope},e.prototype.getStack=function(){return this._stack},e.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},e.prototype.captureException=function(e,t){var i=this._lastEventId=Object(s.n)(),r=t;if(!t){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(e){o=e}r={originalException:e,syntheticException:o}}return this._invokeClient("captureException",e,n.a({},r,{event_id:i})),i},e.prototype.captureMessage=function(e,t,i){var r=this._lastEventId=Object(s.n)(),o=i;if(!i){var a=void 0;try{throw new Error(e)}catch(c){a=c}o={originalException:e,syntheticException:a}}return this._invokeClient("captureMessage",e,t,n.a({},o,{event_id:r})),r},e.prototype.captureEvent=function(e,t){var i=this._lastEventId=Object(s.n)();return this._invokeClient("captureEvent",e,n.a({},t,{event_id:i})),i},e.prototype.lastEventId=function(){return this._lastEventId},e.prototype.addBreadcrumb=function(e,t){var i=this.getStackTop();if(i.scope&&i.client){var r=i.client.getOptions&&i.client.getOptions()||{},o=r.beforeBreadcrumb,a=void 0===o?null:o,c=r.maxBreadcrumbs,l=void 0===c?100:c;if(!(l<=0)){var u=Object(s.m)(),h=n.a({timestamp:u},e),d=a?Object(s.c)((function(){return a(h,t)})):h;null!==d&&i.scope.addBreadcrumb(d,Math.min(l,100))}}},e.prototype.setUser=function(e){var t=this.getStackTop();t.scope&&t.scope.setUser(e)},e.prototype.setTags=function(e){var t=this.getStackTop();t.scope&&t.scope.setTags(e)},e.prototype.setExtras=function(e){var t=this.getStackTop();t.scope&&t.scope.setExtras(e)},e.prototype.setTag=function(e,t){var i=this.getStackTop();i.scope&&i.scope.setTag(e,t)},e.prototype.setExtra=function(e,t){var i=this.getStackTop();i.scope&&i.scope.setExtra(e,t)},e.prototype.setContext=function(e,t){var i=this.getStackTop();i.scope&&i.scope.setContext(e,t)},e.prototype.configureScope=function(e){var t=this.getStackTop();t.scope&&t.client&&e(t.scope)},e.prototype.run=function(e){var t=l(this);try{e(this)}finally{l(t)}},e.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(i){return r.a.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},e.prototype.startSpan=function(e,t){return void 0===t&&(t=!1),this._callExtensionMethod("startSpan",e,t)},e.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},e.prototype._callExtensionMethod=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var n=c(),s=n.__SENTRY__;if(s&&s.extensions&&"function"==typeof s.extensions[e])return s.extensions[e].apply(this,t);r.a.warn("Extension method "+e+" couldn't be found, doing nothing.")},e}();function c(){var e=Object(s.g)();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function l(e){var t=c(),i=d(t);return f(t,e),i}function u(){var t=c();return h(t)&&!d(t).isOlderThan(3)||f(t,new a),Object(s.j)()?function(t){try{var i=Object(s.d)(e,"domain").active;if(!i)return d(t);if(!h(i)||d(i).isOlderThan(3)){var n=d(t).getStackTop();f(i,new a(n.client,o.a.clone(n.scope)))}return d(i)}catch(r){return d(t)}}(t):d(t)}function h(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function d(e){return e&&e.__SENTRY__&&e.__SENTRY__.hub?e.__SENTRY__.hub:(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=new a,e.__SENTRY__.hub)}function f(e,t){return!!e&&(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=t,!0)}}).call(this,i("3UD+")(e))},lXzo:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,s;return"m"===i?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+e,s={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var i=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(i("wd/R"))},lYtQ:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){switch(i){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,i){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(i("wd/R"))},lf2g:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("Irel"),r=i("9jZZ");t.mergeMap=function(e,t,i){return void 0===i&&(i=Number.POSITIVE_INFINITY),function(n){return"number"==typeof t&&(i=t,t=null),n.lift(new o(e,t,i))}};var o=function(){function e(e,t,i){void 0===i&&(i=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=i}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.resultSelector,this.concurrent))},e}();t.MergeMapOperator=o;var a=function(e){function t(t,i,n,s){void 0===s&&(s=Number.POSITIVE_INFINITY),e.call(this,t),this.project=i,this.resultSelector=n,this.concurrent=s,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return n(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(t,e,i)},t.prototype._innerSub=function(e,t,i){this.add(s.subscribeToResult(this,e,t,i))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,s){this.resultSelector?this._notifyResultSelector(e,t,i,n):this.destination.next(t)},t.prototype._notifyResultSelector=function(e,t,i,n){var s;try{s=this.resultSelector(e,t,i,n)}catch(r){return void this.destination.error(r)}this.destination.next(s)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(r.OuterSubscriber);t.MergeMapSubscriber=a},lgnt:function(e,t,i){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wd/R"))},lyxo:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i("wd/R"))},"m+NU":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("/WK6"),r=i("AZf1"),o=i("+2+e");t.IteratorObservable=function(e){function t(t,i){if(e.call(this),this.scheduler=i,null==t)throw new Error("iterator cannot be null.");this.iterator=function(e){var t=e[o.iterator];if(!t&&"string"==typeof e)return new a(e);if(!t&&void 0!==e.length)return new c(e);if(!t)throw new TypeError("object is not iterable");return e[o.iterator]()}(t)}return n(t,e),t.create=function(e,i){return new t(e,i)},t.dispatch=function(e){var t=e.index,i=e.iterator,n=e.subscriber;if(e.hasError)n.error(e.error);else{var s=i.next();s.done?n.complete():(n.next(s.value),e.index=t+1,n.closed?"function"==typeof i.return&&i.return():this.schedule(e))}},t.prototype._subscribe=function(e){var i=this.iterator,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{index:0,iterator:i,subscriber:e});for(;;){var s=i.next();if(s.done){e.complete();break}if(e.next(s.value),e.closed){"function"==typeof i.return&&i.return();break}}},t}(r.Observable);var a=function(){function e(e,t,i){void 0===t&&(t=0),void 0===i&&(i=e.length),this.str=e,this.idx=t,this.len=i}return e.prototype[o.iterator]=function(){return this},e.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},e}(),c=function(){function e(e,t,i){void 0===t&&(t=0),void 0===i&&(i=function(e){var t,i=+e.length;return isNaN(i)?0:0!==i&&"number"==typeof(t=i)&&s.root.isFinite(t)?(i=function(e){var t=+e;return 0===t?t:isNaN(t)?t:t<0?-1:1}(i)*Math.floor(Math.abs(i)))<=0?0:i>l?l:i:i}(e)),this.arr=e,this.idx=t,this.len=i}return e.prototype[o.iterator]=function(){return this},e.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},e}(),l=Math.pow(2,53)-1},m4GZ:function(e,t){function i(e){this.message=e}(i.prototype=new Error).name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new i("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,s,r=0,o=0,a="";s=t.charAt(o++);~s&&(n=r%4?64*n+s:s,r++%4)?a+=String.fromCharCode(255&n>>(-2*r&6)):0)s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(s);return a}},mCNh:function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r}));var n=i("KqfI");function s(...e){return r(e)}function r(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:n.a}},mD6R:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("fXoL"),s=i("IKD2");let r=(()=>{class e{constructor(e){this.locale=e}transform(e,t){if(e){let t=(+new Date(e)-+new Date)/1e3,i=Math.sign(t),n="";-1===i&&(t=Math.floor(t*i),n="AGO");const s={YEAR:31536e3,MONTH:2592e3,WEEK:604800,DAY:86400,HOUR:3600,MINUTE:60,SECOND:1},r=["YEAR","MONTH","WEEK","DAY","HOUR","MINUTE","SECOND"];let o;for(let e of r){o=Math.floor(t/s[e]);let i="";if(o>0){i+=this.calculateTime(o,e);let a=t-o*s[e],c=r.indexOf(e)+1;return e=r[c],c>6?`${i}${n}`:(o=Math.floor(a/s[e]),`${i} ${this.calculateTime(o,e)} ${this.locale.translate(n)}`)}}}return e}calculateTime(e,t){return e?`${e} ${this.locale.translate(`${t}${e>1?"S":""}`)}`:""}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(s.s))},e.\u0275pipe=n.Ub({name:"timeDiff",type:e,pure:!0}),e})()},mO1z:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.dematerialize=function(){return function(e){return e.lift(new r)}};var r=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new o(e))},e}(),o=function(e){function t(t){e.call(this,t)}return n(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(s.Subscriber)},mbIT:function(e,t,i){"use strict";t.isArray=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},mbfZ:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("q6IF"),s=i("fXoL"),r=i("tyNb");let o=(()=>{class e{constructor(e,t){this.permissionService=e,this.router=t}canActivate(e){return!!this.permissionService.hasRoles(e.data.checker.Roles)||(this.router.navigate([""]),!1)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.b),s.fc(r.e))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})()},mdQD:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("zKHA"),r=i("AJP0"),o=i("9jZZ"),a=i("Irel");t.audit=function(e){return function(t){return t.lift(new c(e))}};var c=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.durationSelector))},e}(),l=function(e){function t(t,i){e.call(this,t),this.durationSelector=i,this.hasValue=!1}return n(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=s.tryCatch(this.durationSelector)(e);if(t===r.errorObject)this.destination.error(r.errorObject.e);else{var i=a.subscribeToResult(this,t);i.closed?this.clearThrottle():this.add(this.throttled=i)}}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,i=this.throttled;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,i,n){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(o.OuterSubscriber)},mrSG:function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"a",(function(){return r})),i.d(t,"c",(function(){return o})),i.d(t,"e",(function(){return a})),i.d(t,"b",(function(){return c})),i.d(t,"h",(function(){return l})),i.d(t,"f",(function(){return u})),i.d(t,"g",(function(){return h}));var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function s(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var r=function(){return(r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var s in t=arguments[i])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function o(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,i,n){return new(i||(i=Promise))((function(s,r){function o(e){try{c(n.next(e))}catch(t){r(t)}}function a(e){try{c(n.throw(e))}catch(t){r(t)}}function c(e){e.done?s(e.value):new i((function(t){t(e.value)})).then(o,a)}c((n=n.apply(e,t||[])).next())}))}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],i=0;return t?t.call(e):{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}}}function u(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,s,r=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(s)throw s.error}}return o}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}},n3uD:function(e,t,i){"use strict";var n=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},n6bG:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,"a",(function(){return n}))},n8Qg:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.scan=function(e,t){var i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new r(e,t,i))}};var r=function(){function e(e,t,i){void 0===i&&(i=!1),this.accumulator=e,this.seed=t,this.hasSeed=i}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.accumulator,this.seed,this.hasSeed))},e}(),o=function(e){function t(t,i,n,s){e.call(this,t),this.accumulator=i,this._seed=n,this.hasSeed=s,this.index=0}return n(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,i=this.index++;try{t=this.accumulator(this.seed,e,i)}catch(n){this.destination.error(n)}this.seed=t,this.destination.next(t)},t}(s.Subscriber)},nQov:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel"),o=i("eBTF");t.distinct=function(e,t){return function(i){return i.lift(new a(e,t))}};var a=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.keySelector,this.flushes))},e}(),c=function(e){function t(t,i,n){e.call(this,t),this.keySelector=i,this.values=new o.Set,n&&this.add(r.subscribeToResult(this,n))}return n(t,e),t.prototype.notifyNext=function(e,t,i,n,s){this.values.clear()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,i=this.destination;try{t=this.keySelector(e)}catch(n){return void i.error(n)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var i=this.values;i.has(e)||(i.add(e),this.destination.next(t))},t}(s.OuterSubscriber);t.DistinctSubscriber=c},nYR2:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i("7o/Q"),s=i("quSY");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends n.a{constructor(e,t){super(e),this.add(new s.a(t))}}},ngJS:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));const n=e=>t=>{for(let i=0,n=e.length;i<n&&!t.closed;i++)t.next(e[i]);t.complete()}},nkkL:function(e,t,i){"use strict";var n=i("/WK6").root.Symbol;t.rxSubscriber="function"==typeof n&&"function"==typeof n.for?n.for("rxSubscriber"):"@@rxSubscriber",t.$$rxSubscriber=t.rxSubscriber},nyYc:function(e,t,i){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i("wd/R"))},o1bE:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(i("wd/R"))},o6MN:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.defaultThrottleConfig={leading:!0,trailing:!1},t.throttle=function(e,i){return void 0===i&&(i=t.defaultThrottleConfig),function(t){return t.lift(new o(e,i.leading,i.trailing))}};var o=function(){function e(e,t,i){this.durationSelector=e,this.leading=t,this.trailing=i}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.durationSelector,this.leading,this.trailing))},e}(),a=function(e){function t(t,i,n,s){e.call(this,t),this.destination=t,this.durationSelector=i,this._leading=n,this._trailing=s,this._hasTrailingValue=!1}return n(t,e),t.prototype._next=function(e){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=e);else{var t=this.tryDurationSelector(e);t&&this.add(this.throttled=r.subscribeToResult(this,t)),this._leading&&(this.destination.next(e),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=e))}},t.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(t){return this.destination.error(t),null}},t.prototype._unsubscribe=function(){var e=this.throttled;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},t.prototype._sendTrailing=function(){var e=this;e.throttled&&e._trailing&&e._hasTrailingValue&&(e.destination.next(e._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1)},t.prototype.notifyNext=function(e,t,i,n,s){this._sendTrailing(),this._unsubscribe()},t.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},t}(s.OuterSubscriber)},oB13:function(e,t,i){"use strict";var n=i("XNiG"),s=i("HDdC"),r=(i("7o/Q"),i("quSY")),o=i("x+ZX");class a extends s.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 r.a,e.add(this.source.subscribe(new l(this.getSubject(),this))),e.closed&&(this._connection=null,e=r.a.EMPTY)),e}refCount(){return Object(o.a)()(this)}}const c=(()=>{const e=a.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 l extends n.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 u(e,t){return function(i){let n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return i.lift(new h(n,t));const s=Object.create(i,c);return s.source=i,s.subjectFactory=n,s}}i.d(t,"a",(function(){return u}));class h{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:i}=this,n=this.subjectFactory(),s=i(n).subscribe(e);return s.add(t.subscribe(n)),s}}},oGc9:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("9x29");t.materialize=function(){return function(e){return e.lift(new o)}};var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){e.call(this,t)}return n(t,e),t.prototype._next=function(e){this.destination.next(r.Notification.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(r.Notification.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(r.Notification.createComplete()),e.complete()},t}(s.Subscriber)},oQYR:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("rVFa"),r=i("G2HO"),o=i("1uGz"),a=i("9jZZ"),c=i("Irel"),l=i("+2+e");function u(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var i=e[e.length-1];return"function"==typeof i&&e.pop(),new s.ArrayObservable(e).lift(new h(i))}t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return function(t){return t.lift.call(u.apply(void 0,[t].concat(e)))}},t.zipStatic=u;var h=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}();t.ZipOperator=h;var d=function(e){function t(t,i,n){void 0===n&&(n=Object.create(null)),e.call(this,t),this.iterators=[],this.active=0,this.project="function"==typeof i?i:null,this.values=n}return n(t,e),t.prototype._next=function(e){var t=this.iterators;r.isArray(e)?t.push(new p(e)):t.push("function"==typeof e[l.iterator]?new f(e[l.iterator]()):new m(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(0!==t){this.active=t;for(var i=0;i<t;i++){var n=e[i];n.stillUnsubscribed?this.add(n.subscribe(n,i)):this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,i=this.destination,n=0;n<t;n++)if("function"==typeof(o=e[n]).hasValue&&!o.hasValue())return;var s=!1,r=[];for(n=0;n<t;n++){var o,a=(o=e[n]).next();if(o.hasCompleted()&&(s=!0),a.done)return void i.complete();r.push(a.value)}this.project?this._tryProject(r):i.next(r),s&&i.complete()},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(i){return void this.destination.error(i)}this.destination.next(t)},t}(o.Subscriber);t.ZipSubscriber=d;var f=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},e}(),p=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[l.iterator]=function(){return this},e.prototype.next=function(e){var t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),m=function(e){function t(t,i,n){e.call(this,t),this.parent=i,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return n(t,e),t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,s){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return c.subscribeToResult(this,this.observable,this,t)},t}(a.OuterSubscriber)},ofXK:function(e,t,i){"use strict";i.d(t,"a",(function(){return v})),i.d(t,"b",(function(){return Oe})),i.d(t,"c",(function(){return Pe})),i.d(t,"d",(function(){return c})),i.d(t,"e",(function(){return je})),i.d(t,"f",(function(){return Ne})),i.d(t,"g",(function(){return C})),i.d(t,"h",(function(){return x})),i.d(t,"i",(function(){return k})),i.d(t,"j",(function(){return Ie})),i.d(t,"k",(function(){return h})),i.d(t,"l",(function(){return w})),i.d(t,"m",(function(){return b})),i.d(t,"n",(function(){return xe})),i.d(t,"o",(function(){return fe})),i.d(t,"p",(function(){return me})),i.d(t,"q",(function(){return _e})),i.d(t,"r",(function(){return we})),i.d(t,"s",(function(){return Fe})),i.d(t,"t",(function(){return ke})),i.d(t,"u",(function(){return Se})),i.d(t,"v",(function(){return F})),i.d(t,"w",(function(){return l})),i.d(t,"x",(function(){return Re})),i.d(t,"y",(function(){return O})),i.d(t,"z",(function(){return Le})),i.d(t,"A",(function(){return Ve})),i.d(t,"B",(function(){return Z})),i.d(t,"C",(function(){return W})),i.d(t,"D",(function(){return N})),i.d(t,"E",(function(){return j})),i.d(t,"F",(function(){return A})),i.d(t,"G",(function(){return I})),i.d(t,"H",(function(){return Ye})),i.d(t,"I",(function(){return He})),i.d(t,"J",(function(){return he})),i.d(t,"K",(function(){return a})),i.d(t,"L",(function(){return Be})),i.d(t,"M",(function(){return r})),i.d(t,"N",(function(){return de})),i.d(t,"O",(function(){return o}));var n=i("fXoL");let s=null;function r(){return s}function o(e){s||(s=e)}class a{}const c=new n.q("DocumentToken");let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(n.fc)(d)}const h=new n.q("Location Initialized");let d=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=r().getLocation(),this._history=r().getHistory()}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(e){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){r().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,i){f()?this._history.pushState(e,t,i):this.location.hash=i}replaceState(e,t,i){f()?this._history.replaceState(e,t,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(n.fc(c))},e.\u0275prov=Object(n.Rb)({factory:p,token:e,providedIn:"platform"}),e})();function f(){return!!window.history.pushState}function p(){return new d(Object(n.fc)(c))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let i=0;return e.endsWith("/")&&i++,t.startsWith("/")&&i++,2==i?e+t.substring(1):1==i?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),i=t&&t.index||e.length;return e.slice(0,i-("/"===e[i-1]?1:0))+e.slice(i)}function _(e){return e&&"?"!==e[0]?"?"+e:e}let b=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(n.Rb)({factory:y,token:e,providedIn:"root"}),e})();function y(e){const t=Object(n.fc)(c).location;return new F(Object(n.fc)(l),t&&t.origin||"")}const v=new n.q("appBaseHref");let F=(()=>{class e extends b{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.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+_(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,n){const s=this.prepareExternalUrl(i+_(n));this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,n){const s=this.prepareExternalUrl(i+_(n));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(l),n.fc(v,8))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),k=(()=>{class e extends b{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=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,n){let s=this.prepareExternalUrl(i+_(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,n){let s=this.prepareExternalUrl(i+_(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(n.fc(l),n.fc(v,8))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),w=(()=>{class e{constructor(e,t){this._subject=new n.n,this._urlChangeListeners=[],this._platformStrategy=e;const i=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(T(i)),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+_(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,T(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._platformStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),i)}replaceState(e,t="",i=null){this._platformStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t,complete:i})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(b),n.fc(l))},e.normalizeQueryParams=_,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=Object(n.Rb)({factory:S,token:e,providedIn:"root"}),e})();function S(){return new w(Object(n.fc)(b),Object(n.fc)(l))}function T(e){return e.replace(/\/index.html$/,"")}const D={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]},E=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),M=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),C=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),O=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),x=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),L=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function j(e,t,i){const s=Object(n.qb)(e),r=V([s[n.cb.DaysFormat],s[n.cb.DaysStandalone]],t);return V(r,i)}function I(e,t,i){const s=Object(n.qb)(e),r=V([s[n.cb.MonthsFormat],s[n.cb.MonthsStandalone]],t);return V(r,i)}function A(e){return Object(n.qb)(e)[n.cb.FirstDayOfWeek]}function N(e,t){return V(Object(n.qb)(e)[n.cb.DateFormat],t)}function R(e,t){return V(Object(n.qb)(e)[n.cb.TimeFormat],t)}function P(e,t){return V(Object(n.qb)(e)[n.cb.DateTimeFormat],t)}function B(e,t){const i=Object(n.qb)(e),s=i[n.cb.NumberSymbols][t];if(void 0===s){if(t===L.CurrencyDecimal)return i[n.cb.NumberSymbols][L.Decimal];if(t===L.CurrencyGroup)return i[n.cb.NumberSymbols][L.Group]}return s}const Y=n.tb;function H(e){if(!e[n.cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[n.cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function V(e,t){for(let i=t;i>-1;i--)if(void 0!==e[i])return e[i];throw new Error("Locale data API: locale data undefined")}function U(e){const[t,i]=e.split(":");return{hours:+t,minutes:+i}}function W(e,t,i="en"){const s=function(e){return Object(n.qb)(e)[n.cb.Currencies]}(i)[e]||D[e]||[],r=s[1];return"narrow"===t&&"string"==typeof r?r:s[0]||e}const z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$={},G=/((?:[^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]*)/,q=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),K=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),J=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function Z(e,t,i,s){let r=function(e){if(oe(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,i,n]=e.split("-").map(e=>+e);return new Date(t,i-1,n)}let i;if(i=e.match(z))return function(e){const t=new Date(0);let i=0,n=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=Number(e[9]+e[10]),n=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-i,a=Number(e[5]||0)-n,c=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return r.call(t,o,a,c,l),t}(i)}const t=new Date(e);if(!oe(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,i){const s=function(e){return Object(n.qb)(e)[n.cb.LocaleId]}(t);if($[s]=$[s]||{},$[s][i])return $[s][i];let r="";switch(i){case"shortDate":r=N(t,x.Short);break;case"mediumDate":r=N(t,x.Medium);break;case"longDate":r=N(t,x.Long);break;case"fullDate":r=N(t,x.Full);break;case"shortTime":r=R(t,x.Short);break;case"mediumTime":r=R(t,x.Medium);break;case"longTime":r=R(t,x.Long);break;case"fullTime":r=R(t,x.Full);break;case"short":const i=e(t,"shortTime"),n=e(t,"shortDate");r=X(P(t,x.Short),[i,n]);break;case"medium":const s=e(t,"mediumTime"),o=e(t,"mediumDate");r=X(P(t,x.Medium),[s,o]);break;case"long":const a=e(t,"longTime"),c=e(t,"longDate");r=X(P(t,x.Long),[a,c]);break;case"full":const l=e(t,"fullTime"),u=e(t,"fullDate");r=X(P(t,x.Full),[l,u])}return r&&($[s][i]=r),r}(i,t)||t;let o,a=[];for(;t;){if(o=G.exec(t),!o){a.push(t);break}{a=a.concat(o.slice(1));const e=a.pop();if(!e)break;t=e}}let c=r.getTimezoneOffset();s&&(c=re(s,c),r=function(e,t,i){const n=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(re(t,n)-n))}(r,s));let l="";return a.forEach(e=>{const t=function(e){if(se[e])return se[e];let t;switch(e){case"G":case"GG":case"GGG":t=te(J.Eras,O.Abbreviated);break;case"GGGG":t=te(J.Eras,O.Wide);break;case"GGGGG":t=te(J.Eras,O.Narrow);break;case"y":t=ee(K.FullYear,1,0,!1,!0);break;case"yy":t=ee(K.FullYear,2,0,!0,!0);break;case"yyy":t=ee(K.FullYear,3,0,!1,!0);break;case"yyyy":t=ee(K.FullYear,4,0,!1,!0);break;case"M":case"L":t=ee(K.Month,1,1);break;case"MM":case"LL":t=ee(K.Month,2,1);break;case"MMM":t=te(J.Months,O.Abbreviated);break;case"MMMM":t=te(J.Months,O.Wide);break;case"MMMMM":t=te(J.Months,O.Narrow);break;case"LLL":t=te(J.Months,O.Abbreviated,C.Standalone);break;case"LLLL":t=te(J.Months,O.Wide,C.Standalone);break;case"LLLLL":t=te(J.Months,O.Narrow,C.Standalone);break;case"w":t=ne(1);break;case"ww":t=ne(2);break;case"W":t=ne(1,!0);break;case"d":t=ee(K.Date,1);break;case"dd":t=ee(K.Date,2);break;case"E":case"EE":case"EEE":t=te(J.Days,O.Abbreviated);break;case"EEEE":t=te(J.Days,O.Wide);break;case"EEEEE":t=te(J.Days,O.Narrow);break;case"EEEEEE":t=te(J.Days,O.Short);break;case"a":case"aa":case"aaa":t=te(J.DayPeriods,O.Abbreviated);break;case"aaaa":t=te(J.DayPeriods,O.Wide);break;case"aaaaa":t=te(J.DayPeriods,O.Narrow);break;case"b":case"bb":case"bbb":t=te(J.DayPeriods,O.Abbreviated,C.Standalone,!0);break;case"bbbb":t=te(J.DayPeriods,O.Wide,C.Standalone,!0);break;case"bbbbb":t=te(J.DayPeriods,O.Narrow,C.Standalone,!0);break;case"B":case"BB":case"BBB":t=te(J.DayPeriods,O.Abbreviated,C.Format,!0);break;case"BBBB":t=te(J.DayPeriods,O.Wide,C.Format,!0);break;case"BBBBB":t=te(J.DayPeriods,O.Narrow,C.Format,!0);break;case"h":t=ee(K.Hours,1,-12);break;case"hh":t=ee(K.Hours,2,-12);break;case"H":t=ee(K.Hours,1);break;case"HH":t=ee(K.Hours,2);break;case"m":t=ee(K.Minutes,1);break;case"mm":t=ee(K.Minutes,2);break;case"s":t=ee(K.Seconds,1);break;case"ss":t=ee(K.Seconds,2);break;case"S":t=ee(K.FractionalSeconds,1);break;case"SS":t=ee(K.FractionalSeconds,2);break;case"SSS":t=ee(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ie(q.Short);break;case"ZZZZZ":t=ie(q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ie(q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ie(q.Long);break;default:return null}return se[e]=t,t}(e);l+=t?t(r,i,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function X(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,i){return null!=t&&i in t?t[i]:e}))),e}function Q(e,t,i="-",n,s){let r="";(e<0||s&&e<=0)&&(s?e=1-e:(e=-e,r=i));let o=String(e);for(;o.length<t;)o="0"+o;return n&&(o=o.substr(o.length-t)),r+o}function ee(e,t,i=0,n=!1,s=!1){return function(r,o){let a=function(e,t){switch(e){case K.FullYear:return t.getFullYear();case K.Month:return t.getMonth();case K.Date:return t.getDate();case K.Hours:return t.getHours();case K.Minutes:return t.getMinutes();case K.Seconds:return t.getSeconds();case K.FractionalSeconds:return t.getMilliseconds();case K.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,r);if((i>0||a>-i)&&(a+=i),e===K.Hours)0===a&&-12===i&&(a=12);else if(e===K.FractionalSeconds)return c=t,Q(a,3).substr(0,c);var c;const l=B(o,L.MinusSign);return Q(a,t,l,n,s)}}function te(e,t,i=C.Format,s=!1){return function(r,o){return function(e,t,i,s,r,o){switch(i){case J.Months:return I(t,r,s)[e.getMonth()];case J.Days:return j(t,r,s)[e.getDay()];case J.DayPeriods:const a=e.getHours(),c=e.getMinutes();if(o){const e=function(e){const t=Object(n.qb)(e);return H(t),(t[n.cb.ExtraData][2]||[]).map(e=>"string"==typeof e?U(e):[U(e[0]),U(e[1])])}(t),i=function(e,t,i){const s=Object(n.qb)(e);H(s);const r=V([s[n.cb.ExtraData][0],s[n.cb.ExtraData][1]],t)||[];return V(r,i)||[]}(t,r,s);let o;if(e.forEach((e,t)=>{if(Array.isArray(e)){const{hours:n,minutes:s}=e[0],{hours:r,minutes:l}=e[1];a>=n&&c>=s&&(a<r||a===r&&c<l)&&(o=i[t])}else{const{hours:n,minutes:s}=e;n===a&&s===c&&(o=i[t])}}),o)return o}return function(e,t,i){const s=Object(n.qb)(e),r=V([s[n.cb.DayPeriodsFormat],s[n.cb.DayPeriodsStandalone]],t);return V(r,i)}(t,r,s)[a<12?0:1];case J.Eras:return function(e,t){return V(Object(n.qb)(e)[n.cb.Eras],t)}(t,s)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${i}`)}}(r,o,e,t,i,s)}}function ie(e){return function(t,i,n){const s=-1*n,r=B(i,L.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(e){case q.Short:return(s>=0?"+":"")+Q(o,2,r)+Q(Math.abs(s%60),2,r);case q.ShortGMT:return"GMT"+(s>=0?"+":"")+Q(o,1,r);case q.Long:return"GMT"+(s>=0?"+":"")+Q(o,2,r)+":"+Q(Math.abs(s%60),2,r);case q.Extended:return 0===n?"Z":(s>=0?"+":"")+Q(o,2,r)+":"+Q(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}function ne(e,t=!1){return function(i,n){let s;if(t){const e=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,t=i.getDate();s=1+Math.floor((t+e)/7)}else{const e=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(i.getFullYear()),t=(r=i,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))).getTime()-e.getTime();s=1+Math.round(t/6048e5)}var r;return Q(s,e,B(n,L.MinusSign))}}const se={};function re(e,t){e=e.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(i)?t:i}function oe(e){return e instanceof Date&&!isNaN(e.valueOf())}const ae=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ce(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class le{}let ue=(()=>{class e extends le{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(Y(t||this.locale)(e)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(n.fc(n.v))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();function he(e,t,i){return Object(n.Ab)(e,t,i)}function de(e,t){t=encodeURIComponent(t);for(const i of e.split(";")){const e=i.indexOf("="),[n,s]=-1==e?[i,""]:[i.slice(0,e),i.slice(e+1)];if(n.trim()===t)return decodeURIComponent(s)}return null}let fe=(()=>{class e{constructor(e,t,i,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=i,this._renderer=n,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(n.wb)(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(n.Cb)(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=>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)(n.Vb(n.t),n.Vb(n.u),n.Vb(n.l),n.Vb(n.F))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class pe{constructor(e,t,i,n){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=n}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 me=(()=>{class e{constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(n.X)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#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 i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${i}' of type '${e=i,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,i,n)=>{if(null==e.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new pe(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new ge(e,i);t.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const r=new ge(e,s);t.push(r)}});for(let i=0;i<t.length;i++)this._perViewChange(t[i].view,t[i].record);for(let i=0,n=this._viewContainer.length;i<n;i++){const e=this._viewContainer.get(i);e.context.index=i,e.context.count=n,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)(n.Vb(n.P),n.Vb(n.M),n.Vb(n.t))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class ge{constructor(e,t){this.record=e,this.view=t}}let _e=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new be,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){ye("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ye("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._thenViewRef=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)(n.Vb(n.P),n.Vb(n.M))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class be{constructor(){this.$implicit=null,this.ngIf=null}}function ye(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(n.Cb)(t)}'.`)}class ve{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 Fe=(()=>{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=n.Qb({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),ke=(()=>{class e{constructor(e,t,i){this.ngSwitch=i,i._addCase(),this._view=new ve(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.P),n.Vb(n.M),n.Vb(Fe,1))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),we=(()=>{class e{constructor(e,t,i){this._ngEl=e,this._differs=t,this._renderer=i,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[i,n]=e.split(".");null!=(t=null!=t&&n?`${t}${n}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_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)(n.Vb(n.l),n.Vb(n.u),n.Vb(n.F))},e.\u0275dir=n.Qb({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||{}),i=Object.keys(e.currentValue||{});if(t.length===i.length){for(let e of i)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)(n.Vb(n.P))},e.\u0275dir=n.Qb({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.Fb()]}),e})();function Te(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(n.Cb)(e)}'`)}class De{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Ee{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Me=new Ee,Ce=new De;let Oe=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=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)):Object(n.zb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,n.R.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,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(n.yb)(t))return Me;if(Object(n.xb)(t))return Ce;throw Te(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=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)(n.hc())},e.\u0275pipe=n.Ub({name:"async",type:e,pure:!1}),e})(),xe=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw Te(e,t);return t.toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"lowercase",type:e,pure:!0}),e})(),Le=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw Te(e,t);return t.toUpperCase()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"uppercase",type:e,pure:!0}),e})(),je=(()=>{class e{constructor(e){this.locale=e}transform(t,i="mediumDate",n,s){if(null==t||""===t||t!=t)return null;try{return Z(t,i,s||this.locale,n)}catch(r){throw Te(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.v))},e.\u0275pipe=n.Ub({name:"date",type:e,pure:!0}),e})(),Ie=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=Ae){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const i=this.differ.diff(e);return i&&(this.keyValues=[],i.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.u))},e.\u0275pipe=n.Ub({name:"keyvalue",type:e,pure:!1}),e})();function Ae(e,t){const i=e.key,n=t.key;if(i===n)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(null===i)return 1;if(null===n)return-1;if("string"==typeof i&&"string"==typeof n)return i<n?-1:1;if("number"==typeof i&&"number"==typeof n)return i-n;if("boolean"==typeof i&&"boolean"==typeof n)return i<n?-1:1;const s=String(i),r=String(n);return s==r?0:s<r?-1:1}let Ne=(()=>{class e{constructor(e){this._locale=e}transform(t,i,s){if(function(e){return null==e||""===e||e!=e}(t))return null;s=s||this._locale;try{return function(e,t,i){return function(e,t,i,n,s,r,o=!1){let a="",c=!1;if(isFinite(e)){let l=function(e){let t,i,n,s,r,o=Math.abs(e)+"",a=0;for((i=o.indexOf("."))>-1&&(o=o.replace(".","")),(n=o.search(/e/i))>0?(i<0&&(i=n),i+=+o.slice(n+1),o=o.substring(0,n)):i<0&&(i=o.length),n=0;"0"===o.charAt(n);n++);if(n===(r=o.length))t=[0],i=1;else{for(r--;"0"===o.charAt(r);)r--;for(i-=n,t=[],s=0;n<=r;n++,s++)t[s]=Number(o.charAt(n))}return i>22&&(t=t.splice(0,21),a=i-1,i=1),{digits:t,exponent:a,integerLen:i}}(e);o&&(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,h=t.minFrac,d=t.maxFrac;if(r){const e=r.match(ae);if(null===e)throw new Error(`${r} is not a valid digit info`);const t=e[1],i=e[3],n=e[5];null!=t&&(u=ce(t)),null!=i&&(h=ce(i)),null!=n?d=ce(n):null!=i&&h>d&&(d=h)}!function(e,t,i){if(t>i)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${i}).`);let n=e.digits,s=n.length-e.integerLen;const r=Math.min(Math.max(t,s),i);let o=r+e.integerLen,a=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let e=o;e<n.length;e++)n[e]=0}else{s=Math.max(0,s),e.integerLen=1,n.length=Math.max(1,o=r+1),n[0]=0;for(let e=1;e<o;e++)n[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;s<Math.max(0,r);s++)n.push(0);let c=0!==r;const l=t+e.integerLen,u=n.reduceRight((function(e,t,i,n){return n[i]=(t+=e)<10?t:t-10,c&&(0===n[i]&&i>=l?n.pop():c=!1),t>=10?1:0}),0);u&&(n.unshift(u),e.integerLen++)}(l,h,d);let f=l.digits,p=l.integerLen;const m=l.exponent;let g=[];for(c=f.every(e=>!e);p<u;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?g=f.splice(p,f.length):(g=f,f=[0]);const _=[];for(f.length>=t.lgSize&&_.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)_.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(B(i,n)),g.length&&(a+=B(i,s)+g.join("")),m&&(a+=B(i,L.Exponential)+"+"+m)}else a=B(i,L.Infinity);return a=e<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,function(e,t="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(";"),s=n[0],r=n[1],o=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],a=o[0],c=o[1]||"";i.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<c.length;u++){const e=c.charAt(u);"0"===e?i.minFrac=i.maxFrac=u+1:"#"===e?i.maxFrac=u+1:i.posSuf+=e}const l=a.split(",");if(i.gSize=l[1]?l[1].length:0,i.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,r){const e=s.length-i.posPre.length-i.posSuf.length,t=r.indexOf("#");i.negPre=r.substr(0,t).replace(/'/g,""),i.negSuf=r.substr(t+e).replace(/'/g,"")}else i.negPre=t+i.posPre,i.negSuf=i.posSuf;return i}(function(e,t){return Object(n.qb)(e)[n.cb.NumberFormats][t]}(t,E.Decimal),B(t,L.MinusSign)),t,L.Group,L.Decimal,i)}(function(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}(t),s,i)}catch(r){throw Te(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.v))},e.\u0275pipe=n.Ub({name:"number",type:e,pure:!0}),e})(),Re=(()=>{class e{transform(t,i,n){if(null==t)return t;if(!this.supports(t))throw Te(e,t);return t.slice(i,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"slice",type:e,pure:!1}),e})(),Pe=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[{provide:le,useClass:ue}]}),e})();const Be="browser";function Ye(e){return e===Be}function He(e){return"server"===e}let Ve=(()=>{class e{}return e.\u0275prov=Object(n.Rb)({token:e,providedIn:"root",factory:()=>new Ue(Object(n.fc)(c),window,Object(n.fc)(n.m))}),e})();class Ue{constructor(e,t,i){this.document=e,this.window=t,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector(`#${e}`);if(t)return void this.scrollToElement(t);const i=this.document.querySelector(`[name='${e}']`);if(i)return void this.scrollToElement(i)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},ozli:function(e,t,i){"use strict";var n=i("zfKp");t.subscribeToObservable=function(e){return function(t){var i=e[n.observable]();if("function"!=typeof i.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return i.subscribe(t)}}},"p//D":function(e,t,i){"use strict";t.rxSubscriber=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),t.$$rxSubscriber=t.rxSubscriber},"p/rL":function(e,t,i){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i("wd/R"))},pLZG:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(e,t){return function(i){return i.lift(new r(e,t))}}class r{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends n.a{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}},pYXR:function(e,t,i){"use strict";t.isObject=function(e){return null!=e&&"object"==typeof e}},"pk/4":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.refCount=function(){return function(e){return e.lift(new r(e))}};var r=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var i=this.connectable;i._refCount++;var n=new o(e,i),s=t.subscribe(n);return n.closed||(n.connection=i.connect()),s},e}(),o=function(e){function t(t,i){e.call(this,t),this.connectable=i}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var i=this.connection,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}else this.connection=null},t}(s.Subscriber)},poJ0:function(e,t,i){"use strict";var n=i("VKeD");t.subscribeToIterable=function(e){return function(t){for(var i=e[n.iterator]();;){var s=i.next();if(s.done){t.complete();break}if(t.next(s.value),t.closed)break}return"function"==typeof i.return&&t.add((function(){i.return&&i.return()})),t}}},pshJ:function(e,t,i){"use strict";t.isFunction=function(e){return"function"==typeof e}},pxUr:function(e,t,i){"use strict";function n(e,t,i,n){return new(i||(i=Promise))((function(s,r){function o(e){try{c(n.next(e))}catch(t){r(t)}}function a(e){try{c(n.throw(e))}catch(t){r(t)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,a)}c((n=n.apply(e,t||[])).next())}))}var s=i("fXoL"),r=i("HDdC"),o=i("2Vo4"),a=i("Cfvw"),c=i("PqYM"),l=i("jtHE");i("XNiG"),i("quSY");var u=i("lJxs");i("8Qeq"),i("DH7j"),i("z+Ro"),i("LRne"),i("z6cu");var h=i("04ZW"),d=i("VRyK"),f=i("5+tZ"),p=i("l7GE"),m=i("ZUHj");class g{constructor(e){this.notifier=e}call(e,t){const i=new _(e),n=t.subscribe(i);return n.add(Object(m.a)(i,this.notifier)),n}}class _ extends p.a{constructor(){super(...arguments),this.hasValue=!1}_next(e){this.value=e,this.hasValue=!0}notifyNext(e,t,i,n,s){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}var b=i("eIep");i("oB13");var y=i("JX91"),v=i("7o/Q");class F{constructor(e){this.total=e}call(e,t){return t.subscribe(new k(e,this.total))}}class k extends v.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}i("/uUt"),i("1G5W");var w=i("ofXK");i.d(t,"a",(function(){return Z})),i.d(t,"b",(function(){return $})),i.d(t,"c",(function(){return q})),i.d(t,"d",(function(){return J}));const S=["*"];let T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{constructor(e,t){this._loader=e,this._zone=t,this._map=new Promise(e=>{this._mapResolver=e})}createMap(e,t){return this._zone.runOutsideAngular(()=>this._loader.load().then(()=>{const i=new google.maps.Map(e,t);this._mapResolver(i)}))}setMapOptions(e){return this._zone.runOutsideAngular(()=>{this._map.then(t=>{t.setOptions(e)})})}createMarker(e={},t=!0){return this._zone.runOutsideAngular(()=>this._map.then(i=>(t&&(e.map=i),new google.maps.Marker(e))))}createInfoWindow(e){return this._zone.runOutsideAngular(()=>this._map.then(()=>new google.maps.InfoWindow(e)))}createCircle(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>(e.map=t,new google.maps.Circle(e))))}createRectangle(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>(e.map=t,new google.maps.Rectangle(e))))}createPolyline(e){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(t=>{const i=new google.maps.Polyline(e);return i.setMap(t),i}))}createPolygon(e){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(t=>{const i=new google.maps.Polygon(e);return i.setMap(t),i}))}createDataLayer(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>{const i=new google.maps.Data(e);return i.setMap(t),i}))}createTransitLayer(){return this._zone.runOutsideAngular(()=>this._map.then(e=>{const t=new google.maps.TransitLayer;return t.setMap(e),t}))}createBicyclingLayer(){return this._zone.runOutsideAngular(()=>this._map.then(e=>{const t=new google.maps.BicyclingLayer;return t.setMap(e),t}))}containsLocation(e,t){return this._map.then(()=>google.maps.geometry.poly.containsLocation(e,t))}subscribeToMapEvent(e){return new r.a(t=>{this._map.then(i=>i.addListener(e,()=>this._zone.run(()=>t.next(arguments[0]))))})}clearInstanceListeners(){return this._zone.runOutsideAngular(()=>{this._map.then(e=>{google.maps.event.clearInstanceListeners(e)})})}setCenter(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.setCenter(e)))}getZoom(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getZoom()))}getBounds(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getBounds()))}getMapTypeId(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getMapTypeId()))}setZoom(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.setZoom(e)))}getCenter(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getCenter()))}panTo(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.panTo(e)))}panBy(e,t){return this._zone.runOutsideAngular(()=>this._map.then(i=>i.panBy(e,t)))}fitBounds(e,t){return this._zone.runOutsideAngular(()=>this._map.then(i=>i.fitBounds(e,t)))}panToBounds(e,t){return this._zone.runOutsideAngular(()=>this._map.then(i=>i.panToBounds(e,t)))}getNativeMap(){return this._map}triggerMapEvent(e){return this._map.then(t=>google.maps.event.trigger(t,e))}}return e.\u0275fac=function(t){return new(t||e)(s.fc(T),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),E=(()=>{class e{constructor(e,t){this._apiWrapper=e,this._zone=t,this._circles=new Map}addCircle(e){this._apiWrapper.getNativeMap().then(()=>this._circles.set(e,this._apiWrapper.createCircle({center:{lat:e.latitude,lng:e.longitude},clickable:e.clickable,draggable:e.draggable,editable:e.editable,fillColor:e.fillColor,fillOpacity:e.fillOpacity,radius:e.radius,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokePosition:google.maps.StrokePosition[e.strokePosition],strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex})))}removeCircle(e){return this._circles.get(e).then(t=>{t.setMap(null),this._circles.delete(e)})}setOptions(e,t){return n(this,void 0,void 0,(function*(){return this._circles.get(e).then(e=>{t.strokePosition=google.maps.StrokePosition[t.strokePosition],e.setOptions(t)})}))}getBounds(e){return this._circles.get(e).then(e=>e.getBounds())}getCenter(e){return this._circles.get(e).then(e=>e.getCenter())}getRadius(e){return this._circles.get(e).then(e=>e.getRadius())}setCenter(e){return this._circles.get(e).then(t=>t.setCenter({lat:e.latitude,lng:e.longitude}))}setEditable(e){return this._circles.get(e).then(t=>t.setEditable(e.editable))}setDraggable(e){return this._circles.get(e).then(t=>t.setDraggable(e.draggable))}setVisible(e){return this._circles.get(e).then(t=>t.setVisible(e.visible))}setRadius(e){return this._circles.get(e).then(t=>t.setRadius(e.radius))}getNativeCircle(e){return this._circles.get(e)}createEventObservable(e,t){return new r.a(i=>{let n=null;return this._circles.get(t).then(t=>{n=t.addListener(e,e=>this._zone.run(()=>i.next(e)))}),()=>{null!==n&&n.remove()}})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),M=(()=>{class e{constructor(e,t){this._wrapper=e,this._zone=t,this._layers=new Map}addDataLayer(e){const t=this._wrapper.createDataLayer({style:e.style}).then(t=>(e.geoJson&&this.getDataFeatures(t,e.geoJson).then(e=>t.features=e),t));this._layers.set(e,t)}deleteDataLayer(e){this._layers.get(e).then(t=>{t.setMap(null),this._layers.delete(e)})}updateGeoJson(e,t){this._layers.get(e).then(e=>{e.forEach(t=>{e.remove(t);const i=e.features.indexOf(t,0);i>-1&&e.features.splice(i,1)}),this.getDataFeatures(e,t).then(t=>e.features=t)})}setDataOptions(e,t){this._layers.get(e).then(e=>{e.setControlPosition(t.controlPosition),e.setControls(t.controls),e.setDrawingMode(t.drawingMode),e.setStyle(t.style)})}createEventObservable(e,t){return new r.a(i=>{this._layers.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>i.next(e)))})})}getDataFeatures(e,t){return new Promise((i,n)=>{if("object"==typeof t)try{i(e.addGeoJson(t))}catch(s){n(s)}else"string"==typeof t?e.loadGeoJson(t,null,i):n("Impossible to extract features from geoJson: wrong argument type")})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class C{}let O=(()=>{class e{constructor(e){var t;this._boundsChangeSampleTime$=new o.a(200),this._includeInBounds$=new o.a(new Map),this.bounds$=Object(a.a)(e.load()).pipe(Object(f.a)(()=>this._includeInBounds$),(t=this._boundsChangeSampleTime$.pipe(Object(b.a)(e=>Object(c.a)(0,e))),e=>e.lift(new g(t))),Object(u.a)(e=>this._generateBounds(e)),function(e,t,i){let n;return n={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:i,scheduler:n}){let s,r,o=0,a=!1,c=!1;return function(u){o++,s&&!a||(a=!1,s=new l.a(e,t,n),r=u.subscribe({next(e){s.next(e)},error(e){a=!0,s.error(e)},complete(){c=!0,r=void 0,s.complete()}}));const h=s.subscribe(this);this.add(()=>{o--,h.unsubscribe(),r&&!c&&i&&0===o&&(r.unsubscribe(),r=void 0,s=void 0)})}}(n))}())}_generateBounds(e){const t=new google.maps.LatLngBounds;return e.forEach(e=>t.extend(e)),t}addToBounds(e){const t=this._createIdentifier(e);if(this._includeInBounds$.value.has(t))return;const i=this._includeInBounds$.value;i.set(t,e),this._includeInBounds$.next(i)}removeFromBounds(e){const t=this._includeInBounds$.value;t.delete(this._createIdentifier(e)),this._includeInBounds$.next(t)}changeFitBoundsChangeSampleTime(e){this._boundsChangeSampleTime$.next(e)}getBounds$(){return this.bounds$}_createIdentifier(e){return`${e.lat}+${e.lng}`}}return e.\u0275fac=function(t){return new(t||e)(s.fc(T))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class x{getNativeWindow(){return window}}class L{getNativeDocument(){return document}}const j=[x,L];var I=function(e){return e[e.HTTP=1]="HTTP",e[e.HTTPS=2]="HTTPS",e[e.AUTO=3]="AUTO",e}({});const A=new s.q("angular-google-maps LAZY_MAPS_API_CONFIG");let N=(()=>{class e extends T{constructor(e=null,t,i,n){super(),this.localeId=n,this._SCRIPT_ID="agmGoogleMapsApiScript",this.callbackName="agmLazyMapsAPILoader",this._config=e||{},this._windowRef=t,this._documentRef=i}load(){const e=this._windowRef.getNativeWindow();if(e.google&&e.google.maps)return Promise.resolve();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;const t=this._documentRef.getNativeDocument().getElementById(this._SCRIPT_ID);if(t)return this._assignScriptLoadingPromise(t),this._scriptLoadingPromise;const i=this._documentRef.getNativeDocument().createElement("script");return i.type="text/javascript",i.async=!0,i.defer=!0,i.id=this._SCRIPT_ID,i.src=this._getScriptSrc(this.callbackName),this._assignScriptLoadingPromise(i),this._documentRef.getNativeDocument().body.appendChild(i),this._scriptLoadingPromise}_assignScriptLoadingPromise(e){this._scriptLoadingPromise=new Promise((t,i)=>{this._windowRef.getNativeWindow()[this.callbackName]=()=>{t()},e.onerror=e=>{i(e)}})}_getScriptSrc(e){let t;switch(this._config&&this._config.protocol||I.HTTPS){case I.AUTO:t="";break;case I.HTTP:t="http:";break;case I.HTTPS:t="https:"}const i={v:this._config.apiVersion||"quarterly",callback:e,key:this._config.apiKey,client:this._config.clientId,channel:this._config.channel,libraries:this._config.libraries,region:this._config.region,language:this._config.language||("en-US"!==this.localeId?this.localeId:null)};return`${t}//${this._config.hostAndPath||"maps.googleapis.com/maps/api/js"}?${Object.keys(i).filter(e=>null!=i[e]).filter(e=>!Array.isArray(i[e])||Array.isArray(i[e])&&i[e].length>0).map(e=>{const t=i[e];return Array.isArray(t)?{key:e,value:t.join(",")}:{key:e,value:i[e]}}).map(e=>`${e.key}=${e.value}`).join("&")}`}}return e.\u0275fac=function(t){return new(t||e)(s.fc(A,8),s.fc(x),s.fc(L),s.fc(s.v))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),R=(()=>{class e{constructor(e,t){this._mapsWrapper=e,this._zone=t,this._markers=new Map}convertAnimation(e){return n(this,void 0,void 0,(function*(){return null===e?null:this._mapsWrapper.getNativeMap().then(()=>google.maps.Animation[e])}))}deleteMarker(e){const t=this._markers.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setMap(null),this._markers.delete(e)}))}updateMarkerPosition(e){return this._markers.get(e).then(t=>t.setPosition({lat:e.latitude,lng:e.longitude}))}updateTitle(e){return this._markers.get(e).then(t=>t.setTitle(e.title))}updateLabel(e){return this._markers.get(e).then(t=>{t.setLabel(e.label)})}updateDraggable(e){return this._markers.get(e).then(t=>t.setDraggable(e.draggable))}updateIcon(e){return this._markers.get(e).then(t=>t.setIcon(e.iconUrl))}updateOpacity(e){return this._markers.get(e).then(t=>t.setOpacity(e.opacity))}updateVisible(e){return this._markers.get(e).then(t=>t.setVisible(e.visible))}updateZIndex(e){return this._markers.get(e).then(t=>t.setZIndex(e.zIndex))}updateClickable(e){return this._markers.get(e).then(t=>t.setClickable(e.clickable))}updateAnimation(e){return n(this,void 0,void 0,(function*(){(yield this._markers.get(e)).setAnimation(yield this.convertAnimation(e.animation))}))}addMarker(e){const t=new Promise(t=>n(this,void 0,void 0,(function*(){return this._mapsWrapper.createMarker({position:{lat:e.latitude,lng:e.longitude},label:e.label,draggable:e.draggable,icon:e.iconUrl,opacity:e.opacity,visible:e.visible,zIndex:e.zIndex,title:e.title,clickable:e.clickable,animation:yield this.convertAnimation(e.animation)}).then(t)})));this._markers.set(e,t)}getNativeMarker(e){return this._markers.get(e)}createEventObservable(e,t){return new r.a(i=>{this._markers.get(t).then(t=>t.addListener(e,e=>this._zone.run(()=>i.next(e))))})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),P=(()=>{class e{constructor(e,t,i){this._mapsWrapper=e,this._zone=t,this._markerManager=i,this._infoWindows=new Map}deleteInfoWindow(e){const t=this._infoWindows.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.close(),this._infoWindows.delete(e)}))}setPosition(e){return this._infoWindows.get(e).then(t=>t.setPosition({lat:e.latitude,lng:e.longitude}))}setZIndex(e){return this._infoWindows.get(e).then(t=>t.setZIndex(e.zIndex))}open(e){return this._infoWindows.get(e).then(t=>null!=e.hostMarker?this._markerManager.getNativeMarker(e.hostMarker).then(e=>this._mapsWrapper.getNativeMap().then(i=>t.open(i,e))):this._mapsWrapper.getNativeMap().then(e=>t.open(e)))}close(e){return this._infoWindows.get(e).then(e=>e.close())}setOptions(e,t){return this._infoWindows.get(e).then(e=>e.setOptions(t))}addInfoWindow(e){const t={content:e.content,maxWidth:e.maxWidth,zIndex:e.zIndex,disableAutoPan:e.disableAutoPan};"number"==typeof e.latitude&&"number"==typeof e.longitude&&(t.position={lat:e.latitude,lng:e.longitude});const i=this._mapsWrapper.createInfoWindow(t);this._infoWindows.set(e,i)}createEventObservable(e,t){return new r.a(i=>{this._infoWindows.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>i.next(e)))})})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A),s.fc(R))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),B=(()=>{class e{constructor(e,t){this._wrapper=e,this._zone=t,this._layers=new Map}addKmlLayer(e){const t=this._wrapper.getNativeMap().then(t=>new google.maps.KmlLayer({clickable:e.clickable,map:t,preserveViewport:e.preserveViewport,screenOverlays:e.screenOverlays,suppressInfoWindows:e.suppressInfoWindows,url:e.url,zIndex:e.zIndex}));this._layers.set(e,t)}setOptions(e,t){this._layers.get(e).then(e=>e.setOptions(t))}deleteKmlLayer(e){this._layers.get(e).then(t=>{t.setMap(null),this._layers.delete(e)})}createEventObservable(e,t){return new r.a(i=>{this._layers.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>i.next(e)))})})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),Y=(()=>{class e{constructor(e){this._wrapper=e,this._layers=new Map}addTransitLayer(e){const t=this._wrapper.createTransitLayer();this._layers.set(e,t)}addBicyclingLayer(e){const t=this._wrapper.createBicyclingLayer();this._layers.set(e,t)}deleteLayer(e){return this._layers.get(e).then(t=>{t.setMap(null),this._layers.delete(e)})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();function H(e){const t=["insert_at","remove_at","set_at"];return Object(h.a)(i=>t.map(t=>e.addListener(t,(n,s)=>i.apply(e,[{newArr:e.getArray(),eventName:t,index:n,previous:s}]))),(e,t)=>t.forEach(e=>e.remove()))}let V=(()=>{class e{constructor(e,t){this._mapsWrapper=e,this._zone=t,this._polygons=new Map}addPolygon(e){const t=this._mapsWrapper.createPolygon({clickable:e.clickable,draggable:e.draggable,editable:e.editable,fillColor:e.fillColor,fillOpacity:e.fillOpacity,geodesic:e.geodesic,paths:e.paths,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex});this._polygons.set(e,t)}updatePolygon(e){const t=this._polygons.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setPaths(e.paths)}))}setPolygonOptions(e,t){return this._polygons.get(e).then(e=>{e.setOptions(t)})}deletePolygon(e){const t=this._polygons.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setMap(null),this._polygons.delete(e)}))}getPath(e){return this._polygons.get(e).then(e=>e.getPath().getArray())}getPaths(e){return this._polygons.get(e).then(e=>e.getPaths().getArray().map(e=>e.getArray()))}createEventObservable(e,t){return new r.a(i=>{this._polygons.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>i.next(e)))})})}createPathEventObservable(e){return n(this,void 0,void 0,(function*(){const t=(yield this._polygons.get(e)).getPaths();return H(t).pipe(Object(y.a)({newArr:t.getArray()}),Object(b.a)(e=>Object(d.a)(...e.newArr.map((t,i)=>H(t).pipe(Object(u.a)(t=>({parentMVEvent:e,chMVCEvent:t,pathIndex:i}))))).pipe(Object(y.a)({parentMVEvent:e,chMVCEvent:null,pathIndex:null}))),e=>e.lift(new F(1)),Object(u.a)(({parentMVEvent:e,chMVCEvent:t,pathIndex:i})=>{let n;return t?(n={newArr:e.newArr.map(e=>e.getArray().map(e=>e.toJSON())),pathIndex:i,eventName:t.eventName,index:t.index},t.previous&&(n.previous=t.previous)):(n={newArr:e.newArr.map(e=>e.getArray().map(e=>e.toJSON())),eventName:e.eventName,index:e.index},e.previous&&(n.previous=e.previous.getArray())),n}))}))}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),U=(()=>{class e{constructor(e,t){this._mapsWrapper=e,this._zone=t,this._polylines=new Map}static _convertPoints(e){return e._getPoints().map(e=>({lat:e.latitude,lng:e.longitude}))}static _convertPath(e){const t=google.maps.SymbolPath[e];return"number"==typeof t?t:e}static _convertIcons(t){const i=t._getIcons().map(t=>({fixedRotation:t.fixedRotation,offset:t.offset,repeat:t.repeat,icon:{anchor:new google.maps.Point(t.anchorX,t.anchorY),fillColor:t.fillColor,fillOpacity:t.fillOpacity,path:e._convertPath(t.path),rotation:t.rotation,scale:t.scale,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight}}));return i.forEach(e=>{Object.entries(e).forEach(([t,i])=>{void 0===i&&delete e[t]}),void 0!==e.icon.anchor.x&&void 0!==e.icon.anchor.y||delete e.icon.anchor}),i}addPolyline(t){const i=this._mapsWrapper.getNativeMap().then(()=>[e._convertPoints(t),e._convertIcons(t)]).then(([e,i])=>this._mapsWrapper.createPolyline({clickable:t.clickable,draggable:t.draggable,editable:t.editable,geodesic:t.geodesic,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight,visible:t.visible,zIndex:t.zIndex,path:e,icons:i}));this._polylines.set(t,i)}updatePolylinePoints(t){const i=e._convertPoints(t),n=this._polylines.get(t);return null==n?Promise.resolve():n.then(e=>this._zone.run(()=>e.setPath(i)))}updateIconSequences(t){return n(this,void 0,void 0,(function*(){yield this._mapsWrapper.getNativeMap();const i=e._convertIcons(t),n=this._polylines.get(t);if(null!=n)return n.then(e=>this._zone.run(()=>e.setOptions({icons:i})))}))}setPolylineOptions(e,t){return this._polylines.get(e).then(e=>{e.setOptions(t)})}deletePolyline(e){const t=this._polylines.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setMap(null),this._polylines.delete(e)}))}getMVCPath(e){return n(this,void 0,void 0,(function*(){return(yield this._polylines.get(e)).getPath()}))}getPath(e){return n(this,void 0,void 0,(function*(){return(yield this.getMVCPath(e)).getArray()}))}createEventObservable(e,t){return new r.a(i=>{this._polylines.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>i.next(e)))})})}createPathEventObservable(e){return n(this,void 0,void 0,(function*(){return H(yield this.getMVCPath(e))}))}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),W=(()=>{class e{constructor(e,t){this._apiWrapper=e,this._zone=t,this._rectangles=new Map}addRectangle(e){this._apiWrapper.getNativeMap().then(()=>this._rectangles.set(e,this._apiWrapper.createRectangle({bounds:{north:e.north,east:e.east,south:e.south,west:e.west},clickable:e.clickable,draggable:e.draggable,editable:e.editable,fillColor:e.fillColor,fillOpacity:e.fillOpacity,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokePosition:google.maps.StrokePosition[e.strokePosition],strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex})))}removeRectangle(e){return this._rectangles.get(e).then(t=>{t.setMap(null),this._rectangles.delete(e)})}setOptions(e,t){return this._rectangles.get(e).then(e=>{t.strokePosition=google.maps.StrokePosition[t.strokePosition],e.setOptions(t)})}getBounds(e){return this._rectangles.get(e).then(e=>e.getBounds())}setBounds(e){return this._rectangles.get(e).then(t=>t.setBounds({north:e.north,east:e.east,south:e.south,west:e.west}))}setEditable(e){return this._rectangles.get(e).then(t=>t.setEditable(e.editable))}setDraggable(e){return this._rectangles.get(e).then(t=>t.setDraggable(e.draggable))}setVisible(e){return this._rectangles.get(e).then(t=>t.setVisible(e.visible))}createEventObservable(e,t){return new r.a(i=>{let n=null;return this._rectangles.get(t).then(t=>{n=t.addListener(e,e=>this._zone.run(()=>i.next(e)))}),()=>{null!==n&&n.remove()}})}}return e.\u0275fac=function(t){return new(t||e)(s.fc(D),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),z=0,$=(()=>{class e{constructor(e,t){this._infoWindowManager=e,this._el=t,this.isOpen=!1,this.infoWindowClose=new s.n,this._infoWindowAddedToManager=!1,this._id=(z++).toString()}ngOnInit(){this.content=this._el.nativeElement.querySelector(".agm-info-window-content"),this._infoWindowManager.addInfoWindow(this),this._infoWindowAddedToManager=!0,this._updateOpenState(),this._registerEventListeners()}ngOnChanges(e){this._infoWindowAddedToManager&&((e.latitude||e.longitude)&&"number"==typeof this.latitude&&"number"==typeof this.longitude&&this._infoWindowManager.setPosition(this),e.zIndex&&this._infoWindowManager.setZIndex(this),e.isOpen&&this._updateOpenState(),this._setInfoWindowOptions(e))}_registerEventListeners(){this._infoWindowManager.createEventObservable("closeclick",this).subscribe(()=>{this.isOpen=!1,this.infoWindowClose.emit()})}_updateOpenState(){this.isOpen?this.open():this.close()}_setInfoWindowOptions(t){const i={};Object.keys(t).filter(t=>-1!==e._infoWindowOptionsInputs.indexOf(t)).forEach(e=>{i[e]=t[e].currentValue}),this._infoWindowManager.setOptions(this,i)}open(){return this._infoWindowManager.open(this)}close(){return this._infoWindowManager.close(this).then(()=>{this.infoWindowClose.emit()})}id(){return this._id}toString(){return"AgmInfoWindow-"+this._id.toString()}ngOnDestroy(){this._infoWindowManager.deleteInfoWindow(this)}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(P),s.Vb(s.l))},e.\u0275cmp=s.Pb({type:e,selectors:[["agm-info-window"]],inputs:{isOpen:"isOpen",latitude:"latitude",longitude:"longitude",disableAutoPan:"disableAutoPan",zIndex:"zIndex",maxWidth:"maxWidth"},outputs:{infoWindowClose:"infoWindowClose"},features:[s.Fb()],ngContentSelectors:S,decls:2,vars:0,consts:[[1,"agm-info-window-content"]],template:function(e,t){1&e&&(s.vc(),s.bc(0,"div",0),s.uc(1),s.ac())},encapsulation:2}),e._infoWindowOptionsInputs=["disableAutoPan","maxWidth"],e})(),G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Qb({type:e,inputs:{position:"position"}}),e})(),q=(()=>{class e{constructor(e,t,i,n,r){this._elem=e,this._mapsWrapper=t,this._platformId=i,this._fitBoundsService=n,this._zone=r,this.longitude=0,this.latitude=0,this.zoom=8,this.draggable=!0,this.disableDoubleClickZoom=!1,this.disableDefaultUI=!1,this.scrollwheel=!0,this.keyboardShortcuts=!0,this.styles=[],this.usePanning=!1,this.fitBounds=!1,this.mapTypeId="ROADMAP",this.clickableIcons=!0,this.showDefaultInfoWindow=!0,this.gestureHandling="auto",this.tilt=0,this._observableSubscriptions=[],this.mapClick=new s.n,this.mapRightClick=new s.n,this.mapDblClick=new s.n,this.centerChange=new s.n,this.boundsChange=new s.n,this.mapTypeIdChange=new s.n,this.idle=new s.n,this.zoomChange=new s.n,this.mapReady=new s.n,this.tilesLoaded=new s.n}ngAfterContentInit(){if(Object(w.I)(this._platformId))return;const e=this._elem.nativeElement.querySelector(".agm-map-container-inner");this._initMapInstance(e)}_initMapInstance(e){this._mapsWrapper.createMap(e,{center:{lat:this.latitude||0,lng:this.longitude||0},zoom:this.zoom,minZoom:this.minZoom,maxZoom:this.maxZoom,controlSize:this.controlSize,disableDefaultUI:this.disableDefaultUI,disableDoubleClickZoom:this.disableDoubleClickZoom,scrollwheel:this.scrollwheel,backgroundColor:this.backgroundColor,draggable:this.draggable,draggableCursor:this.draggableCursor,draggingCursor:this.draggingCursor,keyboardShortcuts:this.keyboardShortcuts,styles:this.styles,mapTypeId:this.mapTypeId.toLocaleLowerCase(),clickableIcons:this.clickableIcons,gestureHandling:this.gestureHandling,tilt:this.tilt,restriction:this.restriction}).then(()=>this._mapsWrapper.getNativeMap()).then(e=>this.mapReady.emit(e)),this._handleMapCenterChange(),this._handleMapZoomChange(),this._handleMapMouseEvents(),this._handleBoundsChange(),this._handleMapTypeIdChange(),this._handleTilesLoadedEvent(),this._handleIdleEvent(),this._handleControlChange()}ngOnDestroy(){this._observableSubscriptions.forEach(e=>e.unsubscribe()),this._mapsWrapper.clearInstanceListeners(),this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe()}ngOnChanges(e){this._updateMapOptionsChanges(e),this._updatePosition(e)}_updateMapOptionsChanges(t){const i={};Object.keys(t).filter(t=>-1!==e._mapOptionsAttributes.indexOf(t)).forEach(e=>{i[e]=t[e].currentValue}),this._mapsWrapper.setMapOptions(i)}triggerResize(e=!0){return new Promise(t=>{setTimeout(()=>this._mapsWrapper.triggerMapEvent("resize").then(()=>{e&&(null!=this.fitBounds?this._fitBounds():this._setCenter()),t()}))})}_updatePosition(e){(null!=e.latitude||null!=e.longitude||e.fitBounds)&&("fitBounds"in e?this._fitBounds():"number"==typeof this.latitude&&"number"==typeof this.longitude&&this._setCenter())}_setCenter(){const e={lat:this.latitude,lng:this.longitude};this.usePanning?this._mapsWrapper.panTo(e):this._mapsWrapper.setCenter(e)}_fitBounds(){switch(this.fitBounds){case!0:this._subscribeToFitBoundsUpdates();break;case!1:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe();break;default:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe(),this._updateBounds(this.fitBounds,this.fitBoundsPadding)}}_subscribeToFitBoundsUpdates(){this._zone.runOutsideAngular(()=>{this._fitBoundsSubscription=this._fitBoundsService.getBounds$().subscribe(e=>{this._zone.run(()=>this._updateBounds(e,this.fitBoundsPadding))})})}_updateBounds(e,t){if(e){if(this._isLatLngBoundsLiteral(e)&&"undefined"!=typeof google&&google&&google.maps&&google.maps.LatLngBounds){const t=new google.maps.LatLngBounds;t.union(e),e=t}this.usePanning?this._mapsWrapper.panToBounds(e,t):this._mapsWrapper.fitBounds(e,t)}}_isLatLngBoundsLiteral(e){return null!=e&&void 0===e.extend}_handleMapCenterChange(){const e=this._mapsWrapper.subscribeToMapEvent("center_changed").subscribe(()=>{this._mapsWrapper.getCenter().then(e=>{this.latitude=e.lat(),this.longitude=e.lng(),this.centerChange.emit({lat:this.latitude,lng:this.longitude})})});this._observableSubscriptions.push(e)}_handleBoundsChange(){const e=this._mapsWrapper.subscribeToMapEvent("bounds_changed").subscribe(()=>{this._mapsWrapper.getBounds().then(e=>{this.boundsChange.emit(e)})});this._observableSubscriptions.push(e)}_handleMapTypeIdChange(){const e=this._mapsWrapper.subscribeToMapEvent("maptypeid_changed").subscribe(()=>{this._mapsWrapper.getMapTypeId().then(e=>{this.mapTypeIdChange.emit(e)})});this._observableSubscriptions.push(e)}_handleMapZoomChange(){const e=this._mapsWrapper.subscribeToMapEvent("zoom_changed").subscribe(()=>{this._mapsWrapper.getZoom().then(e=>{this.zoom=e,this.zoomChange.emit(e)})});this._observableSubscriptions.push(e)}_handleIdleEvent(){const e=this._mapsWrapper.subscribeToMapEvent("idle").subscribe(()=>{this.idle.emit(void 0)});this._observableSubscriptions.push(e)}_handleTilesLoadedEvent(){const e=this._mapsWrapper.subscribeToMapEvent("tilesloaded").subscribe(()=>this.tilesLoaded.emit(void 0));this._observableSubscriptions.push(e)}_handleMapMouseEvents(){[{name:"click",emitter:this.mapClick},{name:"rightclick",emitter:this.mapRightClick},{name:"dblclick",emitter:this.mapDblClick}].forEach(e=>{const t=this._mapsWrapper.subscribeToMapEvent(e.name).subscribe(([t])=>{t.placeId&&!this.showDefaultInfoWindow&&t.stop(),e.emitter.emit(t)});this._observableSubscriptions.push(t)})}_handleControlChange(){this._setControls(),this.mapControls.changes.subscribe(()=>this._setControls())}_setControls(){const e={fullscreenControl:!this.disableDefaultUI,mapTypeControl:!1,panControl:!1,rotateControl:!1,scaleControl:!1,streetViewControl:!this.disableDefaultUI,zoomControl:!this.disableDefaultUI};this._mapsWrapper.getNativeMap().then(()=>{this.mapControls.forEach(t=>Object.assign(e,t.getOptions())),this._mapsWrapper.setMapOptions(e)})}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(s.l),s.Vb(D),s.Vb(s.C),s.Vb(O),s.Vb(s.A))},e.\u0275cmp=s.Pb({type:e,selectors:[["agm-map"]],contentQueries:function(e,t,i){var n;1&e&&s.Nb(i,G,!1),2&e&&s.Ic(n=s.kc())&&(t.mapControls=n)},inputs:{longitude:"longitude",latitude:"latitude",zoom:"zoom",draggable:["mapDraggable","draggable"],disableDoubleClickZoom:"disableDoubleClickZoom",disableDefaultUI:"disableDefaultUI",scrollwheel:"scrollwheel",keyboardShortcuts:"keyboardShortcuts",styles:"styles",usePanning:"usePanning",fitBounds:"fitBounds",mapTypeId:"mapTypeId",clickableIcons:"clickableIcons",showDefaultInfoWindow:"showDefaultInfoWindow",gestureHandling:"gestureHandling",tilt:"tilt",minZoom:"minZoom",maxZoom:"maxZoom",controlSize:"controlSize",backgroundColor:"backgroundColor",draggableCursor:"draggableCursor",draggingCursor:"draggingCursor",fitBoundsPadding:"fitBoundsPadding",restriction:"restriction"},outputs:{mapClick:"mapClick",mapRightClick:"mapRightClick",mapDblClick:"mapDblClick",centerChange:"centerChange",boundsChange:"boundsChange",mapTypeIdChange:"mapTypeIdChange",idle:"idle",zoomChange:"zoomChange",mapReady:"mapReady",tilesLoaded:"tilesLoaded"},features:[s.Gb([E,M,M,O,D,P,B,Y,R,V,U,W]),s.Fb()],ngContentSelectors:S,decls:3,vars:0,consts:[[1,"agm-map-container-inner","sebm-google-map-container-inner"],[1,"agm-map-content"]],template:function(e,t){1&e&&(s.vc(),s.Wb(0,"div",0),s.bc(1,"div",1),s.uc(2),s.ac())},styles:[".agm-map-container-inner[_ngcontent-%COMP%] {\n      width: inherit;\n      height: inherit;\n    }\n    .agm-map-content[_ngcontent-%COMP%] {\n      display:none;\n    }"]}),e._mapOptionsAttributes=["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","styles","zoom","minZoom","maxZoom","mapTypeId","clickableIcons","gestureHandling","tilt","restriction"],e})(),K=0,J=(()=>{class e{constructor(e){this._markerManager=e,this.draggable=!1,this.visible=!0,this.openInfoWindow=!0,this.opacity=1,this.zIndex=1,this.clickable=!0,this.animationChange=new s.n,this.markerClick=new s.n,this.markerDblClick=new s.n,this.markerRightClick=new s.n,this.dragStart=new s.n,this.drag=new s.n,this.dragEnd=new s.n,this.mouseOver=new s.n,this.mouseOut=new s.n,this.infoWindow=new s.E,this._markerAddedToManger=!1,this._observableSubscriptions=[],this._fitBoundsDetails$=new l.a(1),this._id=(K++).toString()}ngAfterContentInit(){this.handleInfoWindowUpdate(),this.infoWindow.changes.subscribe(()=>this.handleInfoWindowUpdate())}handleInfoWindowUpdate(){if(this.infoWindow.length>1)throw new Error("Expected no more than one info window.");this.infoWindow.forEach(e=>{e.hostMarker=this})}ngOnChanges(e){if("string"==typeof this.latitude&&(this.latitude=Number(this.latitude)),"string"==typeof this.longitude&&(this.longitude=Number(this.longitude)),"number"==typeof this.latitude&&"number"==typeof this.longitude){if(!this._markerAddedToManger)return this._markerManager.addMarker(this),this._updateFitBoundsDetails(),this._markerAddedToManger=!0,void this._addEventListeners();(e.latitude||e.longitude)&&(this._markerManager.updateMarkerPosition(this),this._updateFitBoundsDetails()),e.title&&this._markerManager.updateTitle(this),e.label&&this._markerManager.updateLabel(this),e.draggable&&this._markerManager.updateDraggable(this),e.iconUrl&&this._markerManager.updateIcon(this),e.opacity&&this._markerManager.updateOpacity(this),e.visible&&this._markerManager.updateVisible(this),e.zIndex&&this._markerManager.updateZIndex(this),e.clickable&&this._markerManager.updateClickable(this),e.animation&&this._markerManager.updateAnimation(this)}}getFitBoundsDetails$(){return this._fitBoundsDetails$.asObservable()}_updateFitBoundsDetails(){this._fitBoundsDetails$.next({latLng:{lat:this.latitude,lng:this.longitude}})}_addEventListeners(){const e=this._markerManager.createEventObservable("click",this).subscribe(()=>{this.openInfoWindow&&this.infoWindow.forEach(e=>e.open()),this.markerClick.emit(this)});this._observableSubscriptions.push(e);const t=this._markerManager.createEventObservable("dblclick",this).subscribe(()=>{this.markerDblClick.emit(null)});this._observableSubscriptions.push(t);const i=this._markerManager.createEventObservable("rightclick",this).subscribe(()=>{this.markerRightClick.emit(null)});this._observableSubscriptions.push(i);const n=this._markerManager.createEventObservable("dragstart",this).subscribe(e=>this.dragStart.emit(e));this._observableSubscriptions.push(n);const s=this._markerManager.createEventObservable("drag",this).subscribe(e=>this.drag.emit(e));this._observableSubscriptions.push(s);const r=this._markerManager.createEventObservable("dragend",this).subscribe(e=>this.dragEnd.emit(e));this._observableSubscriptions.push(r);const o=this._markerManager.createEventObservable("mouseover",this).subscribe(e=>this.mouseOver.emit(e));this._observableSubscriptions.push(o);const a=this._markerManager.createEventObservable("mouseout",this).subscribe(e=>this.mouseOut.emit(e));this._observableSubscriptions.push(a);const c=this._markerManager.createEventObservable("animation_changed",this).subscribe(()=>{this.animationChange.emit(this.animation)});this._observableSubscriptions.push(c)}id(){return this._id}toString(){return"AgmMarker-"+this._id.toString()}ngOnDestroy(){this._markerManager.deleteMarker(this),this._observableSubscriptions.forEach(e=>e.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(R))},e.\u0275dir=s.Qb({type:e,selectors:[["agm-marker"]],contentQueries:function(e,t,i){var n;1&e&&s.Nb(i,$,!1),2&e&&s.Ic(n=s.kc())&&(t.infoWindow=n)},inputs:{draggable:["markerDraggable","draggable"],visible:"visible",openInfoWindow:"openInfoWindow",opacity:"opacity",zIndex:"zIndex",clickable:["markerClickable","clickable"],latitude:"latitude",longitude:"longitude",title:"title",label:"label",iconUrl:"iconUrl",animation:"animation"},outputs:{animationChange:"animationChange",markerClick:"markerClick",markerDblClick:"markerDblClick",markerRightClick:"markerRightClick",dragStart:"dragStart",drag:"drag",dragEnd:"dragEnd",mouseOver:"mouseOver",mouseOut:"mouseOut"},features:[s.Gb([{provide:C,useExisting:Object(s.V)(()=>e)}]),s.Fb()]}),e})(),Z=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[...j,{provide:T,useClass:N},{provide:A,useValue:t}]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)}}),e})()},pxpQ:function(e,t,i){"use strict";var n=i("7o/Q"),s=i("EY2u"),r=i("LRne"),o=i("z6cu");let a=(()=>{class e{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,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,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(s.b)()}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})();function c(e,t=0){return function(i){return i.lift(new l(e,t))}}i.d(t,"b",(function(){return c})),i.d(t,"a",(function(){return u}));class l{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new u(e,this.scheduler,this.delay))}}class u extends n.a{constructor(e,t,i=0){super(e),this.scheduler=t,this.delay=i}static dispatch(e){const{notification:t,destination:i}=e;t.observe(i),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new h(e,this.destination)))}_next(e){this.scheduleMessage(a.createNext(e))}_error(e){this.scheduleMessage(a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(a.createComplete()),this.unsubscribe()}}class h{constructor(e,t){this.notification=e,this.destination=t}}},q6IF:function(e,t,i){"use strict";var n=i("fXoL"),s=i("EWnR"),r=i("jtHE"),o=i("tS1D"),a=i("IKD2"),c=i("JPLv");let l=(()=>{class e{constructor(e,t){this.configService=e,this.http=t,this.initialized||this.initialize({api:{url:`${this.configService.configClient.SportTournamentApiUrl}`}})}initialize(e){const t=new r.a(1);return this.config=e,this.initialized=!0,t.next(),t.complete(),t.asObservable()}get url(){return this.config.api.url}getTournaments(){return this.http.get(`${this.url}tournaments`).pipe(Object(o.a)(3e4))}getTorunamentPlayers(e){return this.http.get(`${this.url}tournaments/${e}/player`).pipe(Object(o.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(c.a),n.fc(a.o))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),u=(()=>{class e{constructor(e,t){this.configService=e,this.http=t,this.initialized||this.initialize({api:{url:`${this.configService.configClient.TournamentsGamesApiUrl}`}})}get url(){return this.config.api.url}initialize(e){const t=new r.a(1);return this.config=e,this.initialized=!0,t.next(),t.complete(),t.asObservable()}getTournaments(e,t){let i="";return e&&(i+=`tournamentId=${e}`),t&&(i+=`gameType=${t}`),e&&t&&(i=`tournamentId=${e}&gameType=${t}`),this.http.get(`${this.url}api/tournaments?${i}`).pipe(Object(o.a)(3e4))}getTournamentPlayers(e){return this.http.get(`${this.url}api/tournaments/${e}/player`).pipe(Object(o.a)(3e4))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(c.a),n.fc(a.o))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),h=(()=>{class e{transform(e,t){if(e)return e.replace(/ /g,"")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=n.Ub({name:"removeSpaces",type:e,pure:!0}),e})();i.d(t,"b",(function(){return s.a})),i.d(t,"d",(function(){return l})),i.d(t,"a",(function(){return u})),i.d(t,"c",(function(){return h}))},q9sB:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("y2i3");t.finalize=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.callback))},e}(),a=function(e){function t(t,i){e.call(this,t),this.add(new r.Subscription(i))}return n(t,e),t}(s.Subscriber)},qN2p:function(e,t,i){"use strict";var n=i("DKXc");t.findIndex=function(e,t){return function(i){return i.lift(new n.FindValueOperator(e,i,!0,t))}}},qew9:function(e,t,i){"use strict";var n=i("fXoL"),s=i("ofXK"),r=function(){function e(e,t,i){this._el=e,this._ngZone=t,this.platformId=i,this.clickOutsideEnabled=!0,this.attachOutsideOnClick=!1,this.delayClickOutsideInit=!1,this.emitOnBlur=!1,this.exclude="",this.excludeBeforeClick=!1,this.clickOutsideEvents="",this.clickOutside=new n.n,this._nodesExcluded=[],this._events=["click"],this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this)}return e.prototype.ngOnInit=function(){Object(s.H)(this.platformId)&&this._init()},e.prototype.ngOnDestroy=function(){Object(s.H)(this.platformId)&&(this._removeClickOutsideListener(),this._removeAttachOutsideOnClickListener(),this._removeWindowBlurListener())},e.prototype.ngOnChanges=function(e){Object(s.H)(this.platformId)&&(e.attachOutsideOnClick||e.exclude||e.emitOnBlur)&&this._init()},e.prototype._init=function(){""!==this.clickOutsideEvents&&(this._events=this.clickOutsideEvents.split(",").map((function(e){return e.trim()}))),this._excludeCheck(),this.attachOutsideOnClick?this._initAttachOutsideOnClickListener():this._initOnClickBody(),this.emitOnBlur&&this._initWindowBlurListener()},e.prototype._initOnClickBody=function(){this.delayClickOutsideInit?setTimeout(this._initClickOutsideListener.bind(this)):this._initClickOutsideListener()},e.prototype._excludeCheck=function(){if(this.exclude)try{var e=Array.from(document.querySelectorAll(this.exclude));e&&(this._nodesExcluded=e)}catch(t){console.error("[ng-click-outside] Check your exclude selector syntax.",t)}},e.prototype._onClickBody=function(e){this.clickOutsideEnabled&&(this.excludeBeforeClick&&this._excludeCheck(),this._el.nativeElement.contains(e.target)||this._shouldExclude(e.target)||(this._emit(e),this.attachOutsideOnClick&&this._removeClickOutsideListener()))},e.prototype._onWindowBlur=function(e){var t=this;setTimeout((function(){document.hidden||t._emit(e)}))},e.prototype._emit=function(e){var t=this;this.clickOutsideEnabled&&this._ngZone.run((function(){return t.clickOutside.emit(e)}))},e.prototype._shouldExclude=function(e){for(var t=0,i=this._nodesExcluded;t<i.length;t++)if(i[t].contains(e))return!0;return!1},e.prototype._initClickOutsideListener=function(){var e=this;this._ngZone.runOutsideAngular((function(){e._events.forEach((function(t){return document.addEventListener(t,e._onClickBody)}))}))},e.prototype._removeClickOutsideListener=function(){var e=this;this._ngZone.runOutsideAngular((function(){e._events.forEach((function(t){return document.removeEventListener(t,e._onClickBody)}))}))},e.prototype._initAttachOutsideOnClickListener=function(){var e=this;this._ngZone.runOutsideAngular((function(){e._events.forEach((function(t){return e._el.nativeElement.addEventListener(t,e._initOnClickBody)}))}))},e.prototype._removeAttachOutsideOnClickListener=function(){var e=this;this._ngZone.runOutsideAngular((function(){e._events.forEach((function(t){return e._el.nativeElement.removeEventListener(t,e._initOnClickBody)}))}))},e.prototype._initWindowBlurListener=function(){var e=this;this._ngZone.runOutsideAngular((function(){window.addEventListener("blur",e._onWindowBlur)}))},e.prototype._removeWindowBlurListener=function(){var e=this;this._ngZone.runOutsideAngular((function(){window.removeEventListener("blur",e._onWindowBlur)}))},e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.A),n.Vb(n.C))},e.\u0275dir=n.Qb({type:e,selectors:[["","clickOutside",""]],inputs:{clickOutsideEnabled:"clickOutsideEnabled",attachOutsideOnClick:"attachOutsideOnClick",delayClickOutsideInit:"delayClickOutsideInit",emitOnBlur:"emitOnBlur",exclude:"exclude",excludeBeforeClick:"excludeBeforeClick",clickOutsideEvents:"clickOutsideEvents"},outputs:{clickOutside:"clickOutside"},features:[n.Fb()]}),e.\u0275prov=n.Rb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),o=function(){function e(){}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)}}),e}();i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return o}))},qgXg:function(e,t,i){"use strict";var n=i("3N8a");class s extends n.a{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,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(e,t,i):e.flush(this)}}var r=i("IjjT");class o extends r.a{}i.d(t,"a",(function(){return a}));const a=new o(s)},quSY:function(e,t,i){"use strict";var n=i("DH7j"),s=i("XoHu"),r=i("n6bG");const o=(()=>{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})();i.d(t,"a",(function(){return a}));let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:a,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(let e=0;e<i.length;++e)i[e].remove(this);if(Object(r.a)(a))try{a.call(this)}catch(u){t=u instanceof o?c(u.errors):[u]}if(Object(n.a)(l)){let e=-1,i=l.length;for(;++e<i;){const i=l[e];if(Object(s.a)(i))try{i.unsubscribe()}catch(u){t=t||[],u instanceof o?t=t.concat(c(u.errors)):t.push(u)}}}if(t)throw new o(t)}add(t){let i=t;if(!t)return e.EMPTY;switch(typeof t){case"function":i=new e(t);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof e)){const t=i;i=new e,i._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=i;if(null===n)i._parentOrParents=this;else if(n instanceof e){if(n===this)return i;i._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return i;n.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[i]:s.push(i),i}remove(e){const t=this._subscriptions;if(t){const i=t.indexOf(e);-1!==i&&t.splice(i,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 o?t.errors:t),[])}},r2oo:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("/WK6"),r=i("AZf1");function o(e){var t=e.subscriber;t.closed||(t.next(e.value),t.complete())}function a(e){var t=e.subscriber;t.closed||t.error(e.err)}t.PromiseObservable=function(e){function t(t,i){e.call(this),this.promise=t,this.scheduler=i}return n(t,e),t.create=function(e,i){return new t(e,i)},t.prototype._subscribe=function(e){var t=this,i=this.promise,n=this.scheduler;if(null==n)this._isScalar?e.closed||(e.next(this.value),e.complete()):i.then((function(i){t.value=i,t._isScalar=!0,e.closed||(e.next(i),e.complete())}),(function(t){e.closed||e.error(t)})).then(null,(function(e){s.root.setTimeout((function(){throw e}))}));else if(this._isScalar){if(!e.closed)return n.schedule(o,0,{value:this.value,subscriber:e})}else i.then((function(i){t.value=i,t._isScalar=!0,e.closed||e.add(n.schedule(o,0,{value:i,subscriber:e}))}),(function(t){e.closed||e.add(n.schedule(a,0,{err:t,subscriber:e}))})).then(null,(function(e){s.root.setTimeout((function(){throw e}))}))},t}(r.Observable)},r4Kj:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("jtHE"),s=i("tS1D"),r=i("fXoL"),o=i("tk/3");let a=(()=>{class e{constructor(e){this.http=e}loadConfigJson(){this.startInit=new Date;const e=new n.a(1);return null==this.config?this.http.get("assets/config.json?v="+(new Date).getTime()).pipe(Object(s.a)(1e4)).subscribe(t=>{this.config=t,"False"==this.config.DisableLanding&&(this.config.DisableLanding=!1);let i=localStorage.getItem("userClientId");i&&(this.config.API.ClientId=i),e.next(),e.complete()},t=>{e.error(t),e.complete(),console.error("cant get config.json")}):(e.next(),e.complete()),e.asObservable()}setThirdParty(e){if(e.ThirdParty){let t=e.ThirdParty;this.config.TicketAutoConfirm=t.TicketAutoConfirm,this.config.TawkToEmbedded=t.TawkToEmbedded.length?t.TawkToEmbedded:null,this.config.TawkToKey=t.TawkToKey.length?t.TawkToKey:null,this.config.LiveChat=t.LiveChat,this.config.LiveChatLicence=e.LiveChatLicence,this.config.SupportBoxChatKey=t.SupportBoxChatKey.length?t.SupportBoxChatKey:null,this.config.SupportBoxChatUrl=t.SupportBoxChatUrl,this.config.SupportBoxChatId=t.SupportBoxChatId,this.config.WebPayTosHyperLink=t.WebPayTosHyperLink,this.config.FooterMessageEnabled=t.FooterMessageEnabled,this.config.FooterEvonaLogoEnabled=t.FooterEvonaLogoEnabled,this.config.SocialSharing=t.SocialSharing.length?t.SocialSharing:null,this.config.PrepareAutoPrint=t.PrepareAutoPrint,this.config.PrepareBarCode=t.PrepareBarCode,this.config.AviatorId=t.AviatorId,this.config.NewItems=t.NewItems.length?t.NewItems.split("|"):null,this.config.TawkToKey=t.TawkToKey.length?t.TawkToKey:null}}}return e.\u0275fac=function(t){return new(t||e)(r.fc(o.a))},e.\u0275prov=r.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},rVFa:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("AZf1"),r=i("8x9D"),o=i("36rE"),a=i("NwwV");t.ArrayObservable=function(e){function t(t,i){e.call(this),this.array=t,this.scheduler=i,i||1!==t.length||(this._isScalar=!0,this.value=t[0])}return n(t,e),t.create=function(e,i){return new t(e,i)},t.of=function(){for(var e=[],i=0;i<arguments.length;i++)e[i-0]=arguments[i];var n=e[e.length-1];a.isScheduler(n)?e.pop():n=null;var s=e.length;return s>1?new t(e,n):1===s?new r.ScalarObservable(e[0],n):new o.EmptyObservable(n)},t.dispatch=function(e){var t=e.array,i=e.index,n=e.subscriber;i>=e.count?n.complete():(n.next(t[i]),n.closed||(e.index=i+1,this.schedule(e)))},t.prototype._subscribe=function(e){var i=this.array,n=i.length,s=this.scheduler;if(s)return s.schedule(t.dispatch,0,{array:i,index:0,count:n,subscriber:e});for(var r=0;r<n&&!e.closed;r++)e.next(i[r]);e.complete()},t}(s.Observable)},raLr:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n,s;return"m"===i?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(n=+e,s={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}function i(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var i={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(i("wd/R"))},re5B:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("y2i3"),r=i("Irel"),o=i("9jZZ");t.bufferToggle=function(e,t){return function(i){return i.lift(new a(e,t))}};var a=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.openings,this.closingSelector))},e}(),c=function(e){function t(t,i,n){e.call(this,t),this.openings=i,this.closingSelector=n,this.contexts=[],this.add(r.subscribeToResult(this,i))}return n(t,e),t.prototype._next=function(e){for(var t=this.contexts,i=t.length,n=0;n<i;n++)t[n].buffer.push(e)},t.prototype._error=function(t){for(var i=this.contexts;i.length>0;){var n=i.shift();n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var i=t.shift();this.destination.next(i.buffer),i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,i,n,s){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(i){this._error(i)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var i=e.subscription;this.destination.next(e.buffer),t.splice(t.indexOf(e),1),this.remove(i),i.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,i=new s.Subscription,n={buffer:[],subscription:i};t.push(n);var o=r.subscribeToResult(this,e,n);!o||o.closed?this.closeBuffer(n):(o.context=n,this.add(o),i.add(o))},t}(o.OuterSubscriber)},rgOj:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz"),r=i("zKHA"),o=i("AJP0");t.distinctUntilChanged=function(e,t){return function(i){return i.lift(new a(e,t))}};var a=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))},e}(),c=function(e){function t(t,i,n){e.call(this,t),this.keySelector=n,this.hasKey=!1,"function"==typeof i&&(this.compare=i)}return n(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t=e;if(this.keySelector&&(t=r.tryCatch(this.keySelector)(e))===o.errorObject)return this.destination.error(o.errorObject.e);var i=!1;if(this.hasKey){if((i=r.tryCatch(this.compare)(this.key,t))===o.errorObject)return this.destination.error(o.errorObject.e)}else this.hasKey=!0;!1===Boolean(i)&&(this.key=t,this.destination.next(e))},t}(s.Subscriber)},"s+uk":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},saxw:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("1uGz");t.mapTo=function(e){return function(t){return t.lift(new r(e))}};var r=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.value))},e}(),o=function(e){function t(t,i){e.call(this,t),this.value=i}return n(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(s.Subscriber)},sp3z:function(e,t,i){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,i){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(i("wd/R"))},tGlX:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},tHdp:function(e,t,i){"use strict";var n=i("rVFa");t.of=n.ArrayObservable.of},tS1D:function(e,t,i){"use strict";var n=i("D0XW");const s=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var r=i("l7GE"),o=i("ZUHj");class a{constructor(e,t,i,n){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=i,this.scheduler=n}call(e,t){return t.subscribe(new c(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class c extends r.a{constructor(e,t,i,n,s){super(e),this.absoluteTimeout=t,this.waitFor=i,this.withObservable=n,this.scheduler=s,this.action=null,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(o.a)(e,t))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(c.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var l=i("z6cu");function u(e,t=n.a){return function(e,t,i=n.a){return n=>{let s=(r=e)instanceof Date&&!isNaN(+r);var r;let o=s?+e-i.now():Math.abs(e);return n.lift(new a(o,s,t,i))}}(e,Object(l.a)(new s),t)}i.d(t,"a",(function(){return u}))},tT3J:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i("wd/R"))},tUCv:function(e,t,i){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i("wd/R"))},"tk/3":function(e,t,i){"use strict";i.d(t,"a",(function(){return D})),i.d(t,"b",(function(){return H})),i.d(t,"c",(function(){return y}));var n=i("fXoL"),s=i("LRne"),r=i("HDdC"),o=i("bOdf"),a=i("pLZG"),c=i("lJxs"),l=i("ofXK");class u{}class h{}class d{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const i=e.slice(0,t),n=i.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const n=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(t,n))})}: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 d?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 d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?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 i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...i),this.headers.set(t,n);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===s.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)))}}class f{encodeKey(e){return p(e)}encodeValue(e){return p(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function p(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 m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new f,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const i=new Map;return e.length>0&&e.split("&").forEach(e=>{const n=e.indexOf("="),[s,r]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],o=i.get(s)||[];o.push(r),i.set(s,o)}),i}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t];this.map.set(t,Array.isArray(i)?i:[i])})):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 m({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 i=t.indexOf(e.value);-1!==i&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class y{constructor(e,t,i,n){let s;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)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const i=t.indexOf("?");this.urlWithParams=t+(-1===i?"?":i<t.length-1?"&":"")+e}}else this.params=new m,this.urlWithParams=t}serializeBody(){return null===this.body?null:g(this.body)||_(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?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?null:b(this.body)?null:_(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"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,i=e.url||this.url,n=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,r=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,o=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,c=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,i)=>t.set(i,e.setHeaders[i]),a)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,i)=>t.set(i,e.setParams[i]),c)),new y(t,i,s,{params:c,headers:a,reportProgress:o,responseType:n,withCredentials:r})}}const v=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class F{constructor(e,t=200,i="OK"){this.headers=e.headers||new d,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class k extends F{constructor(e={}){super(e),this.type=v.ResponseHeader}clone(e={}){return new k({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 w extends F{constructor(e={}){super(e),this.type=v.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new w({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 S extends F{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}}function T(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let D=(()=>{class e{constructor(e){this.handler=e}request(e,t,i={}){let n;if(e instanceof y)n=e;else{let s=void 0;s=i.headers instanceof d?i.headers:new d(i.headers);let r=void 0;i.params&&(r=i.params instanceof m?i.params:new m({fromObject:i.params})),n=new y(e,t,void 0!==i.body?i.body:null,{headers:s,params:r,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const r=Object(s.a)(n).pipe(Object(o.a)(e=>this.handler.handle(e)));if(e instanceof y||"events"===i.observe)return r;const l=r.pipe(Object(a.a)(e=>e instanceof w));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Object(c.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 l.pipe(Object(c.a)(e=>e.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.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 m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,T(i,t))}post(e,t,i={}){return this.request("POST",e,T(i,t))}put(e,t,i={}){return this.request("PUT",e,T(i,t))}}return e.\u0275fac=function(t){return new(t||e)(n.fc(u))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();class E{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const M=new n.q("HTTP_INTERCEPTORS");let C=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const O=/^\)\]\}',?\n/;class x{}let L=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),j=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new r.a(t=>{const i=this.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((e,t)=>i.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const n=e.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new d(i.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new k({headers:r,status:t,statusText:n,url:o}),s},o=()=>{let{headers:n,status:s,statusText:o,url:a}=r(),c=null;204!==s&&(c=void 0===i.response?i.responseText:i.response),0===s&&(s=c?200:0);let l=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(O,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=e,l&&(l=!1,c={error:u,text:c})}}l?(t.next(new w({body:c,headers:n,status:s,statusText:o,url:a||void 0})),t.complete()):t.error(new S({error:c,headers:n,status:s,statusText:o,url:a||void 0}))},a=e=>{const{url:n}=r(),s=new S({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});t.error(s)};let c=!1;const l=n=>{c||(t.next(r()),c=!0);let s={type:v.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===e.responseType&&i.responseText&&(s.partialText=i.responseText),t.next(s)},u=e=>{let i={type:v.UploadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),t.next(i)};return i.addEventListener("load",o),i.addEventListener("error",a),e.reportProgress&&(i.addEventListener("progress",l),null!==n&&i.upload&&i.upload.addEventListener("progress",u)),i.send(n),t.next({type:v.Sent}),()=>{i.removeEventListener("error",a),i.removeEventListener("load",o),e.reportProgress&&(i.removeEventListener("progress",l),null!==n&&i.upload&&i.upload.removeEventListener("progress",u)),i.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(n.fc(x))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const I=new n.q("XSRF_COOKIE_NAME"),A=new n.q("XSRF_HEADER_NAME");class N{}let R=(()=>{class e{constructor(e,t,i){this.doc=e,this.platform=t,this.cookieName=i,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(l.N)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(n.fc(l.d),n.fc(n.C),n.fc(I))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),P=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const i=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||i.startsWith("http://")||i.startsWith("https://"))return t.handle(e);const n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(N),n.fc(A))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),B=(()=>{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(M,[]);this.chain=e.reduceRight((e,t)=>new E(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(n.fc(h),n.fc(n.r))},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})(),Y=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:P,useClass:C}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:I,useValue:t.cookieName}:[],t.headerName?{provide:A,useValue:t.headerName}:[]]}}}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[P,{provide:M,useExisting:P,multi:!0},{provide:N,useClass:R},{provide:I,useValue:"XSRF-TOKEN"},{provide:A,useValue:"X-XSRF-TOKEN"}]}),e})(),H=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[D,{provide:u,useClass:B},j,{provide:h,useExisting:j},L,{provide:x,useExisting:L}],imports:[[Y.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tyNb:function(e,t,i){"use strict";var n=i("ofXK"),s=i("fXoL"),r=i("LRne"),o=i("Cfvw"),a=i("2Vo4"),c=i("HDdC");const l=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var u=i("itXk"),h=i("EY2u");function d(e){return new c.a(t=>{let i;try{i=e()}catch(n){return void t.error(n)}return(i?Object(o.a)(i):Object(h.b)()).subscribe(t)})}var f=i("XNiG"),p=i("lJxs"),m=i("0EUg"),g=i("pLZG"),_=i("7o/Q"),b=i("4I5i");function y(e){return function(t){return 0===e?Object(h.b)():t.lift(new v(e))}}class v{constructor(e){if(this.total=e,this.total<0)throw new b.a}call(e,t){return t.subscribe(new F(e,this.total))}}class F extends _.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,i=this.total,n=this.count++;t.length<i?t.push(e):t[n%i]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;s<i;s++){const s=t++%i;e.next(n[s])}}e.complete()}}function k(e=T){return t=>t.lift(new w(e))}class w{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new S(e,this.errorFactory))}}class S extends _.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 T(){return new l}function D(e=null){return t=>t.lift(new E(e))}class E{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new M(e,this.defaultValue))}}class M extends _.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 C=i("SpAZ");function O(e,t){const i=arguments.length>=2;return n=>n.pipe(e?Object(g.a)((t,i)=>e(t,i,n)):C.a,y(1),i?D(t):k(()=>new l))}var x=i("JIr8"),L=i("IzEk");function j(e,t){const i=arguments.length>=2;return n=>n.pipe(e?Object(g.a)((t,i)=>e(t,i,n)):C.a,Object(L.a)(1),i?D(t):k(()=>new l))}var I=i("5+tZ");class A{constructor(e,t,i){this.predicate=e,this.thisArg=t,this.source=i}call(e,t){return t.subscribe(new N(e,this.predicate,this.thisArg,this.source))}}class N extends _.a{constructor(e,t,i,n){super(e),this.predicate=t,this.thisArg=i,this.source=n,this.index=0,this.thisArg=i||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(i){return void this.destination.error(i)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var R=i("eIep"),P=i("JX91"),B=i("Kqap"),Y=i("bOdf"),H=i("mCNh"),V=i("vkgz"),U=i("nYR2"),W=i("bHdf");i.d(t,"a",(function(){return Xe})),i.d(t,"b",(function(){return xe})),i.d(t,"c",(function(){return G})),i.d(t,"d",(function(){return K})),i.d(t,"e",(function(){return oi})),i.d(t,"f",(function(){return ai})),i.d(t,"g",(function(){return ui})),i.d(t,"h",(function(){return ci})),i.d(t,"i",(function(){return wi})),i.d(t,"j",(function(){return fi})),i.d(t,"k",(function(){return Oe}));class z{constructor(e,t){this.id=e,this.url=t}}class $ extends z{constructor(e,t,i="imperative",n=null){super(e,t),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class G extends z{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q extends z{constructor(e,t,i){super(e,t),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class K extends z{constructor(e,t,i){super(e,t),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends z{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z extends z{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class X extends z{constructor(e,t,i,n,s){super(e,t),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Q extends z{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee extends z{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te{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 ne{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let ce=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Pb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&s.Wb(0,"router-outlet")},directives:function(){return[fi]},encapsulation:2}),e})();class le{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(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 ue(e){return new le(e)}function he(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function de(e,t,i){const n=i.path.split("/");if(n.length>e.length)return null;if("full"===i.pathMatch&&(t.hasChildren()||n.length<e.length))return null;const s={};for(let r=0;r<n.length;r++){const t=n[r],i=e[r];if(t.startsWith(":"))s[t.substring(1)]=i;else if(t!==i.path)return null}return{consumed:e.slice(0,n.length),posParams:s}}class fe{constructor(e,t){this.routes=e,this.module=t}}function pe(e,t=""){for(let i=0;i<e.length;i++){const n=e[i];me(n,ge(t,n))}}function me(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&&pe(e.children,t)}function ge(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function _e(e){const t=e.children&&e.children.map(_e),i=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!i.component&&(t||i.loadChildren)&&i.outlet&&"primary"!==i.outlet&&(i.component=ce),i}function be(e,t){const i=Object.keys(e),n=Object.keys(t);if(!i||!n||i.length!=n.length)return!1;let s;for(let r=0;r<i.length;r++)if(s=i[r],!ye(e[s],t[s]))return!1;return!0}function ye(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every(e=>t.indexOf(e)>-1):e===t}function ve(e){return Array.prototype.concat.apply([],e)}function Fe(e){return e.length>0?e[e.length-1]:null}function ke(e,t){for(const i in e)e.hasOwnProperty(i)&&t(e[i],i)}function we(e){return Object(s.xb)(e)?e:Object(s.yb)(e)?Object(o.a)(Promise.resolve(e)):Object(r.a)(e)}function Se(e,t,i){return i?function(e,t){return be(e,t)}(e.queryParams,t.queryParams)&&function e(t,i){if(!Me(t.segments,i.segments))return!1;if(t.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!t.children[n])return!1;if(!e(t.children[n],i.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>ye(e[i],t[i]))}(e.queryParams,t.queryParams)&&function e(t,i){return function t(i,n,s){if(i.segments.length>s.length)return!!Me(i.segments.slice(0,s.length),s)&&!n.hasChildren();if(i.segments.length===s.length){if(!Me(i.segments,s))return!1;for(const t in n.children){if(!i.children[t])return!1;if(!e(i.children[t],n.children[t]))return!1}return!0}{const e=s.slice(0,i.segments.length),r=s.slice(i.segments.length);return!!Me(i.segments,e)&&!!i.children.primary&&t(i.children.primary,n,r)}}(t,i,i.segments)}(e.root,t.root)}class Te{constructor(e,t,i){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return Le.serialize(this)}}class De{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ke(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return je(this)}}class Ee{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}toString(){return Be(this)}}function Me(e,t){return e.length===t.length&&e.every((e,i)=>e.path===t[i].path)}function Ce(e,t){let i=[];return ke(e.children,(e,n)=>{"primary"===n&&(i=i.concat(t(e,n)))}),ke(e.children,(e,n)=>{"primary"!==n&&(i=i.concat(t(e,n)))}),i}class Oe{}class xe{parse(e){const t=new We(e);return new Te(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,i){if(!t.hasChildren())return je(t);if(i){const i=t.children.primary?e(t.children.primary,!1):"",n=[];return ke(t.children,(t,i)=>{"primary"!==i&&n.push(`${i}:${e(t,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=Ce(t,(i,n)=>"primary"===n?[e(t.children.primary,!1)]:[`${n}:${e(i,!1)}`]);return`${je(t)}/(${i.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const i=e[t];return Array.isArray(i)?i.map(e=>`${Ae(t)}=${Ae(e)}`).join("&"):`${Ae(t)}=${Ae(i)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Le=new xe;function je(e){return e.segments.map(e=>Be(e)).join("/")}function Ie(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ae(e){return Ie(e).replace(/%3B/gi,";")}function Ne(e){return Ie(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Re(e){return decodeURIComponent(e)}function Pe(e){return Re(e.replace(/\+/g,"%20"))}function Be(e){return`${Ne(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ne(e)}=${Ne(t[e])}`).join("")}`;var t}const Ye=/^[^\/()?;=#]+/;function He(e){const t=e.match(Ye);return t?t[0]:""}const Ve=/^[^=?&#]+/,Ue=/^[^?&#]+/;class We{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new De([],{}):new De([],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 i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i.primary=new De(e,t)),i}parseSegment(){const e=He(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ee(Re(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=He(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=He(this.remaining);e&&(i=e,this.capture(i))}e[Re(t)]=Re(i)}parseQueryParam(e){const t=function(e){const t=e.match(Ve);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ue);return t?t[0]:""}(this.remaining);e&&(i=e,this.capture(i))}const n=Pe(t),s=Pe(i);if(e.hasOwnProperty(n)){let t=e[n];Array.isArray(t)||(t=[t],e[n]=t),t.push(s)}else e[n]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=He(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):e&&(s="primary");const r=this.parseChildren();t[s]=1===Object.keys(r).length?r.primary:new De([],r),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}".`)}}class ze{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=$e(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=$e(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ge(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ge(e,this._root).map(e=>e.value)}}function $e(e,t){if(e===t.value)return t;for(const i of t.children){const t=$e(e,i);if(t)return t}return null}function Ge(e,t){if(e===t.value)return[t];for(const i of t.children){const n=Ge(e,i);if(n.length)return n.unshift(t),n}return[]}class qe{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Ke(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Je extends ze{constructor(e,t){super(e),this.snapshot=t,it(this,e)}toString(){return this.snapshot.toString()}}function Ze(e,t){const i=function(e,t){const i=new et([],{},{},"",{},"primary",t,null,e.root,-1,{});return new tt("",new qe(i,[]))}(e,t),n=new a.a([new Ee("",{})]),s=new a.a({}),r=new a.a({}),o=new a.a({}),c=new a.a(""),l=new Xe(n,s,o,c,r,"primary",t,i.root);return l.snapshot=i.root,new Je(new qe(l,[]),i)}class Xe{constructor(e,t,i,n,s,r,o,a){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}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(p.a)(e=>ue(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)(e=>ue(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Qe(e,t="emptyOnly"){const i=e.pathFromRoot;let n=0;if("always"!==t)for(n=i.length-1;n>=1;){const e=i[n],t=i[n-1];if(e.routeConfig&&""===e.routeConfig.path)n--;else{if(t.component)break;n--}}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:{}})}(i.slice(n))}class et{constructor(e,t,i,n,s,r,o,a,c,l,u){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,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=ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class tt extends ze{constructor(e,t){super(t),this.url=e,it(this,t)}toString(){return nt(this._root)}}function it(e,t){t.value._routerState=e,t.children.forEach(t=>it(e,t))}function nt(e){const t=e.children.length>0?` { ${e.children.map(nt).join(", ")} } `:"";return`${e.value}${t}`}function st(e){if(e.snapshot){const t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,be(t.queryParams,i.queryParams)||e.queryParams.next(i.queryParams),t.fragment!==i.fragment&&e.fragment.next(i.fragment),be(t.params,i.params)||e.params.next(i.params),function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;++i)if(!be(e[i],t[i]))return!1;return!0}(t.url,i.url)||e.url.next(i.url),be(t.data,i.data)||e.data.next(i.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function rt(e,t){var i,n;return be(e.params,t.params)&&Me(i=e.url,n=t.url)&&i.every((e,t)=>be(e.parameters,n[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||rt(e.parent,t.parent))}function ot(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function at(e,t,i,n,s){let r={};return n&&ke(n,(e,t)=>{r[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Te(i.root===e?t:function e(t,i,n){const s={};return ke(t.children,(t,r)=>{s[r]=t===i?n:e(t,i,n)}),new De(t.segments,s)}(i.root,e,t),r,s)}class ct{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&ot(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(n&&n!==Fe(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lt{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function ut(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:`${e}`}function ht(e,t,i){if(e||(e=new De([],{})),0===e.segments.length&&e.hasChildren())return dt(e,t,i);const n=function(e,t,i){let n=0,s=t;const r={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(n>=i.length)return r;const t=e.segments[s],o=ut(i[n]),a=n<i.length-1?i[n+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!gt(o,a,t))return r;n+=2}else{if(!gt(o,{},t))return r;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(e,t,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex<e.segments.length){const t=new De(e.segments.slice(0,n.pathIndex),{});return t.children.primary=new De(e.segments.slice(n.pathIndex),e.children),dt(t,0,s)}return n.match&&0===s.length?new De(e.segments,{}):n.match&&!e.hasChildren()?ft(e,t,i):n.match?dt(e,0,s):ft(e,t,i)}function dt(e,t,i){if(0===i.length)return new De(e.segments,{});{const n=function(e){return"object"!=typeof e[0]?{primary:e}:void 0===e[0].outlets?{primary:e}:e[0].outlets}(i),s={};return ke(n,(i,n)=>{null!==i&&(s[n]=ht(e.children[n],t,i))}),ke(e.children,(e,t)=>{void 0===n[t]&&(s[t]=e)}),new De(e.segments,s)}}function ft(e,t,i){const n=e.segments.slice(0,t);let s=0;for(;s<i.length;){if("object"==typeof i[s]&&void 0!==i[s].outlets){const e=pt(i[s].outlets);return new De(n,e)}if(0===s&&ot(i[0])){n.push(new Ee(e.segments[t].path,i[0])),s++;continue}const r=ut(i[s]),o=s<i.length-1?i[s+1]:null;r&&o&&ot(o)?(n.push(new Ee(r,mt(o))),s+=2):(n.push(new Ee(r,{})),s++)}return new De(n,{})}function pt(e){const t={};return ke(e,(e,i)=>{null!==e&&(t[i]=ft(new De([],{}),0,e))}),t}function mt(e){const t={};return ke(e,(e,i)=>t[i]=`${e}`),t}function gt(e,t,i){return e==i.path&&be(t,i.parameters)}class _t{constructor(e,t,i,n){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=n}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),st(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const n=Ke(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,n[t],i),delete n[t]}),ke(n,(e,t)=>{this.deactivateRouteAndItsChildren(e,i)})}deactivateRoutes(e,t,i){const n=e.value,s=t?t.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else s&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet);if(i&&i.outlet){const t=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:n})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet);if(i){const n=Ke(e),s=e.value.component?i.children:t;ke(n,(e,t)=>this.deactivateRouteAndItsChildren(e,s)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(e,t,i){const n=Ke(t);e.children.forEach(e=>{this.activateRoutes(e,n[e.value.outlet],i),this.forwardEvent(new oe(e.value.snapshot))}),e.children.length&&this.forwardEvent(new se(e.value.snapshot))}activateRoutes(e,t,i){const n=e.value,s=t?t.value:null;if(st(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(n.component){const t=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const e=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.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),bt(e.route)}else{const i=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}(n.snapshot),s=i?i.module.componentFactoryResolver:null;t.attachRef=null,t.route=n,t.resolver=s,t.outlet&&t.outlet.activateWith(n,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,i)}}function bt(e){st(e.value),e.children.forEach(bt)}function yt(e){return"function"==typeof e}function vt(e){return e instanceof Te}class Ft{constructor(e){this.segmentGroup=e||null}}class kt{constructor(e){this.urlTree=e}}function wt(e){return new c.a(t=>t.error(new Ft(e)))}function St(e){return new c.a(t=>t.error(new kt(e)))}function Tt(e){return new c.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Dt{constructor(e,t,i,n,r){this.configLoader=t,this.urlSerializer=i,this.urlTree=n,this.config=r,this.allowRedirects=!0,this.ngModule=e.get(s.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(p.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(x.a)(e=>{if(e instanceof kt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Ft)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(p.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Object(x.a)(e=>{if(e instanceof Ft)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,i){const n=e.segments.length>0?new De([],{primary:e}):e;return new Te(n,t,i)}expandSegmentGroup(e,t,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(Object(p.a)(e=>new De([],e))):this.expandSegment(e,i,t,i.segments,n,!0)}expandChildren(e,t,i){return function(e,t){if(0===Object.keys(e).length)return Object(r.a)({});const i=[],n=[],s={};return ke(e,(e,r)=>{const o=t(r,e).pipe(Object(p.a)(e=>s[r]=e));"primary"===r?i.push(o):n.push(o)}),r.a.apply(null,i.concat(n)).pipe(Object(m.a)(),O(),Object(p.a)(()=>s))}(i.children,(i,n)=>this.expandSegmentGroup(e,t,n,i))}expandSegment(e,t,i,n,s,o){return Object(r.a)(...i).pipe(Object(p.a)(a=>this.expandSegmentAgainstRoute(e,t,i,a,n,s,o).pipe(Object(x.a)(e=>{if(e instanceof Ft)return Object(r.a)(null);throw e}))),Object(m.a)(),j(e=>!!e),Object(x.a)((e,i)=>{if(e instanceof l||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,n,s))return Object(r.a)(new De([],{}));throw new Ft(t)}throw e}))}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}expandSegmentAgainstRoute(e,t,i,n,s,r,o){return Ot(n)!==r?wt(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r):wt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,r):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?St(s):this.lineralizeSegments(i,s).pipe(Object(I.a)(i=>{const s=new De(i,{});return this.expandSegment(e,s,t,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Et(t,n,s);if(!o)return wt(t);const u=this.applyRedirectCommands(a,n.redirectTo,l);return n.redirectTo.startsWith("/")?St(u):this.lineralizeSegments(n,u).pipe(Object(I.a)(n=>this.expandSegment(e,t,i,n.concat(s.slice(c)),r,!1)))}matchSegmentAgainstRoute(e,t,i,n){if("**"===i.path)return i.loadChildren?this.configLoader.load(e.injector,i).pipe(Object(p.a)(e=>(i._loadedConfig=e,new De(n,{})))):Object(r.a)(new De(n,{}));const{matched:s,consumedSegments:o,lastChild:a}=Et(t,i,n);if(!s)return wt(t);const c=n.slice(a);return this.getChildConfig(e,i,n).pipe(Object(I.a)(e=>{const i=e.module,n=e.routes,{segmentGroup:s,slicedSegments:a}=function(e,t,i,n){return i.length>0&&function(e,t,i){return i.some(i=>Ct(e,t,i)&&"primary"!==Ot(i))}(e,i,n)?{segmentGroup:Mt(new De(t,function(e,t){const i={};i.primary=t;for(const n of e)""===n.path&&"primary"!==Ot(n)&&(i[Ot(n)]=new De([],{}));return i}(n,new De(i,e.children)))),slicedSegments:[]}:0===i.length&&function(e,t,i){return i.some(i=>Ct(e,t,i))}(e,i,n)?{segmentGroup:Mt(new De(e.segments,function(e,t,i,n){const s={};for(const r of i)Ct(e,t,r)&&!n[Ot(r)]&&(s[Ot(r)]=new De([],{}));return Object.assign(Object.assign({},n),s)}(e,i,n,e.children))),slicedSegments:i}:{segmentGroup:e,slicedSegments:i}}(t,o,c,n);return 0===a.length&&s.hasChildren()?this.expandChildren(i,n,s).pipe(Object(p.a)(e=>new De(o,e))):0===n.length&&0===a.length?Object(r.a)(new De(o,{})):this.expandSegment(i,s,n,a,"primary",!0).pipe(Object(p.a)(e=>new De(o.concat(e.segments),e.children)))}))}getChildConfig(e,t,i){return t.children?Object(r.a)(new fe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(r.a)(t._loadedConfig):function(e,t,i){const n=t.canLoad;return n&&0!==n.length?Object(o.a)(n).pipe(Object(p.a)(n=>{const s=e.get(n);let r;if(function(e){return e&&yt(e.canLoad)}(s))r=s.canLoad(t,i);else{if(!yt(s))throw new Error("Invalid CanLoad guard");r=s(t,i)}return we(r)})).pipe(Object(m.a)(),(s=e=>!0===e,e=>e.lift(new A(s,void 0,e)))):Object(r.a)(!0);var s}(e.injector,t,i).pipe(Object(I.a)(i=>i?this.configLoader.load(e.injector,t).pipe(Object(p.a)(e=>(t._loadedConfig=e,e))):function(e){return new c.a(t=>t.error(he(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(r.a)(new fe([],e))}lineralizeSegments(e,t){let i=[],n=t.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return Object(r.a)(i);if(n.numberOfChildren>1||!n.children.primary)return Tt(e.redirectTo);n=n.children.primary}}applyRedirectCommands(e,t,i){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreatreUrlTree(e,t,i,n){const s=this.createSegmentGroup(e,t.root,i,n);return new Te(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return ke(e,(e,n)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);i[n]=t[s]}else i[n]=e}),i}createSegmentGroup(e,t,i,n){const s=this.createSegments(e,t.segments,i,n);let r={};return ke(t.children,(t,s)=>{r[s]=this.createSegmentGroup(e,t,i,n)}),new De(s,r)}createSegments(e,t,i,n){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,n):this.findOrReturn(t,i))}findPosParam(e,t,i){const n=i[t.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return n}findOrReturn(e,t){let i=0;for(const n of t){if(n.path===e.path)return t.splice(i),n;i++}return e}}function Et(e,t,i){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(t.matcher||de)(i,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Mt(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new De(e.segments.concat(t.segments),t.children)}return e}function Ct(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function Ot(e){return e.outlet||"primary"}class xt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Lt{constructor(e,t){this.component=e,this.route=t}}function jt(e,t,i){const n=e._root;return function e(t,i,n,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Ke(i);return t.children.forEach(t=>{!function(t,i,n,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,a=i?i.value:null,c=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function(e,t,i){if("function"==typeof i)return i(e,t);switch(i){case"pathParamsChange":return!Me(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Me(e.url,t.url)||!be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rt(e,t)||!be(e.queryParams,t.queryParams);case"paramsChange":default:return!rt(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new xt(s)):(o.data=a.data,o._resolvedData=a._resolvedData),e(t,i,o.component?c?c.children:null:n,s,r),l&&r.canDeactivateChecks.push(new Lt(c&&c.outlet&&c.outlet.component||null,a))}else a&&At(i,c,r),r.canActivateChecks.push(new xt(s)),e(t,null,o.component?c?c.children:null:n,s,r)}(t,o[t.value.outlet],n,s.concat([t.value]),r),delete o[t.value.outlet]}),ke(o,(e,t)=>At(e,n.getContext(t),r)),r}(n,t?t._root:null,i,[n.value])}function It(e,t,i){const n=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(n?n.module.injector:i).get(e)}function At(e,t,i){const n=Ke(e),s=e.value;ke(n,(e,n)=>{At(e,s.component?t?t.children.getContext(n):null:t,i)}),i.canDeactivateChecks.push(new Lt(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const Nt=Symbol("INITIAL_VALUE");function Rt(){return Object(R.a)(e=>Object(u.a)(...e.map(e=>e.pipe(Object(L.a)(1),Object(P.a)(Nt)))).pipe(Object(B.a)((e,t)=>{let i=!1;return t.reduce((e,n,s)=>{if(e!==Nt)return e;if(n===Nt&&(i=!0),!i){if(!1===n)return n;if(s===t.length-1||vt(n))return n}return e},e)},Nt),Object(g.a)(e=>e!==Nt),Object(p.a)(e=>vt(e)?e:!0===e),Object(L.a)(1)))}function Pt(e,t){return null!==e&&t&&t(new re(e)),Object(r.a)(!0)}function Bt(e,t){return null!==e&&t&&t(new ne(e)),Object(r.a)(!0)}function Yt(e,t,i){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return Object(r.a)(!0);const s=n.map(n=>d(()=>{const s=It(n,t,i);let r;if(function(e){return e&&yt(e.canActivate)}(s))r=we(s.canActivate(t,e));else{if(!yt(s))throw new Error("Invalid CanActivate guard");r=we(s(t,e))}return r.pipe(j())}));return Object(r.a)(s).pipe(Rt())}function Ht(e,t,i){const n=t[t.length-1],s=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=>d(()=>{const s=t.guards.map(s=>{const r=It(s,t.node,i);let o;if(function(e){return e&&yt(e.canActivateChild)}(r))o=we(r.canActivateChild(n,e));else{if(!yt(r))throw new Error("Invalid CanActivateChild guard");o=we(r(n,e))}return o.pipe(j())});return Object(r.a)(s).pipe(Rt())}));return Object(r.a)(s).pipe(Rt())}class Vt{}class Ut{constructor(e,t,i,n,s,r){this.rootComponentType=e,this.config=t,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){try{const e=$t(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),i=new et([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new qe(i,t),s=new tt(this.url,n);return this.inheritParamsAndData(s._root),Object(r.a)(s)}catch(e){return new c.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,i=Qe(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,i){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,i)}processChildren(e,t){const i=Ce(t,(t,i)=>this.processSegmentGroup(e,t,i));return function(e){const t={};e.forEach(e=>{const i=t[e.value.outlet];if(i){const t=i.url.map(e=>e.toString()).join("/"),n=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${n}'.`)}t[e.value.outlet]=e.value})}(i),i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,i,n){for(const r of e)try{return this.processSegmentAgainstRoute(r,t,i,n)}catch(s){if(!(s instanceof Vt))throw s}if(this.noLeftoversInUrl(t,i,n))return[];throw new Vt}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}processSegmentAgainstRoute(e,t,i,n){if(e.redirectTo)throw new Vt;if((e.outlet||"primary")!==n)throw new Vt;let s,r=[],o=[];if("**"===e.path){const r=i.length>0?Fe(i).parameters:{};s=new et(i,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Kt(e),n,e.component,e,Wt(t),zt(t)+i.length,Jt(e))}else{const a=function(e,t,i){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||i.length>0))throw new Vt;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(t.matcher||de)(i,e,t);if(!n)throw new Vt;const s={};ke(n.posParams,(e,t)=>{s[t]=e.path});const r=n.consumed.length>0?Object.assign(Object.assign({},s),n.consumed[n.consumed.length-1].parameters):s;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:r}}(t,e,i);r=a.consumedSegments,o=i.slice(a.lastChild),s=new et(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Kt(e),n,e.component,e,Wt(t),zt(t)+r.length,Jt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=$t(t,r,o,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(a,c);return[new qe(s,e)]}if(0===a.length&&0===l.length)return[new qe(s,[])];const u=this.processSegment(a,c,l,"primary");return[new qe(s,u)]}}function Wt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function zt(e){let t=e,i=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,i+=t._segmentIndexShift?t._segmentIndexShift:0;return i-1}function $t(e,t,i,n,s){if(i.length>0&&function(e,t,i){return i.some(i=>Gt(e,t,i)&&"primary"!==qt(i))}(e,i,n)){const s=new De(t,function(e,t,i,n){const s={};s.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;for(const r of i)if(""===r.path&&"primary"!==qt(r)){const i=new De([],{});i._sourceSegment=e,i._segmentIndexShift=t.length,s[qt(r)]=i}return s}(e,t,n,new De(i,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(e,t,i){return i.some(i=>Gt(e,t,i))}(e,i,n)){const r=new De(e.segments,function(e,t,i,n,s,r){const o={};for(const a of n)if(Gt(e,i,a)&&!s[qt(a)]){const i=new De([],{});i._sourceSegment=e,i._segmentIndexShift="legacy"===r?e.segments.length:t.length,o[qt(a)]=i}return Object.assign(Object.assign({},s),o)}(e,t,i,n,e.children,s));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:i}}const r=new De(e.segments,e.children);return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:i}}function Gt(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function qt(e){return e.outlet||"primary"}function Kt(e){return e.data||{}}function Jt(e){return e.resolve||{}}function Zt(e,t,i,n){const s=It(e,t,n);return we(s.resolve?s.resolve(t,i):s(t,i))}function Xt(e){return function(t){return t.pipe(Object(R.a)(t=>{const i=e(t);return i?Object(o.a)(i).pipe(Object(p.a)(()=>t)):Object(o.a)([t])}))}}class Qt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const ei=new s.q("ROUTES");class ti{constructor(e,t,i,n){this.loader=e,this.compiler=t,this.onLoadStartListener=i,this.onLoadEndListener=n}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(p.a)(i=>{this.onLoadEndListener&&this.onLoadEndListener(t);const n=i.create(e);return new fe(ve(n.injector.get(ei)).map(_e),n)}))}loadModuleFactory(e){return"string"==typeof e?Object(o.a)(this.loader.load(e)):we(e()).pipe(Object(I.a)(e=>e instanceof s.w?Object(r.a)(e):Object(o.a)(this.compiler.compileModuleAsync(e))))}}class ii{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function ni(e){throw e}function si(e,t,i){return t.parse("/")}function ri(e,t){return Object(r.a)(null)}let oi=(()=>{class e{constructor(e,t,i,n,r,o,c,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=i,this.location=n,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=ni,this.malformedUriErrorHandler=si,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ri,afterPreactivation:ri},this.urlHandlingStrategy=new ii,this.routeReuseStrategy=new Qt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(s.y),this.console=r.get(s.ab);const u=r.get(s.A);this.isNgZoneEnabled=u instanceof s.A,this.resetConfig(l),this.currentUrlTree=new Te(new De([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ti(o,c,e=>this.triggerEvent(new te(e)),e=>this.triggerEvent(new ie(e))),this.routerState=Ze(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({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(Object(g.a)(e=>0!==e.id),Object(p.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(R.a)(e=>{let i=!1,n=!1;return Object(r.a)(e).pipe(Object(V.a)(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}}),Object(R.a)(e=>{const i=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(r.a)(e).pipe(Object(R.a)(e=>{const i=this.transitions.getValue();return t.next(new $(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==this.transitions.getValue()?h.a:[e]}),Object(R.a)(e=>Promise.resolve(e)),(n=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,a=this.config,function(e){return e.pipe(Object(R.a)(e=>function(e,t,i,n,s){return new Dt(e,t,i,n,s).apply()}(n,s,o,e.extractedUrl,a).pipe(Object(p.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),Object(V.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,i,n,s){return function(r){return r.pipe(Object(I.a)(r=>function(e,t,i,n,s="emptyOnly",r="legacy"){return new Ut(e,t,i,n,s,r).recognize()}(e,t,r.urlAfterRedirects,i(r.urlAfterRedirects),n,s).pipe(Object(p.a)(e=>Object.assign(Object.assign({},r),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(V.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Object(V.a)(e=>{const i=new J(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(i)}));var n,s,o,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:o,extras:a}=e,c=new $(i,this.serializeUrl(n),s,o);t.next(c);const l=Ze(n,this.rootComponentType).snapshot;return Object(r.a)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),h.a}),Xt(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),Object(V.a)(e=>{const t=new Z(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(p.a)(e=>Object.assign(Object.assign({},e),{guards:jt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(i){return i.pipe(Object(I.a)(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:c}}=i;return 0===c.length&&0===a.length?Object(r.a)(Object.assign(Object.assign({},i),{guardsResult:!0})):function(e,t,i,n){return Object(o.a)(e).pipe(Object(I.a)(e=>function(e,t,i,n,s){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(r.a)(!0);const a=o.map(r=>{const o=It(r,t,s);let a;if(function(e){return e&&yt(e.canDeactivate)}(o))a=we(o.canDeactivate(e,t,i,n));else{if(!yt(o))throw new Error("Invalid CanDeactivate guard");a=we(o(e,t,i,n))}return a.pipe(j())});return Object(r.a)(a).pipe(Rt())}(e.component,e.route,i,t,n)),j(e=>!0!==e,!0))}(c,n,s,e).pipe(Object(I.a)(i=>i&&"boolean"==typeof i?function(e,t,i,n){return Object(o.a)(t).pipe(Object(Y.a)(t=>Object(o.a)([Bt(t.route.parent,n),Pt(t.route,n),Ht(e,t.path,i),Yt(e,t.route,i)]).pipe(Object(m.a)(),j(e=>!0!==e,!0))),j(e=>!0!==e,!0))}(n,a,e,t):Object(r.a)(i)),Object(p.a)(e=>Object.assign(Object.assign({},i),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(V.a)(e=>{if(vt(e.guardsResult)){const t=he(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Object(V.a)(e=>{const t=new X(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(g.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const i=new q(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(i),e.resolve(!1),!1}return!0}),Xt(e=>{if(e.guards.canActivateChecks.length)return Object(r.a)(e).pipe(Object(V.a)(e=>{const t=new Q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(e){return e.pipe(Object(I.a)(e=>{const{targetSnapshot:n,guards:{canActivateChecks:s}}=e;return s.length?Object(o.a)(s).pipe(Object(Y.a)(e=>function(e,t,i,n){return function(e,t,i,n){const s=Object.keys(e);if(0===s.length)return Object(r.a)({});if(1===s.length){const r=s[0];return Zt(e[r],t,i,n).pipe(Object(p.a)(e=>({[r]:e})))}const a={};return Object(o.a)(s).pipe(Object(I.a)(s=>Zt(e[s],t,i,n).pipe(Object(p.a)(e=>(a[s]=e,e))))).pipe(O(),Object(p.a)(()=>a))}(e._resolve,e,t,n).pipe(Object(p.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Qe(e,i).resolve),null)))}(e.route,n,t,i)),function(e,t){return arguments.length>=2?function(i){return Object(H.a)(Object(B.a)(e,t),y(1),D(t))(i)}:function(t){return Object(H.a)(Object(B.a)((t,i,n)=>e(t,i,n+1)),y(1))(t)}}((e,t)=>e),Object(p.a)(t=>e)):Object(r.a)(e)}))}),Object(V.a)(e=>{const t=new ee(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,i}),Xt(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),Object(p.a)(e=>{const t=function(e,t,i){const n=function e(t,i,n){if(n&&t.shouldReuseRoute(i.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=i.value;const r=function(t,i,n){return i.children.map(i=>{for(const s of n.children)if(t.shouldReuseRoute(s.value.snapshot,i.value))return e(t,i,s);return e(t,i)})}(t,i,n);return new qe(s,r)}{const n=t.retrieve(i.value);if(n){const e=n.route;return function e(t,i){if(t.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)e(t.children[n],i.children[n])}(i,e),e}{const n=new Xe(new a.a((s=i.value).url),new a.a(s.params),new a.a(s.queryParams),new a.a(s.fragment),new a.a(s.data),s.outlet,s.component,s),r=i.children.map(i=>e(t,i));return new qe(n,r)}}var s}(e,t._root,i?i._root:void 0);return new Je(n,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(V.a)(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)}),(s=this.rootContexts,c=this.routeReuseStrategy,l=e=>this.triggerEvent(e),Object(p.a)(e=>(new _t(c,e.targetRouterState,e.currentRouterState,l).activate(s),e))),Object(V.a)({next(){i=!0},complete(){i=!0}}),Object(U.a)(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new q(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(i),e.resolve(!1)}this.currentNavigation=null}),Object(x.a)(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=vt(i.url);n||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new q(e.id,this.serializeUrl(e.extractedUrl),i.message);t.next(s),n?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(i.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 n=new K(e.id,this.serializeUrl(e.extractedUrl),i);t.next(n);try{e.resolve(this.errorHandler(i))}catch(r){e.reject(r)}}var s;return h.a}));var s,c,l}))}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=>{let t=this.parseUrl(e.url);const i="popstate"===e.type?"popstate":"hashchange",n=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,i,n,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){pe(e),this.config=e.map(_e),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:i,queryParams:n,fragment:r,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:c}=t;Object(s.X)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=i||this.routerState.root,u=c?this.currentUrlTree.fragment:r;let h=null;if(a)switch(a){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=n||null}else h=o?this.currentUrlTree.queryParams:n||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,i,n,s){if(0===i.length)return at(t.root,t.root,t,n,s);const r=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ct(!0,0,e);let t=0,i=!1;const n=e.reduce((e,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const t={};return ke(n.outlets,(e,i)=>{t[i]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(n.segmentPath)return[...e,n.segmentPath]}return"string"!=typeof n?[...e,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?t++:""!=n&&e.push(n))}),e):[...e,n]},[]);return new ct(i,t,n)}(i);if(r.toRoot())return at(t.root,new De([],{}),t,n,s);const o=function(e,t,i){if(e.isAbsolute)return new lt(t.root,!0,0);if(-1===i.snapshot._lastPathIndex)return new lt(i.snapshot._urlSegment,!0,0);const n=ot(e.commands[0])?0:1;return function(e,t,i){let n=e,s=t,r=i;for(;r>s;){if(r-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new lt(n,!1,s-r)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,e.numberOfDoubleDots)}(r,t,e),a=o.processChildren?dt(o.segmentGroup,o.index,r.commands):ht(o.segmentGroup,o.index,r.commands);return at(o.segmentGroup,a,t,n,s)}(l,this.currentUrlTree,e,h,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(s.X)()&&this.isNgZoneEnabled&&!s.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=vt(e)?e:this.parseUrl(e),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const i=e[t];if(null==i)throw new Error(`The requested path contains ${i} 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(i){t=this.malformedUriErrorHandler(i,this.urlSerializer,e)}return t}isActive(e,t){if(vt(e))return Se(this.currentUrlTree,e,t);const i=this.parseUrl(e);return Se(this.currentUrlTree,i,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,i)=>{const n=e[i];return null!=n&&(t[i]=n),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new G(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,i,n,s){const r=this.getTransition();if(r&&"imperative"!==t&&"imperative"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"hashchange"==t&&"popstate"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"popstate"==t&&"hashchange"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);let o,a,c;s?(o=s.resolve,a=s.reject,c=s.promise):c=new Promise((e,t)=>{o=e,a=t});const l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:n,resolve:o,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,i,n){const s=this.urlSerializer.serialize(e);n=n||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(s,"",Object.assign(Object.assign({},n),{navigationId:i}))}resetStateAndUrl(e,t,i){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){s.ic()},e.\u0275dir=s.Qb({type:e}),e})(),ai=(()=>{class e{constructor(e,t,i,n,s){this.router=e,this.route=t,this.commands=[],null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(s.X)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:li(this.skipLocationChange),replaceUrl:li(this.replaceUrl)};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:li(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:li(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(oi),s.Vb(Xe),s.gc("tabindex"),s.Vb(s.F),s.Vb(s.l))},e.\u0275dir=s.Qb({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&s.jc("click",(function(e){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),e})(),ci=(()=>{class e{constructor(e,t,i){this.router=e,this.route=t,this.locationStrategy=i,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof G&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(s.X)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,i,n){if(0!==e||t||i||n)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:li(this.skipLocationChange),replaceUrl:li(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!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:li(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:li(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(oi),s.Vb(Xe),s.Vb(n.m))},e.\u0275dir=s.Qb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&s.jc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(s.ec("href",t.href,s.Qc),s.Ib("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:[s.Fb()]}),e})();function li(e){return""===e||!!e}let ui=(()=>{class e{constructor(e,t,i,n,s){this.router=e,this.element=t,this.renderer=i,this.link=n,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof G&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(oi),s.Vb(s.l),s.Vb(s.F),s.Vb(ai,8),s.Vb(ci,8))},e.\u0275dir=s.Qb({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,i){var n;1&e&&(s.Nb(i,ai,!0),s.Nb(i,ci,!0)),2&e&&(s.Ic(n=s.kc())&&(t.links=n),s.Ic(n=s.kc())&&(t.linksWithHrefs=n))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s.Fb()]}),e})();class hi{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new di,this.attachRef=null}}class di{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}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 hi,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let fi=(()=>{class e{constructor(e,t,i,n,r){this.parentContexts=e,this.location=t,this.resolver=i,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.n,this.deactivateEvents=new s.n,this.name=n||"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 i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new pi(e,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(di),s.Vb(s.P),s.Vb(s.j),s.gc("name"),s.Vb(s.h))},e.\u0275dir=s.Qb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class pi{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===Xe?this.route:e===di?this.childContexts:this.parent.get(e,t)}}class mi{}class gi{preload(e,t){return Object(r.a)(null)}}let _i=(()=>{class e{constructor(e,t,i,n,s){this.router=e,this.injector=n,this.preloadingStrategy=s,this.loader=new ti(t,i,t=>e.triggerEvent(new te(t)),t=>e.triggerEvent(new ie(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(g.a)(e=>e instanceof G),Object(Y.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(s.y);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const i=[];for(const n of t)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const e=n._loadedConfig;i.push(this.processRoutes(e.module,e.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(e,n)):n.children&&i.push(this.processRoutes(e,n.children));return Object(o.a)(i).pipe(Object(W.a)(),Object(p.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(I.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(s.fc(oi),s.fc(s.x),s.fc(s.i),s.fc(s.r),s.fc(mi))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),bi=(()=>{class e{constructor(e,t,i={}){this.router=e,this.viewportScroller=t,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"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 $?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof G&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ae&&(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 ae(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(e){s.ic()},e.\u0275dir=s.Qb({type:e}),e})();const yi=new s.q("ROUTER_CONFIGURATION"),vi=new s.q("ROUTER_FORROOT_GUARD"),Fi=[n.l,{provide:Oe,useClass:xe},{provide:oi,useFactory:function(e,t,i,s,r,o,a,c,l={},u,h){const d=new oi(null,t,i,s,r,o,a,ve(c));if(u&&(d.urlHandlingStrategy=u),h&&(d.routeReuseStrategy=h),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(n.M)();d.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d},deps:[s.g,Oe,di,n.l,s.r,s.x,s.i,ei,yi,[class{},new s.B],[class{},new s.B]]},di,{provide:Xe,useFactory:function(e){return e.routerState.root},deps:[oi]},{provide:s.x,useClass:s.L},_i,gi,class{preload(e,t){return t().pipe(Object(x.a)(()=>Object(r.a)(null)))}},{provide:yi,useValue:{enableTracing:!1}}];function ki(){return new s.z("Router",oi)}let wi=(()=>{class e{constructor(e,t){}static forRoot(t,i){return{ngModule:e,providers:[Fi,Ei(t),{provide:vi,useFactory:Di,deps:[[oi,new s.B,new s.K]]},{provide:yi,useValue:i||{}},{provide:n.m,useFactory:Ti,deps:[n.w,[new s.p(n.a),new s.B],yi]},{provide:bi,useFactory:Si,deps:[oi,n.A,yi]},{provide:mi,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:gi},{provide:s.z,multi:!0,useFactory:ki},[Mi,{provide:s.d,multi:!0,useFactory:Ci,deps:[Mi]},{provide:xi,useFactory:Oi,deps:[Mi]},{provide:s.b,multi:!0,useExisting:xi}]]}}static forChild(t){return{ngModule:e,providers:[Ei(t)]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)(s.fc(vi,8),s.fc(oi,8))}}),e})();function Si(e,t,i){return i.scrollOffset&&t.setOffset(i.scrollOffset),new bi(e,t,i)}function Ti(e,t,i={}){return i.useHash?new n.i(e,t):new n.v(e,t)}function Di(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ei(e){return[{provide:s.a,multi:!0,useValue:e},{provide:ei,multi:!0,useValue:e}]}let Mi=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(n.k,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),i=this.injector.get(oi),n=this.injector.get(yi);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))e(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?Object(r.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),i.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(yi),i=this.injector.get(_i),n=this.injector.get(bi),r=this.injector.get(oi),o=this.injector.get(s.g);e===o.components[0]&&(this.isLegacyEnabled(t)?r.initialNavigation():this.isLegacyDisabled(t)&&r.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),r.resetRootComponentType(o.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)(s.fc(s.r))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();function Ci(e){return e.appInitializer.bind(e)}function Oi(e){return e.bootstrapListener.bind(e)}const xi=new s.q("Router Initializer")},u3GI:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uEye:function(e,t,i){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},uXwI:function(e,t,i){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,s){return e+" "+i(t[s],e,n)}function s(e,n,s){return i(t[s],e,n)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},"uj+q":function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("Re0n"),r=i("hut+"),o=i("9jZZ"),a=i("Irel");t.timeoutWith=function(e,t,i){return void 0===i&&(i=s.async),function(n){var s=r.isDate(e),o=s?+e-i.now():Math.abs(e);return n.lift(new c(o,s,t,i))}};var c=function(){function e(e,t,i,n){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=i,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),l=function(e){function t(t,i,n,s,r){e.call(this,t),this.absoluteTimeout=i,this.waitFor=n,this.withObservable=s,this.scheduler=r,this.action=null,this.scheduleTimeout()}return n(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(a.subscribeToResult(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(o.OuterSubscriber)},"v/q6":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("r4Kj"),s=i("fXoL"),r=i("IKD2"),o=i("tyNb");let a=(()=>{class e{constructor(e,t,i){this.cfgjson=e,this.authService=t,this.router=i}canActivate(e){return!(this.cfgjson.config.AuthGames&&!this.authService.loggedIn&&(this.router.navigate([""]),1))}}return e.\u0275fac=function(t){return new(t||e)(s.fc(n.a),s.fc(r.b),s.fc(o.e))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})()},vLqr:function(e,t,i){"use strict";var n=i("Q1FS");function s(e){e.subscriber.error(e.error)}t.throwError=function(e,t){return new n.Observable(t?function(i){return t.schedule(s,0,{error:e,subscriber:i})}:function(t){return t.error(e)})}},vkgz:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("7o/Q"),s=i("KqfI"),r=i("n6bG");function o(e,t,i){return function(n){return n.lift(new a(e,t,i))}}class a{constructor(e,t,i){this.nextOrObserver=e,this.error=t,this.complete=i}call(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}class c extends n.a{constructor(e,t,i,n){super(e),this._tapNext=s.a,this._tapError=s.a,this._tapComplete=s.a,this._tapError=i||s.a,this._tapComplete=n||s.a,Object(r.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||s.a,this._tapError=t.error||s.a,this._tapComplete=t.complete||s.a)}_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()}}},w1tV:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("oB13"),s=i("x+ZX"),r=i("XNiG");function o(){return new r.a}function a(){return e=>Object(s.a)()(Object(n.a)(o)(e))}},w5QO:function(e,t,i){"use strict";t.noop=function(){}},wELj:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("Re0n"),r=i("1uGz"),o=i("NwwV");t.bufferTime=function(e){var t=arguments.length,i=s.async;o.isScheduler(arguments[arguments.length-1])&&(i=arguments[arguments.length-1],t--);var n=null;t>=2&&(n=arguments[1]);var r=Number.POSITIVE_INFINITY;return t>=3&&(r=arguments[2]),function(t){return t.lift(new a(e,n,r,i))}};var a=function(){function e(e,t,i,n){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=i,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),c=function(){return function(){this.buffer=[]}}(),l=function(e){function t(t,i,n,s,r){e.call(this,t),this.bufferTimeSpan=i,this.bufferCreationInterval=n,this.maxBufferSize=s,this.scheduler=r,this.contexts=[];var o=this.openContext();if(this.timespanOnly=null==n||n<0,this.timespanOnly)this.add(o.closeAction=r.schedule(u,i,{subscriber:this,context:o,bufferTimeSpan:i}));else{var a={bufferTimeSpan:i,bufferCreationInterval:n,subscriber:this,scheduler:r};this.add(o.closeAction=r.schedule(d,i,{subscriber:this,context:o})),this.add(r.schedule(h,n,a))}}return n(t,e),t.prototype._next=function(e){for(var t,i=this.contexts,n=i.length,s=0;s<n;s++){var r=i[s],o=r.buffer;o.push(e),o.length==this.maxBufferSize&&(t=r)}t&&this.onBufferFull(t)},t.prototype._error=function(t){this.contexts.length=0,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts,i=this.destination;t.length>0;){var n=t.shift();i.next(n.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var i=this.bufferTimeSpan;this.add(e.closeAction=this.scheduler.schedule(u,i,{subscriber:this,context:e,bufferTimeSpan:i}))}},t.prototype.openContext=function(){var e=new c;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(r.Subscriber);function u(e){var t=e.subscriber,i=e.context;i&&t.closeContext(i),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function h(e){var t=e.bufferCreationInterval,i=e.bufferTimeSpan,n=e.subscriber,s=e.scheduler,r=n.openContext();n.closed||(n.add(r.closeAction=s.schedule(d,i,{subscriber:n,context:r})),this.schedule(e,t))}function d(e){e.subscriber.closeContext(e.context)}},wQk9:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(i("wd/R"))},wR93:function(e,t,i){"use strict";var n=i("1uGz"),s=i("nkkL"),r=i("yz70");t.toSubscriber=function(e,t,i){if(e){if(e instanceof n.Subscriber)return e;if(e[s.rxSubscriber])return e[s.rxSubscriber]()}return e||t||i?new n.Subscriber(e,t,i):new n.Subscriber(r.empty)}},"wd/R":function(e,t,i){(function(e){e.exports=function(){"use strict";var t,n;function s(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var i,n=[];for(i=0;i<e.length;++i)n.push(t(e[i],i));return n}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var i in t)h(t,i)&&(e[i]=t[i]);return h(t,"toString")&&(e.toString=t.toString),h(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,i,n){return wt(e,t,i,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=p(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function g(e){var t=f(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};var _=s.momentProperties=[];function b(e,t){var i,n,s;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),_.length>0)for(i=0;i<_.length;i++)a(s=t[n=_[i]])||(e[n]=s);return e}var y=!1;function v(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,s.updateOffset(this),y=!1)}function F(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function k(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=k(t)),i}function S(e,t,i){var n,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0;for(n=0;n<s;n++)(i&&e[n]!==t[n]||!i&&w(e[n])!==w(t[n]))&&o++;return o+r}function T(e){!1===s.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function D(e,t){var i=!0;return d((function(){if(null!=s.deprecationHandler&&s.deprecationHandler(null,e),i){for(var n,r=[],o=0;o<arguments.length;o++){if(n="","object"==typeof arguments[o]){for(var a in n+="\n["+o+"] ",arguments[0])n+=a+": "+arguments[0][a]+", ";n=n.slice(0,-2)}else n=arguments[o];r.push(n)}T(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var E,M={};function C(e,t){null!=s.deprecationHandler&&s.deprecationHandler(e,t),M[e]||(T(t),M[e]=!0)}function O(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e,t){var i,n=d({},e);for(i in t)h(t,i)&&(o(e[i])&&o(t[i])?(n[i]={},d(n[i],e[i]),d(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)h(e,i)&&!h(t,i)&&o(e[i])&&(n[i]=d({},n[i]));return n}function L(e){null!=e&&this.set(e)}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,E=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)h(e,t)&&i.push(t);return i};var j={};function I(e,t){var i=e.toLowerCase();j[i]=j[i+"s"]=j[t]=e}function A(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function N(e){var t,i,n={};for(i in e)h(e,i)&&(t=A(i))&&(n[t]=e[i]);return n}var R={};function P(e,t){R[e]=t}function B(e,t,i){var n=""+Math.abs(e);return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var Y=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},U={};function W(e,t,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(U[e]=s),t&&(U[t[0]]=function(){return B(s.apply(this,arguments),t[1],t[2])}),i&&(U[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function z(e,t){return e.isValid()?(t=$(t,e.localeData()),V[t]=V[t]||function(e){var t,i,n,s=e.match(Y);for(t=0,i=s.length;t<i;t++)s[t]=U[s[t]]?U[s[t]]:(n=s[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,r="";for(n=0;n<i;n++)r+=O(s[n])?s[n].call(t,e):s[n];return r}}(t),V[t](e)):e.localeData().invalidDate()}function $(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;i>=0&&H.test(e);)e=e.replace(H,n),H.lastIndex=0,i-=1;return e}var G=/\d/,q=/\d\d/,K=/\d{3}/,J=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,ie=/\d{1,4}/,ne=/[+-]?\d{1,6}/,se=/\d+/,re=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,le={};function ue(e,t,i){le[e]=O(t)?t:function(e,n){return e&&i?i:t}}function he(e,t){return h(le,e)?le[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,s){return t||i||n||s}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function pe(e,t){var i,n=t;for("string"==typeof e&&(e=[e]),c(t)&&(n=function(e,i){i[t]=w(e)}),i=0;i<e.length;i++)fe[e[i]]=n}function me(e,t){pe(e,(function(e,i,n,s){n._w=n._w||{},t(e,n._w,n,s)}))}function ge(e,t,i){null!=t&&h(fe,e)&&fe[e](t,i._a,i,e)}function _e(e){return be(e)?366:365}function be(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),W(0,["YY",2],0,(function(){return this.year()%100})),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),I("year","y"),P("year",1),ue("Y",re),ue("YY",X,q),ue("YYYY",ie,J),ue("YYYYY",ne,Z),ue("YYYYYY",ne,Z),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?s.parseTwoDigitYear(e):w(e)})),pe("YY",(function(e,t){t[0]=s.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),s.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var ye,ve=Fe("FullYear",!0);function Fe(e,t){return function(i){return null!=i?(we(this,e,i),s.updateOffset(this,t),this):ke(this,e)}}function ke(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function we(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Se(i,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](i))}function Se(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=(t%12+12)%12;return e+=(t-i)/12,1===i?be(e)?29:28:31-i%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",(function(){return this.month()+1})),W("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),W("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),I("month","M"),P("month",8),ue("M",X),ue("MM",X,q),ue("MMM",(function(e,t){return t.monthsShortRegex(e)})),ue("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=w(e)-1})),pe(["MMM","MMMM"],(function(e,t,i,n){var s=i._locale.monthsParse(e,n,i._strict);null!=s?t[1]=s:p(i).invalidMonth=e}));var Te=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ee="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Me(e,t,i){var n,s,r,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=f([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(s=ye.call(this._shortMonthsParse,o))?s:null:-1!==(s=ye.call(this._longMonthsParse,o))?s:null:"MMM"===t?-1!==(s=ye.call(this._shortMonthsParse,o))?s:-1!==(s=ye.call(this._longMonthsParse,o))?s:null:-1!==(s=ye.call(this._longMonthsParse,o))?s:-1!==(s=ye.call(this._shortMonthsParse,o))?s:null}function Ce(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),Se(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Oe(e){return null!=e?(Ce(this,e),s.updateOffset(this,!0),this):ke(this,"Month")}var xe=ce,Le=ce;function je(){function e(e,t){return t.length-e.length}var t,i,n=[],s=[],r=[];for(t=0;t<12;t++)i=f([2e3,t]),n.push(this.monthsShort(i,"")),s.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(n.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)n[t]=de(n[t]),s[t]=de(s[t]);for(t=0;t<24;t++)r[t]=de(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ie(e,t,i,n,s,r,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,i,n,s,r,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,i,n,s,r,o),a}function Ae(e){var t;if(e<100&&e>=0){var i=Array.prototype.slice.call(arguments);i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ne(e,t,i){var n=7+t-i;return-(7+Ae(e,0,n).getUTCDay()-t)%7+n-1}function Re(e,t,i,n,s){var r,o,a=1+7*(t-1)+(7+i-n)%7+Ne(e,n,s);return a<=0?o=_e(r=e-1)+a:a>_e(e)?(r=e+1,o=a-_e(e)):(r=e,o=a),{year:r,dayOfYear:o}}function Pe(e,t,i){var n,s,r=Ne(e.year(),t,i),o=Math.floor((e.dayOfYear()-r-1)/7)+1;return o<1?n=o+Be(s=e.year()-1,t,i):o>Be(e.year(),t,i)?(n=o-Be(e.year(),t,i),s=e.year()+1):(s=e.year(),n=o),{week:n,year:s}}function Be(e,t,i){var n=Ne(e,t,i),s=Ne(e+1,t,i);return(_e(e)-n+s)/7}function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),P("week",5),P("isoWeek",5),ue("w",X),ue("ww",X,q),ue("W",X),ue("WW",X,q),me(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=w(e)})),W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),ue("d",X),ue("e",X),ue("E",X),ue("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ue("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ue("dddd",(function(e,t){return t.weekdaysRegex(e)})),me(["dd","ddd","dddd"],(function(e,t,i,n){var s=i._locale.weekdaysParse(e,n,i._strict);null!=s?t.d=s:p(i).invalidWeekday=e})),me(["d","e","E"],(function(e,t,i,n){t[n]=w(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function We(e,t,i){var n,s,r,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,o))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,o))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,o))?s:null:"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,o))?s:-1!==(s=ye.call(this._shortWeekdaysParse,o))?s:-1!==(s=ye.call(this._minWeekdaysParse,o))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,o))?s:-1!==(s=ye.call(this._weekdaysParse,o))?s:-1!==(s=ye.call(this._minWeekdaysParse,o))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,o))?s:-1!==(s=ye.call(this._weekdaysParse,o))?s:-1!==(s=ye.call(this._shortWeekdaysParse,o))?s:null}var ze=ce,$e=ce,Ge=ce;function qe(){function e(e,t){return t.length-e.length}var t,i,n,s,r,o=[],a=[],c=[],l=[];for(t=0;t<7;t++)i=f([2e3,1]).day(t),n=this.weekdaysMin(i,""),s=this.weekdaysShort(i,""),r=this.weekdays(i,""),o.push(n),a.push(s),c.push(r),l.push(n),l.push(s),l.push(r);for(o.sort(e),a.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)a[t]=de(a[t]),c[t]=de(c[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Je(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Ke),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+Ke.apply(this)+B(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Ke.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),Je("a",!0),Je("A",!1),I("hour","h"),P("hour",13),ue("a",Ze),ue("A",Ze),ue("H",X),ue("h",X),ue("k",X),ue("HH",X,q),ue("hh",X,q),ue("kk",X,q),ue("hmm",Q),ue("hmmss",ee),ue("Hmm",Q),ue("Hmmss",ee),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,i){var n=w(e);t[3]=24===n?0:n})),pe(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),pe(["h","hh"],(function(e,t,i){t[3]=w(e),p(i).bigHour=!0})),pe("hmm",(function(e,t,i){var n=e.length-2;t[3]=w(e.substr(0,n)),t[4]=w(e.substr(n)),p(i).bigHour=!0})),pe("hmmss",(function(e,t,i){var n=e.length-4,s=e.length-2;t[3]=w(e.substr(0,n)),t[4]=w(e.substr(n,2)),t[5]=w(e.substr(s)),p(i).bigHour=!0})),pe("Hmm",(function(e,t,i){var n=e.length-2;t[3]=w(e.substr(0,n)),t[4]=w(e.substr(n))})),pe("Hmmss",(function(e,t,i){var n=e.length-4,s=e.length-2;t[3]=w(e.substr(0,n)),t[4]=w(e.substr(n,2)),t[5]=w(e.substr(s))}));var Xe,Qe=Fe("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:De,monthsShort:Ee,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ue,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},tt={},it={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function st(t){var n=null;if(!tt[t]&&void 0!==e&&e&&e.exports)try{n=Xe._abbr,i("RnhZ")("./"+t),rt(n)}catch(s){}return tt[t]}function rt(e,t){var i;return e&&((i=a(t)?at(e):ot(e,t))?Xe=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function ot(e,t){if(null!==t){var i,n=et;if(t.abbr=e,null!=tt[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])n=tt[t.parentLocale]._config;else{if(null==(i=st(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;n=i._config}return tt[e]=new L(x(n,t)),it[e]&&it[e].forEach((function(e){ot(e.name,e.config)})),rt(e),tt[e]}return delete tt[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!r(e)){if(t=st(e))return t;e=[e]}return function(e){for(var t,i,n,s,r=0;r<e.length;){for(t=(s=nt(e[r]).split("-")).length,i=(i=nt(e[r+1]))?i.split("-"):null;t>0;){if(n=st(s.slice(0,t).join("-")))return n;if(i&&i.length>=t&&S(s,i,!0)>=t-1)break;t--}r++}return Xe}(e)}function ct(e){var t,i=e._a;return i&&-2===p(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>Se(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function lt(e,t,i){return null!=e?e:null!=t?t:i}function ut(e){var t,i,n,r,o,a=[];if(!e._d){for(n=function(e){var t=new Date(s.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,i,n,s,r,o,a,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,o=4,i=lt(t.GG,e._a[0],Pe(St(),1,4).year),n=lt(t.W,1),((s=lt(t.E,1))<1||s>7)&&(c=!0);else{r=e._locale._week.dow,o=e._locale._week.doy;var l=Pe(St(),r,o);i=lt(t.gg,e._a[0],l.year),n=lt(t.w,l.week),null!=t.d?((s=t.d)<0||s>6)&&(c=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(c=!0)):s=r}n<1||n>Be(i,r,o)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(a=Re(i,n,s,r,o),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(o=lt(e._a[0],n[0]),(e._dayOfYear>_e(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Ae(o,0,e._dayOfYear),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=n[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:Ie).apply(null,a),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(p(e).weekdayMismatch=!0)}}var ht=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gt=/^\/?Date\((\-?\d+)/i;function _t(e){var t,i,n,s,r,o,a=e._i,c=ht.exec(a)||dt.exec(a);if(c){for(p(e).iso=!0,t=0,i=pt.length;t<i;t++)if(pt[t][1].exec(c[1])){s=pt[t][0],n=!1!==pt[t][2];break}if(null==s)return void(e._isValid=!1);if(c[3]){for(t=0,i=mt.length;t<i;t++)if(mt[t][1].exec(c[3])){r=(c[2]||" ")+mt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(c[4]){if(!ft.exec(c[4]))return void(e._isValid=!1);o="Z"}e._f=s+(r||"")+(o||""),Ft(e)}else e._isValid=!1}var bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,i,n,s,r,o,a,c,l=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var u=(t=l[3],i=l[2],n=l[5],s=l[6],r=l[7],o=[(a=l[4],c=parseInt(a,10),c<=49?2e3+c:c<=999?1900+c:c),Ee.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(s,10)],r&&o.push(parseInt(r,10)),o);if(!function(e,t,i){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],u,e))return;e._a=u,e._tzm=function(e,t,i){if(e)return yt[e];if(t)return 0;var n=parseInt(i,10),s=n%100;return(n-s)/100*60+s}(l[8],l[9],l[10]),e._d=Ae.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function Ft(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],p(e).empty=!0;var t,i,n,r,o,a=""+e._i,c=a.length,l=0;for(n=$(e._f,e._locale).match(Y)||[],t=0;t<n.length;t++)(i=(a.match(he(r=n[t],e))||[])[0])&&((o=a.substr(0,a.indexOf(i))).length>0&&p(e).unusedInput.push(o),a=a.slice(a.indexOf(i)+i.length),l+=i.length),U[r]?(i?p(e).empty=!1:p(e).unusedTokens.push(r),ge(r,i,e)):e._strict&&!i&&p(e).unusedTokens.push(r);p(e).charsLeftOver=c-l,a.length>0&&p(e).unusedInput.push(a),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),ut(e),ct(e)}else vt(e);else _t(e)}function kt(e){var t=e._i,i=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===i&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),F(t)?new v(ct(t)):(l(t)?e._d=t:r(i)?function(e){var t,i,n,s,r;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],Ft(t),m(t)&&(r+=p(t).charsLeftOver,r+=10*p(t).unusedTokens.length,p(t).score=r,(null==n||r<n)&&(n=r,i=t));d(e,i||t)}(e):i?Ft(e):function(e){var t=e._i;a(t)?e._d=new Date(s.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=gt.exec(e._i);null===t?(_t(e),!1===e._isValid&&(delete e._isValid,vt(e),!1===e._isValid&&(delete e._isValid,s.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),ut(e)):o(t)?function(e){if(!e._d){var t=N(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ut(e)}}(e):c(t)?e._d=new Date(t):s.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function wt(e,t,i,n,s){var a,c={};return!0!==i&&!1!==i||(n=i,i=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||r(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=i,c._i=e,c._f=t,c._strict=n,(a=new v(ct(kt(c))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function St(e,t,i,n){return wt(e,t,i,n,!1)}s.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),s.ISO_8601=function(){},s.RFC_2822=function(){};var Tt=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()})),Dt=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}));function Et(e,t){var i,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return St();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Mt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var t=N(e),i=t.year||0,n=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ye.call(Mt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var i=!1,n=0;n<Mt.length;++n)if(e[Mt[n]]){if(i)return!1;parseFloat(e[Mt[n]])!==w(e[Mt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*a*60*60,this._days=+o+7*r,this._months=+s+3*n+12*i,this._data={},this._locale=at(),this._bubble()}function Ot(e){return e instanceof Ct}function xt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){W(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+B(~~(e/60),2)+t+B(~~e%60,2)}))}Lt("Z",":"),Lt("ZZ",""),ue("Z",ae),ue("ZZ",ae),pe(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=It(ae,e)}));var jt=/([\+\-]|\d\d)/gi;function It(e,t){var i=(t||"").match(e);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(jt)||["-",0,0],s=60*n[1]+w(n[2]);return 0===s?0:"+"===n[0]?s:-s}function At(e,t){var i,n;return t._isUTC?(i=t.clone(),n=(F(e)||l(e)?e.valueOf():St(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),s.updateOffset(i,!1),i):St(e).local()}function Nt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Rt(){return!!this.isValid()&&this._isUTC&&0===this._offset}s.updateOffset=function(){};var Pt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var i,n,s,r,o,a,l=e,u=null;return Ot(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(l={},t?l[t]=e:l.milliseconds=e):(u=Pt.exec(e))?(i="-"===u[1]?-1:1,l={y:0,d:w(u[2])*i,h:w(u[3])*i,m:w(u[4])*i,s:w(u[5])*i,ms:w(xt(1e3*u[6]))*i}):(u=Bt.exec(e))?l={y:Ht(u[2],i="-"===u[1]?-1:1),M:Ht(u[3],i),w:Ht(u[4],i),d:Ht(u[5],i),h:Ht(u[6],i),m:Ht(u[7],i),s:Ht(u[8],i)}:null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(r=St(l.from),o=St(l.to),s=r.isValid()&&o.isValid()?(o=At(o,r),r.isBefore(o)?a=Vt(r,o):((a=Vt(o,r)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(l={}).ms=s.milliseconds,l.M=s.months),n=new Ct(l),Ot(e)&&h(e,"_locale")&&(n._locale=e._locale),n}function Ht(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function Vt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Ut(e,t){return function(i,n){var s;return null===n||isNaN(+n)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=i,i=n,n=s),Wt(this,Yt(i="string"==typeof i?+i:i,n),e),this}}function Wt(e,t,i,n){var r=t._milliseconds,o=xt(t._days),a=xt(t._months);e.isValid()&&(n=null==n||n,a&&Ce(e,ke(e,"Month")+a*i),o&&we(e,"Date",ke(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n&&s.updateOffset(e,o||a))}Yt.fn=Ct.prototype,Yt.invalid=function(){return Yt(NaN)};var zt=Ut(1,"add"),$t=Ut(-1,"subtract");function Gt(e,t){var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kt=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Jt(){return this._locale}function Zt(e,t){return(e%t+t)%t}function Xt(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function Qt(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function ei(e,t){W(0,[e,e.length],0,t)}function ti(e,t,i,n,s){var r;return null==e?Pe(this,n,s).year:(t>(r=Be(e,n,s))&&(t=r),ii.call(this,e,t,i,n,s))}function ii(e,t,i,n,s){var r=Re(e,t,i,n,s),o=Ae(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),ue("G",re),ue("g",re),ue("GG",X,q),ue("gg",X,q),ue("GGGG",ie,J),ue("gggg",ie,J),ue("GGGGG",ne,Z),ue("ggggg",ne,Z),me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=w(e)})),me(["gg","GG"],(function(e,t,i,n){t[n]=s.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),I("quarter","Q"),P("quarter",7),ue("Q",G),pe("Q",(function(e,t){t[1]=3*(w(e)-1)})),W("D",["DD",2],"Do","date"),I("date","D"),P("date",9),ue("D",X),ue("DD",X,q),ue("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=w(e.match(X)[0])}));var ni=Fe("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),P("dayOfYear",4),ue("DDD",te),ue("DDDD",K),pe(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=w(e)})),W("m",["mm",2],0,"minute"),I("minute","m"),P("minute",14),ue("m",X),ue("mm",X,q),pe(["m","mm"],4);var si=Fe("Minutes",!1);W("s",["ss",2],0,"second"),I("second","s"),P("second",15),ue("s",X),ue("ss",X,q),pe(["s","ss"],5);var ri,oi=Fe("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),P("millisecond",16),ue("S",te,G),ue("SS",te,q),ue("SSS",te,K),ri="SSSS";ri.length<=9;ri+="S")ue(ri,se);function ai(e,t){t[6]=w(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")pe(ri,ai);var ci=Fe("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var li=v.prototype;function ui(e){return e}li.add=zt,li.calendar=function(e,t){var i=e||St(),n=At(i,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",o=t&&(O(t[r])?t[r].call(this,i):t[r]);return this.format(o||this.localeData().calendar(r,this,St(i)))},li.clone=function(){return new v(this)},li.diff=function(e,t,i){var n,s,r;if(!this.isValid())return NaN;if(!(n=At(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=A(t)){case"year":r=Gt(this,n)/12;break;case"month":r=Gt(this,n);break;case"quarter":r=Gt(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return i?r:k(r)},li.endOf=function(e){var t;if(void 0===(e=A(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?Qt:Xt;switch(e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},li.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=z(this,e);return this.localeData().postformat(t)},li.from=function(e,t){return this.isValid()&&(F(e)&&e.isValid()||St(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.fromNow=function(e){return this.from(St(),e)},li.to=function(e,t){return this.isValid()&&(F(e)&&e.isValid()||St(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.toNow=function(e){return this.to(St(),e)},li.get=function(e){return O(this[e=A(e)])?this[e]():this},li.invalidAt=function(){return p(this).overflow},li.isAfter=function(e,t){var i=F(e)?e:St(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=A(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},li.isBefore=function(e,t){var i=F(e)?e:St(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=A(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},li.isBetween=function(e,t,i,n){var s=F(e)?e:St(e),r=F(t)?t:St(t);return!!(this.isValid()&&s.isValid()&&r.isValid())&&("("===(n=n||"()")[0]?this.isAfter(s,i):!this.isBefore(s,i))&&(")"===n[1]?this.isBefore(r,i):!this.isAfter(r,i))},li.isSame=function(e,t){var i,n=F(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=A(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},li.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},li.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},li.isValid=function(){return m(this)},li.lang=Kt,li.locale=qt,li.localeData=Jt,li.max=Dt,li.min=Tt,li.parsingFlags=function(){return d({},p(this))},li.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t=[];for(var i in e)t.push({unit:i,priority:R[i]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=N(e)),n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit]);else if(O(this[e=A(e)]))return this[e](t);return this},li.startOf=function(e){var t;if(void 0===(e=A(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?Qt:Xt;switch(e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Zt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Zt(t,1e3)}return this._d.setTime(t),s.updateOffset(this,!0),this},li.subtract=$t,li.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},li.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},li.toDate=function(){return new Date(this.valueOf())},li.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?z(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",z(i,"Z")):z(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},li.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var i="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},li.toJSON=function(){return this.isValid()?this.toISOString():null},li.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},li.unix=function(){return Math.floor(this.valueOf()/1e3)},li.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},li.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},li.year=ve,li.isLeapYear=function(){return be(this.year())},li.weekYear=function(e){return ti.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},li.isoWeekYear=function(e){return ti.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},li.quarter=li.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},li.month=Oe,li.daysInMonth=function(){return Se(this.year(),this.month())},li.week=li.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},li.isoWeek=li.isoWeeks=function(e){var t=Pe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},li.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},li.isoWeeksInYear=function(){return Be(this.year(),1,4)},li.date=ni,li.day=li.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},li.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},li.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},li.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},li.hour=li.hours=Qe,li.minute=li.minutes=si,li.second=li.seconds=oi,li.millisecond=li.milliseconds=ci,li.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(ae,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Nt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Wt(this,Yt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Nt(this)},li.utc=function(e){return this.utcOffset(0,e)},li.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},li.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},li.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},li.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},li.isLocal=function(){return!!this.isValid()&&!this._isUTC},li.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},li.isUtc=Rt,li.isUTC=Rt,li.zoneAbbr=function(){return this._isUTC?"UTC":""},li.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},li.dates=D("dates accessor is deprecated. Use date instead.",ni),li.months=D("months accessor is deprecated. Use month instead",Oe),li.years=D("years accessor is deprecated. Use year instead",ve),li.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),li.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=kt(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hi=L.prototype;function di(e,t,i,n){var s=at(),r=f().set(n,t);return s[i](r,e)}function fi(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return di(e,t,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=di(e,n,i,"month");return s}function pi(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var s,r=at(),o=e?r._week.dow:0;if(null!=i)return di(t,(i+o)%7,n,"day");var a=[];for(s=0;s<7;s++)a[s]=di(t,(s+o)%7,n,"day");return a}hi.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return O(n)?n.call(t,i):n},hi.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(e){return this._ordinal.replace("%d",e)},hi.preparse=ui,hi.postformat=ui,hi.relativeTime=function(e,t,i,n){var s=this._relativeTime[i];return O(s)?s(e,t,i,n):s.replace(/%d/i,e)},hi.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return O(i)?i(t):i.replace(/%s/i,t)},hi.set=function(e){var t,i;for(i in e)O(t=e[i])?this[i]=t:this["_"+i]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},hi.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(e,t,i){var n,s,r;if(this._monthsParseExact)return Me.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=f([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},hi.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hi.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hi.week=function(e){return Pe(e,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(e,t){var i=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(i,this._week.dow):e?i[e.day()]:i},hi.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},hi.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},hi.weekdaysParse=function(e,t,i){var n,s,r;if(this._weekdaysParseExact)return We.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=f([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},hi.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hi.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hi.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ge),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hi.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hi.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},rt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=D("moment.lang is deprecated. Use moment.locale instead.",rt),s.langData=D("moment.langData is deprecated. Use moment.localeData instead.",at);var mi=Math.abs;function gi(e,t,i,n){var s=Yt(t,i);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function _i(e){return e<0?Math.floor(e):Math.ceil(e)}function bi(e){return 4800*e/146097}function yi(e){return 146097*e/4800}function vi(e){return function(){return this.as(e)}}var Fi=vi("ms"),ki=vi("s"),wi=vi("m"),Si=vi("h"),Ti=vi("d"),Di=vi("w"),Ei=vi("M"),Mi=vi("Q"),Ci=vi("y");function Oi(e){return function(){return this.isValid()?this._data[e]:NaN}}var xi=Oi("milliseconds"),Li=Oi("seconds"),ji=Oi("minutes"),Ii=Oi("hours"),Ai=Oi("days"),Ni=Oi("months"),Ri=Oi("years"),Pi=Math.round,Bi={ss:44,s:45,m:45,h:22,d:26,M:11};function Yi(e,t,i,n,s){return s.relativeTime(t||1,!!i,e,n)}var Hi=Math.abs;function Vi(e){return(e>0)-(e<0)||+e}function Ui(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i=Hi(this._milliseconds)/1e3,n=Hi(this._days),s=Hi(this._months);e=k(i/60),t=k(e/60),i%=60,e%=60;var r=k(s/12),o=s%=12,a=n,c=t,l=e,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=Vi(this._months)!==Vi(h)?"-":"",p=Vi(this._days)!==Vi(h)?"-":"",m=Vi(this._milliseconds)!==Vi(h)?"-":"";return d+"P"+(r?f+r+"Y":"")+(o?f+o+"M":"")+(a?p+a+"D":"")+(c||l||u?"T":"")+(c?m+c+"H":"")+(l?m+l+"M":"")+(u?m+u+"S":"")}var Wi=Ct.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},Wi.add=function(e,t){return gi(this,e,t,1)},Wi.subtract=function(e,t){return gi(this,e,t,-1)},Wi.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=A(e))||"quarter"===e||"year"===e)switch(i=this._months+bi(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(yi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Wi.asMilliseconds=Fi,Wi.asSeconds=ki,Wi.asMinutes=wi,Wi.asHours=Si,Wi.asDays=Ti,Wi.asWeeks=Di,Wi.asMonths=Ei,Wi.asQuarters=Mi,Wi.asYears=Ci,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Wi._bubble=function(){var e,t,i,n,s,r=this._milliseconds,o=this._days,a=this._months,c=this._data;return r>=0&&o>=0&&a>=0||r<=0&&o<=0&&a<=0||(r+=864e5*_i(yi(a)+o),o=0,a=0),c.milliseconds=r%1e3,e=k(r/1e3),c.seconds=e%60,t=k(e/60),c.minutes=t%60,i=k(t/60),c.hours=i%24,o+=k(i/24),a+=s=k(bi(o)),o-=_i(yi(s)),n=k(a/12),a%=12,c.days=o,c.months=a,c.years=n,this},Wi.clone=function(){return Yt(this)},Wi.get=function(e){return e=A(e),this.isValid()?this[e+"s"]():NaN},Wi.milliseconds=xi,Wi.seconds=Li,Wi.minutes=ji,Wi.hours=Ii,Wi.days=Ai,Wi.weeks=function(){return k(this.days()/7)},Wi.months=Ni,Wi.years=Ri,Wi.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=function(e,t,i){var n=Yt(e).abs(),s=Pi(n.as("s")),r=Pi(n.as("m")),o=Pi(n.as("h")),a=Pi(n.as("d")),c=Pi(n.as("M")),l=Pi(n.as("y")),u=s<=Bi.ss&&["s",s]||s<Bi.s&&["ss",s]||r<=1&&["m"]||r<Bi.m&&["mm",r]||o<=1&&["h"]||o<Bi.h&&["hh",o]||a<=1&&["d"]||a<Bi.d&&["dd",a]||c<=1&&["M"]||c<Bi.M&&["MM",c]||l<=1&&["y"]||["yy",l];return u[2]=t,u[3]=+e>0,u[4]=i,Yi.apply(null,u)}(this,!e,t);return e&&(i=t.pastFuture(+this,i)),t.postformat(i)},Wi.toISOString=Ui,Wi.toString=Ui,Wi.toJSON=Ui,Wi.locale=qt,Wi.localeData=Jt,Wi.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ui),Wi.lang=Kt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ue("x",re),ue("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,i){i._d=new Date(w(e))})),s.version="2.24.0",t=St,s.fn=li,s.min=function(){var e=[].slice.call(arguments,0);return Et("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return Et("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=f,s.unix=function(e){return St(1e3*e)},s.months=function(e,t){return fi(e,t,"months")},s.isDate=l,s.locale=rt,s.invalid=g,s.duration=Yt,s.isMoment=F,s.weekdays=function(e,t,i){return pi(e,t,i,"weekdays")},s.parseZone=function(){return St.apply(null,arguments).parseZone()},s.localeData=at,s.isDuration=Ot,s.monthsShort=function(e,t){return fi(e,t,"monthsShort")},s.weekdaysMin=function(e,t,i){return pi(e,t,i,"weekdaysMin")},s.defineLocale=ot,s.updateLocale=function(e,t){if(null!=t){var i,n,s=et;null!=(n=st(e))&&(s=n._config),(i=new L(t=x(s,t))).parentLocale=tt[e],tt[e]=i,rt(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?tt[e]=tt[e].parentLocale:null!=tt[e]&&delete tt[e]);return tt[e]},s.locales=function(){return E(tt)},s.weekdaysShort=function(e,t,i){return pi(e,t,i,"weekdaysShort")},s.normalizeUnits=A,s.relativeTimeRounding=function(e){return void 0===e?Pi:"function"==typeof e&&(Pi=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Bi[e]&&(void 0===t?Bi[e]:(Bi[e]=t,"s"===e&&(Bi.ss=t-1),!0))},s.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},s.prototype=li,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()}).call(this,i("YuTi")(e))},we3k:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("zKHA"),r=i("AJP0"),o=i("9jZZ"),a=i("Irel");t.expand=function(e,t,i){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===i&&(i=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(n){return n.lift(new c(e,t,i))}};var c=function(){function e(e,t,i){this.project=e,this.concurrent=t,this.scheduler=i}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.concurrent,this.scheduler))},e}();t.ExpandOperator=c;var l=function(e){function t(t,i,n,s){e.call(this,t),this.project=i,this.concurrent=n,this.scheduler=s,this.index=0,this.active=0,this.hasCompleted=!1,n<Number.POSITIVE_INFINITY&&(this.buffer=[])}return n(t,e),t.dispatch=function(e){e.subscriber.subscribeToProjection(e.result,e.value,e.index)},t.prototype._next=function(e){var i=this.destination;if(i.closed)this._complete();else{var n=this.index++;if(this.active<this.concurrent){i.next(e);var o=s.tryCatch(this.project)(e,n);o===r.errorObject?i.error(r.errorObject.e):this.scheduler?this.add(this.scheduler.schedule(t.dispatch,0,{subscriber:this,result:o,value:e,index:n})):this.subscribeToProjection(o,e,n)}else this.buffer.push(e)}},t.prototype.subscribeToProjection=function(e,t,i){this.active++,this.add(a.subscribeToResult(this,e,t,i))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,s){this._next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(o.OuterSubscriber);t.ExpandSubscriber=l},wf0l:function(e,t,i){"use strict";var n=i("fXoL"),s=i("LRne"),r=i("jtHE"),o=i("HDdC"),a=i("KqfI");const c=new o.a(a.a);var l=i("XNiG"),u=(i("EY2u"),i("vkgz")),h=i("pLZG"),d=i("IzEk"),f=i("5+tZ"),p=i("lJxs"),m=i("JIr8"),g=i("eIep");i("JX91"),i("7o/Q"),i("D0XW"),i("w1tV");var _=i("ofXK");i.d(t,"a",(function(){return A})),i.d(t,"b",(function(){return O}));const b=new n.q("LazyLoadImageHooks");function y(e){return Boolean(e.parentElement&&"picture"===e.parentElement.nodeName.toLowerCase())}function v(e){return"img"===e.nodeName.toLowerCase()}function F(e,t,i){return v(e)?i&&"srcset"in e?e.srcset=t:e.src=t:e.style.backgroundImage=`url('${t}')`,e}function k(e){return t=>{const i=t.parentElement.getElementsByTagName("source");for(let n=0;n<i.length;n++){const t=i[n].getAttribute(e);t&&("srcset"in i[n]?i[n].srcset=t:i[n].src=t)}}}const w=k("defaultImage"),S=k("lazyLoad"),T=k("errorImage");function D(e){return(t,i,n)=>{v(t)&&y(t)&&e(t),i&&F(t,i,n)}}const E=D(w),M=D(S),C=D(T);let O=(()=>{class e{constructor(e,t,i,s){this.onStateChange=new n.n,this.elementRef=e,this.ngZone=t,this.propertyChanges$=new r.a,this.hooks=s,this.hooks.setPlatformId(i),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe(e=>console.log(e))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(Object(u.a)(e=>this.hooks.onAttributeChange(e)),Object(u.a)(e=>e.onStateChange.emit({reason:"setup"})),Object(u.a)(e=>this.hooks.setup(e)),Object(g.a)(e=>e.imagePath?this.hooks.getObservable(e).pipe(function(e,t){return i=>i.pipe(Object(u.a)(e=>t.onStateChange.emit({reason:"observer-emit",data:e})),Object(h.a)(i=>e.isVisible(i,t)),Object(d.a)(1),Object(u.a)(()=>t.onStateChange.emit({reason:"start-loading"})),Object(f.a)(()=>e.loadImage(t)),Object(u.a)(()=>t.onStateChange.emit({reason:"mount-image"})),Object(u.a)(i=>e.setLoadedImage(i,t)),Object(u.a)(()=>t.onStateChange.emit({reason:"loading-succeeded"})),Object(p.a)(()=>!0),Object(m.a)(i=>(t.onStateChange.emit({reason:"loading-failed",data:i}),e.setErrorImage(i,t),Object(s.a)(!1))),Object(u.a)(()=>{t.onStateChange.emit({reason:"finally"}),e.finally(t)}))}(this.hooks,e)):c)).subscribe({next:()=>null})})}ngOnDestroy(){var e,t;this.propertyChanges$.pipe(Object(d.a)(1)).subscribe({next:e=>this.hooks.onDestroy(e)}).unsubscribe(),null===(e=this.loadSubscription)||void 0===e||e.unsubscribe(),null===(t=this.debugSubscription)||void 0===t||t.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Vb(n.l),n.Vb(n.A),n.Vb(n.C),n.Vb(b))},e.\u0275dir=n.Qb({type:e,selectors:[["","lazyLoad",""]],inputs:{lazyImage:["lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},features:[n.Fb()]}),e})();function x(e,t){e.className=e.className.replace(t,"")}function L(e,t){e.className.includes(t)||(e.className+=` ${t}`)}let j=(()=>{class e extends class extends class{constructor(){this.navigator="undefined"!=typeof window?window.navigator:void 0}setPlatformId(e){this.platformId=e}onDestroy(e){}onAttributeChange(e){}}{setup(e){var t;E(e.element,e.defaultImagePath,e.useSrcset),L(e.element,"ng-lazyloading"),(t=e.element).className&&t.className.includes("ng-lazyloaded")&&x(e.element,"ng-lazyloaded")}finally(e){L(e.element,"ng-lazyloaded"),x(e.element,"ng-lazyloading")}loadImage(e){if(this.skipLazyLoading())return[e.imagePath];const{element:t,useSrcset:i,imagePath:n,decode:s}=e;let r;if(v(t)&&y(t)){const e=t.parentNode.cloneNode(!0);r=e.getElementsByTagName("img")[0],S(r),F(r,n,i)}else r=new Image,v(t)&&t.referrerPolicy&&(r.referrerPolicy=t.referrerPolicy),v(t)&&t.sizes&&(r.sizes=t.sizes),i&&"srcset"in r?r.srcset=n:r.src=n;return s&&r.decode?r.decode().then(()=>n):new Promise((e,t)=>{r.onload=()=>e(n),r.onerror=()=>t(null)})}setErrorImage(e,t){const{element:i,useSrcset:n,errorImagePath:s}=t;C(i,s,n),L(i,"ng-failed-lazyloaded")}setLoadedImage(e,t){const{element:i,useSrcset:n}=t;M(i,e,n)}isDisabled(){return Object(_.I)(this.platformId)&&!this.isBot()}skipLazyLoading(){return this.isBot()}isBot(){var e;return!(null===(e=this.navigator)||void 0===e||!e.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(this.navigator.userAgent)}}{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=new l.a,this.uniqKey={}}getObservable(e){if(this.skipLazyLoading())return Object(s.a)({isIntersecting:!0});if(e.customObservable)return e.customObservable;const t=e.scrollContainer||this.uniqKey,i={root:e.scrollContainer||null};e.offset&&(i.rootMargin=`${e.offset}px`);let n=this.observers.get(t);return n||(n=new IntersectionObserver(e=>this.loadingCallback(e),i),this.observers.set(t,n)),n.observe(e.element),o.a.create(t=>{const i=this.intersectionSubject.pipe(Object(h.a)(t=>t.target===e.element)).subscribe(t);return()=>{i.unsubscribe(),n.unobserve(e.element)}})}isVisible(e){return e.isIntersecting}loadingCallback(e){e.forEach(e=>this.intersectionSubject.next(e))}}return e.\u0275fac=function(t){return I(t||e)},e.\u0275prov=n.Rb({token:e,factory:e.\u0275fac}),e})();const I=n.dc(j);let A=(()=>{class e{}return e.\u0275mod=n.Tb({type:e}),e.\u0275inj=n.Sb({factory:function(t){return new(t||e)},providers:[{provide:b,useClass:j}]}),e})()},"x+ZX":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("7o/Q");function s(){return function(e){return e.lift(new r(e))}}class r{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const n=new o(e,i),s=t.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class o extends n.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;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}},x6pH:function(e,t,i){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,i){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i("wd/R"))},xgIS:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("HDdC"),s=i("DH7j"),r=i("n6bG"),o=i("lJxs");function a(e,t,i,c){return Object(r.a)(i)&&(c=i,i=void 0),c?a(e,t,i).pipe(Object(o.a)(e=>Object(s.a)(e)?c(...e):c(e))):new n.a(n=>{!function e(t,i,n,s,r){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(i,n,r),o=()=>e.removeEventListener(i,n,r)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(i,n),o=()=>e.off(i,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(i,n),o=()=>e.removeListener(i,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,a=t.length;o<a;o++)e(t[o],i,n,s,r)}s.add(o)}(e,t,(function(e){n.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),n,i)})}},y2i3:function(e,t,i){"use strict";var n=i("G2HO"),s=i("pYXR"),r=i("PFc+"),o=i("zKHA"),a=i("AJP0"),c=i("kwlx");function l(e){return e.reduce((function(e,t){return e.concat(t instanceof c.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var i=this._parent,u=this._parents,h=this._unsubscribe,d=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,p=u?u.length:0;i;)i.remove(this),i=++f<p&&u[f]||null;if(r.isFunction(h)&&o.tryCatch(h).call(this)===a.errorObject&&(t=!0,e=e||(a.errorObject.e instanceof c.UnsubscriptionError?l(a.errorObject.e.errors):[a.errorObject.e])),n.isArray(d))for(f=-1,p=d.length;++f<p;){var m=d[f];if(s.isObject(m)&&o.tryCatch(m.unsubscribe).call(m)===a.errorObject){t=!0,e=e||[];var g=a.errorObject.e;g instanceof c.UnsubscriptionError?e=e.concat(l(g.errors)):e.push(g)}}if(t)throw new c.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var i=t;switch(typeof t){case"function":i=new e(t);case"object":if(i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if("function"!=typeof i._addParent){var n=i;(i=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(i),i._addParent(this),i},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var i=t.indexOf(e);-1!==i&&t.splice(i,1)}},e.prototype._addParent=function(e){var t=this._parent,i=this._parents;t&&t!==e?i?-1===i.indexOf(e)&&i.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}()},yCtX:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("HDdC"),s=i("ngJS"),r=i("jZKg");function o(e,t){return t?Object(r.a)(e,t):new n.a(Object(s.a)(e))}},yPMs:function(e,t,i){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,i){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},yRPT:function(e,t,i){"use strict";t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},yx2s:function(e,t,i){"use strict";var n=i("FWf1");t.canReportError=function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof n.Subscriber?t:null}return!0}},yz70:function(e,t,i){"use strict";t.empty={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},"z+Ro":function(e,t,i){"use strict";function n(e){return e&&"function"==typeof e.schedule}i.d(t,"a",(function(){return n}))},z1FC:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n?s[i][0]:t?s[i][0]:s[i][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){return e>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},z3Vd:function(e,t,i){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,s){var r=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),s=e%10,r="";return i>0&&(r+=t[i]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+t[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+t[s]),""===r?"pagh":r}(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wd/R"))},z6cu:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("HDdC");function s(e,t){return new n.a(t?i=>t.schedule(r,0,{error:e,subscriber:i}):t=>t.error(e))}function r({error:e,subscriber:t}){t.error(e)}},"zB/H":function(e,t,i){"use strict";var n=i("mbIT"),s=i("GMZp"),r=i("pshJ"),o=i("LBXl");function a(e){return e.reduce((function(e,t){return e.concat(t instanceof o.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var i=this._parentOrParents,c=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(var u=0;u<i.length;++u)i[u].remove(this);if(r.isFunction(c))try{c.call(this)}catch(f){t=f instanceof o.UnsubscriptionError?a(f.errors):[f]}if(n.isArray(l)){u=-1;for(var h=l.length;++u<h;){var d=l[u];if(s.isObject(d))try{d.unsubscribe()}catch(f){t=t||[],f instanceof o.UnsubscriptionError?t=t.concat(a(f.errors)):t.push(f)}}}if(t)throw new o.UnsubscriptionError(t)}},e.prototype.add=function(t){var i=t;if(!t)return e.EMPTY;switch(typeof t){case"function":i=new e(t);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof e)){var n=i;(i=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var s=i._parentOrParents;if(null===s)i._parentOrParents=this;else if(s instanceof e){if(s===this)return i;i._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return i;s.push(this)}var r=this._subscriptions;return null===r?this._subscriptions=[i]:r.push(i),i},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var i=t.indexOf(e);-1!==i&&t.splice(i,1)}},e.EMPTY=((t=new e).closed=!0,t),e}()},zKHA:function(e,t,i){"use strict";var n,s=i("AJP0");function r(){try{return n.apply(this,arguments)}catch(e){return s.errorObject.e=e,s.errorObject}}t.tryCatch=function(e){return n=e,r}},zL8T:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.debounce=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.durationSelector))},e}(),a=function(e){function t(t,i){e.call(this,t),this.durationSelector=i,this.hasValue=!1,this.durationSubscription=null}return n(t,e),t.prototype._next=function(e){try{var t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(i){this.destination.error(i)}},t.prototype._complete=function(){this.emitValue(),this.destination.complete()},t.prototype._tryNext=function(e,t){var i=this.durationSubscription;this.value=e,this.hasValue=!0,i&&(i.unsubscribe(),this.remove(i)),(i=r.subscribeToResult(this,t)).closed||this.add(this.durationSubscription=i)},t.prototype.notifyNext=function(e,t,i,n,s){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){if(this.hasValue){var t=this.value,i=this.durationSubscription;i&&(this.durationSubscription=null,i.unsubscribe(),this.remove(i)),this.value=null,this.hasValue=!1,e.prototype._next.call(this,t)}},t}(s.OuterSubscriber)},zUnb:function(e,t,i){"use strict";i.r(t);var n={};i.r(n),i.d(n,"FunctionToString",(function(){return Oi})),i.d(n,"InboundFilters",(function(){return Ri}));var s=i("fXoL"),r=i("AytR"),o=i("jhN1"),a=i("R0Ic");function c(){return"undefined"!=typeof process}function l(e){switch(e.length){case 0:return new a.d;case 1:return e[0];default:return new a.m(e)}}function u(e,t,i,n,s={},r={}){const o=[],c=[];let l=-1,u=null;if(n.forEach(e=>{const i=e.offset,n=i==l,h=n&&u||{};Object.keys(e).forEach(i=>{let n=i,c=e[i];if("offset"!==i)switch(n=t.normalizePropertyName(n,o),c){case a.n:c=s[i];break;case a.a:c=r[i];break;default:c=t.normalizeStyleValue(i,n,c,o)}h[n]=c}),n||c.push(h),u=h,l=i}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return c}function h(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&d(i,"start",e)));break;case"done":e.onDone(()=>n(i&&d(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&d(i,"destroy",e)))}}function d(e,t,i){const n=i.totalTime,s=f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!i.disabled),r=e._data;return null!=r&&(s._data=r),s}function f(e,t,i,n,s="",r=0,o){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:s,totalTime:r,disabled:!!o}}function p(e,t,i){let n;return e instanceof Map?(n=e.get(t),n||e.set(t,n=i)):(n=e[t],n||(n=e[t]=i)),n}function m(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let g=(e,t)=>!1,_=(e,t)=>!1,b=(e,t,i)=>[];const y=c();(y||"undefined"!=typeof Element)&&(g=(e,t)=>e.contains(t),_=(()=>{if(y||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,i)=>t.apply(e,[i]):_}})(),b=(e,t,i)=>{let n=[];if(i)n.push(...e.querySelectorAll(t));else{const i=e.querySelector(t);i&&n.push(i)}return n});let v=null,F=!1;function k(e){v||(v=("undefined"!=typeof document?document.body:null)||{},F=!!v.style&&"WebkitAppearance"in v.style);let t=!0;return v.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in v.style,!t&&F)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in v.style),t}const w=_,S=g,T=b;function D(e){const t={};return Object.keys(e).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[i]}),t}let E=(()=>{class e{validateStyleProperty(e){return k(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,i){return T(e,t,i)}computeStyle(e,t,i){return i||""}animate(e,t,i,n,s,r=[],o){return new a.d(i,n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),M=(()=>{class e{}return e.NOOP=new E,e})();function C(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:O(parseFloat(t[1]),t[2])}function O(e,t){switch(t){case"s":return 1e3*e;default:return e}}function x(e,t,i){return e.hasOwnProperty("duration")?e:function(e,t,i){let n,s=0,r="";if("string"==typeof e){const i=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};n=O(parseFloat(i[1]),i[2]);const o=i[3];null!=o&&(s=O(parseFloat(o),i[4]));const a=i[5];a&&(r=a)}else n=e;if(!i){let i=!1,r=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:n,delay:s,easing:r}}(e,t,i)}function L(e,t={}){return Object.keys(e).forEach(i=>{t[i]=e[i]}),t}function j(e,t,i={}){if(t)for(let n in e)i[n]=e[n];else L(e,i);return i}function I(e,t,i){return i?t+":"+i+";":""}function A(e){let t="";for(let i=0;i<e.style.length;i++){const n=e.style.item(i);t+=I(0,n,e.style.getPropertyValue(n))}for(const i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=I(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function N(e,t,i){e.style&&(Object.keys(t).forEach(n=>{const s=W(n);i&&!i.hasOwnProperty(n)&&(i[n]=e.style[s]),e.style[s]=t[n]}),c()&&A(e))}function R(e,t){e.style&&(Object.keys(t).forEach(t=>{const i=W(t);e.style[i]=""}),c()&&A(e))}function P(e){return Array.isArray(e)?1==e.length?e[0]:Object(a.h)(e):e}const B=new RegExp("{{\\s*(.+?)\\s*}}","g");function Y(e){let t=[];if("string"==typeof e){let i;for(;i=B.exec(e);)t.push(i[1]);B.lastIndex=0}return t}function H(e,t,i){const n=e.toString(),s=n.replace(B,(e,n)=>{let s=t[n];return t.hasOwnProperty(n)||(i.push(`Please provide a value for the animation param ${n}`),s=""),s.toString()});return s==n?e:s}function V(e){const t=[];let i=e.next();for(;!i.done;)t.push(i.value),i=e.next();return t}const U=/-+([a-z0-9])/g;function W(e){return e.replace(U,(...e)=>e[1].toUpperCase())}function z(e,t){return 0===e||0===t}function $(e,t,i){const n=Object.keys(i);if(n.length&&t.length){let r=t[0],o=[];if(n.forEach(e=>{r.hasOwnProperty(e)||o.push(e),r[e]=i[e]}),o.length)for(var s=1;s<t.length;s++){let i=t[s];o.forEach((function(t){i[t]=q(e,t)}))}}return t}function G(e,t,i){switch(t.type){case 7:return e.visitTrigger(t,i);case 0:return e.visitState(t,i);case 1:return e.visitTransition(t,i);case 2:return e.visitSequence(t,i);case 3:return e.visitGroup(t,i);case 4:return e.visitAnimate(t,i);case 5:return e.visitKeyframes(t,i);case 6:return e.visitStyle(t,i);case 8:return e.visitReference(t,i);case 9:return e.visitAnimateChild(t,i);case 10:return e.visitAnimateRef(t,i);case 11:return e.visitQuery(t,i);case 12:return e.visitStagger(t,i);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function q(e,t){return window.getComputedStyle(e)[t]}function K(e,t){const i=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,i){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,i);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${e}" is not supported`),t;const s=n[1],r=n[2],o=n[3];t.push(X(s,o)),"<"!=r[0]||"*"==s&&"*"==o||t.push(X(o,s))}(e,i,t)):i.push(e),i}const J=new Set(["true","1"]),Z=new Set(["false","0"]);function X(e,t){const i=J.has(e)||Z.has(e),n=J.has(t)||Z.has(t);return(s,r)=>{let o="*"==e||e==s,a="*"==t||t==r;return!o&&i&&"boolean"==typeof s&&(o=s?J.has(e):Z.has(e)),!a&&n&&"boolean"==typeof r&&(a=r?J.has(t):Z.has(t)),o&&a}}const Q=new RegExp("s*:selfs*,?","g");function ee(e,t,i){return new te(e).build(t,i)}class te{constructor(e){this._driver=e}build(e,t){const i=new ie(t);return this._resetContextStyleTimingState(i),G(this,P(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0;const s=[],r=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const i=e,n=i.name;n.toString().split(/\s*,\s*/).forEach(e=>{i.name=e,s.push(this.visitState(i,t))}),i.name=n}else if(1==e.type){const s=this.visitTransition(e,t);i+=s.queryCount,n+=s.depCount,r.push(s)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:r,queryCount:i,depCount:n,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){const s=new Set,r=n||{};if(i.styles.forEach(e=>{if(ne(e)){const t=e;Object.keys(t).forEach(e=>{Y(t[e]).forEach(e=>{r.hasOwnProperty(e)||s.add(e)})})}}),s.size){const i=V(s.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=G(this,P(e.animation),t);return{type:1,matchers:K(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:se(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>G(this,e,t)),options:se(e.options)}}visitGroup(e,t){const i=t.currentTime;let n=0;const s=e.steps.map(e=>{t.currentTime=i;const s=G(this,e,t);return n=Math.max(n,t.currentTime),s});return t.currentTime=n,{type:3,steps:s,options:se(e.options)}}visitAnimate(e,t){const i=function(e,t){let i=null;if(e.hasOwnProperty("duration"))i=e;else if("number"==typeof e)return re(x(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=re(0,0,"");return e.dynamic=!0,e.strValue=n,e}return i=i||x(n,t),re(i.duration,i.delay,i.easing)}(e.timings,t.errors);let n;t.currentAnimateTimings=i;let s=e.styles?e.styles:Object(a.j)({});if(5==s.type)n=this.visitKeyframes(s,t);else{let s=e.styles,r=!1;if(!s){r=!0;const e={};i.easing&&(e.easing=i.easing),s=Object(a.j)(e)}t.currentTime+=i.duration+i.delay;const o=this.visitStyle(s,t);o.isEmptyStep=r,n=o}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==a.a?i.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):i.push(e)}):i.push(e.styles);let n=!1,s=null;return i.forEach(e=>{if(ne(e)){const t=e,i=t.easing;if(i&&(s=i,delete t.easing),!n)for(let e in t)if(t[e].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let n=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void t.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const r=t.collectedStyles[t.currentQuerySelector],o=r[i];let a=!0;o&&(s!=n&&s>=o.startTime&&n<=o.endTime&&(t.errors.push(`The CSS property "${i}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${n}ms"`),a=!1),s=o.startTime),a&&(r[i]={startTime:s,endTime:n}),t.options&&function(e,t,i){const n=t.params||{},s=Y(e);s.length&&s.forEach(e=>{n.hasOwnProperty(e)||i.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[i],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let r=!1,o=!1,a=0;const c=e.steps.map(e=>{const i=this._makeStyleAst(e,t);let c=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ne(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(ne(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}return t}(i.styles),l=0;return null!=c&&(n++,l=i.offset=c),o=o||l<0||l>1,r=r||l<a,a=l,s.push(l),i});o&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&t.errors.push("Please ensure that all keyframe offsets are in order");const l=e.steps.length;let u=0;n>0&&n<l?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==n&&(u=1/(l-1));const h=l-1,d=t.currentTime,f=t.currentAnimateTimings,p=f.duration;return c.forEach((e,n)=>{const r=u>0?n==h?1:u*n:s[n],o=r*p;t.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(e,t),e.offset=r,i.styles.push(e)}),i}visitReference(e,t){return{type:8,animation:G(this,P(e.animation),t),options:se(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:se(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:se(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[s,r]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(Q,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,p(t.collectedStyles,t.currentQuerySelector,{});const o=G(this,P(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:o,originalSelector:e.selector,options:se(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:x(e.timings,t.errors,!0);return{type:12,animation:G(this,P(e.animation),t),timings:i,options:null}}}class ie{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ne(e){return!Array.isArray(e)&&"object"==typeof e}function se(e){var t;return e?(e=L(e)).params&&(e.params=(t=e.params)?L(t):null):e={},e}function re(e,t,i){return{duration:e,delay:t,easing:i}}function oe(e,t,i,n,s,r,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class ae{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const ce=new RegExp(":enter","g"),le=new RegExp(":leave","g");function ue(e,t,i,n,s,r={},o={},a,c,l=[]){return(new he).buildKeyframes(e,t,i,n,s,r,o,a,c,l)}class he{buildKeyframes(e,t,i,n,s,r,o,a,c,l=[]){c=c||new ae;const u=new fe(e,t,c,n,s,l,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),G(this,i,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[oe(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.consume(t.element);if(i){const n=t.createSubContext(e.options),s=t.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);s!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime;const s=null!=i.duration?C(i.duration):null,r=null!=i.delay?C(i.delay):null;return 0!==s&&e.forEach(e=>{const i=t.appendInstructionToTimeline(e,s,r);n=Math.max(n,i.duration+i.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),G(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let n=t;const s=e.options;if(s&&(s.params||s.delay)&&(n=t.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=de);const e=C(s.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>G(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let n=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?C(e.options.delay):0;e.steps.forEach(r=>{const o=t.createSubContext(e.options);s&&o.delayNextStep(s),G(this,r,o),n=Math.max(n,o.currentTimeline.currentTime),i.push(o.currentTimeline)}),i.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return x(t.params?H(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,n=t.currentTimeline.duration,s=i.duration,r=t.createSubContext().currentTimeline;r.easing=i.easing,e.styles.forEach(e=>{r.forwardTime((e.offset||0)*s),r.setStyles(e.styles,e.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+s),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,n=e.options||{},s=n.delay?C(n.delay):0;s&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=de);let r=i;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((i,n)=>{t.currentQueryIndex=n;const o=t.createSubContext(e.options,i);s&&o.delayNextStep(s),i===t.element&&(a=o.currentTimeline),G(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,n=t.currentTimeline,s=e.timings,r=Math.abs(s.duration),o=r*(t.currentQueryTotal-1);let a=r*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=i.currentStaggerTime}const c=t.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;G(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-l+(n.startTime-i.currentTimeline.startTime)}}const de={};class fe{constructor(e,t,i,n,s,r,o,a){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=de,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pe(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let n=this.options;null!=i.duration&&(n.duration=C(i.duration)),null!=i.delay&&(n.delay=C(i.delay));const s=i.params;if(s){let e=n.params;e||(e=this.options.params={}),Object.keys(s).forEach(i=>{t&&e.hasOwnProperty(i)||(e[i]=H(s[i],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(e=>{i[e]=t[e]})}}return e}createSubContext(e=null,t,i){const n=t||this.element,s=new fe(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=de,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},s=new me(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,n,s,r){let o=[];if(n&&o.push(this.element),e.length>0){e=(e=e.replace(ce,"."+this._enterClassName)).replace(le,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=i);0!==i&&(t=i<0?t.slice(t.length+i,t.length):t.slice(0,i)),o.push(...t)}return s||0!=o.length||r.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class pe{constructor(e,t,i,n){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new pe(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||a.a,this._currentKeyframe[e]=a.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,n){t&&(this._previousKeyframe.easing=t);const s=n&&n.params||{},r=function(e,t){const i={};let n;return e.forEach(e=>{"*"===e?(n=n||Object.keys(t),n.forEach(e=>{i[e]=a.a})):j(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(r).forEach(e=>{const t=H(r[e],s,i);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:a.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const i=this._styleSummary[t],n=e._styleSummary[t];(!i||n.time>i.time)&&this._updateStyle(t,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const o=j(s,!0);Object.keys(o).forEach(i=>{const n=o[i];n==a.n?e.add(i):n==a.a&&t.add(i)}),i||(o.offset=r/this.duration),n.push(o)});const s=e.size?V(e.values()):[],r=t.size?V(t.values()):[];if(i){const e=n[0],t=L(e);e.offset=0,t.offset=1,n=[e,t]}return oe(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class me extends pe{constructor(e,t,i,n,s,r,o=!1){super(e,t,r.delay),this.element=t,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],r=i+t,o=t/r,a=j(e[0],!1);a.offset=0,s.push(a);const c=j(e[0],!1);c.offset=ge(o),s.push(c);const l=e.length-1;for(let n=1;n<=l;n++){let o=j(e[n],!1);o.offset=ge((t+o.offset*i)/r),s.push(o)}i=r,t=0,n="",e=s}return oe(this.element,e,this.preStyleProps,this.postStyleProps,i,t,n,!0)}}function ge(e,t=3){const i=Math.pow(10,t-1);return Math.round(e*i)/i}class _e{}class be extends _e{normalizePropertyName(e,t){return W(e)}normalizeStyleValue(e,t,i,n){let s="";const r=i.toString().trim();if(ye[t]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const t=i.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&n.push(`Please provide a CSS unit value for ${e}:${i}`)}return r+s}}const ye=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function ve(e,t,i,n,s,r,o,a,c,l,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:s,fromState:i,fromStyles:r,toState:n,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const Fe={};class ke{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return function(e,t,i,n,s){return e.some(e=>e(t,i,n,s))}(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){const n=this._stateStyles["*"],s=this._stateStyles[e],r=n?n.buildStyles(t,i):{};return s?s.buildStyles(t,i):r}build(e,t,i,n,s,r,o,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||Fe,d=this.buildStyles(i,o&&o.params||Fe,u),f=a&&a.params||Fe,m=this.buildStyles(n,f,u),g=new Set,_=new Map,b=new Map,y="void"===n,v={params:Object.assign(Object.assign({},h),f)},F=l?[]:ue(e,t,this.ast.animation,s,r,d,m,v,c,u);let k=0;if(F.forEach(e=>{k=Math.max(e.duration+e.delay,k)}),u.length)return ve(t,this._triggerName,i,n,y,d,m,[],[],_,b,k,u);F.forEach(e=>{const i=e.element,n=p(_,i,{});e.preStyleProps.forEach(e=>n[e]=!0);const s=p(b,i,{});e.postStyleProps.forEach(e=>s[e]=!0),i!==t&&g.add(i)});const w=V(g.values());return ve(t,this._triggerName,i,n,y,d,m,F,w,_,b,k)}}class we{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const i={},n=L(this.defaultParams);return Object.keys(e).forEach(t=>{const i=e[t];null!=i&&(n[t]=i)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const s=e;Object.keys(s).forEach(e=>{let r=s[e];r.length>1&&(r=H(r,n,t)),i[e]=r})}}),i}}class Se{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new we(e.style,e.options&&e.options.params||{})}),Te(this.states,"true","1"),Te(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new ke(e,t,this.states))}),this.fallbackTransition=new ke(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(s=>s.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Te(e,t,i){e.hasOwnProperty(t)?e.hasOwnProperty(i)||(e[i]=e[t]):e.hasOwnProperty(i)&&(e[t]=e[i])}const De=new ae;class Ee{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(e,t){const i=[],n=ee(this._driver,t,i);if(i.length)throw new Error(`Unable to build the animation due to the following errors: ${i.join("\n")}`);this._animations[e]=n}_buildPlayer(e,t,i){const n=e.element,s=u(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(n,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const n=[],s=this._animations[e];let r;const o=new Map;if(s?(r=ue(this._driver,t,s,"ng-enter","ng-leave",{},{},i,De,n),r.forEach(e=>{const t=p(o,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error(`Unable to create the animation due to the following errors: ${n.join("\n")}`);o.forEach((e,t)=>{Object.keys(e).forEach(i=>{e[i]=this._driver.computeStyle(t,i,a.a)})});const c=l(r.map(e=>{const t=o.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,i,n){const s=f(t,"","","");return h(this._getPlayer(e),i,s,n),()=>{}}command(e,t,i,n){if("register"==i)return void this.register(e,n[0]);if("create"==i)return void this.create(e,t,n[0]||{});const s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const Me=[],Ce={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Oe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class xe{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=null!=(n=i?e.value:e)?n:null,i){const t=L(e);delete t.value,this.options=t}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(i=>{null==e[i]&&(e[i]=t[i])})}}}const Le=new xe("void");class je{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ye(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${t}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${t}" is not supported!`);var s;const r=p(this._elementListeners,e,[]),o={name:t,phase:i,callback:n};r.push(o);const a=p(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ye(e,"ng-trigger"),Ye(e,"ng-trigger-"+t),a[t]=Le),()=>{this._engine.afterFlush(()=>{const e=r.indexOf(o);e>=0&&r.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,i,n=!0){const s=this._getTrigger(t),r=new Ae(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Ye(e,"ng-trigger"),Ye(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const c=new xe(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[t]=c,a||(a=Le),"void"!==c.value&&a.value===c.value){if(!function(e,t){const i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(let s=0;s<i.length;s++){const n=i[s];if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}(a.params,c.params)){const t=[],i=s.matchStyles(a.value,a.params,t),n=s.matchStyles(c.value,c.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{R(e,i),N(e,n)})}return}const l=p(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=s.matchTransition(a.value,c.value,e,c.params),h=!1;if(!u){if(!n)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:c,player:r,isFallbackTransition:h}),h||(Ye(e,"ng-animate-queued"),r.onStart(()=>{He(e,"ng-animate-queued")})),r.onDone(()=>{let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1);const i=this._engine.playersByElement.get(e);if(i){let e=i.indexOf(r);e>=0&&i.splice(e,1)}}),this.players.push(r),l.push(r),r}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,i)=>{delete t[e]}),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach(e=>{if(e.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(e);i.size?i.forEach(i=>i.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,i,n){const s=this._engine.statesByElement.get(e);if(s){const r=[];if(Object.keys(s).forEach(t=>{if(this._triggers[t]){const i=this.trigger(e,t,"void",n);i&&r.push(i)}}),r.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),i&&l(r).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const i=new Set;t.forEach(t=>{const n=t.name;if(i.has(n))return;i.add(n);const s=this._triggers[n].fallbackTransition,r=this._engine.statesByElement.get(e)[n]||Le,o=new xe("void"),a=new Ae(this.id,n,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:s,fromState:r,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){const t=i.players.length?i.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(i.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{const n=e.__ng_removed;n&&n!==Ce||(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){Ye(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,r=this._elementListeners.get(s);r&&r.forEach(t=>{if(t.name==i.triggerName){const n=f(s,i.triggerName,i.fromState.value,i.toState.value);n._data=e,h(i.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.sort((e,t)=>{const i=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Ie{constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const i=new je(e,t,this);return t.parentNode?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,t)){this._namespaceList.splice(s+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(i);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i){const e=Object.keys(i);for(let n=0;n<e.length;n++){const s=i[e[n]].namespaceId;if(s){const e=this._fetchNamespace(s);e&&t.add(e)}}}return t}trigger(e,t,i,n){if(Ne(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,n),!0}return!1}insertNode(e,t,i,n){if(!Ne(t))return;const s=t.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.insertNode(t,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ye(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),He(e,"ng-animate-disabled"))}removeNode(e,t,i,n){if(Ne(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),i){const i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,i,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(e,t,i,n,s){return Ne(t)?this._fetchNamespace(e).listen(t,i,n,s):()=>{}}_buildInstruction(e,t,i,n,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return l(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Ce,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Ye(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,e)}finally{for(let e=0;e<i.length;e++)i[e]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?l(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const i=new ae,n=[],s=new Map,r=[],o=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let i=0;i<t.length;i++)h.add(t[i])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Be(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((e,t)=>{const i="ng-enter"+_++;g.set(t,i),e.forEach(e=>Ye(e,i))});const b=[],y=new Set,v=new Set;for(let a=0;a<this.collectedLeaveElements.length;a++){const e=this.collectedLeaveElements[a],t=e.__ng_removed;t&&t.setForRemoval&&(b.push(e),y.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>y.add(e)):v.add(e))}const F=new Map,k=Be(f,Array.from(y));k.forEach((e,t)=>{const i="ng-leave"+_++;F.set(t,i),e.forEach(e=>Ye(e,i))}),e.push(()=>{m.forEach((e,t)=>{const i=g.get(t);e.forEach(e=>He(e,i))}),k.forEach((e,t)=>{const i=F.get(t);e.forEach(e=>He(e,i))}),b.forEach(e=>{this.processLeaveNode(e)})});const w=[],S=[];for(let a=this._namespaceList.length-1;a>=0;a--)this._namespaceList[a].drainQueuedTransitions(t).forEach(e=>{const t=e.player,s=e.element;if(w.push(t),this.collectedEnterElements.length){const e=s.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const a=!d||!this.driver.containsElement(d,s),l=F.get(s),h=g.get(s),f=this._buildInstruction(e,i,h,l,a);if(!f.errors||!f.errors.length)return a?(t.onStart(()=>R(s,f.fromStyles)),t.onDestroy(()=>N(s,f.toStyles)),void n.push(t)):e.isFallbackTransition?(t.onStart(()=>R(s,f.fromStyles)),t.onDestroy(()=>N(s,f.toStyles)),void n.push(t)):(f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),i.append(s,f.timelines),r.push({instruction:f,player:t,element:s}),f.queriedElements.forEach(e=>p(o,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const i=Object.keys(e);if(i.length){let e=c.get(t);e||c.set(t,e=new Set),i.forEach(t=>e.add(t))}}),void f.postStyleProps.forEach((e,t)=>{const i=Object.keys(e);let n=u.get(t);n||u.set(t,n=new Set),i.forEach(e=>n.add(e))}));S.push(f)});if(S.length){const e=[];S.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const T=new Map,D=new Map;r.forEach(e=>{const t=e.element;i.has(t)&&(D.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,T))}),n.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{p(T,t,[]).push(e),e.destroy()})});const E=b.filter(e=>Ue(e,c,u)),M=new Map;Pe(M,this.driver,v,u,a.a).forEach(e=>{Ue(e,c,u)&&E.push(e)});const C=new Map;m.forEach((e,t)=>{Pe(C,this.driver,new Set(e),c,a.n)}),E.forEach(e=>{const t=M.get(e),i=C.get(e);M.set(e,Object.assign(Object.assign({},t),i))});const O=[],x=[],L={};r.forEach(e=>{const{element:t,player:r,instruction:o}=e;if(i.has(t)){if(h.has(t))return r.onDestroy(()=>N(t,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void n.push(r);let e=L;if(D.size>1){let i=t;const n=[];for(;i=i.parentNode;){const t=D.get(i);if(t){e=t;break}n.push(i)}n.forEach(t=>D.set(t,e))}const i=this._buildAnimation(r.namespaceId,o,T,s,C,M);if(r.setRealPlayer(i),e===L)O.push(r);else{const t=this.playersByElement.get(e);t&&t.length&&(r.parentPlayer=l(t)),n.push(r)}}else R(t,o.fromStyles),r.onDestroy(()=>N(t,o.toStyles)),x.push(r),h.has(t)&&n.push(r)}),x.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const i=l(t);e.setRealPlayer(i)}}),n.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let a=0;a<b.length;a++){const e=b[a],t=e.__ng_removed;if(He(e,"ng-leave"),t&&t.hasAnimation)continue;let i=[];if(o.size){let t=o.get(e);t&&t.length&&i.push(...t);let n=this.driver.query(e,".ng-animating",!0);for(let e=0;e<n.length;e++){let t=o.get(n[e]);t&&t.length&&i.push(...t)}}const n=i.filter(e=>!e.destroyed);n.length?Ve(this,e,n):this.processLeaveNode(e)}return b.length=0,O.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),O}elementContainsData(e,t){let i=!1;const n=t.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,s){let r=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(r=t)}else{const t=this.playersByElement.get(e);if(t){const e=!s||"void"==s;t.forEach(t=>{t.queued||(e||t.triggerName==n)&&r.push(t)})}}return(i||n)&&(r=r.filter(e=>!(i&&i!=e.namespaceId||n&&n!=e.triggerName))),r}_beforeAnimationBuild(e,t,i){const n=t.element,s=t.isRemovalTransition?void 0:e,r=t.isRemovalTransition?void 0:t.triggerName;for(const o of t.timelines){const e=o.element,a=e!==n,c=p(i,e,[]);this._getPreviousPlayers(e,a,s,r,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}R(n,t.fromStyles)}_buildAnimation(e,t,i,n,s,r){const o=t.triggerName,c=t.element,h=[],d=new Set,f=new Set,m=t.timelines.map(t=>{const l=t.element;d.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new a.d(t.duration,t.delay);const m=l!==c,g=function(e){const t=[];return function e(t,i){for(let n=0;n<t.length;n++){const s=t[n];s instanceof a.m?e(s.players,i):i.push(s)}}(e,t),t}((i.get(l)||Me).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===l),_=s.get(l),b=r.get(l),y=u(0,this._normalizer,0,t.keyframes,_,b),v=this._buildPlayer(t,y,g);if(t.subTimeline&&n&&f.add(l),m){const t=new Ae(e,o,l);t.setRealPlayer(v),h.push(t)}return v});h.forEach(e=>{p(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,i){let n;if(e instanceof Map){if(n=e.get(t),n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&e.delete(t)}}else if(n=e[t],n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&delete e[t]}return n}(this.playersByQueriedElement,e.element,e))}),d.forEach(e=>Ye(e,"ng-animating"));const g=l(m);return g.onDestroy(()=>{d.forEach(e=>He(e,"ng-animating")),N(c,t.toStyles)}),f.forEach(e=>{p(n,e,[]).push(g)}),g}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new a.d(e.duration,e.delay)}}class Ae{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new a.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(i=>h(e,t,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){p(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ne(e){return e&&1===e.nodeType}function Re(e,t){const i=e.style.display;return e.style.display=null!=t?t:"none",i}function Pe(e,t,i,n,s){const r=[];i.forEach(e=>r.push(Re(e)));const o=[];n.forEach((i,n)=>{const r={};i.forEach(e=>{const i=r[e]=t.computeStyle(n,e,s);i&&0!=i.length||(n.__ng_removed=Oe,o.push(n))}),e.set(n,r)});let a=0;return i.forEach(e=>Re(e,r[a++])),o}function Be(e,t){const i=new Map;if(e.forEach(e=>i.set(e,[])),0==t.length)return i;const n=new Set(t),s=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let r=s.get(t);if(r)return r;const o=t.parentNode;return r=i.has(o)?o:n.has(o)?1:e(o),s.set(t,r),r}(e);1!==t&&i.get(t).push(e)}),i}function Ye(e,t){if(e.classList)e.classList.add(t);else{let i=e.$$classes;i||(i=e.$$classes={}),i[t]=!0}}function He(e,t){if(e.classList)e.classList.remove(t);else{let i=e.$$classes;i&&delete i[t]}}function Ve(e,t,i){l(i).onDone(()=>e.processLeaveNode(t))}function Ue(e,t,i){const n=i.get(e);if(!n)return!1;let s=t.get(e);return s?n.forEach(e=>s.add(e)):t.set(e,n),i.delete(e),!0}class We{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ie(e,t,i),this._timelineEngine=new Ee(e,t,i),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,i,n,s){const r=e+"-"+n;let o=this._triggerCache[r];if(!o){const e=[],t=ee(this._driver,s,e);if(e.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new Se(e,t)}(n,t),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i,n){this._transitionEngine.removeNode(e,t,n||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if("@"==i.charAt(0)){const[e,s]=m(i);this._timelineEngine.command(e,t,s,n)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,s){if("@"==i.charAt(0)){const[e,n]=m(i);return this._timelineEngine.listen(e,t,n,s)}return this._transitionEngine.listen(e,t,i,n,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ze(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=Ge(t[0]),t.length>1&&(n=Ge(t[t.length-1]))):t&&(i=Ge(t)),i||n?new $e(e,i,n):null}let $e=(()=>{class e{constructor(t,i,n){this._element=t,this._startStyles=i,this._endStyles=n,this._state=0;let s=e.initialStylesByElement.get(t);s||e.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&N(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(N(this._element,this._initialStyles),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),N(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Ge(e){let t=null;const i=Object.keys(e);for(let n=0;n<i.length;n++){const s=i[n];qe(s)&&(t=t||{},t[s]=e[s])}return t}function qe(e){return"display"===e||"position"===e}class Ke{constructor(e,t,i,n,s,r,o){this._element=e,this._name=t,this._duration=i,this._delay=n,this._easing=s,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const i=tt(e,"").trim();i.length&&(function(e,t){let i=0;for(let n=0;n<e.length;n++)","===e.charAt(n)&&i++}(i),t=`${i}, ${t}`),et(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Qe(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Je(this._element,this._name,"paused")}resume(){Je(this._element,this._name,"running")}setPosition(e){const t=Ze(this._element,this._name);this._position=e*this._duration,et(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),i=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Qe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const i=tt(e,"").split(","),n=Xe(i,t);n>=0&&(i.splice(n,1),et(e,"",i.join(",")))}(this._element,this._name))}}function Je(e,t,i){et(e,"PlayState",i,Ze(e,t))}function Ze(e,t){const i=tt(e,"");return i.indexOf(",")>0?Xe(i.split(","),t):Xe([i],t)}function Xe(e,t){for(let i=0;i<e.length;i++)if(e[i].indexOf(t)>=0)return i;return-1}function Qe(e,t,i){i?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function et(e,t,i,n){const s="animation"+t;if(null!=n){const t=e.style[s];if(t.length){const e=t.split(",");e[n]=i,i=e.join(",")}}e.style[s]=i}function tt(e,t){return e.style["animation"+t]}class it{constructor(e,t,i,n,s,r,o,a){this.element=e,this.keyframes=t,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=n+s,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Ke(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(e[i]=t?this._finalStyles[i]:q(this.element,i))})}this.currentSnapshot=e}}class nt extends a.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=D(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class st{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return k(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,i){return T(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,i){i=i.map(e=>D(e));let n=`@keyframes ${t} {\n`,s="";i.forEach(e=>{s=" ";const t=parseFloat(e.offset);n+=`${s}${100*t}% {\n`,s+=" ",Object.keys(e).forEach(t=>{const i=e[t];switch(t){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${t}: ${i};\n`)}}),n+=`${s}}\n`}),n+="}\n";const r=document.createElement("style");return r.innerHTML=n,r}animate(e,t,i,n,s,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(e=>e instanceof it),c={};z(i,n)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(i=>{"offset"!=i&&"easing"!=i&&(t[i]=e[i])})}),t}(t=$(e,t,c));if(0==i)return new nt(e,l);const u=`gen_css_kf_${this._count++}`,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=ze(e,t),f=new it(e,t,u,i,n,s,l,d);return f.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class rt{constructor(e,t,i,n){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,i){return e.animate(t,i)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:q(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ot{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(at().toString()),this._cssKeyframesDriver=new st}validateStyleProperty(e){return k(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,i){return T(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,i,n,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,i,n,s,r);const a={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(a.easing=s);const c={},l=r.filter(e=>e instanceof rt);z(i,n)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const u=ze(e,t=$(e,t=t.map(e=>j(e,!1)),c));return new rt(e,t,a,u)}}function at(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ct=i("ofXK");let lt=(()=>{class e extends a.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:s.Q.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?Object(a.h)(e):e;return dt(this._renderer,null,t,"register",[i]),new ut(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(s.G),s.fc(ct.d))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class ut extends a.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new ht(this._id,e,t||{},this._renderer)}}class ht{constructor(e,t,i,n){this.id=e,this.element=t,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return dt(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function dt(e,t,i,n,s){return e.setProperty(t,`@@${i}:${n}`,s)}let ft=(()=>{class e{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(i);return e||(e=new pt("",i,this.engine),this._rendererCache.set(i,e)),e}const n=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const r=t=>{Array.isArray(t)?t.forEach(r):this.engine.registerTrigger(n,s,e,t.name,t)};return t.data.animation.forEach(r),new mt(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){e>=0&&e<this._microtaskId?this._zone.run(()=>t(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,i]=e;t(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(s.fc(s.G),s.fc(We),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class pt{constructor(e,t,i){this.namespaceId=e,this.delegate=t,this.engine=i,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class mt extends pt{constructor(e,t,i,n){super(t,i,n),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let s=t.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,n,s,r,e=>{this.factory.scheduleListenerCallback(e._data||-1,i,e)})}return this.delegate.listen(e,t,i)}}let gt=(()=>{class e extends We{constructor(e,t,i){super(e.body,t,i)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(ct.d),s.fc(M),s.fc(_e))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();const _t=[{provide:M,useFactory:function(){return"function"==typeof at()?new ot:new st}},{provide:new s.q("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:a.b,useClass:lt},{provide:_e,useFactory:function(){return new be}},{provide:We,useClass:gt},{provide:s.G,useFactory:function(e,t,i){return new ft(e,t,i)},deps:[o.f,We,s.A]}];let bt=(()=>{class e{}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},providers:_t,imports:[o.a]}),e})();var yt=i("tyNb"),vt=i("JPLv"),Ft=i("jtHE"),kt=i("1uah"),wt=i("r4Kj"),St=i("drKT"),Tt=i("fHJZ");let Dt=(()=>{class e{constructor(e){this.configJson=e}initialize(){const e=new Ft.a(1);if(document.getElementById("tawk-to-chat"))e.next(!0),e.complete();else{const t=this.configJson.config.TawkToKey,i=document.createElement("script");i.type="application/javascript",i.src=`https://embed.tawk.to/${t.includes("/")?t:t+"/default"}`,i.id="tawk-to-chat",i.defer=!0,i.charset="UTF-8",i.setAttribute("crossorigin","*"),document.head.appendChild(i),e.next(!0),e.complete()}return e.asObservable()}}return e.\u0275fac=function(t){return new(t||e)(s.fc(wt.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Et=(()=>{class e{constructor(e){this.configJson=e}initialize(){const e=new Ft.a(1),t=this.configJson.config.SupportBoxChatUrl,i=document.getElementById("support-box-chat"),n=document.getElementById("support-box-config"),s=this.configJson.config.SupportBoxChatId,r=this.configJson.config.SupportBoxChatKey;if(!n){const e=document.createElement("script");e.type="application/javascript",e.id="support-box-config",e.defer=!0,e.innerHTML=`var supportBoxChatId = ${s};\n             var supportBoxChatSecret = '${r}';`,document.head.insertBefore(e,document.head.firstChild)}if(i)e.next(!0),e.complete();else{const i=document.createElement("script");i.type="application/javascript",i.src=`${t}`,i.id="support-box-chat",i.defer=!0,i.async=!0,document.body.insertAdjacentElement("beforeend",i),e.next(!0),e.complete(),setTimeout(()=>{let e=document.getElementById("supportBox-iframe");if(e){e.style.opacity="0.7";let i="iframe:hover{opacity:1.0 !important}";var t=document.createElement("style");t.appendChild(document.createTextNode(i)),e.appendChild(t)}},1e3)}return e.asObservable()}}return e.\u0275fac=function(t){return new(t||e)(s.fc(wt.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Mt=i("Nvn3"),Ct=i("IEtF"),Ot=i("QTu/");let xt=(()=>{class e{constructor(e){this.cfg=e}initialize(){const e=new Ft.a(1),t=this.cfg.config.LogateChatUrl,i=document.getElementById("logate-chat-css"),n=document.getElementById("logate-custom-css");if(!i){const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=`${t}styles.css`,e.id="logate-chat-css",document.head.appendChild(e)}if(!n){const e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href=`${t}brand-config/customStyling.css`,e.id="logate-custom-css",document.head.appendChild(e)}if(document.getElementById("logate-chat"))e.next(!0),e.complete();else{const e=document.createElement("script");e.type="application/javascript",e.src=`${t}webchat.js`,e.id="logate-chat",e.defer=!0,document.head.appendChild(e);const i=document.createElement("script");i.type="application/javascript",i.src=`${t}brand-config/getConfig.js`,i.id="logate-chat-config",i.defer=!0,document.body.insertAdjacentElement("beforeend",i)}return e.asObservable()}}return e.\u0275fac=function(t){return new(t||e)(s.fc(wt.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Lt=(()=>{class e{constructor(e){this.cfg=e}initialize(e){const t=new Ft.a(1);if(document.getElementById("live-chat"))t.next(!0),t.complete();else{const t=document.createElement("script");t.id="live-chat",t.text="",document.body.insertAdjacentElement("beforeend",t);const i=document.createElement("script");i.text=`window.__lc = window.__lc || {}; window.__lc.license = ${e};\n        ;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:"2.0",on:function(){i(["on",c.call(arguments)])},once:function(){i(["once",c.call(arguments)])},off:function(){i(["off",c.call(arguments)])},get:function(){if(!e._h)throw new Error("[LiveChatWidget] You can't use getters before load.");\n        return i(["get",c.call(arguments)])},call:function(){i(["call",c.call(arguments)])},init:function(){var n=t.createElement("script");n.async=!0,n.type="text/javascript",n.src="https://cdn.livechatinc.com/tracking.js",t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice));`,document.body.insertAdjacentElement("beforeend",i)}return t.asObservable()}}return e.\u0275fac=function(t){return new(t||e)(s.fc(wt.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),jt=(()=>{class e{constructor(e,t){this.router=e,this.configService=t,this.key=""}initialize(e){if(!this.initialized&&e){const t=document.createElement("script");t.innerHTML=`(function (a, b, c, d, e, f) {\n        a[e] = a[e] || [];\n        a.x = b.createElement(c);\n        a.y = b.getElementsByTagName(c)[0];\n        x.src = d + "?id=" + f;\n        x.setAttribute("data-srtmn", e);\n        y.parentNode.insertBefore(x, y);\n        })(\n        window,\n        document,\n        "script",\n        "https://tm.ads.sportradar.com/dist/tag-manager.js",\n        "srtmCommands",\n        "${e}"\n        );`,t.defer=!0,document.head.insertAdjacentElement("beforeend",t),this.initialized=!0}}}return e.\u0275fac=function(t){return new(t||e)(s.fc(yt.e),s.fc(vt.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var It=i("2Cx2"),At=i("IKD2");const Nt=[{path:":langId",canActivate:[(()=>{class e{constructor(e,t,i,n,s,r,o,a,c,l,u,h,d,f,p,m,g,_,b,y,v,F,k,w,S,T,D,E,M,C,O,x,L,j,I,A,N,R,P){this.configJson=e,this.configService=t,this.transService=i,this.httpAuthService=n,this.authService=s,this.userService=r,this.accountingService=o,this.bannerService=a,this.ticketsService=c,this.walletService=l,this.walletAttendantService=u,this.printService=h,this.sportBettingOfferService=d,this.sportBettingResultsService=f,this.sportBettingTicketService=p,this.clubService=m,this.bingoService=g,this.bingoTicketService=_,this.router=b,this.zendeskService=y,this.googleAnalytics=v,this.virtualGamesTicketService=F,this.virtualGamesService=k,this.tawkToService=w,this.couponService=S,this.chatService=T,this.facebookPixelService=D,this.goPlService=E,this.optionalCookies=M,this.logateChat=C,this.kenoService=O,this.kenoTicketService=x,this.czeLocationsService=L,this.liveChat=j,this.sportradarAnalitics=I,this.lottoService=A,this.lottoTicketService=N,this.supportBoxService=R,this.gaidService=P}canActivate(e,t){const i=e.params.langId,n=new Ft.a(1),s=e=>{n.next(!1),n.complete(),console.error(e)};return this.configJson.loadConfigJson().subscribe(()=>{this.configService.initialize().subscribe(()=>{const e={clientId:this.configJson.config.API.ClientId,api:{url:this.configService.configClient.TerminalApiUrl,clientId:this.configJson.config.API.ClientId,headers:{deviceType:this.configJson.config.Headers.DeviceType}},languages:this.configService.configTerminal.Languages.map(e=>({id:e.Id,name:e.Name})),defaultLanguageId:this.configService.configTerminal.terminalDefaultLanguageId};this.transService.initialize(e,i).subscribe(()=>{i!==this.transService.language&&this.router.navigate([`/${this.transService.language}`]),this.authService.initialize({api:{url:`${this.configService.configClient.AuthorizationApiUrl}`,clientId:this.configJson.config.API.ClientId,anonymousClientId:this.configJson.config.API.AnonymousClientId},gaid:this.configJson.config.GAID}).subscribe(()=>{this.httpAuthService.initialize({terminalId:this.configService.terminalId,prepareTicketId:this.configService.configTerminal.LotteryResultsTerminalId,deviceType:this.configJson.config.Headers.DeviceType,gaid:this.configJson.config.GAID}).subscribe(()=>{this.userService.initialize({terminalId:this.configService.terminalId,attendantTerminalId:this.configService.attendantTerminalId,terminalType:this.authService.loggedIn?this.authService.getAuth.membershipType:this.configJson.config.TerminalType,userDetailsType:this.configService.configTerminal.UserDetailsType,oddsReprensentation:this.configService.configTerminal.OddsRepresentation,keepAlive:this.configService.configTerminal.KeepAliveEnabled,appType:"online",api:{url:`${this.configService.configClient.UserApiUrl}`,notificationUrl:`${this.configService.configClient.NotificationApiUrl}`,terminalUrl:`${this.configService.configClient.TerminalApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}}).subscribe(()=>{var e,t,i,r,o,a,c,l,u,h,d,f,p,m,g,_;const b=[],y={terminalId:this.configService.terminalId,bannerType:0,api:{url:`${this.configService.configClient.BannerApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}},v={api:{url:`${this.configService.configClient.TicketApiUrl}`,urlBettingAPI:`${this.configService.configClient.BettingApiUrl}`}},F={api:{url:`${this.configService.configClient.PrintApiUrl}`,ticketUrl:`${this.configService.configClient.TicketApiUrl}`,accountingUrl:`${this.configService.configClient.AccountingApiUrl}`},systemCombinations:this.configService.configTerminal.SystemCombinationsType},k={api:{url:`${this.configService.configClient.WalletApiUrl}`}},w={api:{url:`${this.configService.configClient.ClubApiUrl}`}};if(1==(null===(t=null===(e=this.configService.configTerminal)||void 0===e?void 0:e.Games)||void 0===t?void 0:t.SportBettingEnabled)){const e={terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.ResultsApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}},t={terminalId:this.configService.terminalId,api:{urlBettingAPI:`${this.configService.configClient.BettingApiUrl}`,urlClubAPI:`${this.configService.configClient.ClubApiUrl}`,urlTicketAPI:`${this.configService.configClient.TicketApiUrl}`,urlPrintAPI:`${this.configService.configClient.PrintApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},oddRepresentation:this.configService.configTerminal.OddsRepresentation,sportOfferBonusPercent:this.configService.configTerminal.OfferBonusPercent,liveOfferBonusPercent:this.configService.configTerminal.OfferLiveBonusPercent,webUserPrepareTicket:this.configService.configTerminal.EvonaUserPrepareTicketEnabled,webClub:this.configService.configTerminal.WebClubEnabled,printTicket:!1,configuration:this.configService.configSportTicket,webOutrightsBetTypes:this.configService.configTerminal.WebOutrightsBetTypes,ticketAutoConfirm:this.configJson.config.TicketAutoConfirm,ticketAuthTime:(i=this.configJson.config.TicketValidationTime,null!=i?i:90),decimalPlacesRounding:this.configService.configTerminal.CurrencyDecimalPlaces};b.push(this.sportBettingOfferService.initialize({terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.SportApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},liveBettingEnabled:this.configService.configTerminal.Games.LiveBettingEnabled,lastMinuteSports:[],lastMinuteMatchesPerSport:this.configService.configTerminal.MostPlayedOfferFiltersLimit,mostPlayedSports:[null],mostPlayedMatchesPerSport:this.configService.configTerminal.MostPlayedOfferFiltersLimit,mostPlayedOfferFiltersTime:this.configService.configTerminal.MostPlayedOfferFiltersTime,cacheTimeInterval:this.configJson.config.SportCacheInterval,liveUpdateType:this.configService.configTerminal.LiveOfferUpdateType,webOutrightsBetTypes:this.configService.configTerminal.WebOutrightsBetTypes},{terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.SportApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}},{specialSportBrandName:this.configService.configTerminal.CompanyName,sportOfferBonusPercent:this.configService.configTerminal.OfferBonusPercent,liveOfferBonusPercent:this.configService.configTerminal.OfferLiveBonusPercent,minOddsForShowing:this.configService.configTerminal.MinShowingOdds,oddRepresentation:this.configService.configTerminal.OddsRepresentation})),b.push(this.sportBettingResultsService.initialize(e)),b.push(this.sportBettingTicketService.initialize(t))}const S={api:{url:`${this.configService.configClient.AccountingApiUrl}`}};if(b.push(this.bannerService.initialize(y)),b.push(this.ticketsService.initialize(v)),b.push(this.printService.initialize(F)),b.push(this.walletService.initialize(k)),b.push(this.walletAttendantService.initialize(k)),b.push(this.clubService.initialize(w)),b.push(this.accountingService.initialize(S)),null===(o=null===(r=this.configService.configTerminal)||void 0===r?void 0:r.Games)||void 0===o?void 0:o.VirtualGamesEnabled){const e={terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.VirtualGamesApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType},urlClubAPI:`${this.configService.configClient.ClubApiUrl}`,bettingApiUrl:`${this.configService.configClient.BettingApiUrl}`},upcomingRacesLimit:this.configJson.config.UpcomingRacesLimit,configuration:this.configService.configVgTicket,printTicket:!1,webClub:this.configService.configTerminal.WebClubEnabled,ticketAuthTime:(a=this.configJson.config.TicketValidationTime,null!=a?a:90)};b.push(this.virtualGamesService.initialize({terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.VirtualGamesApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},upcomingRacesLimit:this.configJson.config.UpcomingRacesLimit})),b.push(this.virtualGamesTicketService.initialize(e))}if(1==(null===(l=null===(c=this.configService.configTerminal)||void 0===c?void 0:c.Games)||void 0===l?void 0:l.BingoEnabled)){const e=this.configService.configBingo&&"True"==this.configService.configBingo.BINGO_FIVESIX_JACKPOT_ON,t={terminalId:this.configService.terminalId,api:{urlBettingAPI:`${this.configService.configClient.BettingApiUrl}`,urlClubAPI:`${this.configService.configClient.ClubApiUrl}`,urlTicketAPI:`${this.configService.configClient.TicketApiUrl}`,urlPrintAPI:`${this.configService.configClient.PrintApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},oddRepresentation:this.configService.configTerminal.OddsRepresentation,webClub:this.configService.configTerminal.WebClubEnabled,printTicket:!1,configuration:this.configService.configBingoTicket,fiveSixJackpotEnabled:e,ticketAuthTime:(u=this.configJson.config.TicketValidationTime,null!=u?u:90)};b.push(this.bingoService.initialize({terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.BingoApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},upcomingRoundsLimit:5,historyRoundsLimit:4,fiveSixJackpotEnabled:e})),b.push(this.bingoTicketService.initialize(t))}if(1==(null===(d=null===(h=this.configService.configTerminal)||void 0===h?void 0:h.Games)||void 0===d?void 0:d.KenoEnabled)){const e={terminalId:this.configService.terminalId,api:{urlBettingAPI:`${this.configService.configClient.BettingApiUrl}`,urlClubAPI:`${this.configService.configClient.ClubApiUrl}`,urlTicketAPI:`${this.configService.configClient.TicketApiUrl}`,urlPrintAPI:`${this.configService.configClient.PrintApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},oddRepresentation:this.configService.configTerminal.OddsRepresentation,webClub:this.configService.configTerminal.WebClubEnabled,printTicket:!1,configuration:this.configService.configKenoTicket,fiveSixJackpotEnabled:this.configService.configKeno&&"True"==this.configService.configKeno.KENO_FIVESIX_JACKPOT_ON,ticketAuthTime:(f=this.configJson.config.TicketValidationTime,null!=f?f:90)};b.push(this.kenoService.initialize({terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.KenoApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},upcomingRoundsLimit:5,historyRoundsLimit:6})),b.push(this.kenoTicketService.initialize(e))}if(this.configService.configTerminal.Games.CouponBettingEnabled&&b.push(this.couponService.initialize({clientId:this.configJson.config.API.ClientId,api:{url:`${this.configService.configClient.CouponApiUrl}`,bettingUrl:`${this.configService.configClient.BettingApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}})),(null===(p=this.configJson.config.Chat)||void 0===p?void 0:p.Enabled)&&b.push(this.chatService.initialize({clientId:this.configJson.config.API.ClientId,api:{url:`${this.configService.configClient.ChatApiUrl}`,notificationUrl:`${this.configService.configClient.ChatApiUrl}signalr/`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}})),7==this.configService.configTerminal.RegistrationType&&b.push(this.czeLocationsService.initialize({clientId:this.configJson.config.API.ClientId,api:{url:`${this.configService.configClient.CzeLocationsApi}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}})),1==(null===(g=null===(m=this.configService.configTerminal)||void 0===m?void 0:m.Games)||void 0===g?void 0:g.LottoEnabled)){const e={terminalId:this.configService.terminalId,api:{urlBettingAPI:`${this.configService.configClient.BettingApiUrl}`,urlTicketAPI:`${this.configService.configClient.TicketApiUrl}`,urlPrintAPI:`${this.configService.configClient.PrintApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}},oddRepresentation:this.configService.configTerminal.OddsRepresentation,printTicket:!1,configuration:this.configService.configLottoTicket,ticketAuthTime:(_=this.configJson.config.TicketValidationTime,null!=_?_:90)};b.push(this.lottoService.initialize({terminalId:this.configService.terminalId,api:{url:`${this.configService.configClient.LotteryApiUrl}`,headers:{deviceType:this.configJson.config.Headers.DeviceType}}})),b.push(this.lottoTicketService.initialize(e))}Object(kt.a)(...b).subscribe(()=>{this.configJson.config.ExcludeBanners?(this.loadExternalScripts(),n.next(!0),n.complete()):(this.configJson.config.DisableLanding||this.bannerService.typesRequested.unshift(0),this.bannerService.start().subscribe(()=>{this.loadExternalScripts(),n.next(!0),n.complete()},e=>{this.loadExternalScripts(),n.next(!0),n.complete()}))},s)},s)},s)},s)},s)},s)},s),n.asObservable()}loadExternalScripts(){setTimeout(()=>{let e=this.configJson.config,t=this.configService.configTerminal;this.googleAnalytics.initialize(e.GoogleAnalyticsKey),e.GoPlKey&&this.goPlService.initialize(e.GoPlKey),e.FacebookPixelServiceKey&&this.facebookPixelService.initialize(e.FacebookPixelServiceKey),t.ZendeskChatEnabled&&this.zendeskService.initialize(),!e.TawkToEmbedded&&t.TawkToChatEnabled&&e.TawkToKey&&this.tawkToService.initialize(),e.OptionalCookies&&this.optionalCookies.initialize(),e.LogateChat&&this.logateChat.initialize(),e.LiveChat&&e.LiveChatLicence&&this.liveChat.initialize(e.LiveChatLicence),t.SupportBoxChatEnabled&&e.SupportBoxChatKey&&this.supportBoxService.initialize(),e.SportRadarKey&&this.sportradarAnalitics.initialize(e.SportRadarKey),e.GAID&&this.gaidService.initialize()},500)}}return e.\u0275fac=function(t){return new(t||e)(s.fc(wt.a),s.fc(vt.a),s.fc(At.s),s.fc(At.o),s.fc(At.b),s.fc(At.L),s.fc(At.a),s.fc(At.c),s.fc(At.J),s.fc(At.P),s.fc(At.O),s.fc(At.z),s.fc(At.B),s.fc(At.C),s.fc(At.E),s.fc(At.h),s.fc(At.d),s.fc(At.e),s.fc(yt.e),s.fc(St.a),s.fc(Tt.a),s.fc(At.N),s.fc(At.M),s.fc(Dt),s.fc(At.i),s.fc(At.g),s.fc(Mt.a),s.fc(Ct.a),s.fc(Ot.a),s.fc(xt),s.fc(At.p),s.fc(At.q),s.fc(At.k),s.fc(Lt),s.fc(jt),s.fc(At.t),s.fc(At.u),s.fc(Et),s.fc(It.a))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()],loadChildren:()=>i.e(9).then(i.bind(null,"ebwL")).then(e=>e.MainModule),runGuardsAndResolvers:"pathParamsChange"},{path:"**",component:(()=>{class e{constructor(e,t,i,n){this.router=e,this.config=t,this.localizationService=i,this.cfgService=n,this.cfg?this.defaultNavigation():this.config.loadConfigJson().subscribe(()=>{this.defaultNavigation()})}defaultNavigation(){var e,t,i;const n=this.cfg.DisableLanding,s=this.cfg.DefaultNavPage;let r=null!=(e=this.localizationService.language)?e:this.cfg.LanguageId;n&&(r+=s||"/sports-betting"),this.router.navigate([r],n&&!s?{queryParams:{hours:null===(i=null===(t=this.cfgService)||void 0===t?void 0:t.configTerminal)||void 0===i?void 0:i.DefaultSportTimeFilter}}:{})}ngOnInit(){}get cfg(){return this.config.config}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(yt.e),s.Vb(wt.a),s.Vb(At.s),s.Vb(vt.a))},e.\u0275cmp=s.Pb({type:e,selectors:[["app-default-language"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})()}];let Rt=(()=>{class e{}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},providers:[],imports:[[yt.i.forRoot(Nt,{onSameUrlNavigation:"reload"})],yt.i]}),e})();var Pt=i("gYN0"),Bt=i("quSY"),Yt=i("xgIS"),Ht=i("VRyK"),Vt=i("pLZG"),Ut=i("7o/Q"),Wt=i("D0XW");i("l7GE"),i("ZUHj");const zt={leading:!0,trailing:!1};class $t{constructor(e,t,i,n){this.duration=e,this.scheduler=t,this.leading=i,this.trailing=n}call(e,t){return t.subscribe(new Gt(e,this.duration,this.scheduler,this.leading,this.trailing))}}class Gt extends Ut.a{constructor(e,t,i,n,s){super(e),this.duration=t,this.scheduler=i,this.leading=n,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}_next(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(qt,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)}}function qt(e){const{subscriber:t}=e;t.clearThrottle()}class Kt{constructor(){this.idValue=new Date,this.idlingValue=!1}id(e){if(void 0!==e){if(!e)throw new Error("A value must be specified for the ID.");this.idValue=e}return this.idValue}idling(e){return void 0!==e&&(this.idlingValue=e),this.idlingValue}now(){return new Date}isExpired(){const e=this.last();return null!=e&&e<=this.now()}}class Jt{constructor(e){this.source=e}subscribe(e){this.sub=this.source.onInterrupt.subscribe(e)}unsubscribe(){this.sub.unsubscribe(),this.sub=null}resume(){this.source.attach()}pause(){this.source.detach()}}class Zt{}class Xt{constructor(){this.storageMap={}}get length(){return Object.keys(this.storageMap).length}clear(){this.storageMap={}}getItem(e){return void 0!==this.storageMap[e]?this.storageMap[e]:null}key(e){return Object.keys(this.storageMap)[e]||null}removeItem(e){this.storageMap[e]=void 0}setItem(e,t){this.storageMap[e]=t}}let Qt=(()=>{class e{constructor(){this.storage=this.getStorage()}getStorage(){try{const e=localStorage;return e.setItem("ng2IdleStorage",""),e.removeItem("ng2IdleStorage"),e}catch(e){return new Xt}}getItem(e){return this.storage.getItem("ng2Idle."+e)}removeItem(e){this.storage.removeItem("ng2Idle."+e)}setItem(e,t){this.storage.setItem("ng2Idle."+e,t)}_wrapped(){return this.storage}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),ei=(()=>{class e extends Kt{constructor(e){super(),this.localStorage=e,this.idleName="main"}last(e){return void 0!==e&&this.setExpiry(e),this.getExpiry()}idling(e){return void 0!==e&&this.setIdling(e),this.getIdling()}getIdleName(){return this.idleName}setIdleName(e){e&&(this.idleName=e)}getExpiry(){const e=this.localStorage.getItem(this.idleName+".expiry");return e?new Date(parseInt(e,10)):null}setExpiry(e){e?this.localStorage.setItem(this.idleName+".expiry",e.getTime().toString()):this.localStorage.removeItem(this.idleName+".expiry")}getIdling(){const e=this.localStorage.getItem(this.idleName+".idling");return!!e&&"true"===e}setIdling(e){this.localStorage.setItem(this.idleName+".idling",e?e.toString():"false")}}return e.\u0275fac=function(t){return new(t||e)(s.fc(Qt))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();var ti=function(e){return e[e.disabled=0]="disabled",e[e.idle=1]="idle",e[e.notIdle=2]="notIdle",e}({});let ii=(()=>{class e{constructor(e,t,i){this.expiry=e,this.zone=t,this.idle=1200,this.timeoutVal=30,this.autoResume=ti.idle,this.interrupts=new Array,this.running=!1,this.keepaliveEnabled=!1,this.onIdleStart=new s.n,this.onIdleEnd=new s.n,this.onTimeoutWarning=new s.n,this.onTimeout=new s.n,this.onInterrupt=new s.n,i&&(this.keepaliveSvc=i,this.keepaliveEnabled=!0),this.setIdling(!1)}setIdleName(e){if(!(this.expiry instanceof ei))throw new Error("Cannot set expiry key name because no LocalStorageExpiry has been provided.");this.expiry.setIdleName(e)}getKeepaliveEnabled(){return this.keepaliveEnabled}setKeepaliveEnabled(e){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=e}getTimeout(){return this.timeoutVal}setTimeout(e){if(!1===e)this.timeoutVal=0;else{if(!("number"==typeof e&&e>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=e}return this.timeoutVal}getIdle(){return this.idle}setIdle(e){if(e<=0)throw new Error("'seconds' must be greater zero");return this.idle=e}getAutoResume(){return this.autoResume}setAutoResume(e){return this.autoResume=e}setInterrupts(e){this.clearInterrupts();const t=this;for(const i of e){const e=new Jt(i);e.subscribe(e=>{t.interrupt(e.force,e.innerArgs)}),this.interrupts.push(e)}return this.interrupts}getInterrupts(){return this.interrupts}clearInterrupts(){for(const e of this.interrupts)e.pause(),e.unsubscribe();this.interrupts.length=0}isRunning(){return this.running}isIdling(){return this.idling}watch(e){this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle");const t=this.timeoutVal?this.timeoutVal:0;if(!e){const e=new Date(this.expiry.now().getTime()+1e3*(this.idle+t));this.expiry.last(e)}this.idling&&this.toggleState(),this.running||(this.startKeepalive(),this.toggleInterrupts(!0)),this.running=!0;const i=()=>{this.zone.run(()=>{const e=this.getExpiryDiff(t);e>0?(this.safeClearInterval("idleHandle"),this.setIdleIntervalOutsideOfZone(i,e)):this.toggleState()})};this.setIdleIntervalOutsideOfZone(i,1e3*this.idle)}setIdleIntervalOutsideOfZone(e,t){this.zone.runOutsideAngular(()=>{this.idleHandle=setInterval(e,t)})}stop(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!1),this.running=!1,this.expiry.last(null)}timeout(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!0),this.running=!1,this.countdown=0,this.onTimeout.emit(null)}interrupt(e,t){this.running&&(this.timeoutVal&&this.expiry.isExpired()?this.timeout():(this.onInterrupt.emit(t),(!0===e||this.autoResume===ti.idle||this.autoResume===ti.notIdle&&!this.expiry.idling())&&this.watch(e)))}setIdling(e){this.idling=e,this.expiry.idling(e)}toggleState(){this.setIdling(!this.idling),this.idling?(this.onIdleStart.emit(null),this.stopKeepalive(),this.timeoutVal>0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.setTimoutIntervalOutsideZone(()=>{this.doCountdownInZone()},1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")}setTimoutIntervalOutsideZone(e,t){this.zone.runOutsideAngular(()=>{this.timeoutHandle=setInterval(()=>{e()},t)})}toggleInterrupts(e){for(const t of this.interrupts)e?t.resume():t.pause()}getExpiryDiff(e){const t=this.expiry.now();return(this.expiry.last()||t).getTime()-t.getTime()-1e3*e}doCountdownInZone(){this.zone.run(()=>{this.doCountdown()})}doCountdown(){if(this.getExpiryDiff(this.timeoutVal)>0)return this.safeClearInterval("timeoutHandle"),void this.interrupt(!0);this.idling&&(this.countdown<=0?this.timeout():(this.onTimeoutWarning.emit(this.countdown),this.countdown--))}safeClearInterval(e){null!=this[e]&&(clearInterval(this[e]),this[e]=null)}startKeepalive(){this.keepaliveSvc&&this.keepaliveEnabled&&(this.running&&this.keepaliveSvc.ping(),this.keepaliveSvc.start())}stopKeepalive(){this.keepaliveSvc&&this.keepaliveEnabled&&this.keepaliveSvc.stop()}ngOnDestroy(){this.stop(),this.clearInterrupts()}}return e.\u0275fac=function(t){return new(t||e)(s.fc(Kt),s.fc(s.A),s.fc(Zt,8))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();class ni{constructor(e,t,i=!1){this.source=e,this.innerArgs=t,this.force=i}}class si extends class{constructor(e,t){this.attachFn=e,this.detachFn=t,this.isAttached=!1,this.onInterrupt=new s.n}attach(){!0!==Zone.current.get("isAngularZone")?(!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0):Zone.current.parent.run(()=>this.attach())}detach(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1}}{constructor(e,t,i){super(null,null),this.target=e,this.events=t,this.eventSubscription=new Bt.a,"number"==typeof i&&(i={throttleDelay:i,passive:!1}),null==(i=i||{throttleDelay:500,passive:!1}).throttleDelay&&(i.throttleDelay=500),this.throttleDelay=i.throttleDelay,this.passive=!!i.passive;const n=this.passive?{passive:!0}:null,s=t.split(" ").map(t=>Object(Yt.a)(e,t,n));this.eventSrc=Object(Ht.a)(...s),this.eventSrc=this.eventSrc.pipe(Object(Vt.a)(e=>!this.filterEvent(e))),this.throttleDelay>0&&(this.eventSrc=this.eventSrc.pipe(function(e,t=Wt.a,i=zt){return n=>n.lift(new $t(e,t,i.leading,i.trailing))}(this.throttleDelay)));const r=e=>this.onInterrupt.emit(new ni(this,e));this.attachFn=()=>this.eventSubscription=this.eventSrc.subscribe(r),this.detachFn=()=>this.eventSubscription.unsubscribe()}filterEvent(e){return!1}get options(){return{throttleDelay:this.throttleDelay,passive:this.passive}}}class ri extends si{constructor(e,t){super(document.documentElement,e,t)}filterEvent(e){return!("mousemove"!==e.type||!(e.originalEvent&&0===e.originalEvent.movementX&&0===e.originalEvent.movementY||void 0!==e.movementX&&!e.movementX)&&e.movementY)}}class oi extends si{constructor(e,t){super(window,e,t)}}class ai extends oi{constructor(e=500){super("storage",e)}filterEvent(e){return!(e.key&&e.key.indexOf("ng2Idle.")>=0&&e.key.indexOf(".expiry")>=0)}}let ci=(()=>{class e{static forRoot(){return{ngModule:e,providers:[ei,{provide:Kt,useExisting:ei},ii]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},providers:[Qt]}),e})();function li(e){return[new ri("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",e),new ai]}const ui=li();i("K3ix");var hi=i("5egi"),di=i("tk/3");let fi=(()=>{class e extends Zt{constructor(e,t){super(),this.http=e,this.zone=t,this.pingInterval=600,this.onPing=new s.n,this.onPingResponse=new s.n}request(e){return"string"==typeof e?this.pingRequest=new di.c("GET",e):e instanceof di.c?this.pingRequest=e:null===e&&(this.pingRequest=null),this.pingRequest}interval(e){if(!isNaN(e)&&e>0)this.pingInterval=e;else if(!isNaN(e)&&e<=0)throw new Error("Interval value must be greater than zero.");return this.pingInterval}ping(){this.onPing.emit(null),this.pingRequest&&this.http.request(this.pingRequest).subscribe(e=>{this.onPingResponse.emit(e)},e=>{this.onPingResponse.emit(e)})}start(){this.stop(),this.zone.runOutsideAngular(()=>{this.pingHandle=setInterval(()=>{this.zone.run(()=>{this.ping()})},1e3*this.pingInterval)})}stop(){this.hasPingHandle()&&(clearInterval(this.pingHandle),this.pingHandle=null)}ngOnDestroy(){this.stop()}isRunning(){return this.hasPingHandle()}hasPingHandle(){return null!=this.pingHandle}}return e.\u0275fac=function(t){return new(t||e)(s.fc(di.a),s.fc(s.A))},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),pi=(()=>{class e{static forRoot(){return{ngModule:e,providers:[fi,{provide:Zt,useExisting:fi}]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},imports:[[ci.forRoot()]]}),e})();const mi=["idleModal"];function gi(e,t){1&e&&s.Wb(0,"div",2)}function _i(e,t){if(1&e){const e=s.cc();s.bc(0,"div",3),s.bc(1,"div",4),s.Yc(2),s.ac(),s.bc(3,"div",5),s.bc(4,"button",6),s.jc("click",(function(t){return s.Mc(e),s.nc().hideIdleModal()})),s.ac(),s.ac(),s.ac(),s.bc(5,"div",7),s.bc(6,"div",8),s.bc(7,"div",9),s.bc(8,"span"),s.Yc(9),s.ac(),s.ac(),s.ac(),s.bc(10,"div",10),s.bc(11,"button",11),s.jc("click",(function(t){return s.Mc(e),s.nc().stay()})),s.Yc(12),s.ac(),s.bc(13,"button",12),s.jc("click",(function(t){return s.Mc(e),s.nc().logout()})),s.Yc(14),s.ac(),s.ac(),s.ac()}if(2&e){const e=s.nc();s.Hb(2),s.Zc(e.idleTrans.title),s.Hb(7),s.Zc(e.idleTrans.message),s.Hb(3),s.Zc(e.idleTrans.stay),s.Hb(2),s.Zc(e.idleTrans.logout)}}let bi=(()=>{class e{constructor(e,t,i,n,s,r,o,a){this.loaderService=e,this.seoService=t,this.configService=i,this.translationService=n,this.authService=s,this.idle=r,this.keepalive=o,this.uiService=a,this.lastPing=null,this.idleTime=60,this.seoService.initialize(),this.configService.configTerminal$.subscribe(()=>{this.timeLimit=this.configService.configTerminal.UserActivityTimeLimit,this.timeLimit>0&&this.activityWatcher()});let c=document.referrer.length>0&&!document.referrer.includes(document.location.origin)?document.referrer:null;sessionStorage.setItem("app:UserReferrerUrl",c)}ngOnInit(){this.loaderService.loading$.subscribe(e=>{this.loading=e})}activityWatcher(){this.idleTrans={title:"",login:"",stay:"",message:""},this.timeLimit=60*this.timeLimit,this.idle.setIdle(this.idleTime),this.idle.setTimeout(this.timeLimit),this.idle.setInterrupts(ui),this.idle.onIdleEnd.subscribe(()=>{this.idleTrans.message=this.translationService.translate("YOU_HAVE_BEEN_IDLE_FOR")+" "+this.timeFormat(this.timeLimit-this.countDown),this.countDown=null,this.reset()}),this.idle.onTimeout.subscribe(()=>{this.logout()}),this.idle.onIdleStart.subscribe(()=>{this.hasModal||(this.hasModal=!0,this.modalRef=this.uiService.openModal(this.idleModal,{class:"modal-dialog-centered s"}))}),this.idle.onTimeoutWarning.subscribe(e=>{this.countDown=e,this.idleTrans.message=this.translationService.translate("WILL_LOG_OUT_IN")+" "+this.timeFormat(e)}),this.keepalive.interval(15),this.keepalive.onPing.subscribe(()=>this.lastPing=new Date),this.translationService.language$.subscribe(()=>{setTimeout(()=>{this.idleTrans.title=this.translationService.translate("IDLE_TITLE"),this.idleTrans.stay=this.translationService.translate("CONTINUE_SESSION"),this.idleTrans.logout=this.translationService.translate("LOGOUT")},1e3)}),this.authService.loggedIn$.subscribe(e=>{e?this.startWatcher():this.idle.stop()})}startWatcher(){this.idle.watch(),setTimeout(()=>{this.idle.stop(),setTimeout(()=>{this.idle.watch()},1e3)},1e3)}timeFormat(e){return(e-(e%=60))/60+(9<e?":":":0")+e}reset(){this.idle.watch()}hideIdleModal(){this.modalRef&&(this.modalRef.hide(),this.hasModal=!1)}stay(){this.reset(),this.hideIdleModal()}logout(){this.authService.logout(),this.hideIdleModal()}}return e.\u0275fac=function(t){return new(t||e)(s.Vb(At.r),s.Vb(Pt.a),s.Vb(vt.a),s.Vb(At.s),s.Vb(At.b),s.Vb(ii),s.Vb(fi),s.Vb(hi.a))},e.\u0275cmp=s.Pb({type:e,selectors:[["app-root"]],viewQuery:function(e,t){var i;1&e&&s.fd(mi,!0),2&e&&s.Ic(i=s.kc())&&(t.idleModal=i.first)},decls:4,vars:1,consts:[["class","ev-loading-bar",4,"ngIf"],["idleModal",""],[1,"ev-loading-bar"],[1,"modal-header"],[1,"modal-title","s"],[1,"modal-close-icon"],["type","button","aria-label","Close",1,"icon-close",3,"click"],[1,"modal-body","center"],[1,"d-flex","flex-column","w-100","justify-content-center","pt-2","pb-2"],[1,"d-flex","justify-content-center","mb-2","align-items-center","transaction-info"],[1,"d-flex","align-items-center","w-100"],[1,"modal-button","main-button","type-1","mt-2",3,"click"],[1,"modal-button","main-button","type-2","mt-2","ml-2",3,"click"]],template:function(e,t){1&e&&(s.Wc(0,gi,1,0,"div",0),s.Wb(1,"router-outlet"),s.Wc(2,_i,15,4,"ng-template",null,1,s.Xc)),2&e&&s.wc("ngIf",t.loading)},directives:[ct.q,yt.j],styles:[""]}),e})();var yi=i("FpXt"),vi=i("UTcu"),Fi=i("PYNo"),ki=i("fNvp"),wi=i("QgX+"),Si=i("keVj"),Ti=i("mrSG");const Di=new s.q("ngx-hotjar-settings",{factory:()=>({trackingCode:"",version:6})}),Ei={provide:s.d,multi:!0,useFactory:function(e){return()=>Object(Ti.b)(this,void 0,void 0,(function*(){var t,i,n,r;e.trackingCode?(t=window,i=document,t.hj=t.hj||function(){(t.hj.q=t.hj.q||[]).push(arguments)},t._hjSettings={hjid:e.trackingCode,hjsv:e.version||6},n=i.getElementsByTagName("head")[0],(r=i.createElement("script")).async=1,r.src="https://static.hotjar.com/c/hotjar-"+t._hjSettings.hjid+".js?sv="+t._hjSettings.hjsv,n.appendChild(r)):Object(s.X)()||console.error("Empty tracking code for Hotjar. Make sure to provide one when initializing NgxHotjarModule.")}))},deps:[Di]};let Mi=(()=>{class e{static forRoot(t,i=6){return{ngModule:e,providers:[{provide:Di,useValue:{trackingCode:t,version:i}},Ei]}}}return e.\u0275mod=s.Tb({type:e}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},providers:[],imports:[[]]}),e})();var Ci,Oi=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){Ci=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=this.__sentry_original__||this;return Ci.apply(i,e)}},e.id="FunctionToString",e}(),xi=i("KjyA"),Li=i("lW6c"),ji=i("8LbN"),Ii=i("9/Zf"),Ai=i("+924"),Ni=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Ri=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(){Object(xi.b)((function(t){var i=Object(Li.a)();if(!i)return t;var n=i.getIntegration(e);if(n){var s=i.getClient(),r=s?s.getOptions():{},o=n._mergeOptions(r);if(n._shouldDropEvent(t,o))return null}return t}))},e.prototype._shouldDropEvent=function(e,t){return this._isSentryError(e,t)?(ji.a.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(Ii.e)(e)),!0):this._isIgnoredError(e,t)?(ji.a.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(Ii.e)(e)),!0):this._isBlacklistedUrl(e,t)?(ji.a.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+Object(Ii.e)(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0):!this._isWhitelistedUrl(e,t)&&(ji.a.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+Object(Ii.e)(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0)},e.prototype._isSentryError=function(e,t){if(void 0===t&&(t={}),!t.ignoreInternal)return!1;try{return e&&e.exception&&e.exception.values&&e.exception.values[0]&&"SentryError"===e.exception.values[0].type||!1}catch(i){return!1}},e.prototype._isIgnoredError=function(e,t){return void 0===t&&(t={}),!(!t.ignoreErrors||!t.ignoreErrors.length)&&this._getPossibleEventMessages(e).some((function(e){return t.ignoreErrors.some((function(t){return Object(Ai.a)(e,t)}))}))},e.prototype._isBlacklistedUrl=function(e,t){if(void 0===t&&(t={}),!t.blacklistUrls||!t.blacklistUrls.length)return!1;var i=this._getEventFilterUrl(e);return!!i&&t.blacklistUrls.some((function(e){return Object(Ai.a)(i,e)}))},e.prototype._isWhitelistedUrl=function(e,t){if(void 0===t&&(t={}),!t.whitelistUrls||!t.whitelistUrls.length)return!0;var i=this._getEventFilterUrl(e);return!i||t.whitelistUrls.some((function(e){return Object(Ai.a)(i,e)}))},e.prototype._mergeOptions=function(e){return void 0===e&&(e={}),{blacklistUrls:Ti.g(this._options.blacklistUrls||[],e.blacklistUrls||[]),ignoreErrors:Ti.g(this._options.ignoreErrors||[],e.ignoreErrors||[],Ni),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal,whitelistUrls:Ti.g(this._options.whitelistUrls||[],e.whitelistUrls||[])}},e.prototype._getPossibleEventMessages=function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},i=t.type,n=t.value,s=void 0===n?"":n;return[""+s,(void 0===i?"":i)+": "+s]}catch(r){return ji.a.error("Cannot extract message for event "+Object(Ii.e)(e)),[]}return[]},e.prototype._getEventFilterUrl=function(e){try{if(e.stacktrace){var t=e.stacktrace.frames;return t&&t[t.length-1].filename||null}if(e.exception){var i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch(n){return ji.a.error("Cannot extract url for event "+Object(Ii.e)(e)),null}},e.id="InboundFilters",e}(),Pi=i("HR75"),Bi=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i]);return e}),Yi=function(e){function t(t){var i=this.constructor,n=e.call(this,t)||this;return n.message=t,n.name=i.prototype.constructor.name,Bi(n,i.prototype),n}return Ti.d(t,e),t}(Error),Hi=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,Vi=function(){function e(e){"string"==typeof e?this._fromString(e):this._fromComponents(e),this._validate()}return e.prototype.toString=function(e){void 0===e&&(e=!1);var t=this,i=t.path,n=t.pass,s=t.port;return t.protocol+"://"+t.user+(e&&n?":"+n:"")+"@"+t.host+(s?":"+s:"")+"/"+(i?i+"/":i)+t.projectId},e.prototype._fromString=function(e){var t=Hi.exec(e);if(!t)throw new Yi("Invalid Dsn");var i=Ti.f(t.slice(1),6),n=i[0],s=i[1],r=i[2],o=void 0===r?"":r,a=i[3],c=i[4],l=void 0===c?"":c,u="",h=i[5],d=h.split("/");d.length>1&&(u=d.slice(0,-1).join("/"),h=d.pop()),this._fromComponents({host:a,pass:o,path:u,projectId:h,port:l,protocol:n,user:s})},e.prototype._fromComponents=function(e){this.protocol=e.protocol,this.user=e.user,this.pass=e.pass||"",this.host=e.host,this.port=e.port||"",this.path=e.path||"",this.projectId=e.projectId},e.prototype._validate=function(){var e=this;if(["protocol","user","host","projectId"].forEach((function(t){if(!e[t])throw new Yi("Invalid Dsn")})),"http"!==this.protocol&&"https"!==this.protocol)throw new Yi("Invalid Dsn");if(this.port&&isNaN(parseInt(this.port,10)))throw new Yi("Invalid Dsn")},e}(),Ui=i("9AQC"),Wi=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e)return!0;return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}();function zi(e,t,i){if(t in e){var n=e[t],s=i(n);if("function"==typeof s)try{s.prototype=s.prototype||{},Object.defineProperties(s,{__sentry_original__:{enumerable:!1,value:n}})}catch(r){}e[t]=s}}function $i(e){if(Object(Ui.d)(e)){var t=e,i={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}if(Object(Ui.f)(e)){var s=e,r={};r.type=s.type;try{r.target=Object(Ui.c)(s.target)?Object(Ii.i)(s.target):Object.prototype.toString.call(s.target)}catch(o){r.target="<unknown>"}try{r.currentTarget=Object(Ui.c)(s.currentTarget)?Object(Ii.i)(s.currentTarget):Object.prototype.toString.call(s.currentTarget)}catch(o){r.currentTarget="<unknown>"}for(var n in"undefined"!=typeof CustomEvent&&Object(Ui.g)(e,CustomEvent)&&(r.detail=s.detail),s)Object.prototype.hasOwnProperty.call(s,n)&&(r[n]=s);return r}return e}function Gi(e,t,i){void 0===t&&(t=3),void 0===i&&(i=102400);var n=Ki(e,t);return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(n))>i?Gi(e,t-1,i):n}function qi(e,t){return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&e===global?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":Object(Ui.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(Ii.f)(e)+"]":e}function Ki(e,t){try{return JSON.parse(JSON.stringify(e,(function(e,i){return function e(t,i,n,s){if(void 0===n&&(n=1/0),void 0===s&&(s=new Wi),0===n)return function(e){var t=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var i=qi(e);return Object(Ui.i)(i)?i:t}(i);if(null!=i&&"function"==typeof i.toJSON)return i.toJSON();var r=qi(i,t);if(Object(Ui.i)(r))return r;var o=$i(i),a=Array.isArray(i)?[]:{};if(s.memoize(i))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(a[c]=e(c,o[c],n-1,s));return s.unmemoize(i),a}(e,i,t)})))}catch(i){return"**non-serializable**"}}function Ji(e,t){void 0===t&&(t=40);var i=Object.keys($i(e));if(i.sort(),!i.length)return"[object has no keys]";if(i[0].length>=t)return Object(Ai.d)(i[0],t);for(var n=i.length;n>0;n--){var s=i.slice(0,n).join(", ");if(!(s.length>t))return n===i.length?s:Object(Ai.d)(s,t)}return""}var Zi,Xi=function(){function e(e){this.dsn=e,this._dsnObject=new Vi(e)}return e.prototype.getDsn=function(){return this._dsnObject},e.prototype.getStoreEndpoint=function(){return""+this._getBaseUrl()+this.getStoreEndpointPath()},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var e,t={sentry_key:this._dsnObject.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+(e=t,Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"))},e.prototype._getBaseUrl=function(){var e=this._dsnObject;return(e.protocol?e.protocol+":":"")+"//"+e.host+(e.port?":"+e.port:"")},e.prototype.getStoreEndpointPath=function(){var e=this._dsnObject;return(e.path?"/"+e.path:"")+"/api/"+e.projectId+"/store/"},e.prototype.getRequestHeaders=function(e,t){var i=this._dsnObject,n=["Sentry sentry_version=7"];return n.push("sentry_timestamp="+Object(Ii.m)()),n.push("sentry_client="+e+"/"+t),n.push("sentry_key="+i.user),i.pass&&n.push("sentry_secret="+i.pass),{"Content-Type":"application/json","X-Sentry-Auth":n.join(", ")}},e.prototype.getReportDialogEndpoint=function(e){void 0===e&&(e={});var t=this._dsnObject,i=this._getBaseUrl()+(t.path?"/"+t.path:"")+"/api/embed/error-page/",n=[];for(var s in n.push("dsn="+t.toString()),e)if("user"===s){if(!e.user)continue;e.user.name&&n.push("name="+encodeURIComponent(e.user.name)),e.user.email&&n.push("email="+encodeURIComponent(e.user.email))}else n.push(encodeURIComponent(s)+"="+encodeURIComponent(e[s]));return n.length?i+"?"+n.join("&"):i},e}(),Qi=[],en=function(){function e(e,t){this._integrations={},this._processing=!1,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=new Vi(t.dsn)),this._isEnabled()&&(this._integrations=function(e){var t={};return function(e){var t=e.defaultIntegrations&&Ti.g(e.defaultIntegrations)||[],i=e.integrations,n=[];if(Array.isArray(i)){var s=i.map((function(e){return e.name})),r=[];t.forEach((function(e){-1===s.indexOf(e.name)&&-1===r.indexOf(e.name)&&(n.push(e),r.push(e.name))})),i.forEach((function(e){-1===r.indexOf(e.name)&&(n.push(e),r.push(e.name))}))}else"function"==typeof i?(n=i(t),n=Array.isArray(n)?n:[n]):n=Ti.g(t);var o=n.map((function(e){return e.name}));return-1!==o.indexOf("Debug")&&n.push.apply(n,Ti.g(n.splice(o.indexOf("Debug"),1))),n}(e).forEach((function(e){t[e.name]=e,function(e){-1===Qi.indexOf(e.name)&&(e.setupOnce(xi.b,Li.a),Qi.push(e.name),ji.a.log("Integration installed: "+e.name))}(e)})),t}(this._options))}return e.prototype.captureException=function(e,t,i){var n=this,s=t&&t.event_id;return this._processing=!0,this._getBackend().eventFromException(e,t).then((function(e){return n._processEvent(e,t,i)})).then((function(e){s=e&&e.event_id,n._processing=!1})).then(null,(function(e){ji.a.error(e),n._processing=!1})),s},e.prototype.captureMessage=function(e,t,i,n){var s=this,r=i&&i.event_id;return this._processing=!0,(Object(Ui.i)(e)?this._getBackend().eventFromMessage(""+e,t,i):this._getBackend().eventFromException(e,i)).then((function(e){return s._processEvent(e,i,n)})).then((function(e){r=e&&e.event_id,s._processing=!1})).then(null,(function(e){ji.a.error(e),s._processing=!1})),r},e.prototype.captureEvent=function(e,t,i){var n=this,s=t&&t.event_id;return this._processing=!0,this._processEvent(e,t,i).then((function(e){s=e&&e.event_id,n._processing=!1})).then(null,(function(e){ji.a.error(e),n._processing=!1})),s},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.flush=function(e){var t=this;return this._isClientProcessing(e).then((function(i){return clearInterval(i.interval),t._getBackend().getTransport().close(e).then((function(e){return i.ready&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.getIntegrations=function(){return this._integrations||{}},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return ji.a.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._isClientProcessing=function(e){var t=this;return new Pi.a((function(i){var n=0,s=0;clearInterval(s),s=setInterval((function(){t._processing?(n+=1,e&&n>=e&&i({interval:s,ready:!1})):i({interval:s,ready:!0})}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,i){var n=this,s=this.getOptions(),r=s.environment,o=s.release,a=s.dist,c=s.maxValueLength,l=void 0===c?250:c,u=s.normalizeDepth,h=void 0===u?3:u,d=Ti.a({},e);void 0===d.environment&&void 0!==r&&(d.environment=r),void 0===d.release&&void 0!==o&&(d.release=o),void 0===d.dist&&void 0!==a&&(d.dist=a),d.message&&(d.message=Object(Ai.d)(d.message,l));var f=d.exception&&d.exception.values&&d.exception.values[0];f&&f.value&&(f.value=Object(Ai.d)(f.value,l));var p=d.request;p&&p.url&&(p.url=Object(Ai.d)(p.url,l)),void 0===d.event_id&&(d.event_id=i&&i.event_id?i.event_id:Object(Ii.n)()),this._addIntegrations(d.sdk);var m=Pi.a.resolve(d);return t&&(m=t.applyToEvent(d,i)),m.then((function(e){return"number"==typeof h&&h>0?n._normalizeEvent(e,h):e}))},e.prototype._normalizeEvent=function(e,t){return e?Ti.a({},e,e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return Ti.a({},e,e.data&&{data:Ki(e.data,t)})}))},e.user&&{user:Ki(e.user,t)},e.contexts&&{contexts:Ki(e.contexts,t)},e.extra&&{extra:Ki(e.extra,t)}):null},e.prototype._addIntegrations=function(e){var t=Object.keys(this._integrations);e&&t.length>0&&(e.integrations=t)},e.prototype._processEvent=function(e,t,i){var n=this,s=this.getOptions(),r=s.beforeSend,o=s.sampleRate;return this._isEnabled()?"number"==typeof o&&Math.random()>o?Pi.a.reject("This event has been sampled, will not send event."):new Pi.a((function(s,o){n._prepareEvent(e,i,t).then((function(e){if(null!==e){var i=e;try{if(t&&t.data&&!0===t.data.__sentry__||!r)return n._getBackend().sendEvent(i),void s(i);var a=r(e,t);if(void 0===a)ji.a.error("`beforeSend` method has to return `null` or a valid event.");else if(Object(Ui.m)(a))n._handleAsyncBeforeSend(a,s,o);else{if(null===(i=a))return ji.a.log("`beforeSend` returned `null`, will not send event."),void s(null);n._getBackend().sendEvent(i),s(i)}}catch(c){n.captureException(c,{data:{__sentry__:!0},originalException:c}),o("`beforeSend` threw an error, will not send event.")}}else o("An event processor returned null, will not send event.")})).then(null,(function(){o("`beforeSend` threw an error, will not send event.")}))})):Pi.a.reject("SDK not enabled, will not send event.")},e.prototype._handleAsyncBeforeSend=function(e,t,i){var n=this;e.then((function(e){null!==e?(n._getBackend().sendEvent(e),t(e)):i("`beforeSend` returned `null`, will not send event.")})).then(null,(function(e){i("beforeSend rejected with "+e)}))},e}();!function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.Invalid="invalid",e.Failed="failed"}(Zi||(Zi={})),function(e){e.fromHttpCode=function(t){return t>=200&&t<300?e.Success:429===t?e.RateLimit:t>=400&&t<500?e.Invalid:t>=500?e.Failed:e.Unknown}}(Zi||(Zi={}));var tn,nn=function(){function e(){}return e.prototype.sendEvent=function(e){return Pi.a.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:Zi.Skipped})},e.prototype.close=function(e){return Pi.a.resolve(!0)},e}(),sn=function(){function e(e){this._options=e,this._options.dsn||ji.a.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype._setupTransport=function(){return new nn},e.prototype.eventFromException=function(e,t){throw new Yi("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,i){throw new Yi("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){this._transport.sendEvent(e).then(null,(function(e){ji.a.error("Error while sending event: "+e)}))},e.prototype.getTransport=function(){return this._transport},e}();function rn(){if(!("fetch"in Object(Ii.g)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function on(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function an(){if(!rn())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}!function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(tn||(tn={})),function(e){e.fromString=function(t){switch(t){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}}}(tn||(tn={}));var cn=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ln=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,un=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,hn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,dn=/\((\S*)(?::(\d+))(?::(\d+))\)/;function fn(e){var t=null,i=e&&e.framesToPop;try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,n=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,s=e.stacktrace.split("\n"),r=[],o=0;o<s.length;o+=2){var a=null;(t=i.exec(s[o]))?a={url:t[2],func:t[3],args:[],line:+t[1],column:null}:(t=n.exec(s[o]))&&(a={url:t[6],func:t[3]||t[4],args:t[5]?t[5].split(","):[],line:+t[1],column:+t[2]}),a&&(!a.func&&a.line&&(a.func="?"),r.push(a))}return r.length?{message:mn(e),name:e.name,stack:r}:null}(e))return pn(t,i)}catch(n){}try{if(t=function(e){if(!e||!e.stack)return null;for(var t,i,n,s=[],r=e.stack.split("\n"),o=0;o<r.length;++o){if(i=cn.exec(r[o])){var a=i[2]&&0===i[2].indexOf("native");i[2]&&0===i[2].indexOf("eval")&&(t=dn.exec(i[2]))&&(i[2]=t[1],i[3]=t[2],i[4]=t[3]),n={url:i[2]&&0===i[2].indexOf("address at ")?i[2].substr("address at ".length):i[2],func:i[1]||"?",args:a?[i[2]]:[],line:i[3]?+i[3]:null,column:i[4]?+i[4]:null}}else if(i=un.exec(r[o]))n={url:i[2],func:i[1]||"?",args:[],line:+i[3],column:i[4]?+i[4]:null};else{if(!(i=ln.exec(r[o])))continue;i[3]&&i[3].indexOf(" > eval")>-1&&(t=hn.exec(i[3]))?(i[1]=i[1]||"eval",i[3]=t[1],i[4]=t[2],i[5]=""):0!==o||i[5]||void 0===e.columnNumber||(s[0].column=e.columnNumber+1),n={url:i[3],func:i[1]||"?",args:i[2]?i[2].split(","):[],line:i[4]?+i[4]:null,column:i[5]?+i[5]:null}}!n.func&&n.line&&(n.func="?"),s.push(n)}return s.length?{message:mn(e),name:e.name,stack:s}:null}(e))return pn(t,i)}catch(n){}return{message:mn(e),name:e&&e.name,stack:[],failed:!0}}function pn(e,t){try{return Ti.a({},e,{stack:e.stack.slice(t)})}catch(i){return e}}function mn(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function gn(e){var t=bn(e.stack),i={type:e.name,value:e.message};return t&&t.length&&(i.stacktrace={frames:t}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function _n(e){return{exception:{values:[gn(e)]}}}function bn(e){if(!e||!e.length)return[];var t=e,i=t[0].func||"",n=t[t.length-1].func||"";return-1===i.indexOf("captureMessage")&&-1===i.indexOf("captureException")||(t=t.slice(1)),-1!==n.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.map((function(e){return{colno:null===e.column?void 0:e.column,filename:e.url||t[0].url,function:e.func||"?",in_app:!0,lineno:null===e.line?void 0:e.line}})).slice(0,50).reverse()}function yn(e,t,i){var n;if(void 0===i&&(i={}),Object(Ui.e)(e)&&e.error)return _n(fn(e=e.error));if(Object(Ui.a)(e)||Object(Ui.b)(e)){var s=e,r=s.name||(Object(Ui.a)(s)?"DOMError":"DOMException"),o=s.message?r+": "+s.message:r;return n=vn(o,t,i),Object(Ii.b)(n,o),n}return Object(Ui.d)(e)?n=_n(fn(e)):Object(Ui.h)(e)||Object(Ui.f)(e)?(n=function(e,t,i){var n={exception:{values:[{type:Object(Ui.f)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:"Non-Error "+(i?"promise rejection":"exception")+" captured with keys: "+Ji(e)}]},extra:{__serialized__:Gi(e)}};if(t){var s=bn(fn(t).stack);n.stacktrace={frames:s}}return n}(e,t,i.rejection),Object(Ii.a)(n,{synthetic:!0}),n):(n=vn(e,t,i),Object(Ii.b)(n,""+e,void 0),Object(Ii.a)(n,{synthetic:!0}),n)}function vn(e,t,i){void 0===i&&(i={});var n={message:e};if(i.attachStacktrace&&t){var s=bn(fn(t).stack);n.stacktrace={frames:s}}return n}var Fn=function(){function e(e){this._limit=e,this._buffer=[]}return e.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},e.prototype.add=function(e){var t=this;return this.isReady()?(-1===this._buffer.indexOf(e)&&this._buffer.push(e),e.then((function(){return t.remove(e)})).then(null,(function(){return t.remove(e).then(null,(function(){}))})),e):Pi.a.reject(new Yi("Not adding Promise due to buffer limit reached."))},e.prototype.remove=function(e){return this._buffer.splice(this._buffer.indexOf(e),1)[0]},e.prototype.length=function(){return this._buffer.length},e.prototype.drain=function(e){var t=this;return new Pi.a((function(i){var n=setTimeout((function(){e&&e>0&&i(!1)}),e);Pi.a.all(t._buffer).then((function(){clearTimeout(n),i(!0)})).then(null,(function(){i(!0)}))}))},e}(),kn=function(){function e(e){this.options=e,this._buffer=new Fn(30),this.url=new Xi(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return e.prototype.sendEvent=function(e){throw new Yi("Transport Class has to implement `sendEvent` method")},e.prototype.close=function(e){return this._buffer.drain(e)},e}(),wn=Object(Ii.g)(),Sn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disabledUntil=new Date(Date.now()),t}return Ti.d(t,e),t.prototype.sendEvent=function(e){var t=this;if(new Date(Date.now())<this._disabledUntil)return Promise.reject({event:e,reason:"Transport locked till "+this._disabledUntil+" due to too many requests.",status:429});var i={body:JSON.stringify(e),method:"POST",referrerPolicy:an()?"origin":""};return void 0!==this.options.headers&&(i.headers=this.options.headers),this._buffer.add(new Pi.a((function(e,n){wn.fetch(t.url,i).then((function(i){var s=Zi.fromHttpCode(i.status);if(s!==Zi.Success){if(s===Zi.RateLimit){var r=Date.now();t._disabledUntil=new Date(r+Object(Ii.k)(r,i.headers.get("Retry-After"))),ji.a.warn("Too many requests, backing off till: "+t._disabledUntil)}n(i)}else e({status:s})})).catch(n)})))},t}(kn),Tn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._disabledUntil=new Date(Date.now()),t}return Ti.d(t,e),t.prototype.sendEvent=function(e){var t=this;return new Date(Date.now())<this._disabledUntil?Promise.reject({event:e,reason:"Transport locked till "+this._disabledUntil+" due to too many requests.",status:429}):this._buffer.add(new Pi.a((function(i,n){var s=new XMLHttpRequest;for(var r in s.onreadystatechange=function(){if(4===s.readyState){var e=Zi.fromHttpCode(s.status);if(e!==Zi.Success){if(e===Zi.RateLimit){var r=Date.now();t._disabledUntil=new Date(r+Object(Ii.k)(r,s.getResponseHeader("Retry-After"))),ji.a.warn("Too many requests, backing off till: "+t._disabledUntil)}n(s)}else i({status:e})}},s.open("POST",t.url),t.options.headers)t.options.headers.hasOwnProperty(r)&&s.setRequestHeader(r,t.options.headers[r]);s.send(JSON.stringify(e))})))},t}(kn),Dn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ti.d(t,e),t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t=Ti.a({},this._options.transportOptions,{dsn:this._options.dsn});return this._options.transport?new this._options.transport(t):rn()?new Sn(t):new Tn(t)},t.prototype.eventFromException=function(e,t){var i=yn(e,t&&t.syntheticException||void 0,{attachStacktrace:this._options.attachStacktrace});return Object(Ii.a)(i,{handled:!0,type:"generic"}),i.level=tn.Error,t&&t.event_id&&(i.event_id=t.event_id),Pi.a.resolve(i)},t.prototype.eventFromMessage=function(e,t,i){void 0===t&&(t=tn.Info);var n=vn(e,i&&i.syntheticException||void 0,{attachStacktrace:this._options.attachStacktrace});return n.level=t,i&&i.event_id&&(n.event_id=i.event_id),Pi.a.resolve(n)},t}(sn),En=function(e){function t(t){return void 0===t&&(t={}),e.call(this,Dn,t)||this}return Ti.d(t,e),t.prototype._prepareEvent=function(t,i,n){return t.platform=t.platform||"javascript",t.sdk=Ti.a({},t.sdk,{name:"sentry.javascript.browser",packages:Ti.g(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.12.1"}]),version:"5.12.1"}),e.prototype._prepareEvent.call(this,t,i,n)},t.prototype.showReportDialog=function(e){void 0===e&&(e={});var t=Object(Ii.g)().document;if(t)if(this._isEnabled()){var i=e.dsn||this.getDsn();if(e.eventId)if(i){var n=t.createElement("script");n.async=!0,n.src=new Xi(i).getReportDialogEndpoint(e),e.onLoad&&(n.onload=e.onLoad),(t.head||t.body).appendChild(n)}else ji.a.error("Missing `Dsn` option in showReportDialog call");else ji.a.error("Missing `eventId` option in showReportDialog call")}else ji.a.error("Trying to call showReportDialog with Sentry Client is disabled")},t}(en);function Mn(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var n=Object(Li.a)();if(n&&n[e])return n[e].apply(n,Ti.g(t));throw new Error("No hub defined or "+e+" was not found on the hub, please open a bug report.")}function Cn(e){var t;try{throw new Error("Sentry syntheticException")}catch(e){t=e}return Mn("captureException",e,{originalException:e,syntheticException:t})}function On(e){Mn("withScope",e)}var xn=0;function Ln(){return xn>0}function jn(){xn+=1,setTimeout((function(){xn-=1}))}function In(e,t,i){if(void 0===t&&(t={}),"function"!=typeof e)return e;try{if(e.__sentry__)return e;if(e.__sentry_wrapped__)return e.__sentry_wrapped__}catch(r){return e}var n=function(){var n=Array.prototype.slice.call(arguments);try{i&&"function"==typeof i&&i.apply(this,arguments);var s=n.map((function(e){return In(e,t)}));return e.handleEvent?e.handleEvent.apply(this,s):e.apply(this,s)}catch(r){throw jn(),On((function(e){e.addEventProcessor((function(e){var i=Ti.a({},e);return t.mechanism&&(Object(Ii.b)(i,void 0,void 0),Object(Ii.a)(i,t.mechanism)),i.extra=Ti.a({},i.extra,{arguments:n}),i})),Cn(r)})),r}};try{for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=e[s])}catch(o){}e.prototype=e.prototype||{},n.prototype=e.prototype,Object.defineProperty(e,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e}});try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return e.name}})}catch(o){}return n}var An,Nn=function(){function e(){this._ignoreOnError=0,this.name=e.id}return e.prototype._wrapTimeFunction=function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=t[0];return t[0]=In(n,{mechanism:{data:{function:Object(Ii.f)(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}},e.prototype._wrapRAF=function(e){return function(t){return e(In(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(Ii.f)(e)},handled:!0,type:"instrument"}}))}},e.prototype._wrapEventTarget=function(e){var t=Object(Ii.g)(),i=t[e]&&t[e].prototype;i&&i.hasOwnProperty&&i.hasOwnProperty("addEventListener")&&(zi(i,"addEventListener",(function(t){return function(i,n,s){try{"function"==typeof n.handleEvent&&(n.handleEvent=In(n.handleEvent.bind(n),{mechanism:{data:{function:"handleEvent",handler:Object(Ii.f)(n),target:e},handled:!0,type:"instrument"}}))}catch(r){}return t.call(this,i,In(n,{mechanism:{data:{function:"addEventListener",handler:Object(Ii.f)(n),target:e},handled:!0,type:"instrument"}}),s)}})),zi(i,"removeEventListener",(function(e){return function(t,i,n){var s=i;try{s=s&&(s.__sentry_wrapped__||s)}catch(r){}return e.call(this,t,s,n)}})))},e.prototype._wrapXHR=function(e){return function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var s=this,r=["onload","onerror","onprogress"];return r.forEach((function(e){e in t&&"function"==typeof t[e]&&zi(t,e,(function(t){return In(t,{mechanism:{data:{function:e,handler:Object(Ii.f)(t)},handled:!0,type:"instrument"}})}))})),"onreadystatechange"in s&&"function"==typeof s.onreadystatechange&&zi(s,"onreadystatechange",(function(e){var t={mechanism:{data:{function:"onreadystatechange",handler:Object(Ii.f)(e)},handled:!0,type:"instrument"}};return e.__sentry_original__&&(t.mechanism.data.handler=Object(Ii.f)(e.__sentry_original__)),In(e,t)})),e.apply(this,i)}},e.prototype.setupOnce=function(){this._ignoreOnError=this._ignoreOnError;var e=Object(Ii.g)();zi(e,"setTimeout",this._wrapTimeFunction.bind(this)),zi(e,"setInterval",this._wrapTimeFunction.bind(this)),zi(e,"requestAnimationFrame",this._wrapRAF.bind(this)),"XMLHttpRequest"in e&&zi(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"].forEach(this._wrapEventTarget.bind(this))},e.id="TryCatch",e}(),Rn=Object(Ii.g)(),Pn={},Bn={};function Yn(e){e&&"string"==typeof e.type&&"function"==typeof e.callback&&(Pn[e.type]=Pn[e.type]||[],Pn[e.type].push(e.callback),function(e){if(!Bn[e])switch(Bn[e]=!0,e){case"console":"console"in Rn&&["debug","info","warn","error","log","assert"].forEach((function(e){e in Rn.console&&zi(Rn.console,e,(function(t){return function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];Hn("console",{args:i,level:e}),t&&Function.prototype.apply.call(t,Rn.console,i)}}))}));break;case"dom":"document"in Rn&&(Rn.document.addEventListener("click",Gn("click",Hn.bind(null,"dom")),!1),Rn.document.addEventListener("keypress",qn(Hn.bind(null,"dom")),!1),["EventTarget","Node"].forEach((function(e){var t=Rn[e]&&Rn[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(zi(t,"addEventListener",(function(e){return function(t,i,n){return i&&i.handleEvent?("click"===t&&zi(i,"handleEvent",(function(e){return function(t){return Gn("click",Hn.bind(null,"dom"))(t),e.call(this,t)}})),"keypress"===t&&zi(i,"handleEvent",(function(e){return function(t){return qn(Hn.bind(null,"dom"))(t),e.call(this,t)}}))):("click"===t&&Gn("click",Hn.bind(null,"dom"),!0)(this),"keypress"===t&&qn(Hn.bind(null,"dom"))(this)),e.call(this,t,i,n)}})),zi(t,"removeEventListener",(function(e){return function(t,i,n){var s=i;try{s=s&&(s.__sentry_wrapped__||s)}catch(r){}return e.call(this,t,s,n)}})))})));break;case"xhr":!function(){if("XMLHttpRequest"in Rn){var e=XMLHttpRequest.prototype;zi(e,"open",(function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=t[1];return this.__sentry_xhr__={method:Object(Ui.k)(t[0])?t[0].toUpperCase():t[0],url:t[1]},Object(Ui.k)(n)&&"POST"===this.__sentry_xhr__.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0),e.apply(this,t)}})),zi(e,"send",(function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=this,s={args:t,startTimestamp:Date.now(),xhr:n};function r(){if(4===n.readyState){try{n.__sentry_xhr__&&(n.__sentry_xhr__.status_code=n.status)}catch(e){}Hn("xhr",Ti.a({},s,{endTimestamp:Date.now()}))}}return Hn("xhr",Ti.a({},s)),"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?zi(n,"onreadystatechange",(function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return r(),e.apply(n,t)}})):n.onreadystatechange=r,e.apply(this,t)}}))}}();break;case"fetch":(function(){if(!rn())return!1;var e=Object(Ii.g)();if(on(e.fetch))return!0;var t=!1,i=e.document;if(i){var n=i.createElement("iframe");n.hidden=!0;try{i.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=on(n.contentWindow.fetch)),i.head.removeChild(n)}catch(s){ji.a.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",s)}}return t})()&&zi(Rn,"fetch",(function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n={args:t,fetchData:{method:Vn(t),url:Un(t)},startTimestamp:Date.now()};return Hn("fetch",Ti.a({},n)),e.apply(Rn,t).then((function(e){return Hn("fetch",Ti.a({},n,{endTimestamp:Date.now(),response:e})),e}),(function(e){throw Hn("fetch",Ti.a({},n,{endTimestamp:Date.now(),error:e})),e}))}}));break;case"history":!function(){if(function(){var e=Object(Ii.g)(),t=e.chrome;return!(t&&t.app&&t.app.runtime)&&"history"in e&&!!e.history.pushState&&!!e.history.replaceState}()){var e=Rn.onpopstate;Rn.onpopstate=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=Rn.location.href,s=An;if(An=n,Hn("history",{from:s,to:n}),e)return e.apply(this,t)},zi(Rn.history,"pushState",t),zi(Rn.history,"replaceState",t)}function t(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=t.length>2?t[2]:void 0;if(n){var s=An,r=String(n);An=r,Hn("history",{from:s,to:r})}return e.apply(this,t)}}}();break;default:ji.a.warn("unknown instrumentation type:",e)}}(e.type))}function Hn(e,t){var i,n;if(e&&Pn[e])try{for(var s=Ti.h(Pn[e]||[]),r=s.next();!r.done;r=s.next()){var o=r.value;try{o(t)}catch(a){ji.a.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+Object(Ii.f)(o)+"\nError: "+a)}}}catch(c){i={error:c}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}}function Vn(e){return void 0===e&&(e=[]),"Request"in Rn&&Object(Ui.g)(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function Un(e){return void 0===e&&(e=[]),"string"==typeof e[0]?e[0]:"Request"in Rn&&Object(Ui.g)(e[0],Request)?e[0].url:String(e[0])}var Wn,zn,$n=0;function Gn(e,t,i){return void 0===i&&(i=!1),function(n){Wn=void 0,n&&zn!==n&&(zn=n,$n&&clearTimeout($n),i?$n=setTimeout((function(){t({event:n,name:e})})):t({event:n,name:e}))}}function qn(e){return function(t){var i;try{i=t.target}catch(s){return}var n=i&&i.tagName;n&&("INPUT"===n||"TEXTAREA"===n||i.isContentEditable)&&(Wn||Gn("input",e)(t),clearTimeout(Wn),Wn=setTimeout((function(){Wn=void 0}),1e3))}}var Kn=function(){function e(t){this.name=e.id,this._options=Ti.a({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return e.prototype._consoleBreadcrumb=function(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:tn.fromString(e.level),message:Object(Ai.b)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+(Object(Ai.b)(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}Object(Li.a)().addBreadcrumb(t,{input:e.args,level:e.level})},e.prototype._domBreadcrumb=function(e){var t;try{t=e.event.target?Object(Ii.i)(e.event.target):Object(Ii.i)(e.event)}catch(i){t="<unknown>"}0!==t.length&&Object(Li.a)().addBreadcrumb({category:"ui."+e.name,message:t},{event,name:e.name})},e.prototype._xhrBreadcrumb=function(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;Object(Li.a)().addBreadcrumb({category:"xhr",data:e.xhr.__sentry_xhr__,type:"http"},{xhr:e.xhr})}else e.xhr.__sentry_own_request__&&Jn(e.args[0])},e.prototype._fetchBreadcrumb=function(e){if(e.endTimestamp){var t=Object(Li.a)().getClient(),i=t&&t.getDsn();if(i){var n=new Xi(i).getStoreEndpoint();if(n&&-1!==e.fetchData.url.indexOf(n)&&"POST"===e.fetchData.method&&e.args[1]&&e.args[1].body)return void Jn(e.args[1].body)}e.error?Object(Li.a)().addBreadcrumb({category:"fetch",data:Ti.a({},e.fetchData,{status_code:e.response.status}),level:tn.Error,type:"http"},{data:e.error,input:e.args}):Object(Li.a)().addBreadcrumb({category:"fetch",data:Ti.a({},e.fetchData,{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})}},e.prototype._historyBreadcrumb=function(e){var t=Object(Ii.g)(),i=e.from,n=e.to,s=Object(Ii.l)(t.location.href),r=Object(Ii.l)(i),o=Object(Ii.l)(n);r.path||(r=s),s.protocol===o.protocol&&s.host===o.host&&(n=o.relative),s.protocol===r.protocol&&s.host===r.host&&(i=r.relative),Object(Li.a)().addBreadcrumb({category:"navigation",data:{from:i,to:n}})},e.prototype.setupOnce=function(){var e=this;this._options.console&&Yn({callback:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e._consoleBreadcrumb.apply(e,Ti.g(t))},type:"console"}),this._options.dom&&Yn({callback:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e._domBreadcrumb.apply(e,Ti.g(t))},type:"dom"}),this._options.xhr&&Yn({callback:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e._xhrBreadcrumb.apply(e,Ti.g(t))},type:"xhr"}),this._options.fetch&&Yn({callback:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e._fetchBreadcrumb.apply(e,Ti.g(t))},type:"fetch"}),this._options.history&&Yn({callback:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e._historyBreadcrumb.apply(e,Ti.g(t))},type:"history"})},e.id="Breadcrumbs",e}();function Jn(e){try{var t=JSON.parse(e);Object(Li.a)().addBreadcrumb({category:"sentry",event_id:t.event_id,level:t.level||tn.fromString("error"),message:Object(Ii.e)(t)},{event:t})}catch(i){ji.a.error("Error while adding sentry type breadcrumb")}}var Zn=function(){function e(t){this.name=e.id,this._global=Object(Ii.g)(),this._oldOnErrorHandler=null,this._oldOnUnhandledRejectionHandler=null,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=Ti.a({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(ji.a.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(ji.a.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){if(!this._onErrorHandlerInstalled){var t=this;this._oldOnErrorHandler=this._global.onerror,this._global.onerror=function(i,n,s,r,o){var a=Object(Li.a)(),c=a.getIntegration(e),l=o&&!0===o.__sentry_own_request__;if(!c||Ln()||l)return!!t._oldOnErrorHandler&&t._oldOnErrorHandler.apply(this,arguments);var u=a.getClient(),h=Object(Ui.i)(o)?t._eventFromIncompleteOnError(i,n,s,r):t._enhanceEventWithInitialFrame(yn(o,void 0,{attachStacktrace:u&&u.getOptions().attachStacktrace,rejection:!1}),n,s,r);return Object(Ii.a)(h,{handled:!1,type:"onerror"}),a.captureEvent(h,{originalException:o}),!!t._oldOnErrorHandler&&t._oldOnErrorHandler.apply(this,arguments)},this._onErrorHandlerInstalled=!0}},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){if(!this._onUnhandledRejectionHandlerInstalled){var t=this;this._oldOnUnhandledRejectionHandler=this._global.onunhandledrejection,this._global.onunhandledrejection=function(i){var n=i;try{n=i&&"reason"in i?i.reason:i}catch(l){}var s=Object(Li.a)(),r=s.getIntegration(e),o=n&&!0===n.__sentry_own_request__;if(!r||Ln()||o)return!t._oldOnUnhandledRejectionHandler||t._oldOnUnhandledRejectionHandler.apply(this,arguments);var a=s.getClient(),c=Object(Ui.i)(n)?t._eventFromIncompleteRejection(n):yn(n,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!0});return c.level=tn.Error,Object(Ii.a)(c,{handled:!1,type:"onunhandledrejection"}),s.captureEvent(c,{originalException:n}),!t._oldOnUnhandledRejectionHandler||t._oldOnUnhandledRejectionHandler.apply(this,arguments)},this._onUnhandledRejectionHandlerInstalled=!0}},e.prototype._eventFromIncompleteOnError=function(e,t,i,n){var s,r=Object(Ui.e)(e)?e.message:e;if(Object(Ui.k)(r)){var o=r.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);o&&(s=o[1],r=o[2])}return this._enhanceEventWithInitialFrame({exception:{values:[{type:s||"Error",value:r}]}},t,i,n)},e.prototype._eventFromIncompleteRejection=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+e}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,i,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var s=isNaN(parseInt(n,10))?void 0:n,r=isNaN(parseInt(i,10))?void 0:i,o=Object(Ui.k)(t)&&t.length>0?t:Object(Ii.h)();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:s,filename:o,function:"?",in_app:!0,lineno:r}),e},e.id="GlobalHandlers",e}(),Xn=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){Object(xi.b)((function(t,i){var n=Object(Li.a)().getIntegration(e);return n?n._handler(t,i):t}))},e.prototype._handler=function(e,t){if(!(e.exception&&e.exception.values&&t&&Object(Ui.g)(t.originalException,Error)))return e;var i=this._walkErrorTree(t.originalException,this._key);return e.exception.values=Ti.g(i,e.exception.values),e},e.prototype._walkErrorTree=function(e,t,i){if(void 0===i&&(i=[]),!Object(Ui.g)(e[t],Error)||i.length+1>=this._limit)return i;var n=gn(fn(e[t]));return this._walkErrorTree(e[t],t,Ti.g([n],i))},e.id="LinkedErrors",e}(),Qn=Object(Ii.g)(),es=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){Object(xi.b)((function(t){if(Object(Li.a)().getIntegration(e)){if(!Qn.navigator||!Qn.location)return t;var i=t.request||{};return i.url=i.url||Qn.location.href,i.headers=i.headers||{},i.headers["User-Agent"]=Qn.navigator.userAgent,Ti.a({},t,{request:i})}return t}))},e.id="UserAgent",e}(),ts=[new n.InboundFilters,new n.FunctionToString,new Nn,new Kn,new Zn,new Xn,new es],is=i("b6Qw"),ns=i("M+L2"),ss=i("v/q6"),rs=i("d/wv"),os=i("mbfZ");r.a.sentry.enabled&&function(e){if(void 0===e&&(e={}),void 0===e.defaultIntegrations&&(e.defaultIntegrations=ts),void 0===e.release){var t=Object(Ii.g)();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}!function(e,t){!0===t.debug&&ji.a.enable(),Object(Li.a)().bindClient(new e(t))}(En,e)}({dsn:r.a.sentry.dsn});let as=(()=>{class e{constructor(){}handleError(e){if(!e.toString().includes("postMessage")){switch(console.error(e),e.name){case"QuotaExceededError":case"NS_ERROR_DOM_QUOTA_REACHED":let e=Object.keys(localStorage),t=e.length;for(;t--;)console.error("local storage item log: ",e[t]+localStorage.getItem(e[t]).length)}Cn(e.originalError||e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})(),cs=(()=>{class e extends yt.b{parse(e){return super.parse(e.toLowerCase())}}return e.\u0275fac=function(t){return ls(t||e)},e.\u0275prov=s.Rb({token:e,factory:e.\u0275fac}),e})();const ls=s.dc(cs);let us=[];r.a.hotjar.enabled&&us.push(Mi.forRoot(r.a.hotjar.trackingCode));let hs=(()=>{class e{}return e.\u0275mod=s.Tb({type:e,bootstrap:[bi]}),e.\u0275inj=s.Sb({factory:function(t){return new(t||e)},providers:[At.r,hi.a,vi.a,Fi.a,ki.a,wi.a,Si.a,rs.a,os.a,At.P,At.O,At.h,is.a,ns.a,At.k,ss.a,{provide:s.m,useClass:as},{provide:yt.k,useClass:cs}],imports:[[o.a,Rt,di.b,yi.a,bt,pi.forRoot(),...us]]}),e})();r.a.production&&Object(s.U)(),o.e().bootstrapModule(hs).catch(e=>console.error(e))},zVww:function(e,t,i){"use strict";var n=i("+WiC");t.concatMapTo=function(e,t){return n.concatMap((function(){return e}),t)}},"zZI/":function(e,t,i){"use strict";var n=i("G2HO");t.isNumeric=function(e){return!n.isArray(e)&&e-parseFloat(e)+1>=0}},zavE:function(e,t,i){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wd/R"))},zfKp:function(e,t,i){"use strict";t.observable=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},"zk/k":function(e,t,i){"use strict";t.TimeoutError=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}()},zobD:function(e,t,i){"use strict";var n=this&&this.__extends||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=i("9jZZ"),r=i("Irel");t.buffer=function(e){return function(t){return t.lift(new o(e))}};var o=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.closingNotifier))},e}(),a=function(e){function t(t,i){e.call(this,t),this.buffer=[],this.add(r.subscribeToResult(this,i))}return n(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(e,t,i,n,s){var r=this.buffer;this.buffer=[],this.destination.next(r)},t}(s.OuterSubscriber)},zx6S:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var s=t.words[n];return 1===n.length?i?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wd/R"))}},[[0,3]]]);