(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"+2+e":function(e,t,n){"use strict";var i=n("/WK6");function r(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var n=e.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var i=e.Map;if(i)for(var r=Object.getOwnPropertyNames(i.prototype),s=0;s-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(r.Subscriber)},"+WiC":function(e,t,n){"use strict";var i=n("lf2g");t.concatMap=function(e,t){return i.mergeMap(e,t,1)}},"+dHc":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{}},"+djB":function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("zKHA"),o=n("AJP0"),l=n("9jZZ"),a=n("Irel");t.windowWhen=function(e){return function(t){return t.lift(new u(e))}};var u=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.closingSelector))},e}(),c=function(e){function t(t,n){e.call(this,t),this.destination=t,this.closingSelector=n,this.openWindow()}return i(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.openWindow(r)},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 n=this.window=new r.Subject;this.destination.next(n);var i=s.tryCatch(this.closingSelector)();if(i===o.errorObject){var l=o.errorObject.e;this.destination.error(l),this.window.error(l)}else this.add(this.closingNotification=a.subscribeToResult(this,i))},t}(l.OuterSubscriber)},"+fDQ":function(e,t,n){var i=n("mrSG").__extends,r=n("G2HO"),s=n("foHw"),o=n("RGvf"),l=n("r2oo"),a=n("m+NU"),u=n("rVFa"),c=n("04+N"),d=n("+2+e"),h=n("AZf1"),p=n("0zyO"),f=n("WU5C");t.FromObservable=function(e){function t(t,n){e.call(this,null),this.ish=t,this.scheduler=n}return i(t,e),t.create=function(e,n){if(null!=e){if("function"==typeof e[f.observable])return e instanceof h.Observable&&!n?e:new t(e,n);if(r.isArray(e))return new u.ArrayObservable(e,n);if(o.isPromise(e))return new l.PromiseObservable(e,n);if("function"==typeof e[d.iterator]||"string"==typeof e)return new a.IteratorObservable(e,n);if(s.isArrayLike(e))return new c.ArrayLikeObservable(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")},t.prototype._subscribe=function(e){var t=this.ish,n=this.scheduler;return null==n?t[f.observable]().subscribe(e):t[f.observable]().subscribe(new p.ObserveOnSubscriber(e,n,0))},t}(h.Observable)},"+kVu":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n("3bKu"),n("1Wah");class i{}},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^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],r=/^(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,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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}})}(n("wd/R"))},"//9w":function(e,t,n){!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}})}(n("wd/R"))},"/1lk":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i}));var i,r=n("Vbu/");class s{constructor(){this.type=i.TypeEnum.SignerRecipient,this.authMethod=i.AuthMethodEnum.EMAIL,this.allowChangeSigner=!1,this.signedOrder=1,this.signerOrder=1,this.uid=r.a.generateUid()}}!function(e){e.TypeEnum={SignerRecipient:"SignerRecipient",CCRecipient:"CCRecipient",GroupRecipient:"GroupRecipient",HostRecipient:"HostRecipient",ViewRecipient:"ViewRecipient",CheckRecipient:"CheckRecipient",None:"None"},e.AuthMethodEnum={EMAIL:"EMAIL",PASSWORD:"PASSWORD",ACCESSCODE:"ACCESS_CODE",SMARTCARD:"SMART_CARD"},e.AccessCodeDeliveredMethodEnum={Email:"email",Hand:"hand",Sms:"sms"}}(i||(i={}))},"/HVE":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return c}));var i=n("8Y7J"),r=n("SVse");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(f){s=!1}let o,l=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(r.y)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"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.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(i.PLATFORM_ID,8))},token:e,providedIn:"root"}),e})();class a{}function u(e){return function(){if(null==o&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>o=!0}))}finally{o=o||!1}return o}()?e:!!e.capture}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 d;function h(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function p(){if("object"!=typeof document||!document)return c.NORMAL;if(!d){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 n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),d=c.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,d=0===e.scrollLeft?c.NEGATED:c.INVERTED),e.parentNode.removeChild(e)}return d}},"/WK6":function(e,t,n){"use strict";var i="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,s="undefined"!=typeof global&&global,o=i||s||r;t.root=o,function(){if(!o)throw new Error("RxJS could not find any global context (window, self, global)")}()},"/X5v":function(e,t,n){!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}})}(n("wd/R"))},"/mOC":function(e,t,n){"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 n=this._keys.indexOf(e);return-1===n?(this._keys.push(e),this._values.push(t),this.size++):this._values[n]=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 n=0;nn.lift(new s(e,t))}class s{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 i.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"04+N":function(e,t,n){var i=n("mrSG").__extends,r=n("AZf1"),s=n("8x9D"),o=n("36rE");t.ArrayLikeObservable=function(e){function t(t,n){e.call(this),this.arrayLike=t,this.scheduler=n,n||1!==t.length||(this._isScalar=!0,this.value=t[0])}return i(t,e),t.create=function(e,n){var i=e.length;return 0===i?new o.EmptyObservable:1===i?new s.ScalarObservable(e[0],n):new t(e,n)},t.dispatch=function(e){var t=e.arrayLike,n=e.index,i=e.subscriber;i.closed||(n>=e.length?i.complete():(i.next(t[n]),e.index=n+1,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.arrayLike,i=this.scheduler,r=n.length;if(i)return i.schedule(t.dispatch,0,{arrayLike:n,index:0,length:r,subscriber:e});for(var s=0;s=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,n){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}})}(n("wd/R"))},"0p2S":function(e,t,n){"use strict";var i=n("lf2g"),r=n("LAU0");t.mergeAll=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),i.mergeMap(r.identity,null,e)}},"0tRk":function(e,t,n){!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"})}(n("wd/R"))},"0uJq":function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return F})),n.d(t,"c",(function(){return v})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return A})),n.d(t,"f",(function(){return S})),n.d(t,"g",(function(){return Y})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return E})),n.d(t,"j",(function(){return O})),n.d(t,"k",(function(){return k})),n.d(t,"l",(function(){return g})),n.d(t,"m",(function(){return D})),n.d(t,"n",(function(){return H})),n.d(t,"o",(function(){return b})),n.d(t,"p",(function(){return w})),n.d(t,"q",(function(){return P})),n.d(t,"r",(function(){return L}));var i=n("pLZG"),r=n("eIep"),s=n("/uUt"),o=n("UXun"),l=(n("lJxs"),n("8Y7J")),a=n("XNiG"),u=n("LRne"),c=n("SVse");const d={Local:"local_strategy",Session:"session_strategy",InMemory:"in_memory_strategy"};class h{static isStorageAvailable(e){let t=!0;try{"object"==typeof e?(e.setItem("test-storage","foobar"),e.removeItem("test-storage")):t=!1}catch(n){t=!1}return t}}function p(){}let f=(()=>{class e{static normalize(t){return t=e.isCaseSensitive?t:t.toLowerCase(),`${e.prefix}${e.separator}${t}`}static isNormalizedKey(t){return 0===t.indexOf(e.prefix+e.separator)}static setPrefix(t){e.prefix=t}static setSeparator(t){e.separator=t}static setCaseSensitive(t){e.isCaseSensitive=t}static consumeConfiguration(e){"prefix"in e&&this.setPrefix(e.prefix),"separator"in e&&this.setSeparator(e.separator),"caseSensitive"in e&&this.setCaseSensitive(e.caseSensitive)}}return e.prefix="ngx-webstorage",e.separator="|",e.isCaseSensitive=!1,e})();class m{constructor(e){this.strategy=e}retrieve(e){let t;return this.strategy.get(f.normalize(e)).subscribe(e=>t=void 0===e?null:e),t}store(e,t){return this.strategy.set(f.normalize(e),t).subscribe(p),t}clear(e){void 0!==e?this.strategy.del(f.normalize(e)).subscribe(p):this.strategy.clear().subscribe(p)}getStrategyName(){return this.strategy.name}observe(e){return e=f.normalize(e),this.strategy.keyChanges.pipe(Object(i.a)(t=>null===t||t===e),Object(r.a)(()=>this.strategy.get(e)),Object(s.a)(),Object(o.a)())}}let g=(()=>{class e{constructor(){this.caches={}}get(e,t){return this.getCacheStore(e)[t]}set(e,t,n){this.getCacheStore(e)[t]=n}del(e,t){delete this.getCacheStore(e)[t]}clear(e){this.caches[e]={}}getCacheStore(e){return e in this.caches?this.caches[e]:this.caches[e]={}}}return e.ngInjectableDef=Object(l["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();const v=new l.InjectionToken("window_local_storage");function b(){return"undefined"!=typeof window?window.localStorage:null}const _={provide:v,useFactory:b},y=new l.InjectionToken("window_session_storage");function w(){return"undefined"!=typeof window?window.sessionStorage:null}const C={provide:y,useFactory:w};class x{constructor(e,t){this.storage=e,this.cache=t,this.keyChanges=new a.a}get isAvailable(){return void 0===this._isAvailable&&(this._isAvailable=h.isStorageAvailable(this.storage)),this._isAvailable}get(e){let t=this.cache.get(this.name,e);if(void 0!==t)return Object(u.a)(t);try{const n=this.storage.getItem(e);null!==n&&(t=JSON.parse(n),this.cache.set(this.name,e,t))}catch(n){console.warn(n)}return Object(u.a)(t)}set(e,t){const n=JSON.stringify(t);return this.storage.setItem(e,n),this.cache.set(this.name,e,t),this.keyChanges.next(e),Object(u.a)(t)}del(e){return this.storage.removeItem(e),this.cache.del(this.name,e),this.keyChanges.next(e),Object(u.a)(null)}clear(){return this.storage.clear(),this.cache.clear(this.name),this.keyChanges.next(null),Object(u.a)(null)}}let S=(()=>{class e extends x{constructor(t,n,i,r){super(t,n),this.storage=t,this.cache=n,this.platformId=i,this.zone=r,this.name=e.strategyName,Object(c.y)(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",e=>this.zone.run(()=>{if(e.storageArea!==this.storage)return;const t=e.key;null!==t?this.cache.del(this.name,e.key):this.cache.clear(this.name),this.keyChanges.next(t)}))}}return e.strategyName=d.Local,e})(),k=(()=>{class e extends x{constructor(t,n,i,r){super(t,n),this.storage=t,this.cache=n,this.platformId=i,this.zone=r,this.name=e.strategyName,Object(c.y)(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",e=>this.zone.run(()=>{if(e.storageArea!==this.storage)return;const t=e.key;null!==e.key?this.cache.del(this.name,e.key):this.cache.clear(this.name),this.keyChanges.next(t)}))}}return e.strategyName=d.Session,e})(),T=(()=>{class e{constructor(t){this.cache=t,this.keyChanges=new a.a,this.isAvailable=!0,this.name=e.strategyName}get(e){return Object(u.a)(this.cache.get(this.name,e))}set(e,t){return this.cache.set(this.name,e,t),this.keyChanges.next(e),Object(u.a)(t)}del(e){return this.cache.del(this.name,e),this.keyChanges.next(e),Object(u.a)(null)}clear(){return this.cache.clear(this.name),this.keyChanges.next(null),Object(u.a)(null)}}return e.strategyName=d.InMemory,e})();const E=new l.InjectionToken("STORAGE_STRATEGIES"),M=[{provide:E,useClass:T,multi:!0},{provide:E,useClass:S,multi:!0},{provide:E,useClass:k,multi:!0}],I="invalid_strategy";let D=(()=>{class e{constructor(e){this.strategies=e,this.registration$=new a.a,e||(e=[]),this.strategies=e.reverse().map((e,t,n)=>e.name).map((e,t,n)=>n.indexOf(e)===t?t:null).filter(e=>null!==e).map(t=>e[t])}static get(t){if(!this.isStrategyRegistered(t))throw Error(I);let n=e.index[t];return n.isAvailable||(n=e.index[d.InMemory]),n}static set(t,n){e.index[t]=n}static clear(t){void 0!==t?delete e.index[t]:e.index={}}static isStrategyRegistered(t){return t in e.index}static hasRegistredStrategies(){return Object.keys(e.index).length>0}getStrategy(t){return e.get(t)}indexStrategies(){this.strategies.forEach(e=>this.register(e.name,e))}indexStrategy(t,n=!1){if(e.isStrategyRegistered(t)&&!n)return e.get(t);const i=this.strategies.find(e=>e.name===t);if(!i)throw new Error(I);return this.register(t,i,n),i}register(t,n,i=!1){e.isStrategyRegistered(t)&&!i||(e.set(t,n),this.registration$.next(t))}}return e.index={},e.ngInjectableDef=Object(l["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(l["\u0275\u0275inject"])(E,8))},token:e,providedIn:"root"}),e})();class A extends m{}function P(e){const t=e.indexStrategy(d.Local);return new m(t)}class O extends m{}function L(e){const t=e.indexStrategy(d.Session);return new m(t)}class R{static buildSyncStrategyDecorator(e,t,n,i,r=null){const s=i||n;let o;function l(){return void 0!==o?o:o=f.normalize(s)}Object.defineProperty(t,n,{get:function(){let t;return D.get(e).get(l()).subscribe(e=>t=e),void 0===t?r:t},set:function(t){D.get(e).set(l(),t).subscribe(p)}})}}function j(e,t){return function(n,i){R.buildSyncStrategyDecorator(d.Local,n,i,e,t)}}const N=[{provide:A,useFactory:P,deps:[D]},{provide:O,useFactory:L,deps:[D]}],F=new l.InjectionToken("ngx_webstorage_config");function H(e){return e.indexStrategies(),()=>D.index}class Y{constructor(e,t){t?f.consumeConfiguration(t):console.error("NgxWebstorage : Possible misconfiguration (The forRoot method usage is mandatory since the 3.0.0)")}static forRoot(e={}){return{ngModule:Y,providers:[{provide:F,useValue:e},_,C,...N,...M,{provide:l.APP_INITIALIZER,useFactory:H,deps:[D],multi:!0}]}}}},"0zyO":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz"),s=n("9x29");t.observeOn=function(e,t){return void 0===t&&(t=0),function(n){return n.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 l(e,this.scheduler,this.delay))},e}();t.ObserveOnOperator=o;var l=function(e){function t(t,n,i){void 0===i&&(i=0),e.call(this,t),this.scheduler=n,this.delay=i}return i(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 a(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(s.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(s.Notification.createError(e))},t.prototype._complete=function(){this.scheduleMessage(s.Notification.createComplete())},t}(r.Subscriber);t.ObserveOnSubscriber=l;var a=function(){return function(e,t){this.notification=e,this.destination=t}}();t.ObserveOnMessage=a},1:function(e,t){},"128B":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("Kqap"),r=n("BFxc"),s=n("xbPD"),o=n("mCNh");function l(e,t){return arguments.length>=2?function(n){return Object(o.a)(Object(i.a)(e,t),Object(r.a)(1),Object(s.a)(t))(n)}:function(t){return Object(o.a)(Object(i.a)((t,n,i)=>e(t,n,i+1)),Object(r.a)(1))(t)}}},"16yF":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.bufferCount=function(e,t){return void 0===t&&(t=null),function(n){return n.lift(new s(e,t))}};var s=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?l: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,n){e.call(this,t),this.bufferSize=n,this.buffer=[]}return i(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}(r.Subscriber),l=function(e){function t(t,n,i){e.call(this,t),this.bufferSize=n,this.startBufferEvery=i,this.buffers=[],this.count=0}return i(t,e),t.prototype._next=function(e){var t=this.bufferSize,n=this.startBufferEvery,i=this.buffers,r=this.count;this.count++,r%n==0&&i.push([]);for(var s=i.length;s--;){var o=i[s];o.push(e),o.length===t&&(i.splice(s,1),this.destination.next(o))}},t.prototype._complete=function(){for(var t=this.buffers,n=this.destination;t.length>0;){var i=t.shift();i.length>0&&n.next(i)}e.prototype._complete.call(this)},t}(r.Subscriber)},"1DV/":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.skip=function(e){return function(t){return t.lift(new s(e))}};var s=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,n){e.call(this,t),this.total=n,this.count=0}return i(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(r.Subscriber)},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("l7GE"),r=n("ZUHj");function s(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const n=new l(e),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class l extends i.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1Wah":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e,t){this.element=e,this.cdr=t,this.placement="bottom",this.animation=!0,this.top=-1e5,this.left=-1e5,this.isIn=!1,this.isFade=!1}ngAfterViewInit(){this.show(),this.cdr.detectChanges()}show(){if(!this.hostElement)return;const e=this.positionElements(this.hostElement,this.element.nativeElement.children[0],this.placement);this.top=e.top,this.left=e.left,this.isIn=!0,this.animation&&(this.isFade=!0)}hide(){this.top=-1e5,this.left=-1e5,this.isIn=!0,this.animation&&(this.isFade=!1)}positionElements(e,t,n,i=!1){const r=n.split("-"),s=r[0],o=r[1]||"center",l=i?this.offset(e):this.position(e),a=t.offsetWidth,u=t.offsetHeight,c={center:()=>l.left+l.width/2-a/2,left:()=>l.left,right:()=>l.left+l.width},d={center:()=>l.top+l.height/2-u/2,top:()=>l.top,bottom:()=>l.top+l.height};let h;switch(s){case"right":h={top:d[o](),left:c[s]()};break;case"left":h={top:d[o](),left:l.left-a};break;case"bottom":h={top:d[s](),left:c[o]()};break;default:h={top:l.top-u,left:c[o]()}}return h}position(e){let t={top:0,left:0};const n=this.offset(e),i=this.parentOffsetEl(e);i!==window.document&&((t=this.offset(i)).top+=i.clientTop-i.scrollTop,t.left+=i.clientLeft-i.scrollLeft);const r=e.getBoundingClientRect();return{width:r.width||e.offsetWidth,height:r.height||e.offsetHeight,top:n.top-t.top,left:n.left-t.left}}offset(e){const t=e.getBoundingClientRect();return{width:t.width||e.offsetWidth,height:t.height||e.offsetHeight,top:t.top+(window.pageYOffset||window.document.documentElement.scrollTop),left:t.left+(window.pageXOffset||window.document.documentElement.scrollLeft)}}getStyle(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e)[t]:e.style[t]}isStaticPositioned(e){return"static"===(this.getStyle(e,"position")||"static")}parentOffsetEl(e){let t=e.offsetParent||window.document;for(;t&&t!==window.document&&this.isStaticPositioned(t);)t=t.offsetParent;return t||window.document}}},"1XSQ":function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return a}));var i=n("8Y7J"),r=n("SVse"),s=n("qgXg"),o=n("HDdC");const l=new i.InjectionToken("angularfire2.realtimeDatabaseURL");class a{constructor(e,t){this.zone=e,this.platformId=t}schedule(...e){return this.zone.runGuarded((function(){return s.a.schedule.apply(s.a,e)}))}keepUnstableUntilFirst(e){return Object(r.z)(this.platformId)?new o.a(t=>{const n=()=>{},i=Zone.current.scheduleMacroTask("firebaseZoneBlock",n,{},n,n);e.subscribe(e=>{"scheduled"===i.state&&i.invoke(),t.next(e)},e=>{"scheduled"===i.state&&i.invoke(),t.error(e)},()=>{"scheduled"===i.state&&i.invoke(),t.complete()})}):e}runOutsideAngular(e){return new o.a(t=>this.zone.runOutsideAngular(()=>e.subscribe(e=>this.zone.run(()=>t.next(e)),e=>this.zone.run(()=>t.error(e)),()=>this.zone.run(()=>t.complete()))))}}},"1Ykd":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("7o/Q"),r=n("D0XW");function s(e,t=r.a){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.period=e,this.scheduler=t}call(e,t){return t.subscribe(new l(e,this.period,this.scheduler))}}class l extends i.a{constructor(e,t,n){super(e),this.period=t,this.scheduler=n,this.hasValue=!1,this.add(n.schedule(a,t,{subscriber:this,period:t}))}_next(e){this.lastValue=e,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function a(e){let{subscriber:t,period:n}=e;t.notifyNext(),this.schedule(e,n)}},"1rYy":function(e,t,n){!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}})}(n("wd/R"))},"1uGz":function(e,t,n){var i=n("mrSG").__extends,r=n("PFc+"),s=n("y2i3"),o=n("yz70"),l=n("nkkL"),a=function(e){function t(t,n,i){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(c(t)){var r=t[l.rxSubscriber]();this.syncErrorThrowable=r.syncErrorThrowable,this.destination=r,r.add(this)}else this.syncErrorThrowable=!0,this.destination=new u(this,t);break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,n,i)}}return i(t,e),t.prototype[l.rxSubscriber]=function(){return this},t.create=function(e,n,i){var r=new t(e,n,i);return r.syncErrorThrowable=!1,r},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}(s.Subscription);t.Subscriber=a;var u=function(e){function t(t,n,i,s){var l;e.call(this),this._parentSubscriber=t;var a=this;r.isFunction(n)?l=n:n&&(l=n.next,i=n.error,s=n.complete,n!==o.empty&&(a=Object.create(n),r.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=l,this._error=i,this._complete=s}return i(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 n=function(){return e._complete.call(e._context)};t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){throw this.unsubscribe(),n}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(i){return e.syncErrorValue=i,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(a);function c(e){return e instanceof a||"syncErrorThrowable"in e&&e[l.rxSubscriber]}},"1vVf":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e){this.doc=e,this.isAppReady=!1}trigger(){this.isAppReady||(this.doc.dispatchEvent(this.createEvent("appready",!0,!1)),this.isAppReady=!0)}triggerLoad(){this.isAppReady&&(this.doc.dispatchEvent(this.createEvent("apploading",!0,!1)),this.isAppReady=!1)}createEvent(e,t,n){let i;try{i=new CustomEvent(e,{bubbles:t,cancelable:n})}catch(r){(i=this.doc.createEvent("CustomEvent")).initEvent(e,t,n)}return i}}},"1xZ4":function(e,t,n){!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 n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},2:function(e,t){},"25Kt":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));class i{constructor(e,t,n,i,r,s){this.type=e,this.font=t,this.signatureText=n,this.signatureUrl=r,this.initialText=i,this.initialUrl=s}}var r;!function(e){e.TypeEnum={HANDWRITTEN:"HANDWRITTEN",SCANNED:"SCANNED",TYPED:"TYPED"}}(r||(r={}))},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Tbn":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.defaultIfEmpty=function(e){return void 0===e&&(e=null),function(t){return t.lift(new s(e))}};var s=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,n){e.call(this,t),this.defaultValue=n,this.isEmpty=!0}return i(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}(r.Subscriber)},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("XNiG"),r=n("9ppp");class s extends i.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 r.a;return this._value}next(e){super.next(this._value=e)}}},"2Wg+":function(e,t,n){var i=n("mrSG").__extends,r=n("9jZZ"),s=n("Irel");t.withLatestFrom=function(){for(var e=[],t=0;t0){var o=s.indexOf(n);-1!==o&&s.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(n){return void this.destination.error(n)}this.destination.next(t)},t}(r.OuterSubscriber)},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let i=!1;const r={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 i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fIB":function(e,t,n){var i=n("mrSG").__extends,r=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 i(t,e),t}(Error);t.EmptyError=r},"2fjn":function(e,t,n){!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")}}})}(n("wd/R"))},"2kMm":function(e,t,n){"use strict";function i(e){App.blockUI({centerX:!0,centerY:!0,target:e,overlayColor:"none",animate:!0,css:{color:"#2F353B",padding:0,margin:0,textAlign:"center",border:"3px solid #aaa",cursor:"wait"},cursorReset:"default",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,allowBodyStretch:!0,bindEvents:!0,fadeIn:500,fadeOut:200})}function r(e){App.unblockUI(e)}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}))},"2p+7":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return d}));var i=n("8Y7J"),r=(n("6No5"),n("SVse"));n("s7LF");var s=i["\u0275crt"]({encapsulation:2,styles:[],data:{}});function o(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"li",[["class","pagination-first page-item"]],[[2,"disabled",null]],null,null,null,null)),(e()(),i["\u0275eld"](1,0,null,null,0,"a",[["class","page-link"],["href",""]],[[8,"innerHTML",1]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.selectPage(1,n)&&i),i}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.noPrevious()||n.disabled),e(t,1,0,n.getText("first"))}))}function l(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"li",[["class","pagination-prev page-item"]],[[2,"disabled",null]],null,null,null,null)),(e()(),i["\u0275eld"](1,0,null,null,0,"a",[["class","page-link"],["href",""]],[[8,"innerHTML",1]],[[null,"click"]],(function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==r.selectPage(r.page-1,n)&&i),i}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.noPrevious()||n.disabled),e(t,1,0,n.getText("previous"))}))}function a(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"li",[["class","pagination-page page-item"]],[[2,"active",null],[2,"disabled",null]],null,null,null,null)),(e()(),i["\u0275eld"](1,0,null,null,0,"a",[["class","page-link"],["href",""]],[[8,"innerHTML",1]],[[null,"click"]],(function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.selectPage(e.context.$implicit.number,n)&&i),i}),null,null))],null,(function(e,t){e(t,0,0,t.context.$implicit.active,t.component.disabled&&!t.context.$implicit.active),e(t,1,0,t.context.$implicit.text)}))}function u(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"li",[["class","pagination-next page-item"]],[[2,"disabled",null]],null,null,null,null)),(e()(),i["\u0275eld"](1,0,null,null,0,"a",[["class","page-link"],["href",""]],[[8,"innerHTML",1]],[[null,"click"]],(function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==r.selectPage(r.page+1,n)&&i),i}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.noNext()||n.disabled),e(t,1,0,n.getText("next"))}))}function c(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,1,"li",[["class","pagination-last page-item"]],[[2,"disabled",null]],null,null,null,null)),(e()(),i["\u0275eld"](1,0,null,null,0,"a",[["class","page-link"],["href",""]],[[8,"innerHTML",1]],[[null,"click"]],(function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==r.selectPage(r.totalPages,n)&&i),i}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,n.noNext()||n.disabled),e(t,1,0,n.getText("last"))}))}function d(e){return i["\u0275vid"](0,[(e()(),i["\u0275eld"](0,0,null,null,12,"ul",[["class","pagination"]],null,null,null,null,null)),i["\u0275prd"](512,null,r.A,r.B,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2]),i["\u0275did"](2,278528,null,0,r.j,[r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),i["\u0275and"](16777216,null,null,1,null,o)),i["\u0275did"](4,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),i["\u0275and"](16777216,null,null,1,null,l)),i["\u0275did"](6,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),i["\u0275and"](16777216,null,null,1,null,a)),i["\u0275did"](8,278528,null,0,r.k,[i.ViewContainerRef,i.TemplateRef,i.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),i["\u0275and"](16777216,null,null,1,null,u)),i["\u0275did"](10,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),i["\u0275and"](16777216,null,null,1,null,c)),i["\u0275did"](12,16384,null,0,r.l,[i.ViewContainerRef,i.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,2,0,"pagination",n.classMap),e(t,4,0,n.boundaryLinks),e(t,6,0,n.directionLinks),e(t,8,0,n.pages),e(t,10,0,n.directionLinks),e(t,12,0,n.boundaryLinks)}),null)}},"2uy1":function(e,t,n){"use strict";n.d(t,"a",(function(){return U}));var i=n("8Y7J"),r=n("SVse"),s=n("XNiG"),o=n("VRyK"),l=n("xgIS"),a=n("LRne"),u=n("eNwd");function c(e,t){if(1!==e.nodeType)return[];const n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function d(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function h(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:n,overflowY:i}=c(e);return/(auto|scroll|overlay)/.test(String(t)+String(i)+String(n))?e:h(d(e))}const p="undefined"!=typeof window&&"undefined"!=typeof document,f=p&&!(!window.MSInputMethodContext||!document.documentMode),m=p&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function g(e){return 11===e?f:10===e?m:f||m}function v(e){if(!e)return document.documentElement;const t=g(10)?document.body:null;let n,i=e.offsetParent||null;for(;i===t&&e.nextElementSibling&&n!==e.nextElementSibling;)i=(n=e.nextElementSibling).offsetParent;const r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===c(i,"position")?v(i):i:n?n.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function _(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,s=document.createRange();s.setStart(i,0),s.setEnd(r,0);const{commonAncestorContainer:o}=s;if(e!==o&&t!==o||i.contains(r))return function(e){const{nodeName:t}=e;return"BODY"!==t&&("HTML"===t||v(e.firstElementChild)===e)}(o)?o:v(o);const l=b(e);return l.host?_(l.host,t):_(e,b(t).host)}function y(e,t){const n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e[`border${n}Width`])+parseFloat(e[`border${i}Width`])}function w(e,t,n,i){return Math.max(t[`offset${e}`],t[`scroll${e}`],n[`client${e}`],n[`offset${e}`],n[`scroll${e}`],g(10)?parseInt(n[`offset${e}`],10)+parseInt(i[`margin${"Height"===e?"Top":"Left"}`],10)+parseInt(i[`margin${"Height"===e?"Bottom":"Right"}`],10):0)}function C(e){const t=e.body,n=e.documentElement,i=g(10)&&getComputedStyle(n);return{height:w("Height",t,n,i),width:w("Width",t,n,i)}}function x(e,t="top"){const n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){const t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}return e[n]}function S(e){return Object.assign({},e,{right:e.left+e.width,bottom:e.top+e.height})}function k(e){let t={};try{if(g(10)){t=e.getBoundingClientRect();const n=x(e,"top"),i=x(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(o){return}const n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?C(e.ownerDocument):{};let r=e.offsetWidth-(i.width||e.clientWidth||n.right-n.left),s=e.offsetHeight-(i.height||e.clientHeight||n.bottom-n.top);if(r||s){const t=c(e);r-=y(t,"x"),s-=y(t,"y"),n.width-=r,n.height-=s}return S(n)}function T(e,t,n=!1){const i=g(10),r="HTML"===t.nodeName,s=k(e),o=k(t),l=h(e),a=c(t),u=parseFloat(a.borderTopWidth),d=parseFloat(a.borderLeftWidth);n&&r&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));let p=S({top:s.top-o.top-u,left:s.left-o.left-d,width:s.width,height:s.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){const e=parseFloat(a.marginTop),t=parseFloat(a.marginLeft);p.top-=u-e,p.bottom-=u-e,p.left-=d-t,p.right-=d-t,p.marginTop=e,p.marginLeft=t}return(i&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(p=function(e,t,n=!1){const i=x(t,"top"),r=x(t,"left"),s=n?-1:1;return e.top+=i*s,e.bottom+=i*s,e.left+=r*s,e.right+=r*s,e}(p,t)),p}function E(e){if(!e||!e.parentElement||g())return document.documentElement;let t=e.parentElement;for(;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function M(e,t,n=0,i,r=!1){let s={top:0,left:0};const o=r?E(e):_(e,t);if("viewport"===i)s=function(e,t=!1){const n=e.ownerDocument.documentElement,i=T(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:x(n),l=t?0:x(n,"left");return S({top:o-Number(i.top)+Number(i.marginTop),left:l-Number(i.left)+Number(i.marginLeft),width:r,height:s})}(o,r);else{let n;"scrollParent"===i?"BODY"===(n=h(d(t))).nodeName&&(n=e.ownerDocument.documentElement):n="window"===i?e.ownerDocument.documentElement:i;const l=T(n,o,r);if("HTML"!==n.nodeName||function e(t){const n=t.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(t,"position")||e(d(t)))}(o))s=l;else{const{height:t,width:n}=C(e.ownerDocument);s.top+=l.top-l.marginTop,s.bottom=Number(t)+Number(l.top),s.left+=l.left-l.marginLeft,s.right=Number(n)+Number(l.left)}}return s.left+=n,s.top+=n,s.right-=n,s.bottom-=n,s}function I({width:e,height:t}){return e*t}function D(e,t,n,i,r=["top","bottom","right","left"],s="viewport",o=0){if(-1===e.indexOf("auto"))return e;const l=M(n,i,o,s),a={top:{width:l.width,height:t.top-l.top},right:{width:l.right-t.right,height:l.height},bottom:{width:l.width,height:l.bottom-t.bottom},left:{width:t.left-l.left,height:l.height}},u=Object.keys(a).map(e=>Object.assign({key:e},a[e],{area:I(a[e])})).sort((e,t)=>t.area-e.area);let c=u.filter(({width:e,height:t})=>e>=n.clientWidth&&t>=n.clientHeight);const d=(c=c.filter(e=>r.some(t=>t===e.key))).length>0?c[0].key:u[0].key,h=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${d}`),d+(h?`-${h}`:"")}function A(e){const t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:Number(e.offsetWidth)+i,height:Number(e.offsetHeight)+n}}function P(e,t,n=null){return T(t,n?E(e):_(e,t),n)}function O(e,t,n){const i=n.split(" ")[0],r=A(e),s={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(i),l=o?"top":"left",a=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return s[l]=t[l]+t[u]/2-r[u]/2,s[a]=i===a?t[a]-r[c]:t[function(e){const t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,e=>t[e])}(a)],s}function L(e,t){return e&&e.modifiers&&e.modifiers[t]&&e.modifiers[t].enabled}function R(e,t,n){Object.keys(t).forEach(i=>{let r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&function(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}(t[i])&&(r="px"),n?n.setStyle(e,i,`${String(t[i])}${r}`):e.style[i]=String(t[i])+r})}function j(e){let t=e.offsets.target;const n=e.instance.target.querySelector(".arrow");if(!n)return e;const i=-1!==["left","right"].indexOf(e.placement),r=i?"height":"width",s=i?"Top":"Left",o=s.toLowerCase(),l=i?"left":"top",a=i?"bottom":"right",u=A(n)[r];e.offsets.host[a]-ut[a]&&(t[o]+=Number(e.offsets.host[o])+Number(u)-Number(t[a])),t=S(t);const d=Number(e.offsets.host[o])+Number(e.offsets.host[r]/2-u/2),h=c(e.instance.target),p=parseFloat(h[`margin${s}`]),f=parseFloat(h[`border${s}Width`]);let m=d-t[o]-p-f;return m=Math.max(Math.min(t[r]-u,m),0),e.offsets.arrow={[o]:Math.round(m),[l]:""},e.instance.arrow=n,e}function N(e){if(e.offsets.target=S(e.offsets.target),!L(e.options,"flip"))return e.offsets.target=Object.assign({},e.offsets.target,O(e.instance.target,e.offsets.host,e.placement)),e;const t=M(e.instance.target,e.instance.host,0,"viewport",!1);let n=e.placement.split(" ")[0],i=e.placement.split(" ")[1]||"";const r=D("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),s=[n,r];return s.forEach((r,o)=>{if(n!==r||s.length===o+1)return e;const l="left"===(n=e.placement.split(" ")[0])&&Math.floor(e.offsets.target.right)>Math.floor(e.offsets.host.left)||"right"===n&&Math.floor(e.offsets.target.left)Math.floor(e.offsets.host.top)||"bottom"===n&&Math.floor(e.offsets.target.top)Math.floor(t.right),c=Math.floor(e.offsets.target.top)Math.floor(t.bottom),h="left"===n&&a||"right"===n&&u||"top"===n&&c||"bottom"===n&&d,p=-1!==["top","bottom"].indexOf(n),f=p&&"left"===i&&a||p&&"right"===i&&u||!p&&"left"===i&&c||!p&&"right"===i&&d;(l||h||f)&&((l||h)&&(n=s[o+1]),f&&(i=function(e){return"right"===e?"left":"left"===e?"right":e}(i)),e.placement=n+(i?` ${i}`:""),e.offsets.target=Object.assign({},e.offsets.target,O(e.instance.target,e.offsets.host,e.placement)))}),e}function F(e){if(!L(e.options,"preventOverflow"))return e;const t="transform",n=e.instance.target.style,{top:i,left:r,[t]:s}=n;n.top="",n.left="",n[t]="";const o=M(e.instance.target,e.instance.host,0,"scrollParent",!1);n.top=i,n.left=r,n[t]=s;const l={primary(t){let n=e.offsets.target[t];return e.offsets.target[t]o[t]&&(i=Math.min(e.offsets.target[n],o[t]-("right"===t?e.offsets.target.width:e.offsets.target.height))),{[n]:i}}};let a;return["left","right","top","bottom"].forEach(t=>{a=-1!==["left","top"].indexOf(t)?"primary":"secondary",e.offsets.target=Object.assign({},e.offsets.target,l[a](t))}),e}function H(e){const t=e.placement,n=t.split(" ")[0],i=t.split(" ")[1];if(i){const{host:t,target:r}=e.offsets,s=-1!==["bottom","top"].indexOf(n),o=s?"left":"top",l=s?"width":"height";e.offsets.target=Object.assign({},r,{start:{[o]:t[o]},end:{[o]:t[o]+t[l]-r[l]}}[i])}return e}class Y{position(e,t,n=!0){return this.offset(e,t,!1)}offset(e,t,n=!0){return P(t,e)}positionElements(e,t,n,i,r){return[N,H,F,j].reduce((e,t)=>t(e),function(e,t,n,i){const r=P(e,t);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*\s*(start|end)*$/)||(n="auto");const s=!!n.match(/auto/g);let o=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;return{options:i,instance:{target:e,host:t,arrow:null},offsets:{target:O(e,r,o),host:r,arrow:null},positionFixed:!1,placement:o=D(o,r,e,t,i?i.allowedPositions:void 0),placementAuto:s}}(t,e,n,r))}}const V=new Y;class U{constructor(e,t,n){this.update$$=new s.a,this.positionElements=new Map,this.isDisabled=!1,Object(r.y)(n)&&e.runOutsideAngular(()=>{this.triggerEvent$=Object(o.a)(Object(l.a)(window,"scroll",{passive:!0}),Object(l.a)(window,"resize",{passive:!0}),Object(a.a)(0,u.a),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(e=>{!function(e,t,n,i,r,s){const o=V.positionElements(e,t,n,i,r),l=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);R(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${l.left}px, ${l.top}px, 0px)`},s),o.instance.arrow&&R(o.instance.arrow,o.offsets.arrow,s),function(e,t){const n=e.instance.target;let i=n.className;e.placementAuto&&(-1!==(i=(i=(i=i.replace(/bs-popover-auto/g,`bs-popover-${e.placement}`)).replace(/bs-tooltip-auto/g,`bs-tooltip-${e.placement}`)).replace(/\sauto/g,` ${e.placement}`)).indexOf("popover")&&-1===i.indexOf("popover-auto")&&(i+=" popover-auto"),-1!==i.indexOf("tooltip")&&-1===i.indexOf("tooltip-auto")&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom/g,`${e.placement.split(" ")[0]}`),t?t.setAttribute(n,"class",i):n.className=i}(o,s)}(z(e.target),z(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(z(e.element),e)}calcPosition(){this.update$$.next()}deletePositionElement(e){this.positionElements.delete(z(e))}setOptions(e){this.options=e}}function z(e){return"string"==typeof e?document.querySelector(e):e instanceof i.ElementRef?e.nativeElement:e}},"2xGB":function(e,t,n){var i,r,s;!function(o){"use strict";r=[n("nF1N")],void 0===(s="function"==typeof(i=function(e){var t=e.transform;e.transform=function(n,i,r,s,o){t.call(e,e.scale(n,i,o),i,r,s,o)},e.transformCoordinates=function(){},e.getTransformedOptions=function(e,t){var n,i,r,s,o=t.aspectRatio;if(!o)return t;for(i in n={},t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n.crop=!0,(r=e.naturalWidth||e.width)/(s=e.naturalHeight||e.height)>o?(n.maxWidth=s*o,n.maxHeight=s):(n.maxWidth=r,n.maxHeight=r/o),n},e.renderImageToCanvas=function(e,t,n,i,r,s,o,l,a,u){return e.getContext("2d").drawImage(t,n,i,r,s,o,l,a,u),e},e.hasCanvasOption=function(e){return e.canvas||e.crop||!!e.aspectRatio},e.scale=function(t,n,i){n=n||{};var r,s,o,l,a,u,c,d,h,p,f,m=document.createElement("canvas"),g=t.getContext||e.hasCanvasOption(n)&&m.getContext,v=t.naturalWidth||t.width,b=t.naturalHeight||t.height,_=v,y=b;function w(){var e=Math.max((o||_)/_,(l||y)/y);e>1&&(_*=e,y*=e)}function C(){var e=Math.min((r||_)/_,(s||y)/y);e<1&&(_*=e,y*=e)}if(g&&(c=(n=e.getTransformedOptions(t,n,i)).left||0,d=n.top||0,n.sourceWidth?(a=n.sourceWidth,void 0!==n.right&&void 0===n.left&&(c=v-a-n.right)):a=v-c-(n.right||0),n.sourceHeight?(u=n.sourceHeight,void 0!==n.bottom&&void 0===n.top&&(d=b-u-n.bottom)):u=b-d-(n.bottom||0),_=a,y=u),r=n.maxWidth,s=n.maxHeight,o=n.minWidth,l=n.minHeight,g&&r&&s&&n.crop?(_=r,y=s,(f=a/u-r/s)<0?(u=s*a/r,void 0===n.top&&void 0===n.bottom&&(d=(b-u)/2)):f>0&&(a=r*u/s,void 0===n.left&&void 0===n.right&&(c=(v-a)/2))):((n.contain||n.cover)&&(o=r=r||o,l=s=s||l),n.cover?(C(),w()):(w(),C())),g){if((h=n.pixelRatio)>1&&(m.style.width=_+"px",m.style.height=y+"px",_*=h,y*=h,m.getContext("2d").scale(h,h)),(p=n.downsamplingRatio)>0&&p<1&&__;)m.width=a*p,m.height=u*p,e.renderImageToCanvas(m,t,c,d,a,u,0,0,m.width,m.height),c=0,d=0,a=m.width,u=m.height,(t=document.createElement("canvas")).width=a,t.height=u,e.renderImageToCanvas(t,m,0,0,a,u,0,0,a,u);return m.width=_,m.height=y,e.transformCoordinates(m,n),e.renderImageToCanvas(m,t,c,d,a,u,0,0,_,y)}return t.width=_,t.height=y,t}})?i.apply(t,r):i)||(e.exports=s)}()},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^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],r=/^(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,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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}})}(n("wd/R"))},3:function(e,t){},"36rE":function(e,t,n){var i=n("mrSG").__extends,r=n("AZf1");t.EmptyObservable=function(e){function t(t){e.call(this),this.scheduler=t}return i(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(r.Observable)},"3E0/":function(e,t,n){"use strict";var i=n("D0XW"),r=n("7o/Q"),s=n("WMd4");function o(e,t=i.a){var n;const r=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new l(r,t))}n.d(t,"a",(function(){return o}));class l{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.delay,this.scheduler))}}class a extends r.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(a.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(s.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.time=e,this.notification=t}}},"3E1r":function(e,t,n){!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"},n={"\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 n[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,n){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}})}(n("wd/R"))},"3Ind":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz"),s=n("zKHA"),o=n("AJP0");t.sequenceEqual=function(e,t){return function(n){return n.lift(new l(e,t))}};var l=function(){function e(e,t){this.compareTo=e,this.comparor=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.compareTo,this.comparor))},e}();t.SequenceEqualOperator=l;var a=function(e){function t(t,n,i){e.call(this,t),this.compareTo=n,this.comparor=i,this._a=[],this._b=[],this._oneComplete=!1,this.add(n.subscribe(new u(t,this)))}return i(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,n=this.comparor;e.length>0&&t.length>0;){var i=e.shift(),r=t.shift(),l=!1;n?(l=s.tryCatch(n)(i,r))===o.errorObject&&this.destination.error(o.errorObject.e):l=i===r,l||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}(r.Subscriber);t.SequenceEqualSubscriber=a;var u=function(e){function t(t,n){e.call(this,t),this.parent=n}return i(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}(r.Subscriber)},"3N8a":function(e,t,n){"use strict";var i=n("quSY");class r extends i.a{constructor(e,t){super()}schedule(e,t=0){return this}}n.d(t,"a",(function(){return s}));class s extends r{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3UWI":function(e,t,n){"use strict";var i=n("D0XW"),r=n("l7GE"),s=n("ZUHj");class o{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new l(e,this.durationSelector))}}class l extends r.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=Object(s.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,n,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function u(e,t=i.a){return n=()=>Object(a.a)(e,t),function(e){return e.lift(new o(n))};var n}n.d(t,"a",(function(){return u}))},"3VCA":function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("AZf1"),o=(n("1uGz"),n("y2i3")),l=n("pk/4"),a=function(e){function t(t,n){e.call(this),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return i(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 c(this.getSubject(),this))),e.closed?(this._connection=null,e=o.Subscription.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return l.refCount()(this)},t}(s.Observable);t.ConnectableObservable=a;var u=a.prototype;t.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}};var c=function(e){function t(t,n){e.call(this,t),this.connectable=n}return i(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}(r.SubjectSubscriber)},"3WZS":function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("Re0n"),o=n("1uGz"),l=n("zZI/"),a=n("NwwV");t.windowTime=function(e){var t=s.async,n=null,i=Number.POSITIVE_INFINITY;return a.isScheduler(arguments[3])&&(t=arguments[3]),a.isScheduler(arguments[2])?t=arguments[2]:l.isNumeric(arguments[2])&&(i=arguments[2]),a.isScheduler(arguments[1])?t=arguments[1]:l.isNumeric(arguments[1])&&(n=arguments[1]),function(r){return r.lift(new u(e,n,i,t))}};var u=function(){function e(e,t,n,i){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=i}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),c=function(e){function t(){e.apply(this,arguments),this._numberOfNextedValues=0}return i(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}(r.Subject),d=function(e){function t(t,n,i,r,s){e.call(this,t),this.destination=t,this.windowTimeSpan=n,this.windowCreationInterval=i,this.maxWindowSize=r,this.scheduler=s,this.windows=[];var o=this.openWindow();if(null!==i&&i>=0){var l={windowTimeSpan:n,windowCreationInterval:i,subscriber:this,scheduler:s};this.add(s.schedule(f,n,{subscriber:this,window:o,context:null})),this.add(s.schedule(p,i,l))}else this.add(s.schedule(h,n,{subscriber:this,window:o,windowTimeSpan:n}))}return i(t,e),t.prototype._next=function(e){for(var t=this.windows,n=t.length,i=0;i=this.maxWindowSize&&this.closeWindow(r))}},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 c;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 h(e){var t=e.subscriber,n=e.windowTimeSpan,i=e.window;i&&t.closeWindow(i),e.window=t.openWindow(),this.schedule(e,n)}function p(e){var t=e.windowTimeSpan,n=e.subscriber,i=e.scheduler,r=e.windowCreationInterval,s=n.openWindow(),o={action:this,subscription:null};o.subscription=i.schedule(f,t,{subscriber:n,window:s,context:o}),this.add(o.subscription),this.schedule(e,r)}function f(e){var t=e.subscriber,n=e.window,i=e.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),t.closeWindow(n)}},"3bKu":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("1Wah");class r{constructor(e,t){this.viewContainerRef=e,this.resolver=t,this.tooltipAnimation=!0,this.tooltipPlacement="bottom"}show(){if(!this.tooltipDisabled&&!this.visible)if(this.visible=!0,"string"==typeof this.content){const e=this.resolver.resolveComponentFactory(i.a);if(!this.visible)return;if(this.tooltip=this.viewContainerRef.createComponent(e),!this.tooltip)return;this.tooltip.instance.hostElement=this.viewContainerRef.element.nativeElement,this.tooltip.instance.content=this.content,this.tooltip.instance.placement=this.tooltipPlacement,this.tooltip.instance.animation=this.tooltipAnimation}else{const e=this.content;if(!e)return;e.hostElement=this.viewContainerRef.element.nativeElement,e.placement=this.tooltipPlacement,e.animation=this.tooltipAnimation,e.show()}}hide(){this.visible&&(this.visible=!1,this.tooltip&&this.tooltip.destroy(),this.content instanceof i.a&&this.content.hide())}}},"3hIw":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz"),s=n("8kg7"),o=n("36rE");t.take=function(e){return function(t){return 0===e?new o.EmptyObservable:t.lift(new l(e))}};var l=function(){function e(e){if(this.total=e,this.total<0)throw new s.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.total))},e}(),a=function(e){function t(t,n){e.call(this,t),this.total=n,this.count=0}return i(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(r.Subscriber)},"3jsl":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.takeWhile=function(e){return function(t){return t.lift(new s(e))}};var s=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,n){e.call(this,t),this.predicate=n,this.index=0}return i(t,e),t.prototype._next=function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)},t.prototype.nextOrComplete=function(e,t){var n=this.destination;Boolean(t)?n.next(e):n.complete()},t}(r.Subscriber)},4:function(e,t){},"49Ep":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("9f5F"),r=n("Vbu/");n("F5nt"),n("nDot");class s{constructor(e,t,n,i){this._router=e,this.appState=t,this._localStorage=n,this.notice=i}isValid(e){let t=null;return!r.a.isBlank(e)&&(!((t="string"==typeof e?JSON.parse(e):e).error!==i.C&&!t.cursor&&!t.matches)||(451===t.error||412===t.error)&&(this._localStorage.store("isLoggedIn",!1),this.appState.setUserSource(null),this._localStorage.store("redirect",r.a.matchURL(this._router.url,"app")?this._router.url:"/app"),this._router.navigate(["/auth"]),void(451===t.error||412===t.error&&this.notice.info("Session timed out. Please login again."))))}}},"4GoQ":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz"),s=n("AZf1"),o=n("9jZZ"),l=n("Irel");t.delayWhen=function(e,t){return t?function(n){return new c(n,t).lift(new a(e))}:function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.delayDurationSelector))},e}(),u=function(e){function t(t,n){e.call(this,t),this.delayDurationSelector=n,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return i(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.destination.next(e),this.removeSubscription(r),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(n){this.destination.error(n)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e),n=null;return-1!==t&&(n=this.values[t],this.delayNotifierSubscriptions.splice(t,1),this.values.splice(t,1)),n},t.prototype.tryDelay=function(e,t){var n=l.subscribeToResult(this,e,t);n&&!n.closed&&(this.add(n),this.delayNotifierSubscriptions.push(n)),this.values.push(t)},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(o.OuterSubscriber),c=function(e){function t(t,n){e.call(this),this.source=t,this.subscriptionDelay=n}return i(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new d(e,this.source))},t}(s.Observable),d=function(e){function t(t,n){e.call(this),this.parent=t,this.source=n,this.sourceSubscribed=!1}return i(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}(r.Subscriber)},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4LdG":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("8Y7J"),r=n("4M9A"),s=(n("F5nt"),n("eG4H"));class o{constructor(e,t){this.element=e,this.appState=t,this._stateChanged=new i.EventEmitter}initiateRadio(){const e=this,t=$("#radio_"+this._tab.uid);t.iCheck({radioClass:"iradio_minimal radio_"+this._tab.uid}),t.iCheck(this._tab.data?"check":"uncheck"),("editing"===this._pageStatus&&!this._template.isSelfSign||"signing"===this._pageStatus&&this._tab.readOnly)&&t.iCheck("disable"),t.on("ifChecked",(function(){e._tab.data=!0,e._tab.initialValue=!0})),t.on("ifUnchecked",(function(){e._tab.data=!1,e._tab.initialValue=!1})),t.on("ifChanged",(function(t){e._stateChanged.emit(t)}))}syncGroupTabs(e,t){if(e.dataLabel&&e.type===r.b.TypeEnum.Radio)for(const n of t.getAllTabs())n.dataLabel===e.dataLabel&&n.uid!==e.uid&&(n.signed=e.signed,n.pageNumber=e.pageNumber,n.required=e.required,n.autoFillIn=e.autoFillIn,n.name=e.name,n.readOnly=e.readOnly,n.font=e.font,n.color=e.color,n.size=e.size,n.isBold=e.isBold,n.isItalic=e.isItalic,n.isUnderLine=e.isUnderLine,n.hideText=e.hideText,n.fixedSize=e.fixedSize,n.limitLines=e.limitLines,n.limitCharactersPerLine=e.limitCharactersPerLine,n.maxCharacters=e.maxCharacters,n.regularExpression=e.regularExpression,n.errorMessage=e.errorMessage,n.advancedIncludeEmail=e.advancedIncludeEmail,n.advancedAutoPlaceText=e.advancedAutoPlaceText,n.documentId=e.documentId,n.signerId=e.signerId,n.templateId=e.templateId,n.title=e.title,n.validation=e.validation,!0===e.initialValue&&(n.initialValue=!1),!0===e.data&&(n.data=!1))}ngAfterViewInit(){this.initiateRadio(),Object(s.f)(this._tab,this._template)}ngOnInit(){this.subscriptionChanged=this.appState.selectedTab$.subscribe(e=>{if(e&&e.uid===this._tab.uid){if($("#radio_"+this._tab.uid).iCheck(e.initialValue?"check":"uncheck"),this._tab.dataLabel&&this._tab.type===r.b.TypeEnum.Radio)for(const e of this._template.getAllTabs())e.dataLabel===this._tab.dataLabel&&this._tab.id!==e.id&&(e.initialValue=e.data=!1,$("#radio_"+e.uid).iCheck("uncheck"));this.syncGroupTabs(this._tab,this._template)}})}ngOnDestroy(){this.subscriptionChanged&&this.subscriptionChanged.unsubscribe()}}},"4M9A":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return i}));var i,r=n("Vbu/");n("9f5F");class s{constructor(e){this.md5=null,this.countClick=0,r.a.isBlank(e)||(this.id=e.id,this.uid=e.uid,this.uid||(this.uid=r.a.generateUid()),this.left=e.left,this.top=e.top,this.width=e.width,this.height=e.height,this.styles=e.styles,r.a.isBlank(e.type)||(this.type=e.type),this.signed=e.signed,this.pageNumber=e.pageNumber,this.required=e.required,this.autoFillIn=e.autoFillIn,this.name=e.name,this.options=e.options,this.initialValue=e.type===i.TypeEnum.Calendar?e.initialValue?new Date(e.initialValue):new Date:e.initialValue,this.readOnly=e.readOnly,this.font=e.font,this.color=e.color,this.size=e.size,this.isBold=e.isBold,this.isItalic=e.isItalic,this.isUnderLine=e.isUnderLine,this.hideText=e.hideText,this.fixedSize=e.fixedSize,this.limitLines=e.limitLines,this.limitCharactersPerLine=e.limitCharactersPerLine,this.maxCharacters=e.maxCharacters,this.regularExpression=e.regularExpression,this.errorMessage=e.errorMessage,this.advancedIncludeEmail=e.advancedIncludeEmail,this.advancedAutoPlaceText=e.advancedAutoPlaceText,this.image=e.image,this.scale=e.scale,this.documentId=e.documentId,this.signerId=e.signerId,this.templateId=e.templateId,this.title=e.title,this.validation=e.validation,e.type===i.TypeEnum.Calendar?e.data&&(this.data=new Date(e.data)):this.data=e.data,this.dataLabel=e.dataLabel,this.tabDefinitionUUID=e.tabDefinitionUUID)}resize(e){this.top=this.top*e,this.left=this.left*e,this.width=this.width*e,this.height=this.height*e,this.size=this.size*e}refreshSigned(e){if(this.readOnly)this.signed=!0;else if(this.required)if(this.type===i.TypeEnum.Radio){const t=this.dataLabel;this.signed=!!e.getAllTabs().some(e=>e.dataLabel===t&&!0===e.data)}else r.a.isBlank(this.data)&&(this.signed=!1);else this.signed=!0}}function o(e,t){t||(t=1),e.type!==i.TypeEnum.Dropdown||e.readOnly||$("#signingDropDown_"+e.id).selectpicker().val(e.initialValue).trigger("changed.bs.select").on("changed.bs.select",t=>{e.data=$(t.target).val(),setTimeout(()=>{let t;t=e.type===i.TypeEnum.Checkbox||e.type===i.TypeEnum.Radio?document.getElementById("tab-frame_"+e.uid):document.getElementById("img-capture_"+e.uid)})})}!function(e){e.TypeEnum={Checkbox:"checkbox",Company:"company",Calendar:"calendar",Signature:"signature",Email:"email",Initial:"initial",Image:"image",Name:"name",Lastname:"lastname",Middlename:"middlename",Address:"address",Text:"text",Title:"title",Attachment:"attachment",Approve:"approve",Firstname:"firstname",Decline:"decline",Note:"note",Stamp:"stamp",Dropdown:"dropdown",Radio:"radio",Submit:"submit"},e.ValidationEnum={EMAIL:"EMAIL",NUMBER:"NUMBER",DATE:"DATE",REGULAREXPRESSION:"REGULAR_EXPRESSION"}}(i||(i={}))},"4MV3":function(e,t,n){!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"},n={"\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 n[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,n){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}})}(n("wd/R"))},"4Tkz":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("IheW"),r=n("Xg47"),s=n("VcWf");class o{constructor(e,t,n){this.httpClient=e,this.basePath="https://api.idigisign.com/rest",this.defaultHeaders=new i.g,this.configuration=new s.a,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(let t of e)if("multipart/form-data"===t)return!0;return!1}_delete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling _delete.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.delete(`${this.basePath}/recipient/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getBaseInfoByEmail(e,t="body",n=!1){let s=new i.h({encoder:new r.a});e&&e.forEach(e=>{s=s.append("emails",e)});let o=this.defaultHeaders,l=this.configuration.selectHeaderAccept(["application/json"]);return null!=l&&(o=o.set("Accept",l)),this.httpClient.get(`${this.basePath}/recipient/base_info`,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:t,reportProgress:n})}}},"4WIM":function(e,t,n){var i=n("mrSG").__extends,r=n("AZf1"),s=n("1uGz"),o=n("y2i3"),l=n("PCq3"),a=n("NNAl"),u=n("nkkL"),c=function(e){function t(t){e.call(this,t),this.destination=t}return i(t,e),t}(s.Subscriber);t.SubjectSubscriber=c;var d=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return i(t,e),t.prototype[u.rxSubscriber]=function(){return new c(this)},t.prototype.lift=function(e){var t=new h(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new l.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;ri.pipe(a((n,i)=>Object(l.a)(e(n,i)).pipe(Object(o.a)((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new u(e,n)))}class u{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}class c extends r.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");class r extends i.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5GAg":function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return p})),n("SVse");var i=n("8Y7J"),r=n("XNiG"),s=n("quSY"),o=(n("LRne"),n("dvZr")),l=n("vkgz"),a=n("Kj3r"),u=n("pLZG"),c=n("lJxs");n("IzEk"),n("/HVE"),n("KCVW");class d{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=s.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,e instanceof i.QueryList&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){if(this._items.length&&this._items.some(e=>"function"!=typeof e.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)(e=>this._pressedLetters.push(e)),Object(a.a)(e),Object(u.a)(()=>this._pressedLetters.length>0),Object(c.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case o.i:return void this.tabOut.next();case o.b:if(this._vertical&&n){this.setNextItemActive();break}return;case o.j:if(this._vertical&&n){this.setPreviousItemActive();break}return;case o.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case o.e:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(o.m)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=o.a&&t<=o.k||t>=o.l&&t<=o.f)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}updateActiveItemIndex(e){this.updateActiveItem(e)}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof i.QueryList?this._items.toArray():this._items}}class h extends d{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}function p(e){return 0===e.buttons}},"5aaB":function(e,t,n){"use strict";var i=n("6fvh");t.max=function(e){return i.reduce("function"==typeof e?function(t,n){return e(t,n)>0?t:n}:function(e,t){return e>t?e:t})}},"5dkj":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=[".drop-container{background:#fff;border-radius:3px!important;min-height:150px;width:100%;box-shadow:1px 2px 20px rgba(10,10,10,.1);border:2px dashed #2f353b;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center}.drop-container p{color:#2f353b;flex:0 1 100%}.is-drop-over{background:#acb5bd!important;opacity:.4}.upload-button{display:inline-block;border:none;outline:0;cursor:pointer;color:#ef4836}.upload-button>input[type=file]{display:none!important}.upload-items{display:block;width:100%}.upload-items .uploader{width:100%;display:block;margin-top:20px;position:relative}.upload-items .uploader .filename{display:block;padding:0 0 5px 5px;color:#2f353b}.upload-items .uploader .remove-file{position:absolute;right:0;top:0}"]},"6+QB":function(e,t,n){!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,n){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}})}(n("wd/R"))},"67+7":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{}},"69wa":function(e,t,n){"use strict";var i;n.d(t,"a",(function(){return i})),function(e){let t;!function(e){e[e.googleDrive="googleDrive"]="googleDrive",e[e.dropbox="dropbox"]="dropbox",e[e.oneDrive="oneDrive"]="oneDrive"}(t=e.ProviderEnum||(e.ProviderEnum={}))}(i||(i={}))},"6B0Y":function(e,t,n){!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"},n={"\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,n){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 n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6MUB":function(e,t,n){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var s=encodeURIComponent(i(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return s+encodeURIComponent(i(e))})).join(t):s+encodeURIComponent(i(e[r]))})).join(t):r?encodeURIComponent(i(r))+n+encodeURIComponent(i(e)):""}},"6No5":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return l}));var i=n("8Y7J");n("s7LF");class r{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}}}class s{constructor(e,t,n){this.elementRef=e,this.changeDetection=n,this.numPages=new i.EventEmitter,this.pageChanged=new i.EventEmitter,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,n){return{text:t,number:e,active:n}}getPages(e,t){const n=[];let i=1,r=t;const s=void 0!==this.maxSize&&this.maxSizet&&(i=(r=t)-this.maxSize+1):(i=(Math.ceil(e/this.maxSize)-1)*this.maxSize+1,r=Math.min(i+this.maxSize-1,t)));for(let o=i;o<=r;o++){const t=this.makePage(o,o.toString(),o===e);n.push(t)}if(s&&!this.rotate){if(i>1){const e=this.makePage(i-1,"...",!1);n.unshift(e)}if(rthis.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,n){return{text:t,number:e,active:n}}getPages(e,t){const n=[];let i=1,r=t;const s=void 0!==this.maxSize&&this.maxSizet&&(i=(r=t)-this.maxSize+1):(i=(Math.ceil(e/this.maxSize)-1)*this.maxSize+1,r=Math.min(i+this.maxSize-1,t)));for(let o=i;o<=r;o++){const t=this.makePage(o,o.toString(),o===e);n.push(t)}if(s&&!this.rotate){if(i>1){const e=this.makePage(i-1,"...",!1);n.unshift(e)}if(rt.lift(new o(e))}class o{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new l(e,this.durationSelector))}}class l extends i.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1,this.durationSubscription=null}_next(e){try{const t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(t){this.destination.error(t)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(e,t){let n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(r.a)(this,t))&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(e,t,n,i,r){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=null,t.unsubscribe(),this.remove(t)),this.value=null,this.hasValue=!1,super._next(e)}}}},"6fvh":function(e,t,n){"use strict";var i=n("n8Qg"),r=n("WO4J"),s=n("2Tbn"),o=n("GyLc");t.reduce=function(e,t){return arguments.length>=2?function(n){return o.pipe(i.scan(e,t),r.takeLast(1),s.defaultIfEmpty(t))(n)}:function(t){return o.pipe(i.scan((function(t,n,i){return e(t,n,i+1)})),r.takeLast(1))(t)}}},"6oB3":function(e,t,n){"use strict";var i=n("NwwV"),r=n("tHdp"),s=n("9Kp9"),o=n("A0iX");t.concat=function(){for(var e=[],t=0;t(function(e){const t=r[e];t&&t()})(t)),t},clearImmediate(e){delete r[e]}};var o=n("3N8a");class l extends o.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=s.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(s.clearImmediate(t),e.scheduled=void 0)}}var a=n("IjjT");class u extends a.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i{Object(r.a)("#stamp_list"),this.modalRef&&this.modalRef.hide(),this.isUploading=!0,this._userService.getProperty("me","stamp",0,100,"",void 0,void 0,"","").subscribe(e=>this.listStampCallback(e))},this.listStampCallback=e=>{const t=this;try{this._resultHelper.isValid(e)?(this.stampList=e.result.stamps,this._appState.setStampList(this.stampList)):this.notice.warn(e.message)}finally{t.isUploading=!1,Object(r.b)("#stamp_list")}},this.delete=e=>{a.a.fire("IDigiSign","This stamp will be removed, are you sure?","warning").then(t=>{t.value&&(this.isUploading=!0,Object(r.a)("#stamp_list"),this._stampService._delete(e).subscribe(t=>this.deleteCallback(t,e)))})},this.deleteCallback=(e,t)=>{const n=this;try{this._resultHelper.isValid(e)?(this.stampList=this.stampList&&this.stampList.filter(e=>e&&e.id!==t),this._appState.setStampList(this.stampList)):this.notice.warn(e.message)}finally{setTimeout(()=>{n.isUploading=!1,Object(r.b)("#stamp_list")},500)}}}selectStamp(e){e&&this.setSelectedStamp.emit({stamp:e,tab:this.signingTab})}ngOnInit(){this.subscriptionUser=this._appState.user$.subscribe(e=>{e&&e.id&&(this.user=e,this.listStamp())}),this.subscriptionStampList=this._appState.stampList$.subscribe(e=>{e&&(this.stampList=e)})}ngOnDestroy(){s.a.hideAllModal(),this.stampList=null,this.subscriptionUser&&this.subscriptionUser.unsubscribe(),this.subscriptionStampList&&this.subscriptionStampList.unsubscribe()}addStamp(e){Object(r.a)("#stamp_list");const t=this;this.isUploading=!0;try{if(!e)return;this.stampList.some((function(t){return t.id===e.id}))||(s.a.isBlank(this.stampList)?this.stampList=[e]:this.stampList.push(e),this._appState.setStampList(this.stampList))}finally{t.isUploading=!1,Object(r.b)("#stamp_list")}}openStampCreatePad(e){this.modalRef=this.modalService.show(e)}closeStampCreatePad(){this.modalRef.hide(),this.createStampElement&&(this.createStampElement.files=[])}}},"7aV9":function(e,t,n){!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,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7c4m":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.retry=function(e){return void 0===e&&(e=-1),function(t){return t.lift(new s(e,t))}};var s=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,n,i){e.call(this,t),this.count=n,this.source=i}return i(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.source,i=this.count;if(0===i)return e.prototype.error.call(this,t);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}},t}(r.Subscriber)},"7f6I":function(e,t,n){"use strict";var i=n("Bx9r"),r=n("cf1P");t.publishBehavior=function(e){return function(t){return r.multicast(new i.BehaviorSubject(e))(t)}}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("n6bG"),r=n("gRHU"),s=n("quSY"),o=n("2QA8"),l=n("2fFW"),a=n("NJ4a");class u extends s.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof u?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,e,t,n)}}[o.a](){return this}static create(e,t,n){const i=new u(e,t,n);return i.syncErrorThrowable=!1,i}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 c extends u{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let l=this;Object(i.a)(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==r.a&&(l=Object.create(t),Object(i.a)(l.unsubscribe)&&this.add(l.unsubscribe.bind(l)),l.unsubscribe=this.unsubscribe.bind(this))),this._context=l,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=l.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(a.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(a.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(a.a)(n)}}__tryOrSetError(e,t,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return l.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(a.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8/+R":function(e,t,n){!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"},n={"\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 n[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,n){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}})}(n("wd/R"))},"8AZE":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("IheW"),r=n("Xg47"),s=n("VcWf");class o{constructor(e,t,n){this.httpClient=e,this.basePath="https://api.idigisign.com/rest",this.defaultHeaders=new i.g,this.configuration=new s.a,t&&(this.basePath=t),n&&(this.configuration=n,this.basePath=t||n.basePath||this.basePath)}canConsumeForm(e){for(let t of e)if("multipart/form-data"===t)return!0;return!1}_delete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling _delete.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.delete(`${this.basePath}/template/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}archive(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling archive.");let o=new i.h({encoder:new r.a});t&&t.forEach(e=>{o=o.append("userIds",e)});let l=this.defaultHeaders,a=this.configuration.selectHeaderAccept(["application/json"]);return null!=a&&(l=l.set("Accept",a)),this.httpClient.put(`${this.basePath}/template/${encodeURIComponent(String(e))}/archive`,null,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:n,reportProgress:s})}cancel(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling cancel.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/cancel`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}complete(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling complete.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/complete`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}copyAsDraft(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling copyAsDraft.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/copyAsDraft`,null,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}copyAsTemplate(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling copyAsTemplate.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/copyAsTemplate`,null,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}downloadCertificatePdf(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling downloadCertificatePdf.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/pdf","application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/certificate/download`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}downloadDocumentsCombined(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling downloadDocumentsCombined.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/zip","application/octet-stream"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/document/download`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}extend(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling extend.");let o,l=this.defaultHeaders,a=this.configuration.selectHeaderAccept(["application/json"]);return null!=a&&(l=l.set("Accept",a)),this.canConsumeForm([]),o=new i.h({encoder:new r.a}),void 0!==t&&(o=o.append("days",t)||o),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/extend`,o,{withCredentials:this.configuration.withCredentials,headers:l,observe:n,reportProgress:s})}get(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling get.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}getActivities(e,t,n,s,o,l,a,u="body",c=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getActivities.");let d=new i.h({encoder:new r.a});void 0!==t&&(d=d.set("offset",t)),void 0!==n&&(d=d.set("limit",n)),void 0!==s&&(d=d.set("order",s)),void 0!==o&&(d=d.set("from_date",o)),void 0!==l&&(d=d.set("to_date",l)),void 0!==a&&(d=d.set("select",a));let h=this.defaultHeaders,p=this.configuration.selectHeaderAccept(["application/json"]);return null!=p&&(h=h.set("Accept",p)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/activities`,{params:d,withCredentials:this.configuration.withCredentials,headers:h,observe:u,reportProgress:c})}getAll(e,t,n,s,o,l="body",a=!1){let u=new i.h({encoder:new r.a});void 0!==e&&(u=u.set("offset",e)),void 0!==t&&(u=u.set("limit",t)),void 0!==n&&(u=u.set("order",n)),void 0!==s&&(u=u.set("from_date",s)),void 0!==o&&(u=u.set("to_date",o));let c=this.defaultHeaders,d=this.configuration.selectHeaderAccept(["application/json"]);return null!=d&&(c=c.set("Accept",d)),this.httpClient.get(`${this.basePath}/template/all`,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:l,reportProgress:a})}getPackageForSign(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getPackageForSign.");if(null==t)throw new Error("Required parameter signerId was null or undefined when calling getPackageForSign.");let o=new i.h({encoder:new r.a});void 0!==t&&(o=o.set("signerId",t));let l=this.defaultHeaders,a=this.configuration.selectHeaderAccept(["application/json"]);return null!=a&&(l=l.set("Accept",a)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/signing`,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:n,reportProgress:s})}getPackageForSigningPage(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter isRememberMe was null or undefined when calling getPackageForSigningPage.");if(null==t)throw new Error("Required parameter accessToken was null or undefined when calling getPackageForSigningPage.");let o=new i.h({encoder:new r.a});void 0!==e&&(o=o.set("isRememberMe",e)),void 0!==t&&(o=o.set("access_token",t));let l=this.defaultHeaders,a=this.configuration.selectHeaderAccept(["application/json"]);return null!=a&&(l=l.set("Accept",a)),this.httpClient.get(`${this.basePath}/template/forSigningPage`,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:n,reportProgress:s})}getViewer(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling getViewer.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/viewer`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}persist(e,t="body",n=!1){let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);null!=r&&(i=i.set("Accept",r));let s=this.configuration.selectHeaderContentType([]);return null!=s&&(i=i.set("Content-Type",s)),this.httpClient.post(`${this.basePath}/template`,e,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}postTabs(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postTabs.");let r=this.defaultHeaders,s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));let o=this.configuration.selectHeaderContentType([]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/tab`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}postTemplateCloudDocuments(e,t,n,s,o="body",l=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postTemplateCloudDocuments.");if(null==t)throw new Error("Required parameter cloudStorageProvider was null or undefined when calling postTemplateCloudDocuments.");if(null==n)throw new Error("Required parameter fileId was null or undefined when calling postTemplateCloudDocuments.");let a,u=this.defaultHeaders,c=this.configuration.selectHeaderAccept(["application/json"]);return null!=c&&(u=u.set("Accept",c)),this.canConsumeForm([]),a=new i.h({encoder:new r.a}),void 0!==s&&(a=a.append("filename",s)||a),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/documents/${encodeURIComponent(String(t))}/file/${encodeURIComponent(String(n))}`,a,{withCredentials:this.configuration.withCredentials,headers:u,observe:o,reportProgress:l})}postTemplateDocuments(e,t,n="body",s=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postTemplateDocuments.");let o=this.defaultHeaders,l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));let a,u=!1;return a=(u=this.canConsumeForm(["multipart/form-data;charset=utf-8"]))?new FormData:new i.h({encoder:new r.a}),void 0!==t&&(a=a.append("file",t)||a),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/documents`,a,{withCredentials:this.configuration.withCredentials,headers:o,observe:n,reportProgress:s})}postTemplateRecipients(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling postTemplateRecipients.");let r=this.defaultHeaders,s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));let o=this.configuration.selectHeaderContentType([]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/recipients`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}put(e,t,n="body",i=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling put.");let r=this.defaultHeaders,s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(r=r.set("Accept",s));let o=this.configuration.selectHeaderContentType([]);return null!=o&&(r=r.set("Content-Type",o)),this.httpClient.put(`${this.basePath}/template/${encodeURIComponent(String(e))}`,t,{withCredentials:this.configuration.withCredentials,headers:r,observe:n,reportProgress:i})}recover(e,t,n,s="body",o=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling recover.");let l,a=this.defaultHeaders,u=this.configuration.selectHeaderAccept(["application/json"]);return null!=u&&(a=a.set("Accept",u)),this.canConsumeForm(["application/x-www-form-urlencoded"]),l=new i.h({encoder:new r.a}),void 0!==t&&(l=l.append("password",t)||l),void 0!==n&&(l=l.append("masterKey",n)||l),this.httpClient.post(`${this.basePath}/template/${encodeURIComponent(String(e))}/recover`,l,{withCredentials:this.configuration.withCredentials,headers:a,observe:s,reportProgress:o})}remind(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling remind.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/remind`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}remindRecipient(e,t="body",n=!1){if(null==e)throw new Error("Required parameter signerId was null or undefined when calling remindRecipient.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/remind/signer/${encodeURIComponent(String(e))}`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}reopen(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling reopen.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/reopen`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}restart(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling restart.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/restart`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}send(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling send.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/send`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}use(e,t="body",n=!1){if(null==e)throw new Error("Required parameter id was null or undefined when calling use.");let i=this.defaultHeaders,r=this.configuration.selectHeaderAccept(["application/json"]);return null!=r&&(i=i.set("Accept",r)),this.httpClient.get(`${this.basePath}/template/${encodeURIComponent(String(e))}/use`,{withCredentials:this.configuration.withCredentials,headers:i,observe:t,reportProgress:n})}}},"8G9e":function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("y2i3");t.AsyncSubject=function(e){function t(){e.apply(this,arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}return i(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),s.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}(r.Subject)},"8JYq":function(e,t,n){var i=n("mrSG").__extends,r=n("y2i3");t.Action=function(e){function t(t,n){e.call(this)}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r.Subscription)},"8Y7J":function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_core_core_q",(function(){return fy})),n.d(t,"\u0275angular_packages_core_core_n",(function(){return dy})),n.d(t,"\u0275angular_packages_core_core_o",(function(){return hy})),n.d(t,"\u0275angular_packages_core_core_p",(function(){return py})),n.d(t,"\u0275angular_packages_core_core_r",(function(){return my})),n.d(t,"\u0275angular_packages_core_core_f",(function(){return vb})),n.d(t,"\u0275angular_packages_core_core_l",(function(){return tp})),n.d(t,"\u0275angular_packages_core_core_m",(function(){return ap})),n.d(t,"\u0275angular_packages_core_core_k",(function(){return G_})),n.d(t,"\u0275angular_packages_core_core_j",(function(){return $_})),n.d(t,"\u0275angular_packages_core_core_b",(function(){return se})),n.d(t,"\u0275angular_packages_core_core_a",(function(){return ee})),n.d(t,"\u0275angular_packages_core_core_c",(function(){return uu})),n.d(t,"\u0275angular_packages_core_core_d",(function(){return Xa})),n.d(t,"\u0275angular_packages_core_core_e",(function(){return iu})),n.d(t,"\u0275angular_packages_core_core_i",(function(){return L_})),n.d(t,"\u0275angular_packages_core_core_s",(function(){return Xb})),n.d(t,"\u0275angular_packages_core_core_u",(function(){return $b})),n.d(t,"\u0275angular_packages_core_core_t",(function(){return qb})),n.d(t,"\u0275angular_packages_core_core_x",(function(){return Qb})),n.d(t,"\u0275angular_packages_core_core_v",(function(){return Gb})),n.d(t,"\u0275angular_packages_core_core_w",(function(){return Kb})),n.d(t,"\u0275angular_packages_core_core_ba",(function(){return ym})),n.d(t,"\u0275angular_packages_core_core_bb",(function(){return nr})),n.d(t,"\u0275angular_packages_core_core_bc",(function(){return ln})),n.d(t,"\u0275angular_packages_core_core_bd",(function(){return _n})),n.d(t,"\u0275angular_packages_core_core_be",(function(){return jn})),n.d(t,"\u0275angular_packages_core_core_bm",(function(){return qi})),n.d(t,"\u0275angular_packages_core_core_bl",(function(){return Gt})),n.d(t,"\u0275angular_packages_core_core_g",(function(){return Yl})),n.d(t,"\u0275angular_packages_core_core_h",(function(){return Vl})),n.d(t,"\u0275angular_packages_core_core_bg",(function(){return ps})),n.d(t,"\u0275angular_packages_core_core_bk",(function(){return we})),n.d(t,"\u0275angular_packages_core_core_bh",(function(){return p})),n.d(t,"\u0275angular_packages_core_core_bi",(function(){return f})),n.d(t,"\u0275angular_packages_core_core_bn",(function(){return C})),n.d(t,"\u0275angular_packages_core_core_y",(function(){return sm})),n.d(t,"\u0275angular_packages_core_core_z",(function(){return Pp})),n.d(t,"createPlatform",(function(){return S_})),n.d(t,"assertPlatform",(function(){return T_})),n.d(t,"destroyPlatform",(function(){return E_})),n.d(t,"getPlatform",(function(){return M_})),n.d(t,"PlatformRef",(function(){return I_})),n.d(t,"ApplicationRef",(function(){return A_})),n.d(t,"createPlatformFactory",(function(){return k_})),n.d(t,"NgProbeToken",(function(){return x_})),n.d(t,"enableProdMode",(function(){return Or})),n.d(t,"isDevMode",(function(){return Pr})),n.d(t,"APP_ID",(function(){return gb})),n.d(t,"PACKAGE_ROOT_URL",(function(){return xb})),n.d(t,"PLATFORM_INITIALIZER",(function(){return yb})),n.d(t,"PLATFORM_ID",(function(){return wb})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return Cb})),n.d(t,"APP_INITIALIZER",(function(){return fb})),n.d(t,"ApplicationInitStatus",(function(){return mb})),n.d(t,"DebugElement",(function(){return uy})),n.d(t,"DebugEventListener",(function(){return q_})),n.d(t,"DebugNode",(function(){return ay})),n.d(t,"asNativeElements",(function(){return K_})),n.d(t,"getDebugNode",(function(){return oy})),n.d(t,"Testability",(function(){return h_})),n.d(t,"TestabilityRegistry",(function(){return p_})),n.d(t,"setTestabilityGetter",(function(){return m_})),n.d(t,"TRANSLATIONS",(function(){return Tb})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return Eb})),n.d(t,"LOCALE_ID",(function(){return kb})),n.d(t,"MissingTranslationStrategy",(function(){return Mb})),n.d(t,"ApplicationModule",(function(){return gy})),n.d(t,"wtfCreateScope",(function(){return Zb})),n.d(t,"wtfLeave",(function(){return e_})),n.d(t,"wtfStartTimeRange",(function(){return t_})),n.d(t,"wtfEndTimeRange",(function(){return n_})),n.d(t,"Type",(function(){return $l})),n.d(t,"EventEmitter",(function(){return Xg})),n.d(t,"ErrorHandler",(function(){return _r})),n.d(t,"Sanitizer",(function(){return rs})),n.d(t,"SecurityContext",(function(){return is})),n.d(t,"Attribute",(function(){return y})),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return cu})),n.d(t,"ContentChild",(function(){return pu})),n.d(t,"ContentChildren",(function(){return hu})),n.d(t,"Query",(function(){return du})),n.d(t,"ViewChild",(function(){return mu})),n.d(t,"ViewChildren",(function(){return fu})),n.d(t,"Component",(function(){return Zv})),n.d(t,"Directive",(function(){return Jv})),n.d(t,"HostBinding",(function(){return ib})),n.d(t,"HostListener",(function(){return rb})),n.d(t,"Input",(function(){return tb})),n.d(t,"Output",(function(){return nb})),n.d(t,"Pipe",(function(){return eb})),n.d(t,"NgModule",(function(){return db})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return yr})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return wr})),n.d(t,"ViewEncapsulation",(function(){return ye})),n.d(t,"Version",(function(){return Zh})),n.d(t,"VERSION",(function(){return ep})),n.d(t,"InjectFlags",(function(){return w})),n.d(t,"\u0275\u0275defineInjectable",(function(){return S})),n.d(t,"defineInjectable",(function(){return k})),n.d(t,"\u0275\u0275defineInjector",(function(){return T})),n.d(t,"forwardRef",(function(){return O})),n.d(t,"resolveForwardRef",(function(){return L})),n.d(t,"Injectable",(function(){return ma})),n.d(t,"Injector",(function(){return Oa})),n.d(t,"\u0275\u0275inject",(function(){return te})),n.d(t,"inject",(function(){return ne})),n.d(t,"INJECTOR",(function(){return U})),n.d(t,"ReflectiveInjector",(function(){return au})),n.d(t,"ResolvedReflectiveFactory",(function(){return eu})),n.d(t,"ReflectiveKey",(function(){return qa})),n.d(t,"InjectionToken",(function(){return V})),n.d(t,"Inject",(function(){return m})),n.d(t,"Optional",(function(){return g})),n.d(t,"Self",(function(){return v})),n.d(t,"SkipSelf",(function(){return b})),n.d(t,"Host",(function(){return _})),n.d(t,"NgZone",(function(){return s_})),n.d(t,"\u0275NoopNgZone",(function(){return d_})),n.d(t,"RenderComponentType",(function(){return Bh})),n.d(t,"Renderer",(function(){return qh})),n.d(t,"Renderer2",(function(){return Qh})),n.d(t,"RendererFactory2",(function(){return Gh})),n.d(t,"RendererStyleFlags2",(function(){return Kh})),n.d(t,"RootRenderer",(function(){return $h})),n.d(t,"COMPILER_OPTIONS",(function(){return Ub})),n.d(t,"Compiler",(function(){return Vb})),n.d(t,"CompilerFactory",(function(){return zb})),n.d(t,"ModuleWithComponentFactories",(function(){return Ab})),n.d(t,"ComponentFactory",(function(){return Oh})),n.d(t,"\u0275ComponentFactory",(function(){return Oh})),n.d(t,"ComponentRef",(function(){return Ph})),n.d(t,"ComponentFactoryResolver",(function(){return Nh})),n.d(t,"ElementRef",(function(){return Vh})),n.d(t,"NgModuleFactory",(function(){return ce})),n.d(t,"NgModuleRef",(function(){return ue})),n.d(t,"NgModuleFactoryLoader",(function(){return O_})),n.d(t,"getModuleFactory",(function(){return j_})),n.d(t,"QueryList",(function(){return Zg})),n.d(t,"SystemJsNgModuleLoader",(function(){return U_})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return Y_})),n.d(t,"TemplateRef",(function(){return gp})),n.d(t,"ViewContainerRef",(function(){return _p})),n.d(t,"EmbeddedViewRef",(function(){return W_})),n.d(t,"ViewRef",(function(){return B_})),n.d(t,"ChangeDetectionStrategy",(function(){return ve})),n.d(t,"ChangeDetectorRef",(function(){return Bl})),n.d(t,"DefaultIterableDiffer",(function(){return ip})),n.d(t,"IterableDiffers",(function(){return dp})),n.d(t,"KeyValueDiffers",(function(){return hp})),n.d(t,"SimpleChange",(function(){return fh})),n.d(t,"WrappedValue",(function(){return Eu})),n.d(t,"platformCore",(function(){return cy})),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",(function(){return C_})),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",(function(){return bb})),n.d(t,"\u0275defaultIterableDiffers",(function(){return fp})),n.d(t,"\u0275defaultKeyValueDiffers",(function(){return mp})),n.d(t,"\u0275devModeEqual",(function(){return Tu})),n.d(t,"\u0275isListLikeIterable",(function(){return Mu})),n.d(t,"\u0275ChangeDetectorStatus",(function(){return be})),n.d(t,"\u0275isDefaultChangeDetectionStrategy",(function(){return _e})),n.d(t,"\u0275Console",(function(){return Sb})),n.d(t,"\u0275setCurrentInjector",(function(){return J})),n.d(t,"\u0275getInjectableDef",(function(){return E})),n.d(t,"\u0275APP_ROOT",(function(){return ba})),n.d(t,"\u0275DEFAULT_LOCALE_ID",(function(){return Im})),n.d(t,"\u0275ivyEnabled",(function(){return Db})),n.d(t,"\u0275CodegenComponentFactoryResolver",(function(){return Fh})),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",(function(){return yu})),n.d(t,"\u0275resolveComponentResources",(function(){return gu})),n.d(t,"\u0275ReflectionCapabilities",(function(){return Zl})),n.d(t,"\u0275RenderDebugInfo",(function(){return Wh})),n.d(t,"\u0275_sanitizeHtml",(function(){return ts})),n.d(t,"\u0275_sanitizeStyle",(function(){return ls})),n.d(t,"\u0275_sanitizeUrl",(function(){return Nr})),n.d(t,"\u0275global",(function(){return H})),n.d(t,"\u0275looseIdentical",(function(){return ku})),n.d(t,"\u0275stringify",(function(){return A})),n.d(t,"\u0275makeDecorator",(function(){return d})),n.d(t,"\u0275isObservable",(function(){return qc})),n.d(t,"\u0275isPromise",(function(){return Wc})),n.d(t,"\u0275clearOverrides",(function(){return Ww})),n.d(t,"\u0275initServicesIfNeeded",(function(){return ow})),n.d(t,"\u0275overrideComponentView",(function(){return Bw})),n.d(t,"\u0275overrideProvider",(function(){return zw})),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return hm})),n.d(t,"\u0275getLocalePluralCase",(function(){return Em})),n.d(t,"\u0275findLocaleData",(function(){return Mm})),n.d(t,"\u0275LOCALE_DATA",(function(){return xm})),n.d(t,"\u0275LocaleDataIndex",(function(){return Sm})),n.d(t,"\u0275\u0275attribute",(function(){return Fu})),n.d(t,"\u0275\u0275attributeInterpolate1",(function(){return Gu})),n.d(t,"\u0275\u0275attributeInterpolate2",(function(){return Ku})),n.d(t,"\u0275\u0275attributeInterpolate3",(function(){return Qu})),n.d(t,"\u0275\u0275attributeInterpolate4",(function(){return Xu})),n.d(t,"\u0275\u0275attributeInterpolate5",(function(){return Ju})),n.d(t,"\u0275\u0275attributeInterpolate6",(function(){return Zu})),n.d(t,"\u0275\u0275attributeInterpolate7",(function(){return ec})),n.d(t,"\u0275\u0275attributeInterpolate8",(function(){return tc})),n.d(t,"\u0275\u0275attributeInterpolateV",(function(){return nc})),n.d(t,"\u0275\u0275defineBase",(function(){return He})),n.d(t,"\u0275\u0275defineComponent",(function(){return Pe})),n.d(t,"\u0275\u0275defineDirective",(function(){return Ye})),n.d(t,"\u0275\u0275definePipe",(function(){return Ve})),n.d(t,"\u0275\u0275defineNgModule",(function(){return je})),n.d(t,"\u0275detectChanges",(function(){return ic})),n.d(t,"\u0275renderComponent",(function(){return ah})),n.d(t,"\u0275Render3ComponentFactory",(function(){return wm})),n.d(t,"\u0275Render3ComponentRef",(function(){return Cm})),n.d(t,"\u0275\u0275directiveInject",(function(){return pc})),n.d(t,"\u0275\u0275injectAttribute",(function(){return fc})),n.d(t,"\u0275\u0275injectPipeChangeDetectorRef",(function(){return Cv})),n.d(t,"\u0275\u0275getFactoryOf",(function(){return dr})),n.d(t,"\u0275\u0275getInheritedFactory",(function(){return hr})),n.d(t,"\u0275\u0275setComponentScope",(function(){return Oe})),n.d(t,"\u0275\u0275setNgModuleScope",(function(){return Ne})),n.d(t,"\u0275\u0275templateRefExtractor",(function(){return wv})),n.d(t,"\u0275\u0275ProvidersFeature",(function(){return Ah})),n.d(t,"\u0275\u0275InheritDefinitionFeature",(function(){return yh})),n.d(t,"\u0275\u0275NgOnChangesFeature",(function(){return mh})),n.d(t,"\u0275LifecycleHooksFeature",(function(){return hh})),n.d(t,"\u0275Render3NgModuleRef",(function(){return Dg})),n.d(t,"\u0275markDirty",(function(){return rc})),n.d(t,"\u0275NgModuleFactory",(function(){return Ag})),n.d(t,"\u0275NO_CHANGE",(function(){return to})),n.d(t,"\u0275\u0275container",(function(){return sc})),n.d(t,"\u0275\u0275nextContext",(function(){return Jc})),n.d(t,"\u0275\u0275elementStart",(function(){return Lc})),n.d(t,"\u0275\u0275namespaceHTML",(function(){return Wn})),n.d(t,"\u0275\u0275namespaceMathML",(function(){return Bn})),n.d(t,"\u0275\u0275namespaceSVG",(function(){return zn})),n.d(t,"\u0275\u0275element",(function(){return jc})),n.d(t,"\u0275\u0275listener",(function(){return $c})),n.d(t,"\u0275\u0275text",(function(){return fd})),n.d(t,"\u0275\u0275textInterpolate",(function(){return gd})),n.d(t,"\u0275\u0275textInterpolate1",(function(){return vd})),n.d(t,"\u0275\u0275textInterpolate2",(function(){return bd})),n.d(t,"\u0275\u0275textInterpolate3",(function(){return _d})),n.d(t,"\u0275\u0275textInterpolate4",(function(){return yd})),n.d(t,"\u0275\u0275textInterpolate5",(function(){return wd})),n.d(t,"\u0275\u0275textInterpolate6",(function(){return Cd})),n.d(t,"\u0275\u0275textInterpolate7",(function(){return xd})),n.d(t,"\u0275\u0275textInterpolate8",(function(){return Sd})),n.d(t,"\u0275\u0275textInterpolateV",(function(){return kd})),n.d(t,"\u0275\u0275embeddedViewStart",(function(){return Uc})),n.d(t,"\u0275\u0275projection",(function(){return id})),n.d(t,"\u0275\u0275pipeBind1",(function(){return Bg})),n.d(t,"\u0275\u0275pipeBind2",(function(){return Wg})),n.d(t,"\u0275\u0275pipeBind3",(function(){return qg})),n.d(t,"\u0275\u0275pipeBind4",(function(){return $g})),n.d(t,"\u0275\u0275pipeBindV",(function(){return Gg})),n.d(t,"\u0275\u0275pureFunction0",(function(){return Og})),n.d(t,"\u0275\u0275pureFunction1",(function(){return Lg})),n.d(t,"\u0275\u0275pureFunction2",(function(){return Rg})),n.d(t,"\u0275\u0275pureFunction3",(function(){return jg})),n.d(t,"\u0275\u0275pureFunction4",(function(){return Ng})),n.d(t,"\u0275\u0275pureFunction5",(function(){return Fg})),n.d(t,"\u0275\u0275pureFunction6",(function(){return Hg})),n.d(t,"\u0275\u0275pureFunction7",(function(){return Yg})),n.d(t,"\u0275\u0275pureFunction8",(function(){return Vg})),n.d(t,"\u0275\u0275pureFunctionV",(function(){return Ug})),n.d(t,"\u0275\u0275getCurrentView",(function(){return Bc})),n.d(t,"\u0275getDirectives",(function(){return Xd})),n.d(t,"\u0275getHostElement",(function(){return Zd})),n.d(t,"\u0275\u0275restoreView",(function(){return bn})),n.d(t,"\u0275\u0275containerRefreshStart",(function(){return lc})),n.d(t,"\u0275\u0275containerRefreshEnd",(function(){return ac})),n.d(t,"\u0275\u0275queryRefresh",(function(){return av})),n.d(t,"\u0275\u0275viewQuery",(function(){return cv})),n.d(t,"\u0275\u0275staticViewQuery",(function(){return uv})),n.d(t,"\u0275\u0275staticContentQuery",(function(){return fv})),n.d(t,"\u0275\u0275loadViewQuery",(function(){return hv})),n.d(t,"\u0275\u0275contentQuery",(function(){return pv})),n.d(t,"\u0275\u0275loadContentQuery",(function(){return gv})),n.d(t,"\u0275\u0275elementEnd",(function(){return Rc})),n.d(t,"\u0275\u0275hostProperty",(function(){return Bd})),n.d(t,"\u0275\u0275property",(function(){return ju})),n.d(t,"\u0275\u0275propertyInterpolate",(function(){return rd})),n.d(t,"\u0275\u0275propertyInterpolate1",(function(){return sd})),n.d(t,"\u0275\u0275propertyInterpolate2",(function(){return od})),n.d(t,"\u0275\u0275propertyInterpolate3",(function(){return ld})),n.d(t,"\u0275\u0275propertyInterpolate4",(function(){return ad})),n.d(t,"\u0275\u0275propertyInterpolate5",(function(){return ud})),n.d(t,"\u0275\u0275propertyInterpolate6",(function(){return cd})),n.d(t,"\u0275\u0275propertyInterpolate7",(function(){return dd})),n.d(t,"\u0275\u0275propertyInterpolate8",(function(){return hd})),n.d(t,"\u0275\u0275propertyInterpolateV",(function(){return pd})),n.d(t,"\u0275\u0275updateSyntheticHostBinding",(function(){return Wd})),n.d(t,"\u0275\u0275componentHostSyntheticListener",(function(){return Gc})),n.d(t,"\u0275\u0275projectionDef",(function(){return ed})),n.d(t,"\u0275\u0275reference",(function(){return dc})),n.d(t,"\u0275\u0275enableBindings",(function(){return sn})),n.d(t,"\u0275\u0275disableBindings",(function(){return on})),n.d(t,"\u0275\u0275allocHostVars",(function(){return Cu})),n.d(t,"\u0275\u0275elementContainerStart",(function(){return Hc})),n.d(t,"\u0275\u0275elementContainerEnd",(function(){return Yc})),n.d(t,"\u0275\u0275elementContainer",(function(){return Vc})),n.d(t,"\u0275\u0275styling",(function(){return mc})),n.d(t,"\u0275\u0275styleMap",(function(){return wc})),n.d(t,"\u0275\u0275styleSanitizer",(function(){return gc})),n.d(t,"\u0275\u0275classMap",(function(){return Cc})),n.d(t,"\u0275\u0275classMapInterpolate1",(function(){return Td})),n.d(t,"\u0275\u0275classMapInterpolate2",(function(){return Ed})),n.d(t,"\u0275\u0275classMapInterpolate3",(function(){return Md})),n.d(t,"\u0275\u0275classMapInterpolate4",(function(){return Id})),n.d(t,"\u0275\u0275classMapInterpolate5",(function(){return Dd})),n.d(t,"\u0275\u0275classMapInterpolate6",(function(){return Ad})),n.d(t,"\u0275\u0275classMapInterpolate7",(function(){return Pd})),n.d(t,"\u0275\u0275classMapInterpolate8",(function(){return Od})),n.d(t,"\u0275\u0275classMapInterpolateV",(function(){return Ld})),n.d(t,"\u0275\u0275styleProp",(function(){return vc})),n.d(t,"\u0275\u0275stylePropInterpolate1",(function(){return Rd})),n.d(t,"\u0275\u0275stylePropInterpolate2",(function(){return jd})),n.d(t,"\u0275\u0275stylePropInterpolate3",(function(){return Nd})),n.d(t,"\u0275\u0275stylePropInterpolate4",(function(){return Fd})),n.d(t,"\u0275\u0275stylePropInterpolate5",(function(){return Hd})),n.d(t,"\u0275\u0275stylePropInterpolate6",(function(){return Yd})),n.d(t,"\u0275\u0275stylePropInterpolate7",(function(){return Vd})),n.d(t,"\u0275\u0275stylePropInterpolate8",(function(){return Ud})),n.d(t,"\u0275\u0275stylePropInterpolateV",(function(){return zd})),n.d(t,"\u0275\u0275stylingApply",(function(){return Tc})),n.d(t,"\u0275\u0275classProp",(function(){return _c})),n.d(t,"\u0275\u0275elementHostAttrs",(function(){return Nc})),n.d(t,"\u0275\u0275select",(function(){return fo})),n.d(t,"\u0275\u0275textBinding",(function(){return md})),n.d(t,"\u0275\u0275template",(function(){return oc})),n.d(t,"\u0275\u0275embeddedViewEnd",(function(){return zc})),n.d(t,"\u0275store",(function(){return cc})),n.d(t,"\u0275\u0275load",(function(){return hc})),n.d(t,"\u0275\u0275pipe",(function(){return zg})),n.d(t,"\u0275whenRendered",(function(){return ph})),n.d(t,"\u0275\u0275i18n",(function(){return lg})),n.d(t,"\u0275\u0275i18nAttributes",(function(){return ag})),n.d(t,"\u0275\u0275i18nExp",(function(){return dg})),n.d(t,"\u0275\u0275i18nStart",(function(){return Zm})),n.d(t,"\u0275\u0275i18nEnd",(function(){return ig})),n.d(t,"\u0275\u0275i18nApply",(function(){return hg})),n.d(t,"\u0275\u0275i18nPostprocess",(function(){return ng})),n.d(t,"\u0275i18nConfigureLocalize",(function(){return _g})),n.d(t,"\u0275\u0275i18nLocalize",(function(){return wg})),n.d(t,"\u0275setLocaleId",(function(){return xg})),n.d(t,"\u0275setClassMetadata",(function(){return Pg})),n.d(t,"\u0275\u0275resolveWindow",(function(){return Zn})),n.d(t,"\u0275\u0275resolveDocument",(function(){return ei})),n.d(t,"\u0275\u0275resolveBody",(function(){return ti})),n.d(t,"\u0275compileComponent",(function(){return Hv})),n.d(t,"\u0275compileDirective",(function(){return Yv})),n.d(t,"\u0275compileNgModule",(function(){return Iv})),n.d(t,"\u0275compileNgModuleDefs",(function(){return Dv})),n.d(t,"\u0275patchComponentDefWithScope",(function(){return Rv})),n.d(t,"\u0275resetCompiledComponents",(function(){return Ov})),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",(function(){return Ev})),n.d(t,"\u0275transitiveScopesFor",(function(){return jv})),n.d(t,"\u0275compilePipe",(function(){return Xv})),n.d(t,"\u0275\u0275sanitizeHtml",(function(){return as})),n.d(t,"\u0275\u0275sanitizeStyle",(function(){return us})),n.d(t,"\u0275\u0275defaultStyleSanitizer",(function(){return ms})),n.d(t,"\u0275\u0275sanitizeScript",(function(){return hs})),n.d(t,"\u0275\u0275sanitizeUrl",(function(){return cs})),n.d(t,"\u0275\u0275sanitizeResourceUrl",(function(){return ds})),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",(function(){return fs})),n.d(t,"\u0275bypassSanitizationTrustHtml",(function(){return Sr})),n.d(t,"\u0275bypassSanitizationTrustStyle",(function(){return kr})),n.d(t,"\u0275bypassSanitizationTrustScript",(function(){return Tr})),n.d(t,"\u0275bypassSanitizationTrustUrl",(function(){return Er})),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",(function(){return Mr})),n.d(t,"\u0275getLContext",(function(){return _s})),n.d(t,"\u0275NG_ELEMENT_ID",(function(){return De})),n.d(t,"\u0275NG_COMPONENT_DEF",(function(){return Se})),n.d(t,"\u0275NG_DIRECTIVE_DEF",(function(){return ke})),n.d(t,"\u0275NG_PIPE_DEF",(function(){return Te})),n.d(t,"\u0275NG_MODULE_DEF",(function(){return Ee})),n.d(t,"\u0275NG_BASE_DEF",(function(){return Ie})),n.d(t,"\u0275NG_INJECTABLE_DEF",(function(){return I})),n.d(t,"\u0275NG_INJECTOR_DEF",(function(){return D})),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",(function(){return __})),n.d(t,"\u0275isBoundToModule__POST_R3__",(function(){return w_})),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return sb})),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return ob})),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",(function(){return lb})),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return hb})),n.d(t,"\u0275getDebugNode__POST_R3__",(function(){return sy})),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return ga})),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",(function(){return Ib})),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return Wl})),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",(function(){return Ob})),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",(function(){return Rb})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return Nb})),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return Hb})),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Uh})),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return vp})),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return yp})),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return Xh})),n.d(t,"\u0275getModuleFactory__POST_R3__",(function(){return R_})),n.d(t,"\u0275registerNgModuleType",(function(){return Eg})),n.d(t,"\u0275publishGlobalUtil",(function(){return lh})),n.d(t,"\u0275publishDefaultGlobalUtils",(function(){return oh})),n.d(t,"\u0275createInjector",(function(){return Sa})),n.d(t,"\u0275INJECTOR_IMPL__POST_R3__",(function(){return Aa})),n.d(t,"\u0275registerModuleFactory",(function(){return kg})),n.d(t,"\u0275EMPTY_ARRAY",(function(){return vf})),n.d(t,"\u0275EMPTY_MAP",(function(){return bf})),n.d(t,"\u0275and",(function(){return vy})),n.d(t,"\u0275ccf",(function(){return Af})),n.d(t,"\u0275cmf",(function(){return qw})),n.d(t,"\u0275crt",(function(){return Yp})),n.d(t,"\u0275did",(function(){return nm})),n.d(t,"\u0275eld",(function(){return by})),n.d(t,"\u0275getComponentViewDefinitionFactory",(function(){return Pf})),n.d(t,"\u0275inlineInterpolate",(function(){return mf})),n.d(t,"\u0275interpolate",(function(){return ff})),n.d(t,"\u0275mod",(function(){return Sf})),n.d(t,"\u0275mpd",(function(){return xf})),n.d(t,"\u0275ncd",(function(){return My})),n.d(t,"\u0275nov",(function(){return zf})),n.d(t,"\u0275pid",(function(){return im})),n.d(t,"\u0275prd",(function(){return rm})),n.d(t,"\u0275pad",(function(){return Ay})),n.d(t,"\u0275pod",(function(){return Py})),n.d(t,"\u0275ppd",(function(){return Dy})),n.d(t,"\u0275qud",(function(){return xy})),n.d(t,"\u0275ted",(function(){return Ly})),n.d(t,"\u0275unv",(function(){return Np})),n.d(t,"\u0275vid",(function(){return Ny}));var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),o=n("VRyK"),l=n("w1tV");const a="__annotations__",u="__parameters__",c="__prop__metadata__";function d(e,t,n,i,r){const s=h(t);function o(...e){if(this instanceof o)return s.call(this,...e),this;const t=new o(...e);return function(n){return r&&r(n,...e),(n.hasOwnProperty(a)?n[a]:Object.defineProperty(n,a,{value:[]})[a]).push(t),i&&i(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function h(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function p(e,t,n){const i=h(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty(u)?e[u]:Object.defineProperty(e,u,{value:[]})[u];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}function f(e,t,n,i){const r=h(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return function(n,r){const s=n.constructor,o=s.hasOwnProperty(c)?s[c]:Object.defineProperty(s,c,{value:{}})[c];o[r]=o.hasOwnProperty(r)&&o[r]||[],o[r].unshift(t),i&&i(n,r,...e)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const m=p("Inject",e=>({token:e})),g=p("Optional"),v=p("Self"),b=p("SkipSelf"),_=p("Host"),y=p("Attribute",e=>({attributeName:e}));var w=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 C(e){for(let t in e)if(e[t]===C)return t;throw Error("Could not find renamed property on target object.")}function x(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const k=S;function T(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function E(e){const t=e[I];return t&&t.token===e?t:null}function M(e){return e&&e.hasOwnProperty(D)?e[D]:null}const I=C({ngInjectableDef:C}),D=C({ngInjectorDef:C});function A(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(A).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const P=C({__forward_ref__:C});function O(e){return e.__forward_ref__=O,e.toString=function(){return A(this())},e}function L(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(P)&&t.__forward_ref__===O?t():e}const R="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,N="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,F="undefined"!=typeof global&&global,H=R||F||j||N;function Y(){const e=H.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}class V{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=S({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const U=new V("INJECTOR",-1),z=new Object,B="ngTempTokenPath",W="ngTokenPath",q=/\n/gm,$="\u0275",G="__source",K=C({provide:String,useValue:C});let Q,X=void 0;function J(e){const t=X;return X=e,t}function Z(e){const t=Q;return Q=e,t}function ee(e,t=w.Default){if(void 0===X)throw new Error("inject() must be called from an injection context");return null===X?ie(e,void 0,t):X.get(e,t&w.Optional?null:void 0,t)}function te(e,t=w.Default){return(Q||ee)(e,t)}const ne=te;function ie(e,t,n){const i=E(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&w.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${A(e)}]`)}function re(e){const t=[];for(let n=0;n ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):A(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(q,"\n ")}`}const ae={"\u0275\u0275defineInjectable":S,"\u0275\u0275defineInjector":T,"\u0275\u0275inject":te,"\u0275\u0275getFactoryOf":function(e){const t=e,n=E(t)||M(t);return n&&void 0!==n.factory?n.factory:null}};class ue{}class ce{}function de(e,t){for(let n=0;nArray.isArray(e)?pe(e,t):t(e))}function fe(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function me(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ge(e){throw new Error(`ASSERTION ERROR: ${e}`)}const ve=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),be=function(){var e={CheckOnce:0,Checked:1,CheckAlways:2,Detached:3,Errored:4,Destroyed:5};return e[e.CheckOnce]="CheckOnce",e[e.Checked]="Checked",e[e.CheckAlways]="CheckAlways",e[e.Detached]="Detached",e[e.Errored]="Errored",e[e.Destroyed]="Destroyed",e}();function _e(e){return null==e||e===ve.Default}const ye=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 we(e){return""+{toString:e}}const Ce={},xe=[],Se=C({ngComponentDef:C}),ke=C({ngDirectiveDef:C}),Te=C({ngPipeDef:C}),Ee=C({ngModuleDef:C}),Me=C({ngLocaleIdDef:C}),Ie=C({ngBaseDef:C}),De=C({__NG_ELEMENT_ID__:C});let Ae=0;function Pe(e){const t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,consts:e.consts,vars:e.vars,factory:e.factory,template:e.template||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===ve.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ye.Emulated,id:"c",styles:e.styles||xe,_:null,setInput:null,schemas:e.schemas||null,tView:null};return r._=we(()=>{const n=e.directives,s=e.features,o=e.pipes;r.id+=Ae++,r.inputs=Fe(e.inputs,i),r.outputs=Fe(e.outputs),s&&s.forEach(e=>e(r)),r.directiveDefs=n?()=>("function"==typeof n?n():n).map(Le):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Re):null,t.hasOwnProperty(I)||(t[I]=S({token:t,factory:e.factory}))}),r}function Oe(e,t,n){const i=e.ngComponentDef;i.directiveDefs=()=>t.map(Le),i.pipeDefs=()=>n.map(Re)}function Le(e){return Ue(e)||ze(e)}function Re(e){return Be(e)}function je(e){return{type:e.type,bootstrap:e.bootstrap||xe,declarations:e.declarations||xe,imports:e.imports||xe,exports:e.exports||xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}}function Ne(e,t){return we(()=>{const n=qe(e,!0);n.declarations=t.declarations||xe,n.imports=t.imports||xe,n.exports=t.exports||xe})}function Fe(e,t){if(null==e)return Ce;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}function He(e){const t={};return{inputs:Fe(e.inputs,t),declaredInputs:t,outputs:Fe(e.outputs),viewQuery:e.viewQuery||null,contentQueries:e.contentQueries||null,hostBindings:e.hostBindings||null}}const Ye=Pe;function Ve(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ue(e){return e[Se]||null}function ze(e){return e[ke]||null}function Be(e){return e[Te]||null}function We(e){return e[Ie]||null}function qe(e,t){const n=e[Ee]||null;if(!n&&!0===t)throw new Error(`Type ${A(e)} does not have 'ngModuleDef' property.`);return n}const $e=0,Ge=1,Ke=2,Qe=3,Xe=4,Je=5,Ze=6,et=7,tt=8,nt=9,it=10,rt=11,st=12,ot=13,lt=14,at=15,ut=16,ct=17,dt=18,ht=19,pt=1,ft=2,mt=5,gt=7,vt=8,bt=9;function _t(e){return Array.isArray(e)&&"object"==typeof e[pt]}function yt(e){return Array.isArray(e)&&!0===e[pt]}function wt(e){return 0!=(4&e.flags)}function Ct(e){return 1==(1&e.flags)}function xt(e){return null!==e.template}function St(e){return 0!=(512&e[Ke])}const kt=8,Tt=8,Et=9,Mt=-1;class It{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Dt(e,t,n,i,r,s){const{onChanges:o,onInit:l,doCheck:a}=t;r>=0&&(!n.preOrderHooks||r===n.preOrderHooks.length)&&(o||l||a)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(i),s>=0&&(!n.preOrderCheckHooks||s===n.preOrderCheckHooks.length)&&(o||a)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)),l&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,l),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}function At(e,t){if(e.firstTemplatePass)for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[o]<0&&(e[dt]+=65536),(s>10>16&&(3&e[Ke])===t&&(e[Ke]+=1024,s.call(o)):s.call(o)}let Rt=null;const jt=new Map;let Nt=null;const Ft=1,Ht=0;function Yt(e,t){return Nt&&e===Nt||(Nt=e,t&&(Rt=jt.get(e)||null),Rt=Rt||{classesBitMask:Ht,classesIndex:Ft,stylesBitMask:Ht,stylesIndex:Ft}),Rt}function Vt(){Rt=null,Nt=null}const Ut="__ngContext__";function zt(e){for(;Array.isArray(e);)e=e[$e];return e}function Bt(e,t){return zt(t[e+ht])}function Wt(e,t){return zt(t[e.index])}function qt(e,t){const n=e.index;return-1==n?null:zt(t[n])}function $t(e,t){return t[Ge].data[e+ht]}function Gt(e,t){return e[t+ht]}function Kt(e,t){const n=t[e];return _t(n)?n:n[$e]}function Qt(e){return e[Ut]}function Xt(e){const t=Qt(e);return t?Array.isArray(t)?t:t.lView:null}function Jt(e){e[dt]=0}let Zt,en,tn=null;function nn(e){tn=e}function rn(){return en}function sn(){en=!0}function on(){en=!1}function ln(){return dn}const an=1;let un,cn,dn,hn=an,pn=0,fn=0;function mn(e=null){Fn!==e&&(Yn(null==e?-1:e),hn=null==e?0:an,pn=0,fn=0)}function gn(){hn+=1+fn,pn=0,fn=0}function vn(e){pn+=e,fn=Math.max(fn,pn)}function bn(e){kn=e}function _n(){return un}function yn(e,t){un=e,cn=t}function wn(e,t){un=e,dn=t}function Cn(){return cn}function xn(){cn=!1}function Sn(e=dn){return 4==(4&e[Ke])}let kn=null,Tn=!1;function En(){return Tn}function Mn(e){Tn=e}let In=-1;function Dn(){return In}function An(e){In=e}let Pn=0;function On(){return Pn}function Ln(e){Pn=e}function Rn(e,t){const n=dn;return e&&(In=e[Ge].bindingStartIndex),un=t,cn=!0,dn=kn=e,n}function jn(e=1){return(kn=function(e,t){for(;e>0;)t=t[ut],e--;return t}(e,kn))[nt]}function Nn(e,t){const n=dn[Ge];if(Sn(dn))dn[Ke]&=-5;else try{Jt(dn),t&&Ot(dn,n.viewHooks,n.viewCheckHooks,Tn,2,void 0)}finally{dn[Ke]&=-73,dn[et]=n.bindingStartIndex}Rn(e,null)}let Fn=-1;function Hn(){return Fn}function Yn(e){Fn=e,Vt()}let Vn,Un=null;function zn(){Un="http://www.w3.org/2000/svg"}function Bn(){Un="http://www.w3.org/1998/MathML/"}function Wn(){qn()}function qn(){Un=null}function $n(e){Vn=e}function Gn(){return Vn}function Kn(e,t){return!(e!=e&&t!=t)&&e!==t}function Qn(e){return"string"==typeof e?e:null==e?"":""+e}function Xn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Qn(e)}const Jn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H))();function Zn(e){return{name:"window",target:e.ownerDocument.defaultView}}function ei(e){return{name:"document",target:e.ownerDocument}}function ti(e){return{name:"body",target:e.ownerDocument.body}}const ni="\ufffd";function ii(e){return e.indexOf(ni)>=0}function ri(e){return e instanceof Function?e():e}const si="--MAP--",oi=0;function li(e,t){t===oi?e[2]>oi&&function(e){ui(e,2|ai(e))}(e):e[2]=t}function ai(e){return e[1]}function ui(e,t){e[1]=t}function ci(e,t){return e[t+2]}function di(e,t){return 1&e[t+0]}function hi(e,t){return(1&di(e,t))>0}function pi(e,t){return e[t+0]>>1}function fi(e,t,n){const i=di(e,t);e[t+0]=i|n<<1}function mi(e,t){return e[t+1]}function gi(e,t,n){return e[t+3+n]}function vi(e,t){return!(!e||t!==e[2])}function bi(e){return(1&ai(e))>0}function _i(e){return(2&ai(e))>0}function yi(e){return 6+e[4]}function wi(e,t){let n=Array.isArray(e)?e[0]:e,i=Array.isArray(t)?t[0]:t;return n instanceof String&&(n=n.toString()),i instanceof String&&(i=i.toString()),Kn(n,i)}function Ci(e){return null!=e&&""!==e}function xi(e,t,n=" "){return e+(t.length&&e.length?n:"")+t}function Si(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}function ki(e){return Ti(e)?e[0]:e}function Ti(e){return Array.isArray(e)&&e.length>=6&&"string"!=typeof e[1]}function Ei(e){const t=ki(e);return t&&t[0]||""}function Mi(e){return 0!=(8&e.flags)}function Ii(e){return 0!=(16&e.flags)}function Di(e,t){return e[t+0]}function Ai(e,t,n){e[t+1]=n}function Pi(e,t){return e[t+1]}const Oi=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function Li(e){return!!e.listen}const Ri={createRenderer:(e,t)=>document};function ji(e,t){const n=ln()[st],i=Li(n);let r=0;for(;r>16}function zi(e,t){let n=Ui(e),i=t;for(;n>0;)i=i[ut],n--;return i}function Bi(e){const t=e[Qe];return yt(t)?t[Qe]:t}function Wi(e){let t=e[Ze];for(;null!==t&&2===t.type;)t=(e=e[ut])[Ze];return e}function qi(e){return function(e){let t=_t(e)?e:Xt(e);for(;t&&!(512&t[Ke]);)t=Bi(t);return t}(e)[nt]}let $i=!0;function Gi(e){const t=$i;return $i=e,t}const Ki=255;let Qi=0;function Xi(e,t){const n=Zi(e,t);if(-1!==n)return n;const i=t[Ge];i.firstTemplatePass&&(e.injectorIndex=t.length,Ji(i.data,e),Ji(t,null),Ji(i.blueprint,null));const r=er(e,t),s=Vi(r),o=zi(r,t),l=e.injectorIndex;if(Yi(r)){const e=o[Ge].data;for(let n=0;n<8;n++)t[l+n]=o[s+n]|e[s+n]}return t[l+Tt]=r,l}function Ji(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zi(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Tt]?-1:e.injectorIndex}function er(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[Ze],i=1;for(;n&&-1===n.injectorIndex;)n=(t=t[ut])?t[Ze]:null,i++;return n?n.injectorIndex|i<<16:-1}function tr(e,t,n){!function(e,t,n){let i="string"!=typeof n?n[De]:n.charCodeAt(0)||0;null==i&&(i=n[De]=Qi++);const r=i&Ki,s=1<0?t&Ki:t}(n);if("function"==typeof r){const s=_n(),o=ln();wn(e,t);try{const e=r();if(null!=e||i&w.Optional)return e;throw new Error(`No provider for ${Xn(n)}!`)}finally{wn(s,o)}}else if("number"==typeof r){if(-1===r)return new cr(e,t);let s=null,o=Zi(e,t),l=Mt,a=i&w.Host?Wi(t)[Ze]:null;for((-1===o||i&w.SkipSelf)&&(l=-1===o?er(e,t):t[o+Tt],ur(i,!1)?(s=t[Ge],o=Vi(l),t=zi(l,t)):o=-1);-1!==o;){l=t[o+Tt];const e=t[Ge];if(ar(r,o,e.data)){const e=sr(o,t,n,s,i,a);if(e!==rr)return e}ur(i,t[Ge].data[o+kt]===a)&&ar(r,o,t)?(s=e,o=Vi(l),t=zi(l,t)):o=-1}}}if(i&w.Optional&&void 0===r&&(r=null),0==(i&(w.Self|w.Host))){const e=t[it],s=Z(void 0);try{return e?e.get(n,r,i&w.Optional):ie(n,r,i&w.Optional)}finally{Z(s)}}if(i&w.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Xn(n)}]`)}const rr={};function sr(e,t,n,i,r,s){const o=t[Ge],l=o.data[e+kt],a=or(l,o,n,null==i?Ct(l)&&$i:i!=o&&3===l.type,r&w.Host&&s===l);return null!==a?lr(o.data,t,a,l):rr}function or(e,t,n,i,r){const s=e.providerIndexes,o=t.data,l=65535&s,a=e.directiveStart,u=s>>16,c=r?l+u:e.directiveEnd;for(let d=i?l:l+u;d=a&&e.type===n)return d}if(r){const e=o[a];if(e&&xt(e)&&e.type===n)return a}return null}function lr(e,t,n,i){let r=t[n];if(null!==(s=r)&&"object"==typeof s&&Object.getPrototypeOf(s)==It.prototype){const s=r;if(s.resolving)throw new Error(`Circular dep for ${Xn(e[n])}`);const o=Gi(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=Z(s.injectImpl));const a=_n(),u=ln();wn(i,t);try{r=t[n]=s.factory(void 0,e,t,i)}finally{s.injectImpl&&Z(l),Gi(o),s.resolving=!1,wn(a,u)}}var s;return r}function ar(e,t,n){const i=64&e,r=32&e;let s;return!!((s=128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<new e}const pr="ngDebugContext",fr="ngOriginalError",mr="ngErrorLogger";function gr(e){return e[pr]}function vr(e){return e[fr]}function br(e,...t){e.error(...t)}class _r{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e[mr]||br}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?gr(e)?gr(e):this._findContext(vr(e)):null}_findOriginalError(e){let t=vr(e);for(;t&&vr(t);)t=vr(t);return t}}const yr={name:"custom-elements"},wr={name:"no-errors-schema"},Cr="__SANITIZER_TRUSTED_BRAND__";function xr(e,t){return e instanceof String&&e[Cr]===t}function Sr(e){return Ir(e,"Html")}function kr(e){return Ir(e,"Style")}function Tr(e){return Ir(e,"Script")}function Er(e){return Ir(e,"Url")}function Mr(e){return Ir(e,"ResourceUrl")}function Ir(e,t){const n=new String(e);return n[Cr]=t,n}let Dr=!0,Ar=!1;function Pr(){return Ar=!0,Dr}function Or(){if(Ar)throw new Error("Cannot enable prod mode after platform setup.");Dr=!1}class Lr{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.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=""+e+"";try{e=encodeURI(e)}catch(i){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 n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e=""+e+"";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");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0Nr(e.trim())).join(", ")}function Hr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Yr(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Vr=Hr("area,br,col,hr,img,wbr"),Ur=Hr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zr=Hr("rp,rt"),Br=Yr(zr,Ur),Wr=Yr(Vr,Yr(Ur,Hr("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")),Yr(zr,Hr("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")),Br),qr=Hr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$r=Hr("srcset"),Gr=Yr(qr,$r,Hr("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"),Hr("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")),Kr=Hr("script,style,template");class Qr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Wr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Kr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i"),!0}endElement(e){const t=e.nodeName.toLowerCase();Wr.hasOwnProperty(t)&&!Vr.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(Zr(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Xr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jr=/([^\#-~ |!])/g;function Zr(e){return e.replace(/&/g,"&").replace(Xr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Jr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let es;function ts(e,t){let n=null;try{es=es||new Lr(e);let i=t?String(t):"";n=es.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=es.getInertBodyElement(i)}while(i!==s);const o=new Qr,l=o.sanitizeChildren(ns(n)||n);return Pr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=ns(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ns(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const is=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}();class rs{}const ss=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),os=/^url\(([^)]+)\)$/;function ls(e){if(!(e=String(e).trim()))return"";const t=e.match(os);return t&&Nr(t[1])===t[1]||e.match(ss)&&function(e){let t=!0,n=!0;for(let i=0;i=0){const e=zt(i[r]),n=ys(i,r,e);Cs(e,n),t=n;break}}}}var n;return t||null}function ys(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function ws(e){let t,n=Qt(e);if(Array.isArray(n)){const i=ks(n,e),r=ys(n,i,(t=Kt(i,n))[$e]);r.component=e,Cs(e,r),Cs(r.native,r)}else t=Kt(n.nodeIndex,n.lView);return t}function Cs(e,t){e[Ut]=t}function xs(e,t){let n=e[Ge].firstChild;for(;n;){if(qt(n,e)===t)return n.index;n=Ss(n)}return-1}function Ss(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function ks(e,t){const n=e[Ge].components;if(n)for(let i=0;i0&&" "!==e[i-1]||rs?"":r[c+1];const t=8&i?e:null;if(t&&!Ds(t,u)||2&i&&u!==e){if(Os(i))return!1;o=!0}}}}else{if(!o&&!Os(i)&&!Os(a))return!1;if(o&&Os(a))continue;o=!1,i=a|1&i}}return Os(i)||o}function Os(e){return 0==(1&e)}function Ls(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;nHt}(i,s))?(Qs(i,e,t,n,s,o,l),!0):r}function Qs(e,t,n,i,r,s,o){const l=!0===(a=r)?-1:!1===a?0:a;var a;const u=Xs,c=(l&pi(e,3))>0?1:0;let d=yi(e);for(;d{const r=t.style;i?(i=i.toString(),e&&Li(e)?e.setStyle(t,n,i,Oi.DashCase):r&&r.setProperty(n,i)):e&&Li(e)?e.removeStyle(t,n,Oi.DashCase):r&&r.removeProperty(n)},Zs=(e,t,n,i)=>{if(""!==n){const r=t.classList;i?e&&Li(e)?e.addClass(t,n):r&&r.add(n):e&&Li(e)?e.removeClass(t,n):r&&r.remove(n)}};function eo(e,t,n,i){const r=ki(n);if(r)for(let s=1;s{let u=!1;if(mi(e,3)){let c=!0;const d=!l;d&&-2&o&&(c=!1,u=!0),c&&(u=function e(t,n,i,r,s,o,l,a,u,c){let d=!1;if(u=ao.length&&ao.push(1),ao[h]);for(;ma,v=!g&&h===a,b=Pi(f,m),_=Ci(b);let y=e(t,n,i,r,s,o,g?l:oo(l,_,v),g?a:h,u+1,c);if(g){d||(d=y);break}if(!y&&lo(l,v)){const e=v&&!_,t=e?c:b,r=e?p:null;s(n,i,h,o?o(h,t,3):t,r),y=!0}d=y&&v,m+=2}if(ao[u]=m,1===f.length||!a)return e(t,n,i,r,s,o,l,a,u+1,c)}var h;return d}(e,t,n,i,r,s,o,l||null,0,a||null)),d&&function(){for(let e=0;e0;return n?4&e&&t&&(n=!1):2&e&&(n=t),n}const ao=[];function uo(e,t,n,i){for(let r=1;r{e[t]={prop:t,value:n,bindingIndex:i}}),e}get values(){const e={};return this._mapValues((t,n)=>{e[t]=n}),e}_mapValues(e){mi(this.context,3)>0&&so();const t=this._isClassBased?null:this._sanitizer||Gn();Qs(this.context,null,{},this._data,!0,(t,n,i,r,s)=>{e(i,r,s||null)},t)}}function fo(e){mo(ln(),e)}function mo(e,t){Pt(e,e[Ge],En(),t),Yn(t)}const go=(()=>Promise.resolve(null))();function vo(e){const t=e[Ge],n=Sn(e);if(t.firstTemplatePass=!1,e[et]=t.bindingStartIndex,!n){const n=En();Pt(e,t,n,void 0),function(e){for(let t=e[lt];null!==t;t=t[Xe])if(-1===t[ft]&&yt(t))for(let e=bt;er){const e=0===t,o=n.data;for(let t=r;t=r.length)&&(r=function(e,t,n){const i=n.initialInputs||(n.initialInputs=[]);for(let o=i.length;o<=e;o++)i.push(null);const r=n.attrs;let s=0;for(;s0&&(t[i-1][Xe]=e),n0&&(e[n-1][Xe]=i[Xe]);const s=me(e,bt+t);gl(i,!1);const o=s[Je];null!==o&&o.detachView(s[Ge]),i[Qe]=null,i[Xe]=null,i[Ke]&=-129}return i}function yl(e,t){const n=_l(e,t);n&&wl(n)}function wl(e){if(!(256&e[Ke])){const t=e[st];Li(t)&&t.destroyNode&&Ol(t,2,e,null,null),function(e){let t=e[lt];if(!t)return xl(e);for(;t;){let n=null;if(_t(t))n=t[lt];else{const e=t[bt];e&&(n=e)}if(!n){for(;t&&!t[Xe]&&t!==e;)xl(t),t=Cl(t,e);xl(t||e),n=t&&t[Xe]}t=n}}(e)}}function Cl(e,t){let n;return _t(e)&&(n=e[Ze])&&2===n.type?hl(n,e):e[Qe]===t?null:e[Qe]}function xl(e){if(_t(e)&&!(256&e[Ke])){e[Ke]&=-129,e[Ke]|=256,function(e){const t=e[Ge];let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?n[l]():n[-l].unsubscribe(),i+=2}else t[i].call(n[t[i+1]]);e[tt]=null}}(e);const t=e[Ze];t&&3===t.type&&Li(e[st])&&e[st].destroy();const n=e[ct];if(null!==n&&yt(e[Qe])){n!==e[Qe]&&bl(n,e);const t=e[Je];null!==t&&t.detachView(e[Ge])}}}function Sl(e,t,n,i){Li(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function kl(e,t,n,i){null!==i?Sl(e,t,n,i):function(e,t,n){Li(e)?e.appendChild(t,n):t.appendChild(n)}(e,t,n)}function Tl(e,t){return Li(e)?e.parentNode(t):t.parentNode}function El(e,t,n){const i=function(e,t){if(St(t))return Tl(t[st],Wt(e,t));const n=function(e){for(;null!=e.parent&&(4===e.parent.type||5===e.parent.type);)e=e.parent;return e}(e),i=n.parent;if(null==i){const e=t[Ze];return 2===e.type?pl(e,t):function(e){const t=e[Ze];return t&&3===t.type?Wt(t,Bi(e)):null}(t)}{const e=n&&5===n.type;if(e&&2&n.flags)return Wt(n,t).parentNode;if(1&i.flags&&!e){const e=t[Ge].data,n=e[e[i.index].directiveStart].encapsulation;if(n!==ye.ShadowDom&&n!==ye.Native)return null}return Wt(i,t)}}(t,n);if(null!=i){const r=n[st],s=function(e,t){if(2===e.type){const n=hl(e,t);return Ml(n.indexOf(t,bt)-bt,n)}return 4===e.type||5===e.type?Wt(e,t):null}(t.parent||n[Ze],n);if(Array.isArray(e))for(let t of e)kl(r,i,t,s);else kl(r,i,e,s)}}function Ml(e,t){const n=bt+e+1;if(n-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}wl(this._lView)}onDestroy(e){var t,n;n=e,sl(t=this._lView).push(n),t[Ge].firstTemplatePass&&ol(t).push(t[tt].length-1,null)}markForCheck(){Qo(this._lView)}detach(){this._lView[Ke]&=-129}reattach(){this._lView[Ke]|=128}detectChanges(){Jo(this._lView,this.context)}checkNoChanges(){!function(e,t){Mn(!0);try{Jo(e,t)}finally{Mn(!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(){this._appRef=null,function(e){Ol(e[st],1,e,null,null)}(this._lView)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}_lookUpContext(){return this._context=Bi(this._lView)[this._componentIndex]}}class jl extends Rl{constructor(e){super(e,null,-1),this._view=e}detectChanges(){Zo(this._view)}checkNoChanges(){!function(e){Mn(!0);try{Zo(e)}finally{Mn(!1)}}(this._view)}get context(){return null}}let Nl,Fl,Hl;function Yl(e,t,n){return Nl||(Nl=class extends e{}),new Nl(Wt(t,n))}function Vl(e,t,n,i){return Fl||(Fl=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=function(e,t,n,i){const r=Cn(),s=_n();yn(null,!0);const o=yo(n,e,t,16,null,null);return o[ut]=n,Co(e,null,-1,o),e.firstTemplatePass&&(e.node.injectorIndex=i),yn(s,r),o}(t,e,this._declarationView,this._declarationTContainer.injectorIndex);n[ct]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[Je];null!==i&&(n[Je]=i.createEmbeddedView(t)),xo(n,t,e);const r=new Rl(n,e,-1);return r._tViewNode=n[Ze],r}}),0===n.type?new Fl(i,n,Yl(t,n,i)):null}function Ul(e,t,n,i){let r;Hl||(Hl=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return Yl(t,this._hostTNode,this._hostView)}get injector(){return new cr(this._hostTNode,this._hostView)}get parentInjector(){const e=er(this._hostTNode,this._hostView),t=zi(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.injectorIndex;)t=t.parent;return t}let i=Ui(e),r=t,s=t[Ze];for(;i>1;)s=(r=r[ut])[Ze],i--;return s}(e,this._hostView,this._hostTNode);return Yi(e)&&null!=n?new cr(n,t):new cr(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[vt]&&this._lContainer[vt][e]||null}get length(){return this._lContainer.length-bt}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const s=n||this.parentInjector;!r&&null==e.ngModule&&s&&(r=s.get(ue,null));const o=e.create(s,i,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");this.allocateContainerIfNeeded();const n=e._lView,i=this._adjustIndex(t);return yt(n[Qe])?this.move(e,i):(vl(n,this._lContainer,i),gl(n,!0,Ml(i,this._lContainer)),e.attachToViewContainerRef(this),fe(this._lContainer[vt],i,e),e)}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this.indexOf(e);return-1!==n&&this.detach(n),this.insert(e,t),e}indexOf(e){return null!==this._lContainer[vt]?this._lContainer[vt].indexOf(e):0}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1);yl(this._lContainer,t),me(this._lContainer[vt],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=_l(this._lContainer,t);return n&&null!=me(this._lContainer[vt],t)?new Rl(n,n[nt],-1):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[vt]&&(this._lContainer[vt]=[])}});const s=i[n.index];if(yt(s))(r=s)[ft]=-1;else{let e;if(e=4===n.type?zt(s):i[st].createComment(""),St(i)){const t=i[st],r=Wt(n,i);Sl(t,Tl(t,r),e,function(e,t){return Li(e)?e.nextSibling(t):t.nextSibling}(t,r))}else El(e,n,i);i[n.index]=r=$o(s,i,e,n,!0),Ko(i,r)}return new Hl(r,n,i)}function zl(e=!1){return function(e,t,n){if(Ct(e)&&!n){const n=e.directiveStart,i=Kt(e.index,t);return new Rl(i,null,n)}if(3===e.type||0===e.type||4===e.type){const e=Wi(t);return new Rl(e,e[nt],-1)}return null}(_n(),ln(),e)}let Bl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ql(),e})();const Wl=zl,ql=(...e)=>{},$l=Function;function Gl(e){return"function"==typeof e}const Kl=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ql=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Xl=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Jl=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/;class Zl{constructor(e){this._reflect=e||H.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=void 0===e?new Array(t.length):new Array(e.length);for(let i=0;ie&&e.type),n=e.map(e=>e&&ea(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(u)&&e[u],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||r?this._zipTypesAndAnnotations(s,r):new Array(e.length).fill(void 0)}parameters(e){if(!Gl(e))return[];const t=ta(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?ea(e.decorators):e.hasOwnProperty(a)?e[a]:null}annotations(e){if(!Gl(e))return[];const t=ta(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=ea(t[e])}),n}return e.hasOwnProperty(c)?e[c]:null}propMetadata(e){if(!Gl(e))return{};const t=ta(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t}),n}ownPropMetadata(e){return Gl(e)&&this._ownPropMetadata(e,ta(e))||{}}hasLifecycleHook(e,t){return e instanceof $l&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${A(e)}`}resourceUri(e){return`./${A(e)}`}resolveIdentifier(e,t,n,i){return i}resolveEnum(e,t){return e[t]}}function ea(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ta(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}let na=null;function ia(){return na=na||new Zl}function ra(e){return sa(ia().parameters(e))}function sa(e){const t=Y();return e.map(e=>(function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function i(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(let r=0;r{if(null===n){const i=t||{providedIn:null},r=aa(i)||ca(i)||ua(i)||da(i),s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn,ctorDeps:ra(e),userDeps:void 0};if((aa(i)||ca(i))&&void 0!==i.deps&&(s.userDeps=sa(i.deps)),r)if(aa(i))s.useClass=i.useClass;else if(ua(i))s.useValue=i.useValue;else if(ca(i))s.useFactory=i.useFactory;else{if(!da(i))throw new Error("Unreachable state.");s.useExisting=i.useExisting}else s.useClass=e;n=Y().compileInjectable(ae,`ng:///${e.name}/ngInjectableDef.js`,s)}return n}})}const la=C({provide:String,useValue:C});function aa(e){return void 0!==e.useClass}function ua(e){return la in e}function ca(e){return void 0!==e.useFactory}function da(e){return void 0!==e.useExisting}const ha=C({provide:String,useValue:C}),pa=[];function fa(e,t){if(!t){const t=(new Zl).parameters(e);return()=>new e(...re(t))}if(ha in t){const e=t;return()=>e.useValue}if(t.useExisting){const e=t;return()=>te(e.useExisting)}if(t.useFactory){const e=t;return()=>e.useFactory(...re(e.deps||pa))}if(t.useClass){const n=t;let i=t.deps;if(!i){const t=new Zl;i=t.parameters(e)}return()=>new n.useClass(...re(i))}{let n=t.deps;if(!n){const t=new Zl;n=t.parameters(e)}return()=>new e(...re(n))}}const ma=d("Injectable",void 0,void 0,void 0,(e,t)=>va(e,t)),ga=oa,va=function(e,t){t&&void 0!==t.providedIn&&!E(e)&&(e.ngInjectableDef=S({token:e,providedIn:t.providedIn,factory:fa(e,t)}))},ba=new V("The presence of this token marks an injector as being the root injector."),_a={},ya={},wa=[];let Ca=void 0;function xa(){return void 0===Ca&&(Ca=new se),Ca}function Sa(e,t=null,n=null,i){return t=t||xa(),new ka(e,n,t,i)}class ka{constructor(e,t,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];pe([e],e=>this.processInjectorType(e,[],r)),t&&pe(t,n=>this.processProvider(n,e,t)),this.records.set(U,Ma(void 0,this)),this.isRootInjector=this.records.has(ba),this.injectorDefTypes.forEach(e=>this.get(e)),this.source=i||("object"==typeof e?null:A(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=z,n=w.Default){this.assertNotDestroyed();const i=J(this);try{if(!(n&w.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof V)&&E(e);n&&this.injectableDefInScope(n)&&(t=Ma(Ta(e),_a),this.records.set(e,t))}if(void 0!==t)return this.hydrate(e,t)}return(n&w.Self?xa():this.parent).get(e,n&w.Optional?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[B]=s[B]||[]).unshift(A(e)),i)throw s;return oe(s,e,"R3InjectorError",this.source)}throw s}finally{J(i)}var r}toString(){const e=[];return this.records.forEach((t,n)=>e.push(A(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=L(e)))return!1;let i=M(e);const r=null==i&&e.ngModule||void 0,s=void 0===r?e:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=M(r)),null==i)return!1;if(this.injectorDefTypes.add(s),this.records.set(s,Ma(i.factory,_a)),null!=i.imports&&!o){let e;n.push(s);try{pe(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,i||wa))}}const l=i.providers;if(null!=l&&!o){const t=e;pe(l,e=>this.processProvider(e,t,l))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=Da(e=L(e))?e:L(e&&e.provide);const r=function(e,t,n){let i=Ea(e,t,n);return Ia(e)?Ma(void 0,e.useValue):Ma(i,_a)}(e,t,n);if(Da(e)||!0!==e.multi){const e=this.records.get(i);e&&void 0!==e.multi&&Ms()}else{let t=this.records.get(i);t?void 0===t.multi&&Ms():((t=Ma(void 0,_a,!0)).factory=()=>re(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===ya?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(A(e)):t.value===_a&&(t.value=ya,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))}}function Ta(e){const t=E(e);if(null!==t)return t.factory;const n=M(e);if(null!==n)return n.factory;if(e instanceof V)throw new Error(`Token ${A(e)} is missing an ngInjectableDef definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=new Array(t).fill("?");throw new Error(`Can't resolve all parameters for ${A(e)}: (${n.join(", ")}).`)}const n=(i=e)&&i[I]?(console.warn(`DEPRECATED: DI is instantiating a token "${i.name}" 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.name}" class.`),i[I]):null;var i;return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ea(e,t,n){let i=void 0;if(Da(e))return Ta(L(e));if(Ia(e))i=()=>L(e.useValue);else if((r=e)&&r.useExisting)i=()=>te(L(e.useExisting));else if(function(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...re(e.deps||[]));else{const r=L(e&&(e.useClass||e.provide));if(r||function(e,t,n){let i="";throw e&&t&&(i=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${A(e)}'`+i)}(t,n,e),!function(e){return!!e.deps}(e))return Ta(r);i=()=>new r(...re(e.deps))}var r;return i}function Ma(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ia(e){return null!==e&&"object"==typeof e&&K in e}function Da(e){return"function"==typeof e}function Aa(e,t,n){return Sa({name:n},t,e,n)}const Pa=function(e,t,n){return new Ha(e,t,n)};let Oa=(()=>{class e{static create(e,t){return Array.isArray(e)?Pa(e,t,""):Pa(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=z,e.NULL=new se,e.ngInjectableDef=S({token:e,providedIn:"any",factory:()=>te(U)}),e.__NG_ELEMENT_ID__=-1,e})();const La=function(e){return e},Ra=[],ja=La,Na=function(){return Array.prototype.slice.call(arguments)},Fa="\u0275";class Ha{constructor(e,t=Oa.NULL,n=null){this.parent=t,this.source=n;const i=this._records=new Map;i.set(Oa,{token:Oa,fn:La,deps:Ra,value:this,useNew:!1}),i.set(U,{token:U,fn:La,deps:Ra,value:this,useNew:!1}),function e(t,n){if(n)if((n=L(n))instanceof Array)for(let i=0;ie.push(A(n))),`StaticInjector[${e.join(", ")}]`}}function Ya(e){return Va("Cannot mix multi providers and regular providers",e)}function Va(e,t){return new Error(le(e,t,"StaticInjectorError"))}function Ua(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>A(e.token)).join(" -> ")+")":""}function za(e,t,n,i){const r=[t],s=n(r),o=i?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,i=Error(n);return i[fr]=t,i}(s,i):Error(s);return o.addKey=Ba,o.keys=r,o.injectors=[e],o.constructResolvingMessage=n,o[fr]=i,o}function Ba(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Wa(e,t){const n=[];for(let i=0,r=t.length;ie,n=[Xa.fromKey(qa.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>su(e,t,n))}return ru(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Ja);return new eu(t,n)}function nu(e){return new Za(qa.get(e.provide),[tu(e)],e.multi||!1)}function iu(e){const t=function(e,t){for(let n=0;n{if(t instanceof $l)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(t);e(t,n)}}),n}(e,[]).map(nu),new Map);return Array.from(t.values())}function ru(e){const t=Qa.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw Wa(e,t);return t.map(n=>su(e,n,t))}function su(e,t,n){let i=null,r=!1;if(!Array.isArray(t))return ou(t instanceof m?t.token:t,r,null);let s=null;for(let o=0;o{class e{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(let i=0;i=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw za(this,e.key,(function(e){return`Cannot instantiate cyclic dependency!${Ua(e)}`}));return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=new Array(e.resolvedFactories.length);for(let n=0;nthis._getByReflectiveDependency(e))}catch(o){throw o.addKey&&o.addKey(this,e.key),o}try{r=n(...i)}catch(o){throw za(this,e.key,(function(e){const t=A(e[0].token);return`${s.message}: Error during instantiation of ${t}!${Ua(e)}.`}),s=o)}var s;return r}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:z)}_getByKey(t,n,i){return t===e.INJECTOR_KEY?this:n instanceof v?this._getByKeySelf(t,i):this._getByKeyDefault(t,i,n)}_getObjByKeyId(e){for(let t=0;t' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=qa.get(Oa),e})();const cu=new V("AnalyzeForEntryComponents");class du{}const hu=f("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t),du),pu=f("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),du),fu=f("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t),du),mu=f("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),du);function gu(e){const t=[],n=new Map;function i(t){let i=n.get(t);if(!i){const r=e(t);n.set(t,i=r.then(wu))}return i}return vu.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(i(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,o=e.styles||(e.styles=[]),l=e.styles.length;s&&s.forEach((t,n)=>{o.push(""),r.push(i(t).then(i=>{o[l+n]=i,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const a=Promise.all(r).then(()=>(function(e){bu.delete(e)})(n));t.push(a)}),yu(),Promise.all(t).then(()=>void 0)}let vu=new Map;const bu=new Set;function _u(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function yu(){const e=vu;return vu=new Map,e}function wu(e){return"string"==typeof e?e:e.text()}function Cu(e){const t=ln(),n=t[Ge];n.firstTemplatePass&&(function(e,t,n){const i=e.expandoInstructions,r=i.length;r>=2&&i[r-2]===t.hostBindings?i[r-1]=i[r-1]+n:i.push(t.hostBindings,n)}(n,tn,e),function(e,t,n){for(let i=0;it=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Xo(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=go,t(null)})}}(Qo(ws(e))[nt])}function sc(e){const t=ln(),n=uc(t,e,null,null);t[Ge].firstTemplatePass&&(n.tViews=[]),xn()}function oc(e,t,n,i,r,s,o,l){const a=ln(),u=a[Ge],c=uc(a,e,r||null,s||null);if(u.firstTemplatePass){jo(u,a,c,o||null);const e=c.tViews=Do(-1,t,n,i,u.directiveRegistry,u.pipeRegistry,null,null);null!==u.queries&&(u.queries.template(u,c),e.queries=u.queries.embeddedTView(c))}Mo(u,a,c,l),Cs(Wt(c,a),a),At(u,c),xn()}function lc(e){const t=ln(),n=t[Ge];yn(Gt(n.data,e),!0),t[e+ht][ft]=0,Pt(t,n,En(),void 0)}function ac(){let e=_n();Cn()?xn():yn(e=e.parent,!1);const t=ln()[e.index],n=t[ft];for(;n=i.data.length&&(i.data[r]=null,i.blueprint[r]=null),n[r]=t}function dc(e){return Gt(kn,e)}function hc(e){return Gt(ln(),e)}function pc(e,t=w.Default){e=L(e);const n=ln();return null==n?te(e,t):ir(_n(),n,e,t)}function fc(e){return nr(_n(),e)}function mc(){var e,t;ln()[Ge].firstTemplatePass&&(e=_n(),t=Ic(),li(Ac(e),t),li(Dc(e),t))}function gc(e){$n(e)}function vc(e,t,n){bc(Hn(),e,t,n)}function bc(e,t,n,i){yc(e,ln()[et]++,t,function(e,t){if(e===to)return e;let n=null;return null!==e&&(n=t?Qn(e)+t:e),n}(n,i),!1,Oc())}function _c(e,t){const n=ln()[et]++;yc(Hn(),n,e,t,!0,Oc())}function yc(e,t,n,i,r,s){const o=ln(),l=$t(e,o),a=Wt(l,o);let u=!1;if(i!==to)if(r)u=Us(Ac(l),o,a,n,t,i,s,!1);else{const e=Gn();u=zs(Dc(l),o,a,n,t,i,e,s,!1)}return u}function wc(e){const t=Hn(),n=ln(),i=$t(t,n),r=Dc(i),s=Ic(),o=n[et]++;!s&&Ii(i)&&e!==to&&(kc(r,n,i,o,e,!1),e=to),Sc(t,r,o,e,!1,Oc())}function Cc(e){xc(Hn(),e)}function xc(e,t){const n=ln(),i=$t(e,n),r=Ac(i),s=Ic(),o=n[et]++;!s&&Mi(i)&&t!==to&&(kc(r,n,i,o,t,!0),t=to),Sc(e,r,o,t,!0,Oc())}function Sc(e,t,n,i,r,s){so();const o=ln();let l=!1;if(i!==to){const a=Wt($t(e,o),o),u=o[n];l=wi(u,i);const c=function(e,t,n){const i=Array.isArray(e)?e:[null];i[0]=t||null;for(let l=1;l0&&(i=n?xi(e,((r=t)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):xi(e,function(e){let t="";if(e){const n=Object.keys(e);for(let i=0;i1&&(e.classes||(e.classes=s),Mc(e.classes,co(s,!0))),r&&r.length>1&&(e.styles||(e.styles=r),Mc(e.styles,co(r,!1))),i}function Mc(e,t){ki(e)[0]=t}function Ic(){return hn+pn}function Dc(e){return Pc(e,!1)}function Ac(e){return Pc(e,!0)}function Pc(e,t){let n=t?e.classes:e.styles;return Ti(n)||(n=[n||[""],0,oi,1,0,si],t?e.classes=n:e.styles=n),n}function Oc(){return fn>0}function Lc(e,t,n,i){const r=ln(),s=r[Ge],o=r[e+ht]=_o(t),l=r[st],a=wo(s,r[Ze],e,3,t,n||null);if(null!=n){const e=ji(o,n);s.firstTemplatePass&&Ec(a,n,e)}if(dl(l,o,a),El(o,a,r),0===Zt&&Cs(o,r),Zt++,s.firstTemplatePass){jo(s,r,a,i||null);const e=rl(a);e&&e.hasOwnProperty("class")&&(a.flags|=8),e&&e.hasOwnProperty("style")&&(a.flags|=16),null!==s.queries&&s.queries.elementStart(s,a)}Mo(s,r,a),Eo(s,a,r)}function Rc(){let e=_n();Cn()?xn():yn(e=e.parent,!1);const t=e,n=ln(),i=n[Ge];At(i,e),Zt--,i.firstTemplatePass&&null!==i.queries&&wt(e)&&i.queries.elementEnd(e),Mi(t)&&t.classes&&Fc(t.classes,n,t.inputs.class),Ii(t)&&t.styles&&Fc(t.styles,n,t.inputs.style)}function jc(e,t,n,i){Lc(e,t,n,i),Rc()}function Nc(e){const t=Hn(),n=ln(),i=n[Ge],r=$t(t,n);if(3===r.type){const t=Wt(r,n),s=ji(t,e);i.firstTemplatePass&&Ec(r,e,s)&&dl(n[st],t,r)}}function Fc(e,t,n){ul(t,n,Ei(e)||null)}function Hc(e,t,n){const i=ln(),r=i[Ge],s=i[e+ht]=i[st].createComment(""),o=wo(r,i[Ze],e,4,"ng-container",t||null);t&&r.firstTemplatePass&&Ec(o,t,0),El(s,o,i),r.firstTemplatePass&&(jo(r,i,o,n||null),r.queries&&r.queries.elementStart(r,o)),Mo(r,i,o),Cs(s,i),Eo(r,o,i)}function Yc(){let e=_n();const t=ln()[Ge];Cn()?xn():yn(e=e.parent,!1),At(t,e),t.firstTemplatePass&&null!==t.queries&&wt(e)&&t.queries.elementEnd(e)}function Vc(e,t,n){Hc(e,t,n),Yc()}function Uc(e,t,n){const i=ln(),r=_n(),s=2===r.type?r.parent:r,o=i[s.index];let l=function(e,t,n){for(let i=t+bt;i=s.length||null==s[e])&&(s[e]=Do(e,null,t,n,r.directiveRegistry,r.pipeRegistry,null,null)),s[e]}(e,t,n,s),null,16,null,null);const o=Cn()?r:r&&r.parent;Co(l[Ge],o,e,l),Rn(l,l[Ge].node)}return o&&(Sn(l)&&vl(l,o,o[ft]),o[ft]++),Sn(l)?3:2}function zc(){const e=ln(),t=e[Ze];Sn(e)&&(vo(e),e[Ke]&=-5),Jt(e),vo(e),Nn(e[Qe][Qe],!0),yn(t,!1)}function Bc(){return ln()}function Wc(e){return!!e&&"function"==typeof e.then}function qc(e){return!!e&&"function"==typeof e.subscribe}function $c(e,t,n=!1,i){Kc(e,t,n,i)}function Gc(e,t,n=!1,i){Kc(e,t,n,i,ll)}function Kc(e,t,n=!1,i,r){const s=ln(),o=_n(),l=s[Ge],a=l.firstTemplatePass&&(l.cleanup||(l.cleanup=[]));let u=!0;if(3===o.type){const l=Wt(o,s),c=i?i(l):Ce,d=c.target||l,h=r?r(o,s):s[st],p=sl(s),f=p.length,m=i?e=>i(zt(e[o.index])).target:o.index;if(Li(h)){let n=null;if(!i&&function(e){return e.directiveEnd>e.directiveStart}(o)&&(n=function(e,t,n){const i=e[Ge].cleanup;if(null!=i)for(let r=0;rn?t[n]:null}"string"==typeof s&&(r+=2)}return null}(s,e,o.index)),null!==n)t.__ngNextListenerFn__=n.__ngNextListenerFn__,n.__ngNextListenerFn__=t,u=!1;else{t=Xc(o,s,t,!1);const n=h.listen(c.name||d,e,t);p.push(t,n),a&&a.push(e,m,f,f+1)}}else t=Xc(o,s,t,!0),d.addEventListener(e,t,n),p.push(t),a&&a.push(e,m,f,n)}void 0===o.outputs&&(o.outputs=Oo(o,1));const c=o.outputs;let d;if(u&&c&&(d=c[e])){const n=d.length;if(n){const i=sl(s);for(let r=0;r=0)&&null;e==u&&r.push({element:e,name:a,callback:c,useCapture:h})}}return r.sort(ih),r}function ih(e,t){return e.name==t.name?0:e.namee(o,t)),t.contentQueries&&t.contentQueries(1,o,n.length-1);const l=_n();return s.firstTemplatePass&&t.hostBindings&&(mn(l.index-ht),No(t,s.expandoInstructions,o,l,s.firstTemplatePass),mn(null)),o}function dh(e,t){return{components:[],scheduler:e||Jn,clean:il,playerHandler:t||null,flags:0}}function hh(e,t){const n=Xt(e)[Ge],i=n.data.length-1;Dt(i,t,n,-1,-1,-1),At(n,{directiveStart:i,directiveEnd:i+1})}function ph(e){return qi(e).clean}class fh{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function mh(){return gh.ngInherit=!0,gh}function gh(e){e.type.prototype.ngOnChanges&&(e.setInput=vh,e.onChanges=function(){const e=_h(this),t=e&&e.current;if(t){const n=e.previous;if(n===Ce)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function vh(e,t,n,i){const r=_h(e)||function(e,t){return e[bh]=t}(e,{previous:Ce,current:null}),s=r.current||(r.current={}),o=r.previous,l=this.declaredInputs[n],a=o[l];s[l]=new fh(a&&a.currentValue,t,o===Ce),e[i]=t}const bh="__ngSimpleChanges__";function _h(e){return e[bh]||null}function yh(e){let t=Object.getPrototypeOf(e.type.prototype).constructor;for(;t;){let n=void 0;if(xt(e))n=t.ngComponentDef||t.ngDirectiveDef;else{if(t.ngComponentDef)throw new Error("Directives cannot inherit Components");n=t.ngDirectiveDef}const i=t.ngBaseDef;if(i||n){const t=e;t.inputs=wh(e.inputs),t.declaredInputs=wh(e.declaredInputs),t.outputs=wh(e.outputs)}if(i){const t=i.viewQuery,n=i.contentQueries,r=i.hostBindings;r&&Sh(e,r),t&&Ch(e,t),n&&xh(e,n),x(e.inputs,i.inputs),x(e.declaredInputs,i.declaredInputs),x(e.outputs,i.outputs)}if(n){const t=n.hostBindings;t&&Sh(e,t);const i=n.viewQuery,r=n.contentQueries;i&&Ch(e,i),r&&xh(e,r),x(e.inputs,n.inputs),x(e.declaredInputs,n.declaredInputs),x(e.outputs,n.outputs),e.afterContentChecked=e.afterContentChecked||n.afterContentChecked,e.afterContentInit=e.afterContentInit||n.afterContentInit,e.afterViewChecked=e.afterViewChecked||n.afterViewChecked,e.afterViewInit=e.afterViewInit||n.afterViewInit,e.doCheck=e.doCheck||n.doCheck,e.onDestroy=e.onDestroy||n.onDestroy,e.onInit=e.onInit||n.onInit;const s=n.features;if(s)for(const n of s)n&&n.ngInherit&&n(e)}else{const n=t.prototype;n&&(e.afterContentChecked=e.afterContentChecked||n.ngAfterContentChecked,e.afterContentInit=e.afterContentInit||n.ngAfterContentInit,e.afterViewChecked=e.afterViewChecked||n.ngAfterViewChecked,e.afterViewInit=e.afterViewInit||n.ngAfterViewInit,e.doCheck=e.doCheck||n.ngDoCheck,e.onDestroy=e.onDestroy||n.ngOnDestroy,e.onInit=e.onInit||n.ngOnInit,n.ngOnChanges&&mh()(e))}t=Object.getPrototypeOf(t)}}function wh(e){return e===Ce?{}:e===xe?[]:e}function Ch(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function xh(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function Sh(e,t){const n=e.hostBindings;t!==n&&(e.hostBindings=n?(e,i,r)=>{vn(1);try{t(e,i,r)}finally{vn(-1)}n(e,i,r)}:t)}function kh(e,t,n,i,r){if(e=L(e),Array.isArray(e))for(let s=0;s>16;if(e.useClass||Da(e)){const n=(e.useClass||e).prototype.ngOnDestroy;n&&(o.destroyHooks||(o.destroyHooks=[])).push(t.length,n)}if(Da(e)||!e.multi){const e=new It(a,r,pc),i=Eh(l,t,r?c:c+h,d);-1==i?(tr(Xi(u,s),o,l),t.push(l),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(e),s.push(e)):(n[i]=e,s[i]=e)}else{const e=Eh(l,t,c+h,d),p=Eh(l,t,c,c+h),f=e>=0&&n[e],m=p>=0&&n[p];if(r&&!m||!r&&!f){tr(Xi(u,s),o,l);const e=function(e,t,n,i,r){const s=new It(e,n,pc);return s.multi=[],s.index=t,s.componentProviders=0,Th(s,r,i&&!n),s}(r?Ih:Mh,n.length,r,i,a);!r&&m&&(n[p].providerFactory=e),t.push(l),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(e),s.push(e)}else Th(n[r?p:e],a,!r&&i);!r&&i&&m&&n[p].componentProviders++}}}function Th(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Eh(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>(function(e,t,n){const i=ln()[Ge];if(i.firstTemplatePass){const r=xt(e);kh(n,i.data,i.blueprint,r,!0),kh(t,i.data,i.blueprint,r,!1)}})(n,i?i(e):e,t)}}class Ph{}class Oh{}function Lh(e){const t=Error(`No component factory found for ${A(e)}. Did you add it to @NgModule.entryComponents?`);return t[Rh]=e,t}const Rh="ngComponent";class jh{resolveComponentFactory(e){throw Lh(e)}}let Nh=(()=>{class e{}return e.NULL=new jh,e})();class Fh{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let i=0;i{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>zh(e),e})();const Uh=function(e){return Yl(e,_n(),ln())},zh=Yh;class Bh{constructor(e,t,n,i,r,s){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=i,this.styles=r,this.animations=s}}class Wh{}class qh{}class $h{}class Gh{}const Kh=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Qh=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Jh(),e})();const Xh=function(){const e=ln(),t=Kt(_n().index,e);return function(e){const t=e[st];if(Li(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(_t(t)?t:e)},Jh=Yh;class Zh{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const ep=new Zh("8.2.14");class tp{constructor(){}supports(e){return Mu(e)}create(e){return new ip(e)}}const np=(e,t)=>t;class ip{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||np}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex{i=this._trackByFn(t,e),null!==r&&ku(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),ku(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),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,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(ku(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ku(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new rp(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new op),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new op),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 rp{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 sp{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ku(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class op{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new sp,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function lp(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new cp(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){ku(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class cp{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 dp=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new b,new g]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=S({token:e,providedIn:"root",factory:()=>new e([new tp])}),e})(),hp=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new b,new g]]}}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.ngInjectableDef=S({token:e,providedIn:"root",factory:()=>new e([new ap])}),e})();const pp=[new ap],fp=new dp([new tp]),mp=new hp(pp);let gp=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>bp(e,Vh),e})();const vp=function(e,t){return Vl(e,t,_n(),ln())},bp=Yh;let _p=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>wp(e,Vh),e})();const yp=function(e,t){return Ul(e,t,_n(),ln())},wp=Yh;function Cp(e,t,n,i){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return xp(n,t),n}(r,e)}function xp(e,t){e[pr]=t,e[mr]=t.logError.bind(t)}function Sp(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function kp(e,t,n){const i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function Tp(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Ep(e,t){return e.nodes[t]}function Mp(e,t){return e.nodes[t]}function Ip(e,t){return e.nodes[t]}function Dp(e,t){return e.nodes[t]}function Ap(e,t){return e.nodes[t]}class Pp{}const Op={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Lp=()=>{},Rp=new Map;function jp(e){let t=Rp.get(e);return t||(t=A(e)+"_"+Rp.size,Rp.set(e,t)),t}function Np(e,t,n,i){if(Eu.isWrapped(i)){i=Eu.unwrap(i);const r=e.def.nodes[t].bindingIndex+n,s=Eu.unwrap(e.oldValues[r]);e.oldValues[r]=new Eu(s)}return i}const Fp="$$undefined",Hp="$$empty";function Yp(e){return{id:Fp,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Vp=0;function Up(e,t,n,i){return!(!(2&e.state)&&ku(e.oldValues[t.bindingIndex+n],i))}function zp(e,t,n,i){return!!Up(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function Bp(e,t,n,i){const r=e.oldValues[t.bindingIndex+n];if(1&e.state||!Tu(r,i)){const s=t.bindings[n].name;throw Cp(Op.createDebugContext(e,t.nodeIndex),`${s}: ${r}`,`${s}: ${i}`,0!=(1&e.state))}}function Wp(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function qp(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function $p(e,t,n,i){try{return Wp(33554432&e.def.nodes[t].flags?Mp(e,t).componentView:e),Op.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function Gp(e){return e.parent?Mp(e.parent,e.parentNodeDef.nodeIndex):null}function Kp(e){return e.parent?e.parentNodeDef.parent:null}function Qp(e,t){switch(201347067&t.flags){case 1:return Mp(e,t.nodeIndex).renderElement;case 2:return Ep(e,t.nodeIndex).renderText}}function Xp(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Jp(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Zp(e){return 1<{"number"==typeof e?(t[e]=r,n|=Zp(e)):i[e]=r}),{matchedQueries:t,references:i,matchedQueryIds:n}}function tf(e,t){return e.map(e=>{let n,i;return Array.isArray(e)?[i,n]=e:(i=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,G,{value:t,configurable:!0}),{flags:i,token:n,tokenKey:jp(n)}})}function nf(e,t,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===ye.Native?Mp(e,n.renderParent.nodeIndex).renderElement:void 0:t}const rf=new WeakMap;function sf(e){let t=rf.get(e);return t||((t=e(()=>Lp)).factory=e,rf.set(e,t)),t}function of(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(Qp(e,e.def.lastRenderRootNode))),lf(e,t,0,e.def.nodes.length-1,n,i,r)}function lf(e,t,n,i,r,s,o){for(let l=n;l<=i;l++){const n=e.def.nodes[l];11&n.flags&&uf(e,n,t,r,s,o),l+=n.childCount}}function af(e,t,n,i,r,s){let o=e;for(;o&&!Xp(o);)o=o.parent;const l=o.parent,a=Kp(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const e=l.def.nodes[c];e.ngContentIndex===t&&uf(l,e,n,i,r,s),c+=e.childCount}if(!l.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t-1}(r,s.providedIn)||"root"===s.providedIn&&r._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=_f,e._providers[n]=Tf(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{J(i)}var r,s}function Tf(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const i=n.length;switch(i){case 0:return new t;case 1:return new t(kf(e,n[0]));case 2:return new t(kf(e,n[0]),kf(e,n[1]));case 3:return new t(kf(e,n[0]),kf(e,n[1]),kf(e,n[2]));default:const r=new Array(i);for(let t=0;t=n.length)&&(t=n.length-1),t<0)return null;const i=n[t];return i.viewContainerParent=null,me(n,t),Op.dirtyParentQueries(i),If(i),i}function Mf(e,t,n){const i=t?Qp(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),s=n.renderer.nextSibling(i);of(n,2,r,s,void 0)}function If(e){of(e,3,null,null,void 0)}const Df=new Object;function Af(e,t,n,i,r,s){return new Of(e,t,n,i,r,s)}function Pf(e){return e.viewDefFactory}class Of extends Oh{constructor(e,t,n,i,r,s){super(),this.selector=e,this.componentType=t,this._inputs=i,this._outputs=r,this.ngContentSelectors=s,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,i){if(!i)throw new Error("ngModule should be provided");const r=sf(this.viewDefFactory),s=r.nodes[0].element.componentProvider.nodeIndex,o=Op.createRootView(e,t||[],n,r,i,Df),l=Ip(o,s).instance;return n&&o.renderer.setAttribute(Mp(o,0).renderElement,"ng-version",ep.full),new Lf(o,new Ff(o),l)}}class Lf extends Ph{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Vh(Mp(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Uf(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Rf(e,t,n){return new jf(e,t,n)}class jf{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Vh(this._data.renderElement)}get injector(){return new Uf(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Kp(e),e=e.parent;return e?new Uf(e,t):new Uf(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Ef(this._data,e);Op.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Ff(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const s=n||this.parentInjector;r||e instanceof Hh||(r=s.get(ue));const o=e.create(s,i,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,i){let r=t.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=e,fe(r,n,i),function(e,t){const n=Gp(t);if(!n||n===e||16&t.state)return;t.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,i),Op.dirtyParentQueries(i),Mf(t,n>0?r[n-1]:null,i)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const i=e.viewContainer._embeddedViews,r=i[t];me(i,t),null==n&&(n=i.length),fe(i,n,r),Op.dirtyParentQueries(r),If(r),Mf(e,n>0?i[n-1]:null,r)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Ef(this._data,e);t&&Op.destroyView(t)}detach(e){const t=Ef(this._data,e);return t?new Ff(t):null}}function Nf(e){return new Ff(e)}class Ff{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return of(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Wp(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Op.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Op.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Op.destroyView(this._view)}detachFromAppRef(){this._appRef=null,If(this._view),Op.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Hf(e,t){return new Yf(e,t)}class Yf extends gp{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Ff(Op.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Vh(Mp(this._parentView,this._def.nodeIndex).renderElement)}}function Vf(e,t){return new Uf(e,t)}class Uf{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Oa.THROW_IF_NOT_FOUND){return Op.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:jp(e)},t)}}function zf(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Mp(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Ep(e,n.nodeIndex).renderText;if(20240&n.flags)return Ip(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Bf(e){return new Wf(e.renderer)}class Wf{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,i]=hf(t),r=this.delegate.createElement(i,n);return e&&this.delegate.appendChild(e,r),r}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;ne())}onDestroy(e){this._destroyListeners.push(e)}}const Gf=jp(qh),Kf=jp(Qh),Qf=jp(Vh),Xf=jp(_p),Jf=jp(gp),Zf=jp(Bl),em=jp(Oa),tm=jp(U);function nm(e,t,n,i,r,s,o,l){const a=[];if(o)for(let c in o){const[e,t]=o[c];a[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return sm(e,t|=16384,n,i,r,r,s,a,u)}function im(e,t,n){return sm(-1,e|=16,null,0,t,t,n)}function rm(e,t,n,i,r){return sm(-1,e,t,0,n,i,r)}function sm(e,t,n,i,r,s,o,l,a){const{matchedQueries:u,references:c,matchedQueryIds:d}=ef(n);a||(a=[]),l||(l=[]),s=L(s);const h=tf(o,A(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:i,bindings:l,bindingFlags:pf(l),outputs:a,element:null,provider:{token:r,value:s,deps:h},text:null,query:null,ngContent:null}}function om(e,t){return cm(e,t)}function lm(e,t){let n=e;for(;n.parent&&!Xp(n);)n=n.parent;return dm(n.parent,Kp(n),!0,t.provider.value,t.provider.deps)}function am(e,t){const n=dm(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let i=0;i$p(e,t,n,i)}function cm(e,t){const n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return dm(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){const s=r.length;switch(s){case 0:return i();case 1:return i(pm(e,t,n,r[0]));case 2:return i(pm(e,t,n,r[0]),pm(e,t,n,r[1]));case 3:return i(pm(e,t,n,r[0]),pm(e,t,n,r[1]),pm(e,t,n,r[2]));default:const o=Array(s);for(let i=0;iJn});class wm extends Oh{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors[0][0]||"div",this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return _m(this.componentDef.inputs)}get outputs(){return _m(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const s=e.get(n,hm,r);return s!==hm||i===hm?s:t.get(n,i,r)}}}(e,i.injector):e,s=r.get(Gh,Ri),o=r.get(rs,null);qn();const l=n?Ao(s,n):_o(this.selector,s.createRenderer(null,this.componentDef)),a=this.componentDef.onPush?576:528,u="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),c=dh(),d=s.createRenderer(l,this.componentDef);n&&l&&(Li(d)?d.setAttribute(l,"ng-version",ep.full):l.setAttribute("ng-version",ep.full));const h=yo(null,Do(-1,null,1,0,null,null,null,null),c,a,null,null,s,d,o,r),p=Rn(h,null);let f,m,g=!1;try{const e=uh(l,this.componentDef,h,s,d);m=$t(0,h),t&&(m.projection=t.map(e=>Array.from(e))),f=ch(e,this.componentDef,h,c,[hh]),Ko(h,e),vo(h),g=!0}finally{Nn(p,g)}const v=new Cm(this.componentType,f,Yl(Vh,m,h),h,m);return n&&!u||(v.hostView._tViewNode.child=m),v}}class Cm extends Ph{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new jl(i),this.hostView._tViewNode=Co(i[Ge],null,-1,i),this.componentType=e}get injector(){return new cr(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 xm={},Sm=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,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};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.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),km=void 0;var Tm=["en",[["a","p"],["AM","PM"],km],[["AM","PM"],km,km],[["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"]],km,[["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"]],km,[["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}",km,"{1} 'at' {0}",km],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function Em(e){return Mm(e)[Sm.PluralCase]}function Mm(e){const t=e.toLowerCase().replace(/_/g,"-");let n=xm[t];if(n)return n;const i=t.split("-")[0];if(n=xm[i])return n;if("en"===i)return Tm;throw new Error(`Missing locale data for the locale "${e}".`)}const Im="en-US",Dm="\ufffd",Am=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Pm=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Om=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Lm=/\ufffd(\d+):?\d*\ufffd/gi,Rm=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,jm=0,Nm=/\[(\ufffd.+?\ufffd?)\]/,Fm=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Hm=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Ym=/{([A-Z0-9_]+)}/g,Vm=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Um=/\/\*/,zm=/\d+\:(\d+)/;function Bm(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);Am.test(n)?i.push(Wm(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return i.push(o),i}function Wm(e){const t=[],n=[];let i=1,r=0;const s=Bm(e=e.replace(Am,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""})));for(let o=0;on.length&&n.push(r)}return'Missing key "other" in ICU statement.',t.indexOf("other")<=-1&&ge('Missing key "other" in ICU statement.'),{type:i,mainBinding:r,cases:t,values:n}}function qm(e){let t,n,i="",r=0,s=!1;for(;null!==(t=Pm.exec(e));)s?t[0]===`${Dm}/*${n}${Dm}`&&(r=t.index,s=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],s=!0);return i+e.substr(r)}function $m(e,t,n,i=null){const r=[null,null],s=e.split(Lm);let o=0;for(let l=0;l0&&o!==l&&c.push(o.index<<3|0);const d=[],h=[],p=(f=function(e,t){if("number"!=typeof t)return qm(e);{const n=e.indexOf(`:${t}${Dm}`)+2+t.toString().length,i=e.search(new RegExp(`${Dm}\\/\\*\\d+:${t}${Dm}`));return qm(e.substring(n,i))}}(n,i),f.replace(vg," ")).split(Om);var f;for(let m=0;m0&&function(e,t){if(t>0){const n=e[Ge];if(n.firstTemplatePass){for(let i=0;i{const s=i||r,o=e[s]||[];if(o.length||(s.split("|").forEach(e=>{const t=e.match(zm),n=t?parseInt(t[1],10):jm,i=Um.test(e);o.push([n,i,e])}),e[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const l=t[t.length-1];let a=0;for(let e=0;et.hasOwnProperty(i)?`${n}${t[i]}${o}`:e)).replace(Ym,(e,n)=>t.hasOwnProperty(n)?t[n]:e)).replace(Vm,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}):n}function ig(){!function(e){const t=ln(),n=Km[Qm--],i=e.data[n+ht];let r=_n();const s=sg(n,i.create,0,t);for(let o=n+1;o<=r.index-ht;o++)-1===s.indexOf(o)&&og(o,t)}(ln()[Ge]),nd(!1)}function rg(e,t,n,i,r){const s=_n();e[t+ht]=i;const o=wo(e[Ge],e[Ze],t,n,r,null);return s.next===o&&(s.next=null),o}function sg(e,t,n,i){const r=ln()[st];let s=null,o=null;const l=[];for(let a=0;a>>17;let u;o=tg(s,u=r===e?i[Ze]:$t(r,i),o,i);break;case 0:const c=n>>>3;l.push(c),o=s,(s=$t(c,i))&&yn(s,3===s.type);break;case 5:o=s=$t(n>>>3,i),yn(s,!1);break;case 4:qo(n>>>3,t[++a],t[++a],i);break;default:throw new Error(`Unable to determine the type of mutate operation for "${n}"`)}else switch(n){case io:const e=t[++a],u=t[++a],c=r.createComment(e);o=s,s=rg(i,u,5,c,null),l.push(u),Cs(c,i),s.activeCaseIndex=null,xn();break;case no:const d=t[++a],h=t[++a];o=s,s=rg(i,h,3,r.createElement(d),d),l.push(h);break;default:throw new Error(`Unable to determine the type of mutate operation for "${n}"`)}}return xn(),l}function og(e,t){const n=$t(e,t),i=Bt(e,t);i&&Il(t[st],i);const r=hc(e);if(yt(r)){const e=r;0!==n.type&&Il(t[st],e[gt])}n.flags|=32}function lg(e,t,n){Zm(e,t,n),ig()}function ag(e,t){!function(e,t,n){const i=_n().index-ht,r=[];for(let s=0;s>>2;let d,h,p;switch(3&a){case 1:Ro(c,t[++u],o,t[++u]);break;case 0:cl(s,c,o);break;case 2:if(h=n[d=t[++u]],null!==(p=$t(c,s)).activeCaseIndex){const e=h.remove[p.activeCaseIndex];for(let t=0;t>>3,s);break;case 6:const r=$t(e[t+1]>>>3,s).activeCaseIndex;null!==r&&de(n[i>>>3].remove[r],e)}}}const a=pg(h,o);p.activeCaseIndex=-1!==a?a:null,sg(-1,h.create[a],0,s),l=!0;break;case 3:h=n[d=t[++u]],p=$t(c,s),e(h.update[p.activeCaseIndex],n,i,r,s,l)}}}}a+=c}}(i,r,t[et]-cg-1,ug,t),ug=0,cg=0}}function pg(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){switch(Em(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,Cg);-1===(n=e.cases.indexOf(i))&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return n}function fg(e,t,n,i){const r=[],s=[],o=[],l=[],a=[];for(let u=0;ut[n]||""):e}let Cg=Im;function xg(e){null==e&&ge("Expected localeId to be defined"),"string"==typeof e&&(Cg=e.toLowerCase().replace(/_/g,"-"))}const Sg=new Map;function kg(e,t){const n=Sg.get(e);Tg(e,n&&n.moduleType,t.moduleType),Sg.set(e,t)}function Tg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${A(t)} vs ${A(t.name)}`)}function Eg(e){if(null!==e.ngModuleDef.id){const t=e.ngModuleDef.id;Tg(t,Sg.get(t),e),Sg.set(t,e)}let t=e.ngModuleDef.imports;t instanceof Function&&(t=t()),t&&t.forEach(e=>Eg(e))}function Mg(e){return Sg.get(e)}const Ig={provide:Nh,useClass:class extends Nh{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ue(e);return new wm(t,this.ngModule)}},deps:[ue]};class Dg extends ue{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[];const n=qe(e),i=e[Me]||null;i&&xg(i),this._bootstrapComponents=ri(n.bootstrap),this._r3Injector=Sa(e,t,[{provide:ue,useValue:this},Ig],A(e)),this.instance=this.get(e)}get(e,t=Oa.THROW_IF_NOT_FOUND,n=w.Default){return e===Oa||e===ue||e===U?this:this._r3Injector.get(e,t,n)}get componentFactoryResolver(){return this.get(Nh)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Ag extends ce{constructor(e){super(),this.moduleType=e,null!==qe(e)&&Eg(e)}create(e){return new Dg(this.moduleType,e)}}function Pg(e,t,n,i){return we(()=>{const r=e,s=r.prototype?Object.getPrototypeOf(r.prototype):null,o=s&&s.constructor;null!==t&&(void 0===r.decorators||o&&o.decorators===r.decorators?r.decorators=t:r.decorators.push(...t)),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=void 0===r.propDecorators||o&&o.propDecorators===r.propDecorators?i:Object.assign({},r.propDecorators,i))})}function Og(e,t,n){const i=Dn()+e,r=ln();return Sn()?Du(r,i,n?t.call(n):t()):Au(r,i)}function Lg(e,t,n,i){const r=ln(),s=Dn()+e;return Pu(r,s,n)?Du(r,s+1,i?t.call(i,n):t(n)):Au(r,s+1)}function Rg(e,t,n,i,r){const s=Dn()+e,o=ln();return Ou(o,s,n,i)?Du(o,s+2,r?t.call(r,n,i):t(n,i)):Au(o,s+2)}function jg(e,t,n,i,r,s){const o=Dn()+e,l=ln();return Lu(l,o,n,i,r)?Du(l,o+3,s?t.call(s,n,i,r):t(n,i,r)):Au(l,o+3)}function Ng(e,t,n,i,r,s,o){const l=Dn()+e,a=ln();return Ru(a,l,n,i,r,s)?Du(a,l+4,o?t.call(o,n,i,r,s):t(n,i,r,s)):Au(a,l+4)}function Fg(e,t,n,i,r,s,o,l){const a=Dn()+e,u=ln(),c=Ru(u,a,n,i,r,s);return Pu(u,a+4,o)||c?Du(u,a+5,l?t.call(l,n,i,r,s,o):t(n,i,r,s,o)):Au(u,a+5)}function Hg(e,t,n,i,r,s,o,l,a){const u=Dn()+e,c=ln(),d=Ru(c,u,n,i,r,s);return Ou(c,u+4,o,l)||d?Du(c,u+6,a?t.call(a,n,i,r,s,o,l):t(n,i,r,s,o,l)):Au(c,u+6)}function Yg(e,t,n,i,r,s,o,l,a,u){const c=Dn()+e,d=ln();let h=Ru(d,c,n,i,r,s);return Lu(d,c+4,o,l,a)||h?Du(d,c+7,u?t.call(u,n,i,r,s,o,l,a):t(n,i,r,s,o,l,a)):Au(d,c+7)}function Vg(e,t,n,i,r,s,o,l,a,u,c){const d=Dn()+e,h=ln(),p=Ru(h,d,n,i,r,s);return Ru(h,d+4,o,l,a,u)||p?Du(h,d+8,c?t.call(c,n,i,r,s,o,l,a,u):t(n,i,r,s,o,l,a,u)):Au(h,d+8)}function Ug(e,t,n,i){let r=Dn()+e,s=!1;const o=ln();for(let l=0;l=0;n--){const i=t[n];if(e===i.name)return i}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory();return cc(e,s),s}function Bg(e,t,n){const i=hc(e);return Qg(Kg(e)?Lg(t,i.transform,n,i):i.transform(n))}function Wg(e,t,n,i){const r=hc(e);return Qg(Kg(e)?Rg(t,r.transform,n,i,r):r.transform(n,i))}function qg(e,t,n,i,r){const s=hc(e);return Qg(Kg(e)?jg(t,s.transform,n,i,r,s):s.transform(n,i,r))}function $g(e,t,n,i,r,s){const o=hc(e);return Qg(Kg(e)?Ng(t,o.transform,n,i,r,s,o):o.transform(n,i,r,s))}function Gg(e,t,n){const i=hc(e);return Qg(Kg(e)?Ug(t,i.transform,n,i):i.transform.apply(i,n))}function Kg(e){return ln()[Ge].data[e+ht].pure}function Qg(e){if(Eu.isWrapped(e)){e=Eu.unwrap(e);const t=ln();t[t[et]]=to}return e}class Xg extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,s=e=>null,o=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const l=super.subscribe(i,s,o);return e instanceof r.a&&e.add(l),l}}function Jg(){return this._results[Su()]()}class Zg{constructor(){this.dirty=!0,this._results=[],this.changes=new Xg,this.length=0;const e=Su(),t=Zg.prototype;t[e]||(t[e]=Jg)}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=he(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 ev{constructor(e){this.queryList=e,this.matches=null}clone(){return new ev(this.queryList)}setDirty(){this.queryList.setDirty()}}class tv{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=new Array(n);for(let e=0;e0)i.push(o[n/2]);else{const o=s[n+1],l=t[-r];for(let t=bt;t({"\u0275\u0275attribute":Fu,"\u0275\u0275attributeInterpolate1":Gu,"\u0275\u0275attributeInterpolate2":Ku,"\u0275\u0275attributeInterpolate3":Qu,"\u0275\u0275attributeInterpolate4":Xu,"\u0275\u0275attributeInterpolate5":Ju,"\u0275\u0275attributeInterpolate6":Zu,"\u0275\u0275attributeInterpolate7":ec,"\u0275\u0275attributeInterpolate8":tc,"\u0275\u0275attributeInterpolateV":nc,"\u0275\u0275defineBase":He,"\u0275\u0275defineComponent":Pe,"\u0275\u0275defineDirective":Ye,"\u0275\u0275defineInjectable":S,"\u0275\u0275defineInjector":T,"\u0275\u0275defineNgModule":je,"\u0275\u0275definePipe":Ve,"\u0275\u0275directiveInject":pc,"\u0275\u0275getFactoryOf":dr,"\u0275\u0275getInheritedFactory":hr,"\u0275\u0275inject":te,"\u0275\u0275injectAttribute":fc,"\u0275\u0275injectPipeChangeDetectorRef":Cv,"\u0275\u0275templateRefExtractor":wv,"\u0275\u0275NgOnChangesFeature":mh,"\u0275\u0275ProvidersFeature":Ah,"\u0275\u0275InheritDefinitionFeature":yh,"\u0275\u0275container":sc,"\u0275\u0275nextContext":Jc,"\u0275\u0275containerRefreshStart":lc,"\u0275\u0275containerRefreshEnd":ac,"\u0275\u0275namespaceHTML":Wn,"\u0275\u0275namespaceMathML":Bn,"\u0275\u0275namespaceSVG":zn,"\u0275\u0275enableBindings":sn,"\u0275\u0275disableBindings":on,"\u0275\u0275allocHostVars":Cu,"\u0275\u0275elementStart":Lc,"\u0275\u0275elementEnd":Rc,"\u0275\u0275element":jc,"\u0275\u0275elementContainerStart":Hc,"\u0275\u0275elementContainerEnd":Yc,"\u0275\u0275elementContainer":Vc,"\u0275\u0275pureFunction0":Og,"\u0275\u0275pureFunction1":Lg,"\u0275\u0275pureFunction2":Rg,"\u0275\u0275pureFunction3":jg,"\u0275\u0275pureFunction4":Ng,"\u0275\u0275pureFunction5":Fg,"\u0275\u0275pureFunction6":Hg,"\u0275\u0275pureFunction7":Yg,"\u0275\u0275pureFunction8":Vg,"\u0275\u0275pureFunctionV":Ug,"\u0275\u0275getCurrentView":Bc,"\u0275\u0275restoreView":bn,"\u0275\u0275listener":$c,"\u0275\u0275load":hc,"\u0275\u0275projection":id,"\u0275\u0275updateSyntheticHostBinding":Wd,"\u0275\u0275componentHostSyntheticListener":Gc,"\u0275\u0275pipeBind1":Bg,"\u0275\u0275pipeBind2":Wg,"\u0275\u0275pipeBind3":qg,"\u0275\u0275pipeBind4":$g,"\u0275\u0275pipeBindV":Gg,"\u0275\u0275projectionDef":ed,"\u0275\u0275hostProperty":Bd,"\u0275\u0275property":ju,"\u0275\u0275propertyInterpolate":rd,"\u0275\u0275propertyInterpolate1":sd,"\u0275\u0275propertyInterpolate2":od,"\u0275\u0275propertyInterpolate3":ld,"\u0275\u0275propertyInterpolate4":ad,"\u0275\u0275propertyInterpolate5":ud,"\u0275\u0275propertyInterpolate6":cd,"\u0275\u0275propertyInterpolate7":dd,"\u0275\u0275propertyInterpolate8":hd,"\u0275\u0275propertyInterpolateV":pd,"\u0275\u0275pipe":zg,"\u0275\u0275queryRefresh":av,"\u0275\u0275viewQuery":cv,"\u0275\u0275staticViewQuery":uv,"\u0275\u0275staticContentQuery":fv,"\u0275\u0275loadViewQuery":hv,"\u0275\u0275contentQuery":pv,"\u0275\u0275loadContentQuery":gv,"\u0275\u0275reference":dc,"\u0275\u0275elementHostAttrs":Nc,"\u0275\u0275classMap":Cc,"\u0275\u0275classMapInterpolate1":Td,"\u0275\u0275classMapInterpolate2":Ed,"\u0275\u0275classMapInterpolate3":Md,"\u0275\u0275classMapInterpolate4":Id,"\u0275\u0275classMapInterpolate5":Dd,"\u0275\u0275classMapInterpolate6":Ad,"\u0275\u0275classMapInterpolate7":Pd,"\u0275\u0275classMapInterpolate8":Od,"\u0275\u0275classMapInterpolateV":Ld,"\u0275\u0275styling":mc,"\u0275\u0275styleMap":wc,"\u0275\u0275styleProp":vc,"\u0275\u0275stylePropInterpolate1":Rd,"\u0275\u0275stylePropInterpolate2":jd,"\u0275\u0275stylePropInterpolate3":Nd,"\u0275\u0275stylePropInterpolate4":Fd,"\u0275\u0275stylePropInterpolate5":Hd,"\u0275\u0275stylePropInterpolate6":Yd,"\u0275\u0275stylePropInterpolate7":Vd,"\u0275\u0275stylePropInterpolate8":Ud,"\u0275\u0275stylePropInterpolateV":zd,"\u0275\u0275styleSanitizer":gc,"\u0275\u0275stylingApply":Tc,"\u0275\u0275classProp":_c,"\u0275\u0275select":fo,"\u0275\u0275template":oc,"\u0275\u0275text":fd,"\u0275\u0275textBinding":md,"\u0275\u0275textInterpolate":gd,"\u0275\u0275textInterpolate1":vd,"\u0275\u0275textInterpolate2":bd,"\u0275\u0275textInterpolate3":_d,"\u0275\u0275textInterpolate4":yd,"\u0275\u0275textInterpolate5":wd,"\u0275\u0275textInterpolate6":Cd,"\u0275\u0275textInterpolate7":xd,"\u0275\u0275textInterpolate8":Sd,"\u0275\u0275textInterpolateV":kd,"\u0275\u0275embeddedViewStart":Uc,"\u0275\u0275embeddedViewEnd":zc,"\u0275\u0275i18n":lg,"\u0275\u0275i18nAttributes":ag,"\u0275\u0275i18nExp":dg,"\u0275\u0275i18nStart":Zm,"\u0275\u0275i18nEnd":ig,"\u0275\u0275i18nApply":hg,"\u0275\u0275i18nPostprocess":ng,"\u0275\u0275i18nLocalize":wg,"\u0275\u0275resolveWindow":Zn,"\u0275\u0275resolveDocument":ei,"\u0275\u0275resolveBody":ti,"\u0275\u0275setComponentScope":Oe,"\u0275\u0275setNgModuleScope":Ne,"\u0275\u0275sanitizeHtml":as,"\u0275\u0275sanitizeStyle":us,"\u0275\u0275defaultStyleSanitizer":ms,"\u0275\u0275sanitizeResourceUrl":ds,"\u0275\u0275sanitizeScript":hs,"\u0275\u0275sanitizeUrl":cs,"\u0275\u0275sanitizeUrlOrResourceUrl":fs}))(),Sv=[],kv=[];let Tv=!1;function Ev(){if(!Tv){Tv=!0;try{for(let e=kv.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=kv[e];n.declarations&&n.declarations.every(Mv)&&(kv.splice(e,1),Lv(t,n))}}finally{Tv=!1}}}function Mv(e){return Array.isArray(e)?e.every(Mv):!!L(e)}function Iv(e,t={}){Dv(e,t),function(e,t){kv.push({moduleType:e,ngModule:t})}(e,t)}function Dv(e,t,n=!1){const i=he(t.declarations||Sv);let r=null;Object.defineProperty(e,Ee,{configurable:!0,get:()=>(null===r&&(r=Y().compileNgModule(xv,`ng:///${e.name}/ngModuleDef.js`,{type:e,bootstrap:he(t.bootstrap||Sv).map(L),declarations:i.map(L),imports:he(t.imports||Sv).map(L).map(Nv),exports:he(t.exports||Sv).map(L).map(Nv),emitInline:!0,schemas:t.schemas?he(t.schemas):null,id:t.id||null})),r)});let s=null;Object.defineProperty(e,D,{get:()=>{if(null===s){const n={name:e.name,type:e,deps:ra(e),providers:t.providers||Sv,imports:[(t.imports||Sv).map(L),(t.exports||Sv).map(L)]};s=Y().compileInjector(xv,`ng:///${e.name}/ngInjectorDef.js`,n)}return s},configurable:!1})}let Av=new Map,Pv=new Map;function Ov(){Av=new Map,Pv=new Map,kv.length=0}function Lv(e,t){const n=he(t.declarations||Sv),i=jv(e);n.forEach(t=>{t.hasOwnProperty(Se)?Rv(Ue(t),i):t.hasOwnProperty(ke)||t.hasOwnProperty(Te)||(t.ngSelectorScope=e)})}function Rv(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Se)?Ue(e):ze(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Be(e)),e.schemas=t.schemas,e.tView=null}function jv(e,t){if(!Fv(e))throw new Error(`${e.name} does not have an ngModuleDef`);const n=qe(e);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;const i={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ri(n.declarations).forEach(e=>{Be(e)?i.compilation.pipes.add(e):i.compilation.directives.add(e)}),ri(n.imports).forEach(e=>{const n=e;if(!Fv(n))throw new Error(`Importing ${n.name} which does not have an ngModuleDef`);t&&t(n);const r=jv(n,t);r.exported.directives.forEach(e=>i.compilation.directives.add(e)),r.exported.pipes.forEach(e=>i.compilation.pipes.add(e))}),ri(n.exports).forEach(e=>{const n=e;if(Fv(n)){const e=jv(n,t);e.exported.directives.forEach(e=>{i.compilation.directives.add(e),i.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{i.compilation.pipes.add(e),i.exported.pipes.add(e)})}else Be(n)?i.exported.pipes.add(n):i.exported.directives.add(n)}),n.transitiveCompileScopes=i,i}function Nv(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Fv(e){return!!qe(e)}function Hv(e,t){let n=null;!function(e,t){_u(t)&&(vu.set(e,t),bu.add(e))}(e,t),Object.defineProperty(e,Se,{get:()=>{const i=Y();if(null===n){if(_u(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=t.templateUrl||`ng:///${e.name}/template.html`,s=Object.assign({},Uv(e,t),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,r),template:t.template||"",preserveWhitespaces:t.preserveWhitespaces||!1,styles:t.styles||xe,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:t.encapsulation||ye.Emulated,interpolation:t.interpolation,viewProviders:t.viewProviders||null});if(s.usesInheritance&&zv(e),n=i.compileComponent(xv,r,s),Ev(),function(e){return void 0!==e.ngSelectorScope}(e)){const t=jv(e.ngSelectorScope);Rv(n,t)}}return n},configurable:!1}),oa(e)}function Yv(e,t){let n=null;Object.defineProperty(e,ke,{get:()=>{if(null===n){const i=e&&e.name,r=`ng:///${i}/ngDirectiveDef.js`,s=Y(),o=Uv(e,t);o.typeSourceSpan=s.createParseSourceSpan("Directive",i,r),o.usesInheritance&&zv(e),n=s.compileDirective(xv,r,o)}return n},configurable:!1}),oa(e)}function Vv(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Uv(e,t){const n=ia().ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:ra(e),host:t.host||Ce,propMetadata:n,inputs:t.inputs||xe,outputs:t.outputs||xe,queries:$v(e,n,Gv),lifecycle:{usesOnChanges:e.prototype.hasOwnProperty("ngOnChanges")},typeSourceSpan:null,usesInheritance:!Vv(e),exportAs:(i=t.exportAs,void 0===i?null:i.split(",").map(e=>e.trim())),providers:t.providers||null,viewQueries:$v(e,n,Kv)};var i}function zv(e){const t=Object.prototype;let n=Object.getPrototypeOf(e);for(;n&&n!==t;){if(!ze(n)&&!Ue(n)&&!We(n)){const e=Wv(n);e&&Bv(n,e)}n=Object.getPrototypeOf(n)}}function Bv(e,t){let n=null;Object.defineProperty(e,Ie,{get:()=>{if(null===n){const i=`ng://${e&&e.name}/ngBaseDef.js`,r=Y();n=r.compileBase(xv,i,t)}return n},configurable:!1})}function Wv(e){const t=ia().ownPropMetadata(e),n=$v(e,t,Kv),i=$v(e,t,Gv);let r,s,o=!1;for(const l in t)t[l].forEach(e=>{const t=e.ngMetadataName;"Input"===t?(r=r||{})[l]=e.bindingPropertyName?[e.bindingPropertyName,l]:l:"Output"===t?(s=s||{})[l]=e.bindingPropertyName||l:"HostBinding"!==t&&"HostListener"!==t||(o=!0)});return r||s||n.length||i.length||o?{name:e.name,type:e,inputs:r,outputs:s,viewQueries:n,queries:i,propMetadata:t}:null}function qv(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(e=>e.trim()):L(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}function $v(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];s.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of `+`"${Xn(e)}" since the query selector wasn't defined.`);if(s.some(Qv))throw new Error("Cannot combine @Input decorators with query decorators");i.push(qv(r,t))}})}return i}function Gv(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Kv(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Qv(e){return"Input"===e.ngMetadataName}function Xv(e,t){let n=null;Object.defineProperty(e,Te,{get:()=>{if(null===n){const i=e.name;n=Y().compilePipe(xv,`ng:///${i}/ngPipeDef.js`,{type:e,typeArgumentCount:0,name:i,deps:ra(e),pipeName:t.name,pure:void 0===t.pure||t.pure})}return n},configurable:!1})}const Jv=d("Directive",(e={})=>e,void 0,void 0,(e,t)=>ub(e,t)),Zv=d("Component",(e={})=>Object.assign({changeDetection:ve.Default},e),Jv,void 0,(e,t)=>ab(e,t)),eb=d("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>cb(e,t)),tb=f("Input",e=>({bindingPropertyName:e})),nb=f("Output",e=>({bindingPropertyName:e})),ib=f("HostBinding",e=>({hostPropertyName:e})),rb=f("HostListener",(e,t)=>({eventName:e,args:t})),sb=Hv,ob=Yv,lb=Xv,ab=Yh,ub=Yh,cb=Yh,db=d("NgModule",e=>e,void 0,void 0,(e,t)=>pb(e,t)),hb=Iv,pb=function(e,t){let n=t&&t.imports||[];t&&t.exports&&(n=[...n,t.exports]),e.ngInjectorDef=T({factory:fa(e,{useClass:e}),providers:t&&t.providers,imports:n})},fb=new V("Application Initializer");class mb{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const gb=new V("AppId");function vb(){return`${_b()}${_b()}${_b()}`}const bb={provide:gb,useFactory:vb,deps:[]};function _b(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yb=new V("Platform Initializer"),wb=new V("Platform ID"),Cb=new V("appBootstrapListener"),xb=new V("Application Packages Root URL");class Sb{log(e){console.log(e)}warn(e){console.warn(e)}}const kb=new V("LocaleId"),Tb=new V("Translations"),Eb=new V("TranslationsFormat"),Mb=function(){var e={Error:0,Warning:1,Ignore:2};return e[e.Error]="Error",e[e.Warning]="Warning",e[e.Ignore]="Ignore",e}(),Ib=!0,Db=!1;class Ab{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}function Pb(){throw new Error("Runtime compiler is not loaded")}const Ob=function(e){return new Ag(e)},Lb=Pb,Rb=function(e){return Promise.resolve(Ob(e))},jb=Pb,Nb=function(e){const t=Ob(e),n=ri(qe(e).declarations).reduce((e,t)=>{const n=Ue(t);return n&&e.push(new wm(n)),e},[]);return new Ab(t,n)},Fb=Pb,Hb=function(e){return Promise.resolve(Nb(e))},Yb=Pb;class Vb{constructor(){this.compileModuleSync=Lb,this.compileModuleAsync=jb,this.compileModuleAndAllComponentsSync=Fb,this.compileModuleAndAllComponentsAsync=Yb}clearCache(){}clearCacheFor(e){}getModuleId(e){}}const Ub=new V("compilerOptions");class zb{}let Bb,Wb;function qb(){const e=H.wtf;return!(!e||!(Bb=e.trace)||(Wb=Bb.events,0))}function $b(e,t=null){return Wb.createScope(e,t)}function Gb(e,t){return Bb.leaveScope(e,t),t}function Kb(e,t){return Bb.beginTimeRange(e,t)}function Qb(e){Bb.endTimeRange(e)}const Xb=qb();function Jb(e,t){return null}const Zb=Xb?$b:(e,t)=>Jb,e_=Xb?Gb:(e,t)=>t,t_=Xb?Kb:(e,t)=>null,n_=Xb?Qb:e=>null,i_=(()=>Promise.resolve(0))();function r_(e){"undefined"==typeof Zone?i_.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class s_{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xg(!1),this.onMicrotaskEmpty=new Xg(!1),this.onStable=new Xg(!1),this.onError=new Xg(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;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)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,i,r,s,o)=>{try{return u_(t),e.invokeTask(i,r,s,o)}finally{c_(t)}},onInvoke:(e,n,i,r,s,o,l)=>{try{return u_(t),e.invoke(i,r,s,o,l)}finally{c_(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t.hasPendingMicrotasks=r.microTask,a_(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!s_.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(s_.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,e,l_,o_,o_);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function o_(){}const l_={};function a_(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 u_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function c_(e){e._nesting--,a_(e)}class d_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xg,this.onMicrotaskEmpty=new Xg,this.onStable=new Xg,this.onError=new Xg}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class h_{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:()=>{s_.assertNotInAngularZone(),r_(()=>{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())r_(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}class p_{constructor(){this._applications=new Map,v_.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 v_.findTestabilityInTree(this,e,t)}}class f_{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function m_(e){v_=e}let g_,v_=new f_,b_=function(e,t,n){return e.get(zb).createCompiler([t]).compileModuleAsync(n)};function __(e,t,n){const i=new Ag(n);if(0===vu.size)return Promise.resolve(i);const r=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(Ub,[]).concat(t).map(e=>e.providers));if(0===r.length)return Promise.resolve(i);const s=Y(),o=Oa.create({providers:r}).get(s.ResourceLoader);return gu(e=>Promise.resolve(o.get(e))).then(()=>i)}let y_=function(e){return e instanceof Hh};function w_(e){return e.isBoundToModule}const C_=new V("AllowMultipleToken");class x_{constructor(e,t){this.name=e,this.token=t}}function S_(e){if(g_&&!g_.destroyed&&!g_.injector.get(C_,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");g_=e.get(I_);const t=e.get(yb,null);return t&&t.forEach(e=>e()),g_}function k_(e,t,n=[]){const i=`Platform: ${t}`,r=new V(i);return(t=[])=>{let s=M_();if(!s||s.injector.get(C_,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0});S_(Oa.create({providers:e,name:i}))}return T_(r)}}function T_(e){const t=M_();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function E_(){g_&&!g_.destroyed&&g_.destroy()}function M_(){return g_&&!g_.destroyed?g_:null}class I_{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(r=t?t.ngZone:void 0)?new d_:("zone.js"===r?void 0:r)||new s_({enableLongStackTrace:Pr()}),i=[{provide:s_,useValue:n}];var r;return n.run(()=>{const t=Oa.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(_r,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Db&&xg(r.injector.get(kb,Im)||Im),r.onDestroy(()=>P_(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,n){try{const i=n();return Wc(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(s,n,()=>{const e=r.injector.get(mb);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=D_({},t);return b_(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(A_);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${A(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}}function D_(e,t){return Array.isArray(t)?t.reduce(D_,e):Object.assign({},e,t)}let A_=(()=>{class e{constructor(e,t,n,i,r,a){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Pr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{s_.assertNotInAngularZone(),r_(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{s_.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(u,c.pipe(Object(l.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 n;n=e instanceof Oh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=y_(n)?null:this._injector.get(ue),r=n.create(Oa.NULL,[],t||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(h_,null);return s&&r.injector.get(p_).registerApplication(r.location.nativeElement,s),this._loadComponent(r),Pr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,e_(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;P_(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Cb,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),P_(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Zb("ApplicationRef#tick()"),e})();function P_(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class O_{}function L_(e){const t=Mg(e);if(!t)throw N_(e);return t}function R_(e){const t=Mg(e);if(!t)throw N_(e);return new Ag(t)}const j_=L_;function N_(e){return new Error(`No module with ID ${e} loaded`)}const F_="#",H_="NgFactory";class Y_{}const V_={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class U_{constructor(e,t){this._compiler=e,this._config=t||V_}load(e){return!Db&&this._compiler instanceof Vb?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split(F_);return void 0===i&&(i="default"),n("crnd")(t).then(e=>e[i]).then(e=>z_(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split(F_),r=H_;return void 0===i&&(i="default",r=""),n("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>z_(e,t,i))}}function z_(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class B_ extends Bl{}class W_ extends B_{}class q_{constructor(e,t){this.name=e,this.callback=t}}class $_{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof G_&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class G_ extends $_{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,i){t.childNodes.forEach(t=>{t instanceof G_&&(n(t)&&i.push(t),e(t,n,i))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,i){t instanceof G_&&t.childNodes.forEach(t=>{n(t)&&i.push(t),t instanceof G_&&e(t,n,i)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof G_)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function K_(e){return e.map(e=>e.nativeElement)}class Q_{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new X_(e):null}get injector(){return Qd(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(qd(e)||Gd(e))}get context(){return qd(this.nativeNode)||$d(this.nativeNode)}get listeners(){return nh(this.nativeNode).filter(th)}get references(){return function(e){const t=Jd(e);return void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[Ge].data[t];if(n&&n.localNames){const t={};let i=n.index+1;for(let r=0;r{n.name===e&&n.callback(t)})}}function J_(e,t){if(e){const n=eh(e),i=n.lView,r=i[Ge].data[n.nodeIndex];return t?Ti(r.classes)?new po(r.classes,i,!0).values:ho(r.classes):Ti(r.styles)?new po(r.styles,i,!1).values:ho(r.styles)}return{}}function Z_(e,t,n,i){const r=Jd(e.nativeNode);ey(r.lView[Ge].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode)}function ey(e,t,n,i,r,s){const o=qt(e,t);if(3===e.type||4===e.type){if(ny(o,n,i,r,s),Ct(e)){const o=Kt(e.index,t);o&&o[Ge].firstChild&&ey(o[Ge].firstChild,o,n,i,r,s)}else e.child&&ey(e.child,t,n,i,r,s),o&&function e(t,n,i,r){const s=t.childNodes,o=s.length;for(let l=0;l{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class gy{constructor(e){}}function vy(e,t,n,i,r,s){e|=1;const{matchedQueries:o,references:l,matchedQueryIds:a}=ef(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:a,references:l,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?sf(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Lp},provider:null,text:null,query:null,ngContent:null}}function by(e,t,n,i,r,s,o=[],l,a,u,c,d){u||(u=Lp);const{matchedQueries:h,references:p,matchedQueryIds:f}=ef(n);let m=null,g=null;s&&([m,g]=hf(s)),l=l||[];const v=new Array(l.length);for(let y=0;y{const[n,i]=hf(e);return[n,i,t]});return d=function(e){if(e&&e.id===Fp){const t=null!=e.encapsulation&&e.encapsulation!==ye.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Vp++}`:Hp}return e&&e.id===Hp&&(e=null),e||null}(d),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:i,childCount:r,bindings:v,bindingFlags:pf(v),outputs:b,element:{ns:m,name:g,attrs:_,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||Lp},provider:null,text:null,query:null,ngContent:null}}function _y(e,t,n){const i=n.element,r=e.root.selectorOrNode,s=e.renderer;let o;if(e.parent||!r){o=i.name?s.createElement(i.name,i.ns):s.createComment("");const r=nf(e,t,n);r&&s.appendChild(r,o)}else o=s.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===ye.ShadowDom);if(i.attrs)for(let l=0;l$p(e,t,n,i)}function Cy(e,t,n,i){if(!zp(e,t,n,i))return!1;const r=t.bindings[n],s=Mp(e,t.nodeIndex),o=s.renderElement,l=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,s){const o=t.securityContext;let l=o?e.root.sanitizer.sanitize(o,s):s;l=null!=l?l.toString():null;const a=e.renderer;null!=s?a.setAttribute(n,r,l,i):a.removeAttribute(n,r,i)}(e,r,o,r.ns,l,i);break;case 2:!function(e,t,n,i){const r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,o,l,i);break;case 4:!function(e,t,n,i,r){let s=e.root.sanitizer.sanitize(is.STYLE,r);if(null!=s){s=s.toString();const e=t.suffix;null!=e&&(s+=e)}else s=null;const o=e.renderer;null!=s?o.setStyle(n,i,s):o.removeStyle(n,i)}(e,r,o,l,i);break;case 8:!function(e,t,n,i,r){const s=t.securityContext;let o=s?e.root.sanitizer.sanitize(s,r):r;e.renderer.setProperty(n,i,o)}(33554432&t.flags&&32&r.flags?s.componentView:e,r,o,l,i)}return!0}function xy(e,t,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Zp(t),bindings:i},ngContent:null}}function Sy(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Jp(e);){let n=e.parentNodeDef;e=e.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const i=e.def.nodes[r];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Ap(e,r).setDirty(),!(1&i.flags&&r+i.childCount0)u=e,Fy(e)||(c=e);else for(;u&&f===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),c=(u=e)&&Fy(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||Lp,updateRenderer:i||Lp,handleEvent:(e,n,i,r)=>t[n].element.handleEvent(e,i,r),bindingCount:r,outputCount:s,lastRenderRootNode:p}}function Fy(e){return 0!=(1&e.flags)&&null===e.element.name}function Hy(e,t,n){const i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Yy(e,t,n,i){const r=zy(e.root,e.renderer,e,t,n);return By(r,e.component,i),Wy(r),r}function Vy(e,t,n){const i=zy(e,e.renderer,null,null,t);return By(i,n,n),Wy(i),i}function Uy(e,t,n,i){const r=t.element.componentRendererType;let s;return s=r?e.root.rendererFactory.createRenderer(i,r):e.root.renderer,zy(e.root,s,e,t.element.componentProvider,n)}function zy(e,t,n,i,r){const s=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:s,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function By(e,t,n){e.component=t,e.context=n}function Wy(e){let t;Xp(e)&&(t=Mp(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,i=e.nodes;for(let r=0;r0&&Cy(e,t,0,n)&&(p=!0),h>1&&Cy(e,t,1,i)&&(p=!0),h>2&&Cy(e,t,2,r)&&(p=!0),h>3&&Cy(e,t,3,s)&&(p=!0),h>4&&Cy(e,t,4,o)&&(p=!0),h>5&&Cy(e,t,5,l)&&(p=!0),h>6&&Cy(e,t,6,a)&&(p=!0),h>7&&Cy(e,t,7,u)&&(p=!0),h>8&&Cy(e,t,8,c)&&(p=!0),h>9&&Cy(e,t,9,d)&&(p=!0),p}(e,t,n,i,r,s,o,l,a,u,c,d);case 2:return function(e,t,n,i,r,s,o,l,a,u,c,d){let h=!1;const p=t.bindings,f=p.length;if(f>0&&zp(e,t,0,n)&&(h=!0),f>1&&zp(e,t,1,i)&&(h=!0),f>2&&zp(e,t,2,r)&&(h=!0),f>3&&zp(e,t,3,s)&&(h=!0),f>4&&zp(e,t,4,o)&&(h=!0),f>5&&zp(e,t,5,l)&&(h=!0),f>6&&zp(e,t,6,a)&&(h=!0),f>7&&zp(e,t,7,u)&&(h=!0),f>8&&zp(e,t,8,c)&&(h=!0),f>9&&zp(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;f>0&&(h+=jy(n,p[0])),f>1&&(h+=jy(i,p[1])),f>2&&(h+=jy(r,p[2])),f>3&&(h+=jy(s,p[3])),f>4&&(h+=jy(o,p[4])),f>5&&(h+=jy(l,p[5])),f>6&&(h+=jy(a,p[6])),f>7&&(h+=jy(u,p[7])),f>8&&(h+=jy(c,p[8])),f>9&&(h+=jy(d,p[9]));const m=Ep(e,t.nodeIndex).renderText;e.renderer.setValue(m,h)}return h}(e,t,n,i,r,s,o,l,a,u,c,d);case 16384:return function(e,t,n,i,r,s,o,l,a,u,c,d){const h=Ip(e,t.nodeIndex),p=h.instance;let f=!1,m=void 0;const g=t.bindings.length;return g>0&&Up(e,t,0,n)&&(f=!0,m=mm(e,h,t,0,n,m)),g>1&&Up(e,t,1,i)&&(f=!0,m=mm(e,h,t,1,i,m)),g>2&&Up(e,t,2,r)&&(f=!0,m=mm(e,h,t,2,r,m)),g>3&&Up(e,t,3,s)&&(f=!0,m=mm(e,h,t,3,s,m)),g>4&&Up(e,t,4,o)&&(f=!0,m=mm(e,h,t,4,o,m)),g>5&&Up(e,t,5,l)&&(f=!0,m=mm(e,h,t,5,l,m)),g>6&&Up(e,t,6,a)&&(f=!0,m=mm(e,h,t,6,a,m)),g>7&&Up(e,t,7,u)&&(f=!0,m=mm(e,h,t,7,u,m)),g>8&&Up(e,t,8,c)&&(f=!0,m=mm(e,h,t,8,c,m)),g>9&&Up(e,t,9,d)&&(f=!0,m=mm(e,h,t,9,d,m)),m&&p.ngOnChanges(m),65536&t.flags&&Tp(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,i,r,s,o,l,a,u,c,d);case 32:case 64:case 128:return function(e,t,n,i,r,s,o,l,a,u,c,d){const h=t.bindings;let p=!1;const f=h.length;if(f>0&&zp(e,t,0,n)&&(p=!0),f>1&&zp(e,t,1,i)&&(p=!0),f>2&&zp(e,t,2,r)&&(p=!0),f>3&&zp(e,t,3,s)&&(p=!0),f>4&&zp(e,t,4,o)&&(p=!0),f>5&&zp(e,t,5,l)&&(p=!0),f>6&&zp(e,t,6,a)&&(p=!0),f>7&&zp(e,t,7,u)&&(p=!0),f>8&&zp(e,t,8,c)&&(p=!0),f>9&&zp(e,t,9,d)&&(p=!0),p){const p=Dp(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=new Array(h.length),f>0&&(m[0]=n),f>1&&(m[1]=i),f>2&&(m[2]=r),f>3&&(m[3]=s),f>4&&(m[4]=o),f>5&&(m[5]=l),f>6&&(m[6]=a),f>7&&(m[7]=u),f>8&&(m[8]=c),f>9&&(m[9]=d);break;case 64:m={},f>0&&(m[h[0].name]=n),f>1&&(m[h[1].name]=i),f>2&&(m[h[2].name]=r),f>3&&(m[h[3].name]=s),f>4&&(m[h[4].name]=o),f>5&&(m[h[5].name]=l),f>6&&(m[h[6].name]=a),f>7&&(m[h[7].name]=u),f>8&&(m[h[8].name]=c),f>9&&(m[h[9].name]=d);break;case 128:const e=n;switch(f){case 1:m=e.transform(n);break;case 2:m=e.transform(i);break;case 3:m=e.transform(i,r);break;case 4:m=e.transform(i,r,s);break;case 5:m=e.transform(i,r,s,o);break;case 6:m=e.transform(i,r,s,o,l);break;case 7:m=e.transform(i,r,s,o,l,a);break;case 8:m=e.transform(i,r,s,o,l,a,u);break;case 9:m=e.transform(i,r,s,o,l,a,u,c);break;case 10:m=e.transform(i,r,s,o,l,a,u,c,d)}}p.value=m}return p}(e,t,n,i,r,s,o,l,a,u,c,d);default:throw"unreachable"}}(e,t,i,r,s,o,l,a,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let i=!1;for(let r=0;r0&&Bp(e,t,0,n),h>1&&Bp(e,t,1,i),h>2&&Bp(e,t,2,r),h>3&&Bp(e,t,3,s),h>4&&Bp(e,t,4,o),h>5&&Bp(e,t,5,l),h>6&&Bp(e,t,6,a),h>7&&Bp(e,t,7,u),h>8&&Bp(e,t,8,c),h>9&&Bp(e,t,9,d)}(e,t,i,r,s,o,l,a,u,c,d,h):function(e,t,n){for(let i=0;inew Nw(e,t),handleEvent:Dw,updateDirectives:Aw,updateRenderer:Pw}:{setCurrentNode:()=>{},createRootView:lw,createEmbeddedView:Yy,createComponentView:Uy,createNgModuleRef:qf,overrideProvider:Lp,overrideComponentView:Lp,clearOverrides:Lp,checkAndUpdateView:$y,checkNoChangesView:qy,destroyView:Jy,createDebugContext:(e,t)=>new Nw(e,t),handleEvent:(e,t,n,i)=>e.def.handleEvent(e,t,n,i),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?yw:ww,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?yw:ww,e)};Op.setCurrentNode=e.setCurrentNode,Op.createRootView=e.createRootView,Op.createEmbeddedView=e.createEmbeddedView,Op.createComponentView=e.createComponentView,Op.createNgModuleRef=e.createNgModuleRef,Op.overrideProvider=e.overrideProvider,Op.overrideComponentView=e.overrideComponentView,Op.clearOverrides=e.clearOverrides,Op.checkAndUpdateView=e.checkAndUpdateView,Op.checkNoChangesView=e.checkNoChangesView,Op.destroyView=e.destroyView,Op.resolveDep=pm,Op.createDebugContext=e.createDebugContext,Op.handleEvent=e.handleEvent,Op.updateDirectives=e.updateDirectives,Op.updateRenderer=e.updateRenderer,Op.dirtyParentQueries=Sy}function lw(e,t,n,i,r,s){const o=r.injector.get(Gh);return Vy(uw(e,r,o,t,n),i,s)}function aw(e,t,n,i,r,s){const o=r.injector.get(Gh),l=uw(e,r,new Vw(o),t,n),a=_w(i);return Hw(kw.create,Vy,null,[l,a,s])}function uw(e,t,n,i,r){const s=t.injector.get(rs),o=t.injector.get(_r),l=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:s,rendererFactory:n,renderer:l,errorHandler:o}}function cw(e,t,n,i){const r=_w(n);return Hw(kw.create,Yy,null,[e,t,r,i])}function dw(e,t,n,i){return n=mw.get(t.element.componentProvider.provider.token)||_w(n),Hw(kw.create,Uy,null,[e,t,n,i])}function hw(e,t,n,i){return qf(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===pw.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const i=pw.get(e.token);3840&e.flags&&i&&(t=!0,n=n||i.deprecatedBehavior)}),e.modules.forEach(e=>{fw.forEach((i,r)=>{E(r).providedIn===e&&(t=!0,n=n||i.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t0){let t=new Set(e.modules);fw.forEach((i,r)=>{if(t.has(E(r).providedIn)){let t={token:r,flags:i.flags|(n?4096:0),deps:tf(i.deps),value:i.value,index:e.providers.length};e.providers.push(t),e.providersByKey[jp(r)]=t}})}}(e=e.factory(()=>Lp)),e):e}(i))}const pw=new Map,fw=new Map,mw=new Map;function gw(e){let t;pw.set(e.token,e),"function"==typeof e.token&&(t=E(e.token))&&"function"==typeof t.providedIn&&fw.set(e.token,e)}function vw(e,t){const n=sf(Pf(t)),i=sf(n.nodes[0].element.componentView);mw.set(e,i)}function bw(){pw.clear(),fw.clear(),mw.clear()}function _w(e){if(0===pw.size)return e;const t=function(e){const t=[];let n=null;for(let i=0;iLp);for(let i=0;i"-"+e[1].toLowerCase())}`)]=bs(l))}const i=t.parent,l=Mp(e,i.nodeIndex).renderElement;if(i.element.name)for(let t in n){const i=n[t];null!=i?e.renderer.setAttribute(l,t,i):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var r,s}function Lw(e,t,n,i){Qy(e,t,n,...i)}function Rw(e,t){for(let n=t;n++s===r?e.error.bind(e,...t):Lp),se.width()&&(p=e.width()),f>e.height()&&(f=e.height()),e.parent().is(".minicolors-slider-wheel")&&c.parent().is(".minicolors-grid")&&(i=75-p,r=75-f,o=Math.sqrt(i*i+r*r),(l=Math.atan2(r,i))<0&&(l+=2*Math.PI),o>75&&(o=75,p=75-75*Math.cos(l),f=75-75*Math.sin(l)),p=Math.round(p),f=Math.round(f)),e.is(".minicolors-grid")?c.stop(!0).animate({top:f+"px",left:p+"px"},m,u.animationEasing,(function(){s(a,e)})):c.stop(!0).animate({top:f+"px"},m,u.animationEasing,(function(){s(a,e)}))}function s(e,t){function n(e,t){var n,i;return e.length&&t?(n=e.offset().left,i=e.offset().top,{x:n-t.offset().left+e.outerWidth()/2,y:i-t.offset().top+e.outerHeight()/2}):null}var i,r,s,l,u,c,d,h=e.val(),f=e.attr("data-opacity"),m=e.parent(),g=e.data("minicolors-settings"),v=m.find(".minicolors-input-swatch"),_=m.find(".minicolors-grid"),y=m.find(".minicolors-slider"),w=m.find(".minicolors-opacity-slider"),C=_.find("[class$=-picker]"),x=y.find("[class$=-picker]"),S=w.find("[class$=-picker]"),k=n(C,_),T=n(x,y),E=n(S,w);if(t.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(g.control){case"wheel":l=_.width()/2-k.x,u=_.height()/2-k.y,c=Math.sqrt(l*l+u*u),(d=Math.atan2(u,l))<0&&(d+=2*Math.PI),c>75&&(c=75,k.x=69-75*Math.cos(d),k.y=69-75*Math.sin(d)),r=p(c/.75,0,100),h=b({h:i=p(180*d/Math.PI,0,360),s:r,b:s=p(100-Math.floor(T.y*(100/y.height())),0,100)}),y.css("backgroundColor",b({h:i,s:r,b:100}));break;case"saturation":h=b({h:i=p(parseInt(k.x*(360/_.width()),10),0,360),s:r=p(100-Math.floor(T.y*(100/y.height())),0,100),b:s=p(100-Math.floor(k.y*(100/_.height())),0,100)}),y.css("backgroundColor",b({h:i,s:100,b:s})),m.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":h=b({h:i=p(parseInt(k.x*(360/_.width()),10),0,360),s:r=p(100-Math.floor(k.y*(100/_.height())),0,100),b:s=p(100-Math.floor(T.y*(100/y.height())),0,100)}),y.css("backgroundColor",b({h:i,s:r,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-s/100);break;default:h=b({h:i=p(360-parseInt(T.y*(360/y.height()),10),0,360),s:r=p(Math.floor(k.x*(100/_.width())),0,100),b:s=p(100-Math.floor(k.y*(100/_.height())),0,100)}),_.css("backgroundColor",b({h:i,s:100,b:100}))}o(e,h,f=g.opacity?parseFloat(1-E.y/w.height()).toFixed(2):1)}else v.find("span").css({backgroundColor:h,opacity:f}),a(e,h,f)}function o(e,t,n){var i,r=e.parent(),s=e.data("minicolors-settings"),o=r.find(".minicolors-input-swatch");s.opacity&&e.attr("data-opacity",n),"rgb"===s.format?(i=f(t)?d(t,!0):y(c(t,!0)),n=""===e.attr("data-opacity")?1:p(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),!isNaN(n)&&s.opacity||(n=1),t=e.minicolors("rgbObject").a<=1&&i&&s.opacity?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(n)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"):(f(t)&&(t=g(t)),t=u(t,s.letterCase)),e.val(t),o.find("span").css({backgroundColor:t,opacity:n}),a(e,t,n)}function l(t,n){var i,r,s,o,l,v,y,w,C,x,S=t.parent(),k=t.data("minicolors-settings"),T=S.find(".minicolors-input-swatch"),E=S.find(".minicolors-grid"),M=S.find(".minicolors-slider"),I=S.find(".minicolors-opacity-slider"),D=E.find("[class$=-picker]"),A=M.find("[class$=-picker]"),P=I.find("[class$=-picker]");switch(f(t.val())?(i=g(t.val()),(l=p(parseFloat(m(t.val())).toFixed(2),0,1))&&t.attr("data-opacity",l)):i=u(c(t.val(),!0),k.letterCase),i||(i=u(h(k.defaultValue,!0),k.letterCase)),r=_(i),o=k.keywords?e.map(k.keywords.split(","),(function(t){return e.trim(t.toLowerCase())})):[],v=""!==t.val()&&e.inArray(t.val().toLowerCase(),o)>-1?u(t.val()):f(t.val())?d(t.val()):i,n||t.val(v),k.opacity&&(s=""===t.attr("data-opacity")?1:p(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),isNaN(s)&&(s=1),t.attr("data-opacity",s),T.find("span").css("opacity",s),w=p(I.height()-I.height()*s,0,I.height()),P.css("top",w+"px")),"transparent"===t.val().toLowerCase()&&T.find("span").css("opacity",0),T.find("span").css("backgroundColor",i),k.control){case"wheel":C=p(Math.ceil(.75*r.s),0,E.height()/2),x=r.h*Math.PI/180,y=p(75-Math.cos(x)*C,0,E.width()),w=p(75-Math.sin(x)*C,0,E.height()),D.css({top:w+"px",left:y+"px"}),w=150-r.b/(100/E.height()),""===i&&(w=0),A.css("top",w+"px"),M.css("backgroundColor",b({h:r.h,s:r.s,b:100}));break;case"saturation":y=p(5*r.h/12,0,150),w=p(E.height()-Math.ceil(r.b/(100/E.height())),0,E.height()),D.css({top:w+"px",left:y+"px"}),w=p(M.height()-r.s*(M.height()/100),0,M.height()),A.css("top",w+"px"),M.css("backgroundColor",b({h:r.h,s:100,b:r.b})),S.find(".minicolors-grid-inner").css("opacity",r.s/100);break;case"brightness":y=p(5*r.h/12,0,150),w=p(E.height()-Math.ceil(r.s/(100/E.height())),0,E.height()),D.css({top:w+"px",left:y+"px"}),w=p(M.height()-r.b*(M.height()/100),0,M.height()),A.css("top",w+"px"),M.css("backgroundColor",b({h:r.h,s:r.s,b:100})),S.find(".minicolors-grid-inner").css("opacity",1-r.b/100);break;default:y=p(Math.ceil(r.s/(100/E.width())),0,E.width()),w=p(E.height()-Math.ceil(r.b/(100/E.height())),0,E.height()),D.css({top:w+"px",left:y+"px"}),w=p(M.height()-r.h/(360/M.height()),0,M.height()),A.css("top",w+"px"),E.css("backgroundColor",b({h:r.h,s:100,b:100}))}t.data("minicolors-initialized")&&a(t,v,s)}function a(e,t,n){var i,r,s,o=e.data("minicolors-settings"),l=e.data("minicolors-lastChange");if(!l||l.value!==t||l.opacity!==n){if(e.data("minicolors-lastChange",{value:t,opacity:n}),o.swatches&&0!==o.swatches.length){for(i=f(t)?d(t,!0):y(t),r=-1,s=0;sn&&(e=n),e}function f(e){var t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!t||4!==t.length)}function m(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i))&&6===e.length?e[4]:"1"}function g(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}function v(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return e.each(n,(function(e,t){1===t.length&&(n[e]="0"+t)})),"#"+n.join("")}function b(e){return v(function(e){var t={},n=Math.round(e.h),i=Math.round(255*e.s/100),r=Math.round(255*e.b/100);if(0===i)t.r=t.g=t.b=r;else{var s=r,o=(255-i)*r/255,l=n%60*(s-o)/60;360===n&&(n=0),n<60?(t.r=s,t.b=o,t.g=o+l):n<120?(t.g=s,t.b=o,t.r=s-l):n<180?(t.g=s,t.r=o,t.b=o+l):n<240?(t.b=s,t.r=o,t.g=s-l):n<300?(t.b=s,t.g=o,t.r=o+l):n<360?(t.r=s,t.g=o,t.b=s-l):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}(e))}function _(e){var t=function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),r=i-n;return t.b=i,t.s=0!==i?255*r/i:0,t.h=0!==t.s?e.r===i?(e.g-e.b)/r:e.g===i?2+(e.b-e.r)/r:4+(e.r-e.g)/r:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}(y(e));return 0===t.s&&(t.h=360),t}function y(e){return{r:(e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16))>>16,g:(65280&e)>>8,b:255&e}}e.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default",swatches:[]}},e.extend(e.fn,{minicolors:function(r,s){switch(r){case"destroy":return e(this).each((function(){t(e(this))})),e(this);case"hide":return i(),e(this);case"opacity":return void 0===s?e(this).attr("data-opacity"):(e(this).each((function(){l(e(this).attr("data-opacity",s))})),e(this));case"rgbObject":return function(t){var n,i=e(t).attr("data-opacity");return(n=f(e(t).val())?d(e(t).val(),!0):y(c(e(t).val(),!0)))?(void 0!==i&&e.extend(n,{a:parseFloat(i)}),n):null}(e(this));case"rgbString":case"rgbaString":return function(t,n){var i,r=e(t).attr("data-opacity");return(i=f(e(t).val())?d(e(t).val(),!0):y(c(e(t).val(),!0)))?(void 0===r&&(r=1),n?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(r)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"):null}(e(this),"rgbaString"===r);case"settings":return void 0===s?e(this).data("minicolors-settings"):(e(this).each((function(){var n=e(this).data("minicolors-settings")||{};t(e(this)),e(this).minicolors(e.extend(!0,n,s))})),e(this));case"show":return n(e(this).eq(0)),e(this);case"value":return void 0===s?e(this).val():(e(this).each((function(){"object"==typeof s&&"null"!==s?(s.opacity&&e(this).attr("data-opacity",p(s.opacity,0,1)),s.color&&e(this).val(s.color)):e(this).val(s),l(e(this))})),e(this));default:return"create"!==r&&(s=r),e(this).each((function(){!function(t,n){var i,r,s,o,a,u=e('

'),h=e.minicolors.defaults;if(!t.data("minicolors-initialized")){if(n=e.extend(!0,{},h,n),u.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity),void 0!==n.position&&e.each(n.position.split(" "),(function(){u.addClass("minicolors-position-"+this)})),i="rgb"===n.format?n.opacity?"25":"20":n.keywords?"11":"7",t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",i).wrap(u).after('
'),n.inline||(t.after(''),t.next(".minicolors-input-swatch").on("click",(function(e){e.preventDefault(),t.focus()}))),(o=t.parent().find(".minicolors-panel")).on("selectstart",(function(){return!1})).end(),n.swatches&&0!==n.swatches.length)for(o.addClass("minicolors-with-swatches"),r=e('
    ').appendTo(o),a=0;a').appendTo(r).data("swatch-color",n.swatches[a]).find(".minicolors-swatch-color").css({backgroundColor:v(s),opacity:s.a}),n.swatches[a]=s;n.inline&&t.parent().addClass("minicolors-inline"),l(t,!1),t.data("minicolors-initialized",!0)}}(e(this),s)})),e(this)}}}),e([document,top.document]).on("mousedown.minicolors touchstart.minicolors",(function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||i()})).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",(function(t){var n=e(this);t.preventDefault(),e(t.delegateTarget).data("minicolors-target",n),r(n,t,!0)})).on("mousemove.minicolors touchmove.minicolors",(function(t){var n=e(t.delegateTarget).data("minicolors-target");n&&r(n,t)})).on("mouseup.minicolors touchend.minicolors",(function(){e(this).removeData("minicolors-target")})).on("click.minicolors",".minicolors-swatches li",(function(t){t.preventDefault();var n=e(this),i=n.parents(".minicolors").find(".minicolors-input"),r=n.data("swatch-color");o(i,r,m(r)),l(i)})).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",(function(t){var i=e(this).parent().find(".minicolors-input");t.preventDefault(),n(i)})).on("focus.minicolors",".minicolors-input",(function(){var t=e(this);t.data("minicolors-initialized")&&n(t)})).on("blur.minicolors",".minicolors-input",(function(){var t,n,i,r,s,o=e(this),l=o.data("minicolors-settings");o.data("minicolors-initialized")&&(t=l.keywords?e.map(l.keywords.split(","),(function(t){return e.trim(t.toLowerCase())})):[],s=""!==o.val()&&e.inArray(o.val().toLowerCase(),t)>-1?o.val():null===(i=f(o.val())?d(o.val(),!0):(n=c(o.val(),!0))?y(n):null)?l.defaultValue:"rgb"===l.format?d(l.opacity?"rgba("+i.r+","+i.g+","+i.b+","+o.attr("data-opacity")+")":"rgb("+i.r+","+i.g+","+i.b+")"):v(i),r=l.opacity?o.attr("data-opacity"):1,"transparent"===s.toLowerCase()&&(r=0),o.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",r),o.val(s),""===o.val()&&o.val(h(l.defaultValue,!0)),o.val(u(o.val(),l.letterCase)))})).on("keydown.minicolors",".minicolors-input",(function(t){var n=e(this);if(n.data("minicolors-initialized"))switch(t.keyCode){case 9:i();break;case 13:case 27:i(),n.blur()}})).on("keyup.minicolors",".minicolors-input",(function(){var t=e(this);t.data("minicolors-initialized")&&l(t,!0)})).on("paste.minicolors",".minicolors-input",(function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout((function(){l(t,!0)}),1)}))})?i.apply(t,r):i)||(e.exports=s)},"8pnh":function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("y2i3"),o=n("zKHA"),l=n("AJP0"),a=n("9jZZ"),u=n("Irel");t.windowToggle=function(e,t){return function(n){return n.lift(new c(e,t))}};var c=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.openings,this.closingSelector))},e}(),d=function(e){function t(t,n,i){e.call(this,t),this.openings=n,this.closingSelector=i,this.contexts=[],this.add(this.openSubscription=u.subscribeToResult(this,n,n))}return i(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var n=t.length,i=0;i0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,i):t.flush(this)},t}(r.AsyncAction)},"8x9D":function(e,t,n){var i=n("mrSG").__extends,r=n("AZf1");t.ScalarObservable=function(e){function t(t,n){e.call(this),this.value=t,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return i(t,e),t.create=function(e,n){return new t(e,n)},t.dispatch=function(e){var t=e.value,n=e.subscriber;e.done?n.complete():(n.next(t),n.closed||(e.done=!0,this.schedule(e)))},t.prototype._subscribe=function(e){var n=this.value,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{done:!1,value:n,subscriber:e});e.next(n),e.closed||e.complete()},t}(r.Observable)},"9BwH":function(e,t,n){var i=n("mrSG").__extends,r=n("Re0n"),s=n("hut+"),o=n("1uGz"),l=n("4qOA");t.timeout=function(e,t){void 0===t&&(t=r.async);var n=s.isDate(e),i=n?+e-t.now():Math.abs(e);return function(e){return e.lift(new a(i,n,t,new l.TimeoutError))}};var a=function(){function e(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.scheduler=n,this.errorInstance=i}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.absoluteTimeout,this.waitFor,this.scheduler,this.errorInstance))},e}(),u=function(e){function t(t,n,i,r,s){e.call(this,t),this.absoluteTimeout=n,this.waitFor=i,this.scheduler=r,this.errorInstance=s,this.action=null,this.scheduleTimeout()}return i(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,n){"use strict";var i=n("+fDQ");t.from=i.FromObservable.create},"9f5F":function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"g",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return o})),n.d(t,"F",(function(){return l})),n.d(t,"a",(function(){return a})),n.d(t,"C",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"G",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"E",(function(){return p})),n.d(t,"z",(function(){return f})),n.d(t,"A",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"D",(function(){return v})),n.d(t,"k",(function(){return b})),n.d(t,"l",(function(){return _})),n.d(t,"x",(function(){return y})),n.d(t,"o",(function(){return w})),n.d(t,"j",(function(){return C})),n.d(t,"m",(function(){return x})),n.d(t,"p",(function(){return S})),n.d(t,"q",(function(){return k})),n.d(t,"r",(function(){return T})),n.d(t,"t",(function(){return E})),n.d(t,"u",(function(){return M})),n.d(t,"n",(function(){return I})),n.d(t,"v",(function(){return D})),n.d(t,"w",(function(){return A})),n.d(t,"H",(function(){return P})),n.d(t,"s",(function(){return O})),n.d(t,"y",(function(){return L})),n.d(t,"b",(function(){return R})),n.d(t,"B",(function(){return j}));const i="https://api.idigisign.com/rest",r="https://signing-api.idigisign.com/rest",s="api.idigisign.com",o="signing-api.idigisign.com",l="http://www.idigisign.com",a="https://app.idigisign.com",u=0,c="/assets/layouts/layout2/img/default-avatar.svg",d="/assets/layouts/layout2/img/default-stamp.svg",h=20,p=5,f="/assets/global/img/ring.svg",m="/assets/global/img/loaderror.png",g=["Current valid (signed) full EU Passport","Current valid (signed) non EU Passport","Current valid National ID card (non UK Nationals)","Current Full UK Driving Licence","Current UK / EU Photocard Driving Licence with Counterpart","Current Firearms/Shotgun Certificate","Current State Pension notification letter","Current Benefits Agency letter","Current years HMRC Tax Code Notification","Current Blue Disabled Drivers Pass","Identity Card by Electoral Office of Northern Ireland","Mortgage Statement or Mortgage Redemption Statement","Recent Utility Bill \u2013 Gas, Electricity, Water, Telephone (Not mobile phones)","Current Council Tax Bill","House or motor insurance certificate","Current State Pension notification letter","Current Benefits Agency letter","Bank / Building Society / Statement","Solicitor letter confirming completion of house purchase","Credit Card Statements from main provider","HMRC Tax notification documentation (this does not include P60\u2019s)","Account, investment or insurance documents","Letter from Council Confirming Electoral Roll Listing","Utility bill (gas, electric, satellite television, landline phone bill) issued within the last three months","Local authority council tax bill for the current council tax year","Current UK driving licence (but only if not used for the name evidence)","Bank, Building Society or Credit Union statement or passbook dated within the last three months","Original mortgage statement from a recognised lender issued for the last full year","Solicitors letter within the last three months confirming recent house purchase or land registry confirmation of address","Council or housing association rent card or tenancy agreement for the current year","Benefit book or original notification letter from Benefits Agency (but not if used as proof of name)","HMRC self-assessment letters or tax demand dated within the current financial year","Electoral Register entry","NHS Medical card or letter of confirmation from GP\u2019s practice of registration with the surgery"],v=["#706D78","#57AE9E","#FFBE55","#FF765D","#686EE7","#7BAD42","#C0815A","#713A5A","#51638F","#7D8E52"],b=300/72,_=540,y=60,w=6,C=6,x=2,S=10,k=10,T=10,E=1200,M=300,I=20,D=0,A=1,P=1e3,O=745,L="https://geoip.nekudo.com/api/",R=["nw","ne","sw","se","n","s","e","w"],j=(e,t,n,i)=>0===e?t:e===i?t+n:(e/=i/2)<1?n/2*Math.pow(2,10*(e-1))+t:n/2*(2-Math.pow(2,-10*--e))+t},"9jZZ":function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.OuterSubscriber=function(e){function t(){e.apply(this,arguments)}return i(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r.Subscriber)},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9pzv":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=['.m-grid.m-grid-demo .m-grid-col.modal-m-grid{border:none;background:0 0;height:400px}.m-grid.m-grid-demo .m-grid-col.button-m-grid{border:none;background:0 0}.mt-card-item .mt-card-avatar .page-thumbnail{position:relative;height:350px;background-clip:padding-box;border:4px solid rgba(255,255,255,.2);border-radius:6px!important;box-shadow:0 0 1px rgba(255,255,255,.8),0 0 3px rgba(40,41,42,.5),1px 1px 0 rgba(0,0,0,.1) inset,-1px -1px 0 rgba(0,0,0,.1) inset;padding:4px;display:flex;flex-direction:column;justify-content:center}.mt-card-item .mt-card-avatar .page-thumbnail-no-border{position:relative;height:350px;background-clip:padding-box;border:none;padding:4px;display:flex;flex-direction:column;justify-content:center}.btn-roundless-bg-template{padding:10px 20px!important;border-left:none;border-right:none}.btn-roundless-bg{padding:10px 20px!important}.btn-group-roundless-first{padding:10px 20px!important;border-bottom-left-radius:4px!important;border-top-left-radius:4px!important}.btn-group-roundless-last{padding:10px 20px!important;border-bottom-right-radius:4px!important;border-top-right-radius:4px!important}.hr-darker{border:0;border-top:1px solid #d6d6d6;border-bottom:0}.dropdown-menu>li>a>[class*=" icon-"],.dropdown-menu>li>a>[class^=icon-]{color:#888}.general-title-portlet{margin-bottom:-20px!important}.general-second-portlet{border-top-left-radius:0!important;border-top-right-radius:0!important}']},"9qht":function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c}));var i=n("8Y7J"),r=n("xgIS"),s=n("cp0P"),o=n("IzEk");const l=23;class a{constructor(e,t){this.renderer=t,this.miniFabVisible=!1,this._parent=e.get(u)}ngAfterContentInit(){this._buttons.changes.subscribe(()=>{this.initButtonStates(),this._parent.setActionsVisibility()}),this.initButtonStates()}initButtonStates(){this._buttons.forEach((e,t)=>{this.renderer.addClass(e._getHostElement(),"eco-fab-action-item"),this.changeElementStyle(e._getHostElement(),"z-index",""+(l-t))})}show(){this._buttons&&(this.resetAnimationState(),this.miniFabVisible=!0,this.showMiniFabAnimation=setTimeout(()=>{this._buttons.forEach((e,t)=>{let n,i=0;"scale"===this._parent.animationMode?(i=3+65*t,n="scale(1)"):n=this.getTranslateFunction("0");const r=e._getHostElement();this.changeElementStyle(r,"transition-delay",i+"ms"),this.changeElementStyle(r,"opacity","1"),this.changeElementStyle(r,"transform",n)})},50))}resetAnimationState(){clearTimeout(this.showMiniFabAnimation),this.hideMiniFab&&(this.hideMiniFab.unsubscribe(),this.hideMiniFab=null)}hide(){if(!this._buttons)return;this.resetAnimationState();const e=this._buttons.map((e,t)=>{let n,i="1",s=0;"scale"===this._parent.animationMode?(s=3-65*t,n="scale(0)",i="0"):n=this.getTranslateFunction(55*(t+1)-5*t+"px");const l=e._getHostElement();return this.changeElementStyle(l,"transition-delay",s+"ms"),this.changeElementStyle(l,"opacity",i),this.changeElementStyle(l,"transform",n),Object(r.a)(l,"transitionend").pipe(Object(o.a)(1))});this.hideMiniFab=Object(s.a)(e).subscribe(()=>this.miniFabVisible=!1)}getTranslateFunction(e){const t=this._parent.direction;return("up"===t||"down"===t?"translateY":"translateX")+"("+("down"===t||"right"===t?"-":"")+e+")"}changeElementStyle(e,t,n){this.renderer.setStyle(e,t,n)}}class u{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.document=n,this.isInitialized=!1,this._direction="up",this._open=!1,this._animationMode="fling",this._fixed=!1,this._documentClickUnlistener=null,this.openChange=new i.EventEmitter}get fixed(){return this._fixed}set fixed(e){this._fixed=e,this._processOutsideClickState()}get open(){return this._open}set open(e){const t=this._open;this._open=e,t!==this._open&&(this.openChange.emit(this._open),this.isInitialized&&this.setActionsVisibility())}get direction(){return this._direction}set direction(e){const t=this._direction;this._direction=e,t!==this.direction&&(this._setElementClass(t,!1),this._setElementClass(this.direction,!0),this.isInitialized&&this.setActionsVisibility())}get animationMode(){return this._animationMode}set animationMode(e){const t=this._animationMode;this._animationMode=e,t!==this._animationMode&&(this._setElementClass(t,!1),this._setElementClass(this.animationMode,!0),this.isInitialized&&Promise.resolve(null).then(()=>this.open=!1))}ngAfterContentInit(){this.isInitialized=!0,this.setActionsVisibility(),this._setElementClass(this.direction,!0),this._setElementClass(this.animationMode,!0)}ngOnDestroy(){this._unsetDocumentClickListener()}toggle(){this.open=!this.open}_onClick(){!this.fixed&&this.open&&(this.open=!1)}setActionsVisibility(){this._childActions&&(this.open?this._childActions.show():this._childActions.hide(),this._processOutsideClickState())}_setElementClass(e,t){const n=`eco-${e}`;t?this.renderer.addClass(this.elementRef.nativeElement,n):this.renderer.removeClass(this.elementRef.nativeElement,n)}_processOutsideClickState(){!this.fixed&&this.open?this._setDocumentClickListener():this._unsetDocumentClickListener()}_setDocumentClickListener(){this._documentClickUnlistener||(this._documentClickUnlistener=this.renderer.listen(this.document,"click",()=>{this.open=!1}))}_unsetDocumentClickListener(){this._documentClickUnlistener&&(this._documentClickUnlistener(),this._documentClickUnlistener=null)}}class c{constructor(e){this.spin=!1,this._parent=e.get(u)}get sp(){return this.spin}_onClick(e){this._parent.fixed||(this._parent.toggle(),e.stopPropagation())}}class d{}},"9rRi":function(e,t,n){!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}})}(n("wd/R"))},"9scd":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=["#pre-bootstrap-other{background-color:#0069ff;bottom:0;left:0;position:fixed;right:0;top:0;z-index:999999;display:flex;flex-direction:column;justify-content:center;align-items:center}#pre-bootstrap-other img.logo-default{width:150px;position:absolute;left:50%;margin-left:-75px}#pre-bootstrap-other div.spinner{margin-top:140px;width:50px;height:40px;text-align:center;font-size:10px}#pre-bootstrap-other div.spinner>div{background-color:#fff;height:100%;width:6px;display:inline-block;-webkit-animation:1.2s ease-in-out infinite sk-stretchdelay;animation:1.2s ease-in-out infinite sk-stretchdelay}#pre-bootstrap-other div.spinner .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}#pre-bootstrap-other div.spinner .rect3{-webkit-animation-delay:-1s;animation-delay:-1s}#pre-bootstrap-other div.spinner .rect4{-webkit-animation-delay:-.9s;animation-delay:-.9s}#pre-bootstrap-other div.spinner .rect5{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes sk-stretchdelay{0%,100%,40%{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,100%,40%{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}.copy-button-fix{padding:1px 5px!important;font-size:12px!important;line-height:1.5!important;border-radius:3px!important}"]},"9x29":function(e,t,n){"use strict";var i=n("AZf1");t.Notification=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return i.Observable.of(this.value);case"E":return i.Observable.throw(this.error);case"C":return i.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,n){!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}})}(n("wd/R"))},"A/ap":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),i.hasSupport=e}}};i.update(),t.default=i},A0iX:function(e,t,n){"use strict";var i=n("0p2S");t.concatAll=function(){return i.mergeAll(1)}},ABAE:function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.pairwise=function(){return function(e){return e.lift(new s)}};var s=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 i(t,e),t.prototype._next=function(e){this.hasPrev?this.destination.next([this.prev,e]):this.hasPrev=!0,this.prev=e},t}(r.Subscriber)},ADKO:function(e,t,n){e.exports=function(){"use strict";function t(){return"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope||void 0===e||"undefined"!=typeof window}function n(e){return"https://"+e+".dropboxapi.com/2/"}function i(e){return JSON.stringify(e).replace(/[\u007f-\uffff]/g,(function(e){return"\\u"+("000"+e.charCodeAt(0).toString(16)).slice(-4)}))}function r(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}for(var s={authTokenFromOauth1:function(e){return this.request("auth/token/from_oauth1",e,"app","api","rpc")},authTokenRevoke:function(e){return this.request("auth/token/revoke",e,"user","api","rpc")},contactsDeleteManualContacts:function(e){return this.request("contacts/delete_manual_contacts",e,"user","api","rpc")},contactsDeleteManualContactsBatch:function(e){return this.request("contacts/delete_manual_contacts_batch",e,"user","api","rpc")},filePropertiesPropertiesAdd:function(e){return this.request("file_properties/properties/add",e,"user","api","rpc")},filePropertiesPropertiesOverwrite:function(e){return this.request("file_properties/properties/overwrite",e,"user","api","rpc")},filePropertiesPropertiesRemove:function(e){return this.request("file_properties/properties/remove",e,"user","api","rpc")},filePropertiesPropertiesSearch:function(e){return this.request("file_properties/properties/search",e,"user","api","rpc")},filePropertiesPropertiesSearchContinue:function(e){return this.request("file_properties/properties/search/continue",e,"user","api","rpc")},filePropertiesPropertiesUpdate:function(e){return this.request("file_properties/properties/update",e,"user","api","rpc")},filePropertiesTemplatesAddForTeam:function(e){return this.request("file_properties/templates/add_for_team",e,"team","api","rpc")},filePropertiesTemplatesAddForUser:function(e){return this.request("file_properties/templates/add_for_user",e,"user","api","rpc")},filePropertiesTemplatesGetForTeam:function(e){return this.request("file_properties/templates/get_for_team",e,"team","api","rpc")},filePropertiesTemplatesGetForUser:function(e){return this.request("file_properties/templates/get_for_user",e,"user","api","rpc")},filePropertiesTemplatesListForTeam:function(e){return this.request("file_properties/templates/list_for_team",e,"team","api","rpc")},filePropertiesTemplatesListForUser:function(e){return this.request("file_properties/templates/list_for_user",e,"user","api","rpc")},filePropertiesTemplatesRemoveForTeam:function(e){return this.request("file_properties/templates/remove_for_team",e,"team","api","rpc")},filePropertiesTemplatesRemoveForUser:function(e){return this.request("file_properties/templates/remove_for_user",e,"user","api","rpc")},filePropertiesTemplatesUpdateForTeam:function(e){return this.request("file_properties/templates/update_for_team",e,"team","api","rpc")},filePropertiesTemplatesUpdateForUser:function(e){return this.request("file_properties/templates/update_for_user",e,"user","api","rpc")},fileRequestsCount:function(e){return this.request("file_requests/count",e,"user","api","rpc")},fileRequestsCreate:function(e){return this.request("file_requests/create",e,"user","api","rpc")},fileRequestsDelete:function(e){return this.request("file_requests/delete",e,"user","api","rpc")},fileRequestsDeleteAllClosed:function(e){return this.request("file_requests/delete_all_closed",e,"user","api","rpc")},fileRequestsGet:function(e){return this.request("file_requests/get",e,"user","api","rpc")},fileRequestsListV2:function(e){return this.request("file_requests/list_v2",e,"user","api","rpc")},fileRequestsList:function(e){return this.request("file_requests/list",e,"user","api","rpc")},fileRequestsListContinue:function(e){return this.request("file_requests/list/continue",e,"user","api","rpc")},fileRequestsUpdate:function(e){return this.request("file_requests/update",e,"user","api","rpc")},filesAlphaGetMetadata:function(e){return this.request("files/alpha/get_metadata",e,"user","api","rpc")},filesAlphaUpload:function(e){return this.request("files/alpha/upload",e,"user","content","upload")},filesCopyV2:function(e){return this.request("files/copy_v2",e,"user","api","rpc")},filesCopy:function(e){return this.request("files/copy",e,"user","api","rpc")},filesCopyBatchV2:function(e){return this.request("files/copy_batch_v2",e,"user","api","rpc")},filesCopyBatch:function(e){return this.request("files/copy_batch",e,"user","api","rpc")},filesCopyBatchCheckV2:function(e){return this.request("files/copy_batch/check_v2",e,"user","api","rpc")},filesCopyBatchCheck:function(e){return this.request("files/copy_batch/check",e,"user","api","rpc")},filesCopyReferenceGet:function(e){return this.request("files/copy_reference/get",e,"user","api","rpc")},filesCopyReferenceSave:function(e){return this.request("files/copy_reference/save",e,"user","api","rpc")},filesCreateFolderV2:function(e){return this.request("files/create_folder_v2",e,"user","api","rpc")},filesCreateFolder:function(e){return this.request("files/create_folder",e,"user","api","rpc")},filesCreateFolderBatch:function(e){return this.request("files/create_folder_batch",e,"user","api","rpc")},filesCreateFolderBatchCheck:function(e){return this.request("files/create_folder_batch/check",e,"user","api","rpc")},filesDeleteV2:function(e){return this.request("files/delete_v2",e,"user","api","rpc")},filesDelete:function(e){return this.request("files/delete",e,"user","api","rpc")},filesDeleteBatch:function(e){return this.request("files/delete_batch",e,"user","api","rpc")},filesDeleteBatchCheck:function(e){return this.request("files/delete_batch/check",e,"user","api","rpc")},filesDownload:function(e){return this.request("files/download",e,"user","content","download")},filesDownloadZip:function(e){return this.request("files/download_zip",e,"user","content","download")},filesExport:function(e){return this.request("files/export",e,"user","content","download")},filesGetMetadata:function(e){return this.request("files/get_metadata",e,"user","api","rpc")},filesGetPreview:function(e){return this.request("files/get_preview",e,"user","content","download")},filesGetTemporaryLink:function(e){return this.request("files/get_temporary_link",e,"user","api","rpc")},filesGetTemporaryUploadLink:function(e){return this.request("files/get_temporary_upload_link",e,"user","api","rpc")},filesGetThumbnail:function(e){return this.request("files/get_thumbnail",e,"user","content","download")},filesGetThumbnailBatch:function(e){return this.request("files/get_thumbnail_batch",e,"user","content","rpc")},filesListFolder:function(e){return this.request("files/list_folder",e,"user","api","rpc")},filesListFolderContinue:function(e){return this.request("files/list_folder/continue",e,"user","api","rpc")},filesListFolderGetLatestCursor:function(e){return this.request("files/list_folder/get_latest_cursor",e,"user","api","rpc")},filesListFolderLongpoll:function(e){return this.request("files/list_folder/longpoll",e,"noauth","notify","rpc")},filesListRevisions:function(e){return this.request("files/list_revisions",e,"user","api","rpc")},filesMoveV2:function(e){return this.request("files/move_v2",e,"user","api","rpc")},filesMove:function(e){return this.request("files/move",e,"user","api","rpc")},filesMoveBatchV2:function(e){return this.request("files/move_batch_v2",e,"user","api","rpc")},filesMoveBatch:function(e){return this.request("files/move_batch",e,"user","api","rpc")},filesMoveBatchCheckV2:function(e){return this.request("files/move_batch/check_v2",e,"user","api","rpc")},filesMoveBatchCheck:function(e){return this.request("files/move_batch/check",e,"user","api","rpc")},filesPermanentlyDelete:function(e){return this.request("files/permanently_delete",e,"user","api","rpc")},filesPropertiesAdd:function(e){return this.request("files/properties/add",e,"user","api","rpc")},filesPropertiesOverwrite:function(e){return this.request("files/properties/overwrite",e,"user","api","rpc")},filesPropertiesRemove:function(e){return this.request("files/properties/remove",e,"user","api","rpc")},filesPropertiesTemplateGet:function(e){return this.request("files/properties/template/get",e,"user","api","rpc")},filesPropertiesTemplateList:function(e){return this.request("files/properties/template/list",e,"user","api","rpc")},filesPropertiesUpdate:function(e){return this.request("files/properties/update",e,"user","api","rpc")},filesRestore:function(e){return this.request("files/restore",e,"user","api","rpc")},filesSaveUrl:function(e){return this.request("files/save_url",e,"user","api","rpc")},filesSaveUrlCheckJobStatus:function(e){return this.request("files/save_url/check_job_status",e,"user","api","rpc")},filesSearch:function(e){return this.request("files/search",e,"user","api","rpc")},filesUpload:function(e){return this.request("files/upload",e,"user","content","upload")},filesUploadSessionAppendV2:function(e){return this.request("files/upload_session/append_v2",e,"user","content","upload")},filesUploadSessionAppend:function(e){return this.request("files/upload_session/append",e,"user","content","upload")},filesUploadSessionFinish:function(e){return this.request("files/upload_session/finish",e,"user","content","upload")},filesUploadSessionFinishBatch:function(e){return this.request("files/upload_session/finish_batch",e,"user","api","rpc")},filesUploadSessionFinishBatchCheck:function(e){return this.request("files/upload_session/finish_batch/check",e,"user","api","rpc")},filesUploadSessionStart:function(e){return this.request("files/upload_session/start",e,"user","content","upload")},paperDocsArchive:function(e){return this.request("paper/docs/archive",e,"user","api","rpc")},paperDocsCreate:function(e){return this.request("paper/docs/create",e,"user","api","upload")},paperDocsDownload:function(e){return this.request("paper/docs/download",e,"user","api","download")},paperDocsFolderUsersList:function(e){return this.request("paper/docs/folder_users/list",e,"user","api","rpc")},paperDocsFolderUsersListContinue:function(e){return this.request("paper/docs/folder_users/list/continue",e,"user","api","rpc")},paperDocsGetFolderInfo:function(e){return this.request("paper/docs/get_folder_info",e,"user","api","rpc")},paperDocsList:function(e){return this.request("paper/docs/list",e,"user","api","rpc")},paperDocsListContinue:function(e){return this.request("paper/docs/list/continue",e,"user","api","rpc")},paperDocsPermanentlyDelete:function(e){return this.request("paper/docs/permanently_delete",e,"user","api","rpc")},paperDocsSharingPolicyGet:function(e){return this.request("paper/docs/sharing_policy/get",e,"user","api","rpc")},paperDocsSharingPolicySet:function(e){return this.request("paper/docs/sharing_policy/set",e,"user","api","rpc")},paperDocsUpdate:function(e){return this.request("paper/docs/update",e,"user","api","upload")},paperDocsUsersAdd:function(e){return this.request("paper/docs/users/add",e,"user","api","rpc")},paperDocsUsersList:function(e){return this.request("paper/docs/users/list",e,"user","api","rpc")},paperDocsUsersListContinue:function(e){return this.request("paper/docs/users/list/continue",e,"user","api","rpc")},paperDocsUsersRemove:function(e){return this.request("paper/docs/users/remove",e,"user","api","rpc")},sharingAddFileMember:function(e){return this.request("sharing/add_file_member",e,"user","api","rpc")},sharingAddFolderMember:function(e){return this.request("sharing/add_folder_member",e,"user","api","rpc")},sharingChangeFileMemberAccess:function(e){return this.request("sharing/change_file_member_access",e,"user","api","rpc")},sharingCheckJobStatus:function(e){return this.request("sharing/check_job_status",e,"user","api","rpc")},sharingCheckRemoveMemberJobStatus:function(e){return this.request("sharing/check_remove_member_job_status",e,"user","api","rpc")},sharingCheckShareJobStatus:function(e){return this.request("sharing/check_share_job_status",e,"user","api","rpc")},sharingCreateSharedLink:function(e){return this.request("sharing/create_shared_link",e,"user","api","rpc")},sharingCreateSharedLinkWithSettings:function(e){return this.request("sharing/create_shared_link_with_settings",e,"user","api","rpc")},sharingGetFileMetadata:function(e){return this.request("sharing/get_file_metadata",e,"user","api","rpc")},sharingGetFileMetadataBatch:function(e){return this.request("sharing/get_file_metadata/batch",e,"user","api","rpc")},sharingGetFolderMetadata:function(e){return this.request("sharing/get_folder_metadata",e,"user","api","rpc")},sharingGetSharedLinkFile:function(e){return this.request("sharing/get_shared_link_file",e,"user","content","download")},sharingGetSharedLinkMetadata:function(e){return this.request("sharing/get_shared_link_metadata",e,"user","api","rpc")},sharingGetSharedLinks:function(e){return this.request("sharing/get_shared_links",e,"user","api","rpc")},sharingListFileMembers:function(e){return this.request("sharing/list_file_members",e,"user","api","rpc")},sharingListFileMembersBatch:function(e){return this.request("sharing/list_file_members/batch",e,"user","api","rpc")},sharingListFileMembersContinue:function(e){return this.request("sharing/list_file_members/continue",e,"user","api","rpc")},sharingListFolderMembers:function(e){return this.request("sharing/list_folder_members",e,"user","api","rpc")},sharingListFolderMembersContinue:function(e){return this.request("sharing/list_folder_members/continue",e,"user","api","rpc")},sharingListFolders:function(e){return this.request("sharing/list_folders",e,"user","api","rpc")},sharingListFoldersContinue:function(e){return this.request("sharing/list_folders/continue",e,"user","api","rpc")},sharingListMountableFolders:function(e){return this.request("sharing/list_mountable_folders",e,"user","api","rpc")},sharingListMountableFoldersContinue:function(e){return this.request("sharing/list_mountable_folders/continue",e,"user","api","rpc")},sharingListReceivedFiles:function(e){return this.request("sharing/list_received_files",e,"user","api","rpc")},sharingListReceivedFilesContinue:function(e){return this.request("sharing/list_received_files/continue",e,"user","api","rpc")},sharingListSharedLinks:function(e){return this.request("sharing/list_shared_links",e,"user","api","rpc")},sharingModifySharedLinkSettings:function(e){return this.request("sharing/modify_shared_link_settings",e,"user","api","rpc")},sharingMountFolder:function(e){return this.request("sharing/mount_folder",e,"user","api","rpc")},sharingRelinquishFileMembership:function(e){return this.request("sharing/relinquish_file_membership",e,"user","api","rpc")},sharingRelinquishFolderMembership:function(e){return this.request("sharing/relinquish_folder_membership",e,"user","api","rpc")},sharingRemoveFileMember:function(e){return this.request("sharing/remove_file_member",e,"user","api","rpc")},sharingRemoveFileMember2:function(e){return this.request("sharing/remove_file_member_2",e,"user","api","rpc")},sharingRemoveFolderMember:function(e){return this.request("sharing/remove_folder_member",e,"user","api","rpc")},sharingRevokeSharedLink:function(e){return this.request("sharing/revoke_shared_link",e,"user","api","rpc")},sharingSetAccessInheritance:function(e){return this.request("sharing/set_access_inheritance",e,"user","api","rpc")},sharingShareFolder:function(e){return this.request("sharing/share_folder",e,"user","api","rpc")},sharingTransferFolder:function(e){return this.request("sharing/transfer_folder",e,"user","api","rpc")},sharingUnmountFolder:function(e){return this.request("sharing/unmount_folder",e,"user","api","rpc")},sharingUnshareFile:function(e){return this.request("sharing/unshare_file",e,"user","api","rpc")},sharingUnshareFolder:function(e){return this.request("sharing/unshare_folder",e,"user","api","rpc")},sharingUpdateFileMember:function(e){return this.request("sharing/update_file_member",e,"user","api","rpc")},sharingUpdateFolderMember:function(e){return this.request("sharing/update_folder_member",e,"user","api","rpc")},sharingUpdateFolderPolicy:function(e){return this.request("sharing/update_folder_policy",e,"user","api","rpc")},teamLogGetEvents:function(e){return this.request("team_log/get_events",e,"team","api","rpc")},teamLogGetEventsContinue:function(e){return this.request("team_log/get_events/continue",e,"team","api","rpc")},usersGetAccount:function(e){return this.request("users/get_account",e,"user","api","rpc")},usersGetAccountBatch:function(e){return this.request("users/get_account_batch",e,"user","api","rpc")},usersGetCurrentAccount:function(e){return this.request("users/get_current_account",e,"user","api","rpc")},usersGetSpaceUsage:function(e){return this.request("users/get_space_usage",e,"user","api","rpc")}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},l=function(){function e(e,t){for(var n=0;t.length>n;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,s=void 0;try{for(var o,l=e[Symbol.iterator]();!(i=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(e){r=!0,s=e}finally{try{!i&&l.return&&l.return()}finally{if(r)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=[],h=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=0;64>m;++m)d[m]=f[m],h[f.charCodeAt(m)]=m;h[45]=62,h[95]=63;var g={byteLength:function(e){return 3*e.length/4-r(e)},toByteArray:function(e){var t,n,i,s,o,l=e.length;s=r(e),o=new p(3*l/4-s),n=s>0?l-4:l;var a=0;for(t=0;n>t;t+=4)i=h[e.charCodeAt(t)]<<18|h[e.charCodeAt(t+1)]<<12|h[e.charCodeAt(t+2)]<<6|h[e.charCodeAt(t+3)],o[a++]=i>>16&255,o[a++]=i>>8&255,o[a++]=255&i;return 2===s?(i=h[e.charCodeAt(t)]<<2|h[e.charCodeAt(t+1)]>>4,o[a++]=255&i):1===s&&(i=h[e.charCodeAt(t)]<<10|h[e.charCodeAt(t+1)]<<4|h[e.charCodeAt(t+2)]>>2,o[a++]=i>>8&255,o[a++]=255&i),o},fromByteArray:function(e){for(var t,n=e.length,i=n%3,r="",s=[],o=0,l=n-i;l>o;o+=16383)s.push(function(e,t,n){for(var i=[],r=t;n>r;r+=3)i.push(function(e){return d[e>>18&63]+d[e>>12&63]+d[e>>6&63]+d[63&e]}((e[r]<<16)+(e[r+1]<<8)+e[r+2]));return i.join("")}(e,o,o+16383>l?l:o+16383));return 1===i?(r+=d[(t=e[n-1])>>2],r+=d[t<<4&63],r+="=="):2===i&&(r+=d[(t=(e[n-2]<<8)+e[n-1])>>10],r+=d[t>>4&63],r+=d[t<<2&63],r+="="),s.push(r),s.join("")}},v={read:function(e,t,n,i,r){var s,o,l=8*r-i-1,a=(1<>1,c=-7,d=n?r-1:0,h=n?-1:1,p=e[t+d];for(d+=h,s=p&(1<<-c)-1,p>>=-c,c+=l;c>0;s=256*s+e[t+d],d+=h,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=i;c>0;o=256*o+e[t+d],d+=h,c-=8);if(0===s)s=1-u;else{if(s===a)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),s-=u}return(p?-1:1)*o*Math.pow(2,s-i)},write:function(e,t,n,i,r,s){var o,l,a,u=8*s-r-1,c=(1<>1,h=23===r?5.960464477539062e-8:0,p=i?0:s-1,f=i?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),1>t*(a=Math.pow(2,-o))&&(o--,a*=2),2>(t+=1>o+d?h*Math.pow(2,1-d):h/a)*a||(o++,a/=2),c>o+d?1>o+d?(l=t*Math.pow(2,d-1)*Math.pow(2,r),o=0):(l=(t*a-1)*Math.pow(2,r),o+=d):(l=0,o=c));r>=8;e[n+p]=255&l,p+=f,l/=256,r-=8);for(o=o<0;e[n+p]=255&o,p+=f,o/=256,u-=8);e[n+p-f]|=128*m}},b=function(e,t){return function(e,t){function n(e){if(e>M)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=i.prototype,t}function i(e,t,n){if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return o(e)}return r(e,t,n)}function r(e,t,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return k(e)?function(e,t,n){if(0>t||t>e.byteLength)throw new RangeError("'offset' is out of bounds");if(t+(n||0)>e.byteLength)throw new RangeError("'length' is out of bounds");var r;return(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n)).__proto__=i.prototype,r}(e,t,r):"string"==typeof e?function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var r=0|u(e,t),s=n(r),o=s.write(e,t);return o!==r&&(s=s.slice(0,o)),s}(e,t):function(e){if(i.isBuffer(e)){var t=0|a(e.length),r=n(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(e){if(T(e)||"length"in e)return"number"!=typeof e.length||E(e.length)?n(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(0>e)throw new RangeError('"size" argument must not be negative')}function o(e){return s(e),n(0>e?0:0|a(e))}function l(e){for(var t=0>e.length?0:0|a(e.length),i=n(t),r=0;t>r;r+=1)i[r]=255&e[r];return i}function a(e){if(e>=M)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+M.toString(16)+" bytes");return 0|e}function u(e,t){if(i.isBuffer(e))return e.length;if(T(e)||k(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return x(e).length;default:if(r)return C(e).length;t=(""+t).toLowerCase(),r=!0}}function c(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function d(e,t,n,r,s){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),E(n=+n)&&(n=s?0:e.length-1),0>n&&(n=e.length+n),e.length>n){if(0>n){if(!s)return-1;n=0}}else{if(s)return-1;n=e.length-1}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:h(e,t,n,r,s);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):h(e,[t],n,r,s);throw new TypeError("val must be string, number or Buffer")}function h(e,t,n,i,r){function s(e,t){return 1===l?e[t]:e.readUInt16BE(t*l)}var o,l=1,a=e.length,u=t.length;if(void 0!==i&&("ucs2"===(i=(i+"").toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(2>e.length||2>t.length)return-1;l=2,a/=2,u/=2,n/=2}if(r){var c=-1;for(o=n;a>o;o++)if(s(e,o)===s(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*l}else-1!==c&&(o-=o-c),c=-1}else for(n+u>a&&(n=a-u),o=n;o>=0;o--){for(var d=!0,h=0;u>h;h++)if(s(e,o+h)!==s(t,h)){d=!1;break}if(d)return o}return-1}function p(e,t,n,i){return S(function(e){for(var t=[],n=0;e.length>n;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function f(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;n>r;){var s,o,l,a,u=e[r],c=null,d=u>239?4:u>223?3:u>191?2:1;if(n>=r+d)switch(d){case 1:128>u&&(c=u);break;case 2:128==(192&(s=e[r+1]))&&(a=(31&u)<<6|63&s)>127&&(c=a);break;case 3:o=e[r+2],128==(192&(s=e[r+1]))&&128==(192&o)&&(a=(15&u)<<12|(63&s)<<6|63&o)>2047&&(55296>a||a>57343)&&(c=a);break;case 4:o=e[r+2],l=e[r+3],128==(192&(s=e[r+1]))&&128==(192&o)&&128==(192&l)&&(a=(15&u)<<18|(63&s)<<12|(63&o)<<6|63&l)>65535&&1114112>a&&(c=a)}null===c?(c=65533,d=1):c>65535&&(i.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=d}return function(e){var t=e.length;if(I>=t)return String.fromCharCode.apply(String,e);for(var n="",i=0;t>i;)n+=String.fromCharCode.apply(String,e.slice(i,i+=I));return n}(i)}function m(e,t,n){if(e%1!=0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function b(e,t,n,r,s,o){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||o>t)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function _(e,t,n,i,r,s){if(n+i>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function y(e,t,n,i,r){return t=+t,n>>>=0,r||_(e,0,n,4),v.write(e,t,n,i,23,4),n+4}function w(e,t,n,i,r){return t=+t,n>>>=0,r||_(e,0,n,8),v.write(e,t,n,i,52,8),n+8}function C(e,t){t=t||1/0;for(var n,i=e.length,r=null,s=[],o=0;i>o;++o){if((n=e.charCodeAt(o))>55295&&57344>n){if(!r){if(n>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&s.push(239,191,189);continue}r=n;continue}if(56320>n){(t-=3)>-1&&s.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&s.push(239,191,189);if(r=null,128>n){if(0>(t-=1))break;s.push(n)}else if(2048>n){if(0>(t-=2))break;s.push(n>>6|192,63&n|128)}else if(65536>n){if(0>(t-=3))break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(n>=1114112)throw Error("Invalid code point");if(0>(t-=4))break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function x(e){return g.toByteArray(function(e){if(2>(e=e.trim().replace(D,"")).length)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function S(e,t,n,i){for(var r=0;i>r&&r+n0&&void 0!==t?"string"==typeof i?n(e).fill(t,i):n(e).fill(t):n(e)}(e,t,i)},i.allocUnsafe=function(e){return o(e)},i.allocUnsafeSlow=function(e){return o(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,s=0,o=Math.min(n,r);o>s;++s)if(e[s]!==t[s]){n=e[s],r=t[s];break}return r>n?-1:n>r?1:0},i.isEncoding=function(e){switch((e+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;e.length>n;++n)t+=e[n].length;var r=i.allocUnsafe(t),s=0;for(n=0;e.length>n;++n){var o=e[n];if(!i.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,s),s+=o.length}return r},i.byteLength=u,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;e>t;t+=2)c(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)c(this,t,t+3),c(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;e>t;t+=8)c(this,t,t+7),c(this,t+1,t+6),c(this,t+2,t+5),c(this,t+3,t+4);return this},i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?f(this,0,e):(function(e,t,n){var i=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if((t>>>=0)>=(n>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var i=e.length;t&&t>=0||(t=0),(!n||0>n||n>i)&&(n=i);for(var r="",s=t;n>s;++s)r+=function(e){return 16>e?"0"+e.toString(16):e.toString(16)}(e[s]);return r}(this,t,n);case"utf8":case"utf-8":return f(this,t,n);case"ascii":return function(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;n>r;++r)i+=String.fromCharCode(127&e[r]);return i}(this,t,n);case"latin1":case"binary":return function(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;n>r;++r)i+=String.fromCharCode(e[r]);return i}(this,t,n);case"base64":return function(e,t,n){return g.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var i=e.slice(t,n),r="",s=0;i.length>s;s+=2)r+=String.fromCharCode(i[s]+256*i[s+1]);return r}(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}).apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},i.prototype.compare=function(e,t,n,r,s){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===s&&(s=this.length),0>t||n>e.length||0>r||s>this.length)throw new RangeError("out of range index");if(r>=s&&t>=n)return 0;if(r>=s)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(s>>>=0)-(r>>>=0),l=(n>>>=0)-(t>>>=0),a=Math.min(o,l),u=this.slice(r,s),c=e.slice(t,n),d=0;a>d;++d)if(u[d]!==c[d]){o=u[d],l=c[d];break}return l>o?-1:o>l?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return d(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return d(this,e,t,n,!1)},i.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return function(e,t,n,i){var r=e.length-(n=+n||0);i?(i=+i)>r&&(i=r):i=r;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;i>o;++o){var l=parseInt(t.substr(2*o,2),16);if(E(l))return o;e[n+o]=l}return o}(this,e,t,n);case"utf8":case"utf-8":return function(e,t,n,i){return S(C(t,e.length-n),e,n,i)}(this,e,t,n);case"ascii":return p(this,e,t,n);case"latin1":case"binary":return function(e,t,n,i){return p(e,t,n,i)}(this,e,t,n);case"base64":return function(e,t,n,i){return S(x(t),e,n,i)}(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n,i){return S(function(e,t){for(var n,i,r=[],s=0;e.length>s&&(t-=2)>=0;++s)i=(n=e.charCodeAt(s))>>8,r.push(n%256),r.push(i);return r}(t,e.length-n),e,n,i)}(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;i.prototype.slice=function(e,t){var n=this.length;0>(e=~~e)?0>(e+=n)&&(e=0):e>n&&(e=n),0>(t=void 0===t?n:~~t)?0>(t+=n)&&(t=0):t>n&&(t=n),e>t&&(t=e);var r=this.subarray(e,t);return r.__proto__=i.prototype,r},i.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||m(e,t,this.length);for(var i=this[e],r=1,s=0;++s>>=0,t>>>=0,n||m(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},i.prototype.readUInt8=function(e,t){return e>>>=0,t||m(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||m(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||m(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||m(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||m(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||m(e,t,this.length);for(var i=this[e],r=1,s=0;++si||(i-=Math.pow(2,8*t)),i},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||m(e,t,this.length);for(var i=t,r=1,s=this[e+--i];i>0&&(r*=256);)s+=this[e+--i]*r;return(r*=128)>s||(s-=Math.pow(2,8*t)),s},i.prototype.readInt8=function(e,t){return e>>>=0,t||m(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||m(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||m(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||m(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||m(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||m(e,4,this.length),v.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||m(e,4,this.length),v.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||m(e,8,this.length),v.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||m(e,8,this.length),v.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,i||b(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,s=0;for(this[t]=255&e;++s>>=0,n>>>=0,i||b(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,s=1;for(this[t+r]=255&e;--r>=0&&(s*=256);)this[t+r]=e/s&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);b(this,e,t,n,r-1,-r)}var s=0,o=1,l=0;for(this[t]=255&e;++se&&0===l&&0!==this[t+s-1]&&(l=1),this[t+s]=(e/o>>0)-l&255;return t+n},i.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);b(this,e,t,n,r-1,-r)}var s=n-1,o=1,l=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)0>e&&0===l&&0!==this[t+s+1]&&(l=1),this[t+s]=(e/o>>0)-l&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,1,127,-128),0>e&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||b(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeFloatLE=function(e,t,n){return y(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return y(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return w(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return w(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),e.length>t||(t=e.length),t||(t=0),i>0&&n>i&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>i)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),i-n>e.length-t&&(i=e.length-t+n);var r,s=i-n;if(this===e&&t>n&&i>t)for(r=s-1;r>=0;--r)e[r+t]=this[r+n];else if(1e3>s)for(r=0;s>r;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+s),t);return s},i.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var s=e.charCodeAt(0);256>s&&(e=s)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(0>t||t>this.length||n>this.length)throw new RangeError("Out of range index");if(t>=n)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;n>o;++o)this[o]=e;else{var l=i.isBuffer(e)?e:new i(e,r),a=l.length;for(o=0;n-t>o;++o)this[o+t]=l[o%a]}return this};var D=/[^+/0-9A-Za-z-_]/g}(0,(t={exports:{}}).exports),t.exports}().Buffer;"function"!=typeof Object.assign&&(Object.assign=function(e){var t,n,i,r;if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(t=Object(e),n=1;arguments.length>n;n++)if(void 0!==(i=arguments[n])&&null!==i)for(r in i)i.hasOwnProperty(r)&&(t[r]=i[r]);return t}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var r=0|t,s=Math.max(0>r?i-Math.abs(r):r,0);i>s;){if(function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(n[s],e))return!0;s++}return!1}});var _=function(){function e(t){o(this,e),this.accessToken=(t=t||{}).accessToken,this.clientId=t.clientId,this.clientSecret=t.clientSecret,this.selectUser=t.selectUser,this.selectAdmin=t.selectAdmin,this.fetch=t.fetch||fetch,this.pathRoot=t.pathRoot,t.fetch||console.warn("Global fetch is deprecated and will be unsupported in a future version. Please pass fetch function as option when instantiating dropbox instance: new Dropbox({fetch})")}return l(e,[{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"getAccessToken",value:function(){return this.accessToken}},{key:"setClientId",value:function(e){this.clientId=e}},{key:"getClientId",value:function(){return this.clientId}},{key:"setClientSecret",value:function(e){this.clientSecret=e}},{key:"getClientSecret",value:function(){return this.clientSecret}},{key:"getAuthenticationUrl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"token",i=this.getClientId(),r="https://www.dropbox.com/oauth2/authorize";if(!i)throw Error("A client id is required. You can set the client id using .setClientId().");if("code"!==n&&!e)throw Error("A redirect uri is required.");if(!["code","token"].includes(n))throw Error("Authorization type must be code or token");var s=void 0;return s="code"===n?r+"?response_type=code&client_id="+i:r+"?response_type=token&client_id="+i,e&&(s+="&redirect_uri="+e),t&&(s+="&state="+t),s}},{key:"getAccessTokenFromCode",value:function(e,t){var n=this.getClientId(),i=this.getClientSecret();if(!n)throw Error("A client id is required. You can set the client id using .setClientId().");if(!i)throw Error("A client secret is required. You can set the client id using .setClientSecret().");return this.fetch("https://api.dropboxapi.com/oauth2/token?code="+t+"&grant_type=authorization_code&redirect_uri="+e+"&client_id="+n+"&client_secret="+i,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){return function(e){var t=e.clone();return new Promise((function(n){e.json().then((function(e){return n(e)})).catch((function(){return t.text().then((function(e){return n(e)}))}))})).then((function(t){return[e,t]}))}(e)})).then((function(e){var t=c(e,2),n=t[0],i=t[1];if(!n.ok)throw{error:i,response:n,status:n.status};return i.access_token}))}},{key:"authenticateWithCordova",value:function(e,t){function n(e){-999!==e.code&&(window.setTimeout((function(){o.close()}),10),t())}function i(n){if(n.url.indexOf("&error=")>-1)window.setTimeout((function(){o.close()}),10),t();else{var i=n.url.indexOf("#access_token="),r=n.url.indexOf("&token_type=");if(i>-1){i+=14,window.setTimeout((function(){o.close()}),10);var s=n.url.substring(i,r);e(s)}}}var r=this.getAuthenticationUrl("https://www.dropbox.com/1/oauth2/redirect_receiver"),s=!1,o=window.open(r,"_blank");o.addEventListener("loaderror",n),o.addEventListener("loadstop",i),o.addEventListener("exit",(function e(){s||(o.removeEventListener("loaderror",n),o.removeEventListener("loadstop",i),o.removeEventListener("exit",e),s=!0)}))}},{key:"request",value:function(e,t,n,i,r){var s=null;switch(r){case"rpc":s=this.getRpcRequest();break;case"download":s=this.getDownloadRequest();break;case"upload":s=this.getUploadRequest();break;default:throw Error("Invalid request style: "+r)}var o={selectUser:this.selectUser,selectAdmin:this.selectAdmin,clientId:this.getClientId(),clientSecret:this.getClientSecret(),pathRoot:this.pathRoot};return s(e,t,n,i,this.getAccessToken(),o)}},{key:"setRpcRequest",value:function(e){this.rpcRequest=e}},{key:"getRpcRequest",value:function(){return void 0===this.rpcRequest&&(this.rpcRequest=function(e){return function(t,i,r,s,o,l){var a={method:"POST",body:i?JSON.stringify(i):null},u={};i&&(u["Content-Type"]="application/json");var d="";switch(r){case"app":if(!l.clientId||!l.clientSecret)throw Error("A client id and secret is required for this function");d=new b(l.clientId+":"+l.clientSecret).toString("base64"),u.Authorization="Basic "+d;break;case"team":case"user":u.Authorization="Bearer "+o;break;case"noauth":break;default:throw Error("Unhandled auth type: "+r)}return l&&(l.selectUser&&(u["Dropbox-API-Select-User"]=l.selectUser),l.selectAdmin&&(u["Dropbox-API-Select-Admin"]=l.selectAdmin),l.pathRoot&&(u["Dropbox-API-Path-Root"]=l.pathRoot)),a.headers=u,e(n(s)+t,a).then((function(e){return function(e){return"application/json"===e.headers.get("Content-Type")?e.json().then((function(t){return[e,t]})):e.text().then((function(t){return[e,t]}))}(e)})).then((function(e){var t=c(e,2),n=t[0],i=t[1];if(!n.ok)throw{error:i,response:n,status:n.status};return i}))}}(this.fetch)),this.rpcRequest}},{key:"setDownloadRequest",value:function(e){this.downloadRequest=e}},{key:"getDownloadRequest",value:function(){return void 0===this.downloadRequest&&(this.downloadRequest=function(e){return function(r,s,o,l,a,u){if("user"!==o)throw Error("Unexpected auth type: "+o);var d={method:"POST",headers:{Authorization:"Bearer "+a,"Dropbox-API-Arg":i(s)}};return u&&(u.selectUser&&(d.headers["Dropbox-API-Select-User"]=u.selectUser),u.selectAdmin&&(d.headers["Dropbox-API-Select-Admin"]=u.selectAdmin),u.pathRoot&&(d.headers["Dropbox-API-Path-Root"]=u.pathRoot)),e(n(l)+r,d).then((function(e){return function(e){return e.ok?t()?e.blob():e.buffer():e.text()}(e).then((function(t){return[e,t]}))})).then((function(e){var n=c(e,2);return function(e,n){if(!e.ok)throw{error:n,response:e,status:e.status};var i=JSON.parse(e.headers.get("dropbox-api-result"));return t()?i.fileBlob=n:i.fileBinary=n,i}(n[0],n[1])}))}}(this.fetch)),this.downloadRequest}},{key:"setUploadRequest",value:function(e){this.uploadRequest=e}},{key:"getUploadRequest",value:function(){return void 0===this.uploadRequest&&(this.uploadRequest=function(e){return function(t,r,s,o,l,a){if("user"!==s)throw Error("Unexpected auth type: "+s);var u=r.contents;delete r.contents;var d={body:u,method:"POST",headers:{Authorization:"Bearer "+l,"Content-Type":"application/octet-stream","Dropbox-API-Arg":i(r)}};return a&&(a.selectUser&&(d.headers["Dropbox-API-Select-User"]=a.selectUser),a.selectAdmin&&(d.headers["Dropbox-API-Select-Admin"]=a.selectAdmin),a.pathRoot&&(d.headers["Dropbox-API-Path-Root"]=a.pathRoot)),e(n(o)+t,d).then((function(e){return function(e){var t=e.clone();return new Promise((function(n){e.json().then((function(e){return n(e)})).catch((function(){return t.text().then((function(e){return n(e)}))}))})).then((function(t){return[e,t]}))}(e)})).then((function(e){var t=c(e,2),n=t[0],i=t[1];if(!n.ok)throw{error:i,response:n,status:n.status};return i}))}}(this.fetch)),this.uploadRequest}}]),e}(),y=function(e){function t(e){o(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.assign(n,s),n}return a(t,_),l(t,[{key:"filesGetSharedLinkFile",value:function(e){return this.request("sharing/get_shared_link_file",e,"api","download")}}]),t}(),w=Object.freeze({Dropbox:y}),C={teamDevicesListMemberDevices:function(e){return this.request("team/devices/list_member_devices",e,"team","api","rpc")},teamDevicesListMembersDevices:function(e){return this.request("team/devices/list_members_devices",e,"team","api","rpc")},teamDevicesListTeamDevices:function(e){return this.request("team/devices/list_team_devices",e,"team","api","rpc")},teamDevicesRevokeDeviceSession:function(e){return this.request("team/devices/revoke_device_session",e,"team","api","rpc")},teamDevicesRevokeDeviceSessionBatch:function(e){return this.request("team/devices/revoke_device_session_batch",e,"team","api","rpc")},teamFeaturesGetValues:function(e){return this.request("team/features/get_values",e,"team","api","rpc")},teamGetInfo:function(e){return this.request("team/get_info",e,"team","api","rpc")},teamGroupsCreate:function(e){return this.request("team/groups/create",e,"team","api","rpc")},teamGroupsDelete:function(e){return this.request("team/groups/delete",e,"team","api","rpc")},teamGroupsGetInfo:function(e){return this.request("team/groups/get_info",e,"team","api","rpc")},teamGroupsJobStatusGet:function(e){return this.request("team/groups/job_status/get",e,"team","api","rpc")},teamGroupsList:function(e){return this.request("team/groups/list",e,"team","api","rpc")},teamGroupsListContinue:function(e){return this.request("team/groups/list/continue",e,"team","api","rpc")},teamGroupsMembersAdd:function(e){return this.request("team/groups/members/add",e,"team","api","rpc")},teamGroupsMembersList:function(e){return this.request("team/groups/members/list",e,"team","api","rpc")},teamGroupsMembersListContinue:function(e){return this.request("team/groups/members/list/continue",e,"team","api","rpc")},teamGroupsMembersRemove:function(e){return this.request("team/groups/members/remove",e,"team","api","rpc")},teamGroupsMembersSetAccessType:function(e){return this.request("team/groups/members/set_access_type",e,"team","api","rpc")},teamGroupsUpdate:function(e){return this.request("team/groups/update",e,"team","api","rpc")},teamLinkedAppsListMemberLinkedApps:function(e){return this.request("team/linked_apps/list_member_linked_apps",e,"team","api","rpc")},teamLinkedAppsListMembersLinkedApps:function(e){return this.request("team/linked_apps/list_members_linked_apps",e,"team","api","rpc")},teamLinkedAppsListTeamLinkedApps:function(e){return this.request("team/linked_apps/list_team_linked_apps",e,"team","api","rpc")},teamLinkedAppsRevokeLinkedApp:function(e){return this.request("team/linked_apps/revoke_linked_app",e,"team","api","rpc")},teamLinkedAppsRevokeLinkedAppBatch:function(e){return this.request("team/linked_apps/revoke_linked_app_batch",e,"team","api","rpc")},teamMemberSpaceLimitsExcludedUsersAdd:function(e){return this.request("team/member_space_limits/excluded_users/add",e,"team","api","rpc")},teamMemberSpaceLimitsExcludedUsersList:function(e){return this.request("team/member_space_limits/excluded_users/list",e,"team","api","rpc")},teamMemberSpaceLimitsExcludedUsersListContinue:function(e){return this.request("team/member_space_limits/excluded_users/list/continue",e,"team","api","rpc")},teamMemberSpaceLimitsExcludedUsersRemove:function(e){return this.request("team/member_space_limits/excluded_users/remove",e,"team","api","rpc")},teamMemberSpaceLimitsGetCustomQuota:function(e){return this.request("team/member_space_limits/get_custom_quota",e,"team","api","rpc")},teamMemberSpaceLimitsRemoveCustomQuota:function(e){return this.request("team/member_space_limits/remove_custom_quota",e,"team","api","rpc")},teamMemberSpaceLimitsSetCustomQuota:function(e){return this.request("team/member_space_limits/set_custom_quota",e,"team","api","rpc")},teamMembersAdd:function(e){return this.request("team/members/add",e,"team","api","rpc")},teamMembersAddJobStatusGet:function(e){return this.request("team/members/add/job_status/get",e,"team","api","rpc")},teamMembersGetInfo:function(e){return this.request("team/members/get_info",e,"team","api","rpc")},teamMembersList:function(e){return this.request("team/members/list",e,"team","api","rpc")},teamMembersListContinue:function(e){return this.request("team/members/list/continue",e,"team","api","rpc")},teamMembersMoveFormerMemberFiles:function(e){return this.request("team/members/move_former_member_files",e,"team","api","rpc")},teamMembersMoveFormerMemberFilesJobStatusCheck:function(e){return this.request("team/members/move_former_member_files/job_status/check",e,"team","api","rpc")},teamMembersRecover:function(e){return this.request("team/members/recover",e,"team","api","rpc")},teamMembersRemove:function(e){return this.request("team/members/remove",e,"team","api","rpc")},teamMembersRemoveJobStatusGet:function(e){return this.request("team/members/remove/job_status/get",e,"team","api","rpc")},teamMembersSendWelcomeEmail:function(e){return this.request("team/members/send_welcome_email",e,"team","api","rpc")},teamMembersSetAdminPermissions:function(e){return this.request("team/members/set_admin_permissions",e,"team","api","rpc")},teamMembersSetProfile:function(e){return this.request("team/members/set_profile",e,"team","api","rpc")},teamMembersSuspend:function(e){return this.request("team/members/suspend",e,"team","api","rpc")},teamMembersUnsuspend:function(e){return this.request("team/members/unsuspend",e,"team","api","rpc")},teamNamespacesList:function(e){return this.request("team/namespaces/list",e,"team","api","rpc")},teamNamespacesListContinue:function(e){return this.request("team/namespaces/list/continue",e,"team","api","rpc")},teamPropertiesTemplateAdd:function(e){return this.request("team/properties/template/add",e,"team","api","rpc")},teamPropertiesTemplateGet:function(e){return this.request("team/properties/template/get",e,"team","api","rpc")},teamPropertiesTemplateList:function(e){return this.request("team/properties/template/list",e,"team","api","rpc")},teamPropertiesTemplateUpdate:function(e){return this.request("team/properties/template/update",e,"team","api","rpc")},teamReportsGetActivity:function(e){return this.request("team/reports/get_activity",e,"team","api","rpc")},teamReportsGetDevices:function(e){return this.request("team/reports/get_devices",e,"team","api","rpc")},teamReportsGetMembership:function(e){return this.request("team/reports/get_membership",e,"team","api","rpc")},teamReportsGetStorage:function(e){return this.request("team/reports/get_storage",e,"team","api","rpc")},teamTeamFolderActivate:function(e){return this.request("team/team_folder/activate",e,"team","api","rpc")},teamTeamFolderArchive:function(e){return this.request("team/team_folder/archive",e,"team","api","rpc")},teamTeamFolderArchiveCheck:function(e){return this.request("team/team_folder/archive/check",e,"team","api","rpc")},teamTeamFolderCreate:function(e){return this.request("team/team_folder/create",e,"team","api","rpc")},teamTeamFolderGetInfo:function(e){return this.request("team/team_folder/get_info",e,"team","api","rpc")},teamTeamFolderList:function(e){return this.request("team/team_folder/list",e,"team","api","rpc")},teamTeamFolderListContinue:function(e){return this.request("team/team_folder/list/continue",e,"team","api","rpc")},teamTeamFolderPermanentlyDelete:function(e){return this.request("team/team_folder/permanently_delete",e,"team","api","rpc")},teamTeamFolderRename:function(e){return this.request("team/team_folder/rename",e,"team","api","rpc")},teamTeamFolderUpdateSyncSettings:function(e){return this.request("team/team_folder/update_sync_settings",e,"team","api","rpc")},teamTokenGetAuthenticatedAdmin:function(e){return this.request("team/token/get_authenticated_admin",e,"team","api","rpc")}},x=function(e){function t(e){o(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.assign(n,C),n}return a(t,_),l(t,[{key:"actAsUser",value:function(e){return new y({accessToken:this.accessToken,clientId:this.clientId,selectUser:e})}}]),t}(),S=Object.freeze({DropboxTeam:x});return{Dropbox:w.Dropbox,DropboxTeam:S.DropboxTeam}}()},AJP0:function(e,t,n){"use strict";t.errorObject={e:{}}},AQ68:function(e,t,n){!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}})}(n("wd/R"))},AZf1:function(e,t,n){"use strict";var i=n("/WK6"),r=n("wR93"),s=n("WU5C"),o=n("GyLc");t.Observable=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var i=this.operator,s=r.toSubscriber(e,t,n);if(i?i.call(s,this.source):s.add(this.source||!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},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 n=this;if(t||(i.root.Rx&&i.root.Rx.config&&i.root.Rx.config.Promise?t=i.root.Rx.config.Promise:i.root.Promise&&(t=i.root.Promise)),!t)throw new Error("no Promise impl found");return new t((function(t,i){var r;r=n.subscribe((function(t){if(r)try{e(t)}catch(n){i(n),r.unsubscribe()}else e(t)}),i,t)}))},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[s.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;tt?n(e,t):e,e)).subscribe(e=>this.next(e))}}class d extends s.a{constructor(e,t,n){super(),this._dispatcher=e,this._reducer=t,this.source=n}select(e){return this.source.pipe(Object(a.a)(e)).pipe(Object(u.a)())}lift(e){const t=new d(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(){}}},AvvY:function(e,t,n){!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,n){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"}})}(n("wd/R"))},AzqM:function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz"),s=n("Re0n");t.debounceTime=function(e,t){return void 0===t&&(t=s.async),function(n){return n.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 l(e,this.dueTime,this.scheduler))},e}(),l=function(e){function t(t,n,i){e.call(this,t),this.dueTime=n,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return i(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(a,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}(r.Subscriber);function a(e){e.debouncedNext()}},B55N:function(e,t,n){!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,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r{Object(i.a)("#signature_list"),this.isUploading=!0,this._userService.getProperty("me","signatures",0,100,"",void 0,void 0,"","").subscribe(e=>this.listSignatureCallback(e))},this.listSignatureCallback=e=>{const t=this;try{this._resultHelper.isValid(e)?(this.signatures=e.result.signatures,this._appState.setSignatureList(this.signatures)):this.notice.warn(e.message)}finally{t.isUploading=!1,Object(i.b)("#signature_list")}}}ngOnInit(){this.subscriptionUser=this._appState.user$.subscribe(e=>{e&&e.id&&(this.user=e,this.defaultSignature=e.signature,this.listSignature())}),this.subscriptionSignatureList=this._appState.signatureList$.subscribe(e=>{e&&(this.signatures=e)})}ngOnDestroy(){r.a.hideAllModal(),this.signatures=null,this.subscriptionUser&&this.subscriptionUser.unsubscribe(),this.subscriptionSignatureList&&this.subscriptionSignatureList.unsubscribe()}addSignature(e){Object(i.a)("#signature_list");const t=this;this.isUploading=!0;try{if(!e)return;this.signatures.some((function(t){return t.id===e.id}))||(r.a.isBlank(this.signatures)?this.signatures=[e]:this.signatures.push(e),this._appState.setSignatureList(this.signatures)),this.setDefaultSignature(e)}finally{t.isUploading=!1,Object(i.b)("#signature_list")}}setDefaultSignature(e){const t=this;Object(i.a)("#signature_list"),this.isUploading=!0;try{if(this.defaultSignature&&this.defaultSignature.id===e.id)return;this._userService.putDefaultSignature("me",e.id).subscribe(t=>{this._resultHelper.isValid(t)?(this.defaultSignature=e,this.user.signature=e,this._appState.setUserSource(this.user),this.toastr.success("Set Primary Signature","Successfully changed your default signature.",{closeButton:!1,disableTimeOut:!1,easing:"ease-in-out",easeTime:"100",enableHtml:!0,toastClass:"toast",positionClass:"toast-bottom-full-width",titleClass:"toast-title",messageClass:"toast-message",tapToDismiss:!0})):this.notice.warn(t.message)})}finally{setTimeout(()=>{t.isUploading=!1,Object(i.b)("#signature_list")},500)}}drawView(){setTimeout(()=>{this.drawElement.init()},200)}}},BjeI:function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("VZMG"),o=n("y2i3"),l=n("0zyO"),a=n("PCq3"),u=n("NNAl");t.ReplaySubject=function(e){function t(t,n,i){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),e.call(this),this.scheduler=i,this._events=[],this._bufferSize=t<1?1:t,this._windowTime=n<1?1:n}return i(t,e),t.prototype.next=function(t){var n=this._getNow();this._events.push(new c(n,t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._trimBufferThenGetEvents(),i=this.scheduler;if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError?t=o.Subscription.EMPTY:this.isStopped?t=o.Subscription.EMPTY:(this.observers.push(e),t=new u.SubjectSubscription(this,e)),i&&e.add(e=new l.ObserveOnSubscriber(e,i));for(var r=n.length,s=0;st&&(s=Math.max(s,r-t)),s>0&&i.splice(0,s),i},t}(r.Subject);var c=function(){return function(e,t){this.time=e,this.value=t}}()},BnoD:function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz"),s=n("Re0n"),o=n("o6MN");t.throttleTime=function(e,t,n){return void 0===t&&(t=s.async),void 0===n&&(n=o.defaultThrottleConfig),function(i){return i.lift(new l(e,t,n.leading,n.trailing))}};var l=function(){function e(e,t,n,i){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=i}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),a=function(e){function t(t,n,i,r,s){e.call(this,t),this.duration=n,this.scheduler=i,this.leading=r,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}return i(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(u,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}(r.Subscriber);function u(e){e.subscriber.clearThrottle()}},Bx9r:function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("PCq3");t.BehaviorSubject=function(e){function t(t){e.call(this),this._value=t}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r.Subject)},ByF4:function(e,t,n){!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}})}(n("wd/R"))},C8RJ:function(e,t,n){var i=n("mrSG").__extends,r=n("4WIM"),s=n("zKHA"),o=n("AJP0"),l=n("9jZZ"),a=n("Irel");t.retryWhen=function(e){return function(t){return t.lift(new u(e,t))}};var u=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.notifier,this.source))},e}(),c=function(e){function t(t,n,i){e.call(this,t),this.notifier=n,this.source=i}return i(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.errors,i=this.retries,l=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{if(n=new r.Subject,(i=s.tryCatch(this.notifier)(n))===o.errorObject)return e.prototype.error.call(this,o.errorObject.e);l=a.subscribeToResult(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=l,n.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,n,i,r){var s=this.errors,o=this.retries,l=this.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=o,this.retriesSubscription=l,this.source.subscribe(this)},t}(l.OuterSubscriber)},CLta:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return T})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return c}));var i=n("mrSG"),r=n("8Y7J"),s=n("s7LF"),o=n("SxV6"),l=n("Kj3r"),a=n("pLZG"),u=n("lJxs");n("GS7A");let c=class{transform(e,t){if(!t.trim())return e;try{const n=new RegExp(`(${(e=>e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))(t)})`,"i");return e.replace(n,"$1")}catch(n){return e}}};const d={8:"DELETE",37:"SWITCH_PREV",39:"SWITCH_NEXT",9:"TAB"};let h=class{constructor(){this.state={dragging:!1,dropping:!1,index:void 0}}setDraggedItem(e,t){e&&e.dataTransfer&&e.dataTransfer.setData("Text",JSON.stringify(t))}getDraggedItem(e){if(e&&e.dataTransfer){const n=e.dataTransfer.getData("Text");try{return JSON.parse(n)}catch(t){return}}}setSender(e){this.sender=e}setReceiver(e){this.receiver=e}onTagDropped(e,t,n){this.onDragEnd(),this.sender.onRemoveRequested(e,t),this.receiver.onAddingRequested(!1,e,n)}setState(e){this.state=Object.assign({},this.state,e)}getState(e){return e?this.state[e]:this.state}onDragEnd(){this.setState({dragging:!1,dropping:!1,index:void 0})}};const p={tagInput:{separatorKeys:[],separatorKeyCodes:[],maxItems:1/0,placeholder:"+ Tag",secondaryPlaceholder:"Enter a new tag",validators:[],asyncValidators:[],onlyFromAutocomplete:!1,errorMessages:{},theme:"",onTextChangeDebounce:250,inputId:null,inputClass:"",clearOnBlur:!1,hideForm:!1,addOnBlur:!1,addOnPaste:!1,pasteSplitPattern:",",blinkIfDupe:!0,removable:!0,editable:!1,allowDupes:!1,modelAsStrings:!1,trimTags:!0,ripple:!0,tabIndex:"",disable:!1,dragZone:"",onRemoving:void 0,onAdding:void 0,displayBy:"display",identifyBy:"value",animationDuration:{enter:"250ms",leave:"150ms"}},dropdown:{displayBy:"display",identifyBy:"value",appendToBody:!0,offset:"50 0",focusFirstElement:!1,showDropdownIfEmpty:!1,minimumTextLength:1,limitItemsTo:1/0,keepOpen:!0,dynamicUpdate:!0,zIndex:1e3,matchingFn:function(e,t){const n=t[this.displayBy].toString();return n&&n.toLowerCase().indexOf(e.toLowerCase())>=0}}};let f=(()=>{class e{setOptions(t){e.defaults.tagInput=Object.assign({},p.tagInput,t.tagInput),e.defaults.dropdown=Object.assign({},p.dropdown,t.dropdown)}}return e.defaults=p,e})();function m(e){return e===Object(e)}function g(e,t,n=!0){if(!this.listeners.hasOwnProperty(e))throw new Error("The event entered may be wrong");n&&this.listeners[e].push(t)}let v=class{constructor(){this.onSubmit=new r.EventEmitter,this.onBlur=new r.EventEmitter,this.onFocus=new r.EventEmitter,this.onKeyup=new r.EventEmitter,this.onKeydown=new r.EventEmitter,this.inputTextChange=new r.EventEmitter,this.validators=[],this.asyncValidators=[],this.tabindex="",this.disabled=!1,this.item=new s.f({value:"",disabled:this.disabled})}get inputText(){return this.item.value}set inputText(e){this.item.setValue(e),this.inputTextChange.emit(e)}ngOnInit(){this.item.setValidators(this.validators),this.item.setAsyncValidators(this.asyncValidators),this.form=new s.i({item:this.item})}ngOnChanges(e){e.disabled&&!e.disabled.firstChange&&(e.disabled.currentValue?this.form.controls.item.disable():this.form.controls.item.enable())}get value(){return this.form.get("item")}isInputFocused(){const e="undefined"!=typeof document?document:void 0;return!!e&&e.activeElement===this.input.nativeElement}getErrorMessages(e){return Object.keys(e).filter(e=>this.value.hasError(e)).map(t=>e[t])}hasErrors(){const{dirty:e,value:t,valid:n}=this.form;return e&&t.item&&!n}focus(){this.input.nativeElement.focus()}blur(){this.input.nativeElement.blur()}getElementPosition(){return this.input.nativeElement.getBoundingClientRect()}destroy(){const e=this.input.nativeElement;e.parentElement.removeChild(e)}onKeyDown(e){if(this.inputText=this.value.value,"Enter"!==e.key)return this.onKeydown.emit(e);this.submit(e)}onKeyUp(e){return this.inputText=this.value.value,this.onKeyup.emit(e)}submit(e){e.preventDefault(),this.onSubmit.emit(e)}},b=class{constructor(){this.state="none"}};const _="undefined"!=typeof window?window.navigator:{userAgent:"Chrome",vendor:"Google Inc"},y=/Chrome/.test(_.userAgent)&&/Google Inc/.test(_.vendor);let w=class{constructor(e,t,n){this.element=e,this.renderer=t,this.cdRef=n,this.disabled=!1,this.onSelect=new r.EventEmitter,this.onRemove=new r.EventEmitter,this.onBlur=new r.EventEmitter,this.onKeyDown=new r.EventEmitter,this.onTagEdited=new r.EventEmitter,this.editing=!1,this.rippleState="none"}get readonly(){return"string"!=typeof this.model&&!0===this.model.readonly}select(e){this.readonly||this.disabled||(e&&e.stopPropagation(),this.focus(),this.onSelect.emit(this.model))}remove(e){e.stopPropagation(),this.onRemove.emit(this)}focus(){this.element.nativeElement.focus()}move(){this.moving=!0}keydown(e){if(this.editing){if(13===e.keyCode)return this.disableEditMode(e)}else this.onKeyDown.emit({event:e,model:this.model})}blink(){const e=this.element.nativeElement.classList;e.add("blink"),setTimeout(()=>e.remove("blink"),50)}toggleEditMode(){if(this.editable)return this.editing?void 0:this.activateEditMode()}onBlurred(e){if(!this.editable)return;this.disableEditMode();const t=e.target.innerText,n="string"==typeof this.model?t:Object.assign({},this.model,{[this.displayBy]:t});this.onBlur.emit(n)}getDisplayValue(e){return"string"==typeof e?e:e[this.displayBy]}get isRippleVisible(){return!this.readonly&&!this.editing&&y&&this.hasRipple}disableEditMode(e){const t=this.element.nativeElement.classList,n=this.getContentEditableText();this.editing=!1,t.remove("tag--editing"),n?(this.storeNewValue(n),this.cdRef.detectChanges(),e&&e.preventDefault()):this.setContentEditableText(this.model)}isDeleteIconVisible(){return!this.readonly&&!this.disabled&&this.removable&&!this.editing}getContentEditableText(){const e=this.getContentEditable();return e?e.innerText.trim():""}setContentEditableText(e){const t=this.getContentEditable(),n=this.getDisplayValue(e);t.innerText=n}activateEditMode(){this.element.nativeElement.classList.add("tag--editing"),this.editing=!0}storeNewValue(e){if((t=>"string"==typeof t?t===e:t[this.displayBy]===e)(this.model))return;const t="string"==typeof this.model?e:{index:this.index,[this.identifyBy]:(()=>this.model[this.identifyBy]!==this.model[this.displayBy])()?this.model[this.identifyBy]:e,[this.displayBy]:e};this.canAddTag(t)?this.onTagEdited.emit({tag:t,index:this.index}):this.setContentEditableText(this.model)}getContentEditable(){return this.element.nativeElement.querySelector("[contenteditable]")}},C=class{constructor(e){this.injector=e,this.offset=p.dropdown.offset,this.focusFirstElement=p.dropdown.focusFirstElement,this.showDropdownIfEmpty=p.dropdown.showDropdownIfEmpty,this.minimumTextLength=p.dropdown.minimumTextLength,this.limitItemsTo=p.dropdown.limitItemsTo,this.displayBy=p.dropdown.displayBy,this.identifyBy=p.dropdown.identifyBy,this.matchingFn=p.dropdown.matchingFn,this.appendToBody=p.dropdown.appendToBody,this.keepOpen=p.dropdown.keepOpen,this.dynamicUpdate=p.dropdown.dynamicUpdate,this.zIndex=p.dropdown.zIndex,this.items=[],this.tagInput=this.injector.get(x),this._autocompleteItems=[],this.show=()=>{const e=this.tagInput.items.length===this.tagInput.maxItems,t=this.getFormValue(),n=t.trim().length>=this.minimumTextLength,i=this.calculatePosition(),r=this.getMatchingItems(t),s=r.length>0,o=this.tagInput.disable,l=!1===this.isVisible&&(s&&n||this.showDropdownIfEmpty&&s&&!t),a=this.isVisible&&!s;return this.autocompleteObservable&&n?this.getItemsFromObservable(t):!this.showDropdownIfEmpty&&!t||e||o?this.dropdown.hide():(this.setItems(r),void(l?this.dropdown.show(i):a&&this.hide()))},this.requestAdding=e=>Object(i.__awaiter)(this,void 0,void 0,(function*(){const t=this.createTagModel(e);yield this.tagInput.onAddingRequested(!0,t).catch(()=>{})})),this.resetItems=()=>{this.items=[]},this.getItemsFromObservable=e=>{this.setLoadingState(!0),this.autocompleteObservable(e).pipe(Object(o.a)()).subscribe(t=>{this.setLoadingState(!1).populateItems(t),this.setItems(this.getMatchingItems(e)),this.items.length?this.dropdown.show(this.calculatePosition()):this.dropdown.hide()},()=>this.setLoadingState(!1))}}set autocompleteItems(e){this._autocompleteItems=e}get autocompleteItems(){const e=this._autocompleteItems;return e?e.map(e=>"string"==typeof e?{[this.displayBy]:e,[this.identifyBy]:e}:e):[]}ngAfterViewInit(){this.onItemClicked().subscribe(e=>{this.requestAdding(e)}),this.onHide().subscribe(this.resetItems);const e=this.keepOpen;this.tagInput.onTextChange.asObservable().pipe(Object(l.a)(200),Object(a.a)(t=>!1!==e||t.length>0)).subscribe(this.show)}updatePosition(){const e=this.tagInput.inputForm.getElementPosition();this.dropdown.menu.updatePosition(e,this.dynamicUpdate)}get isVisible(){return this.dropdown.menu.dropdownState.menuState.isVisible}onHide(){return this.dropdown.onHide}onItemClicked(){return this.dropdown.onItemClicked}get selectedItem(){return this.dropdown.menu.dropdownState.dropdownState.selectedItem}get state(){return this.dropdown.menu.dropdownState}hide(){this.resetItems(),this.dropdown.hide()}scrollListener(){this.isVisible&&this.dynamicUpdate&&this.updatePosition()}onWindowBlur(){this.dropdown.hide()}getFormValue(){const e=this.tagInput.formValue;return e?e.toString().trim():""}calculatePosition(){return this.tagInput.inputForm.getElementPosition()}createTagModel(e){return Object.assign({},e.value,{[this.tagInput.displayBy]:"string"==typeof e.value?e.value:e.value[this.displayBy],[this.tagInput.identifyBy]:"string"==typeof e.value?e.value:e.value[this.identifyBy]})}getMatchingItems(e){if(!e&&!this.showDropdownIfEmpty)return[];const t=this.tagInput.allowDupes;return this.autocompleteItems.filter(n=>{const i=!t&&this.tagInput.tags.some(e=>("string"==typeof e.model?e.model:e.model[this.tagInput.identifyBy])===n[this.identifyBy]);return this.matchingFn(e,n)&&!1===i})}setItems(e){this.items=e.slice(0,this.limitItemsTo||e.length)}populateItems(e){return this.autocompleteItems=e.map(e=>"string"==typeof e?{[this.displayBy]:e,[this.identifyBy]:e}:e),this}setLoadingState(e){return this.tagInput.isLoading=e,this}},x=class extends class{constructor(){this._items=[],this.displayBy=f.defaults.tagInput.displayBy,this.identifyBy=f.defaults.tagInput.identifyBy}get items(){return this._items}set items(e){this._items=e,this._onChangeCallback(this._items)}onTouched(){this._onTouchedCallback()}writeValue(e){this._items=e||[]}registerOnChange(e){this._onChangeCallback=e}registerOnTouched(e){this._onTouchedCallback=e}getItemValue(e,t=!1){const n=t&&this.dropdown?this.dropdown.identifyBy:this.identifyBy;return m(e)?e[n]:e}getItemDisplay(e,t=!1){const n=t&&this.dropdown?this.dropdown.displayBy:this.displayBy;return m(e)?e[n]:e}getItemsWithout(e){return this.items.filter((t,n)=>n!==e)}}{constructor(e,t){super(),this.renderer=e,this.dragProvider=t,this.separatorKeys=p.tagInput.separatorKeys,this.separatorKeyCodes=p.tagInput.separatorKeyCodes,this.placeholder=p.tagInput.placeholder,this.secondaryPlaceholder=p.tagInput.secondaryPlaceholder,this.maxItems=p.tagInput.maxItems,this.validators=p.tagInput.validators,this.asyncValidators=p.tagInput.asyncValidators,this.onlyFromAutocomplete=p.tagInput.onlyFromAutocomplete,this.errorMessages=p.tagInput.errorMessages,this.theme=p.tagInput.theme,this.onTextChangeDebounce=p.tagInput.onTextChangeDebounce,this.inputId=p.tagInput.inputId,this.inputClass=p.tagInput.inputClass,this.clearOnBlur=p.tagInput.clearOnBlur,this.hideForm=p.tagInput.hideForm,this.addOnBlur=p.tagInput.addOnBlur,this.addOnPaste=p.tagInput.addOnPaste,this.pasteSplitPattern=p.tagInput.pasteSplitPattern,this.blinkIfDupe=p.tagInput.blinkIfDupe,this.removable=p.tagInput.removable,this.editable=p.tagInput.editable,this.allowDupes=p.tagInput.allowDupes,this.modelAsStrings=p.tagInput.modelAsStrings,this.trimTags=p.tagInput.trimTags,this.ripple=p.tagInput.ripple,this.tabindex=p.tagInput.tabIndex,this.disable=p.tagInput.disable,this.dragZone=p.tagInput.dragZone,this.onRemoving=p.tagInput.onRemoving,this.onAdding=p.tagInput.onAdding,this.animationDuration=p.tagInput.animationDuration,this.onAdd=new r.EventEmitter,this.onRemove=new r.EventEmitter,this.onSelect=new r.EventEmitter,this.onFocus=new r.EventEmitter,this.onBlur=new r.EventEmitter,this.onTextChange=new r.EventEmitter,this.onPaste=new r.EventEmitter,this.onValidationError=new r.EventEmitter,this.onTagEdited=new r.EventEmitter,this.isLoading=!1,this.listeners={keydown:[],keyup:[]},this.inputTextChange=new r.EventEmitter,this.inputTextValue="",this.errors=[],this.appendTag=(e,t=this.items.length)=>{const n=this.items,i=this.modelAsStrings?e[this.identifyBy]:e;this.items=[...n.slice(0,t),i,...n.slice(t,n.length)]},this.createTag=e=>{const t=(e,t)=>"string"==typeof e?e.trim():e[t];return Object.assign({},"string"!=typeof e?e:{},{[this.displayBy]:this.trimTags?t(e,this.displayBy):e,[this.identifyBy]:this.trimTags?t(e,this.identifyBy):e})},this.isTagValid=(e,t=!1)=>{const n=this.dropdown?this.dropdown.selectedItem:void 0,i=this.getItemDisplay(e).trim();if(n&&!t||!i)return!1;const r=this.findDupe(e,t);if(!this.allowDupes&&r&&this.blinkIfDupe){const e=this.tags.find(e=>this.getItemValue(e.model)===this.getItemValue(r));e&&e.blink()}const s=[!r||this.allowDupes,!this.maxItemsReached,t&&this.onlyFromAutocomplete||!this.onlyFromAutocomplete];return s.filter(Boolean).length===s.length},this.onPasteCallback=e=>Object(i.__awaiter)(this,void 0,void 0,(function*(){const t=(()=>{const t=Boolean(window.clipboardData),n=t?window.clipboardData:e.clipboardData;return null===n?"":n.getData(t?"Text":"text/plain")||""})(),n=t.split(this.pasteSplitPattern).map(e=>{const t=this.createTag(e);return this.setInputValue(t[this.displayBy]),this.onAddingRequested(!1,t)}),i=()=>setTimeout(()=>this.setInputValue(""),50);Promise.all(n).then(()=>{this.onPaste.emit(t),i()}).catch(i)}))}get inputText(){return this.inputTextValue}set inputText(e){this.inputTextValue=e,this.inputTextChange.emit(e)}get tabindexAttr(){return""!==this.tabindex?"-1":""}ngAfterViewInit(){this.setUpKeypressListeners(),this.setupSeparatorKeysListener(),this.setUpInputKeydownListeners(),this.onTextChange.observers.length&&this.setUpTextChangeSubscriber(),(this.clearOnBlur||this.addOnBlur)&&this.setUpOnBlurSubscriber(),this.addOnPaste&&this.setUpOnPasteListener();const e=this.inputForm.form.statusChanges;e.pipe(Object(a.a)(e=>"PENDING"!==e)).subscribe(()=>{this.errors=this.inputForm.getErrorMessages(this.errorMessages)}),this.isProgressBarVisible$=e.pipe(Object(u.a)(e=>"PENDING"===e||this.isLoading)),this.hideForm&&this.inputForm.destroy()}ngOnInit(){void 0!==this.maxItems&&this.items&&this.items.length>this.maxItems&&(this.maxItems=this.items.length,console.warn("The number of items specified was greater than the property max-items.")),this.editable=!this.onlyFromAutocomplete&&this.editable,this.setAnimationMetadata()}onRemoveRequested(e,t){return new Promise(n=>{const i=i=>{this.removeItem(i,t),n(e)};this.onRemoving?this.onRemoving(e).pipe(Object(o.a)()).subscribe(i):i(e)})}onAddingRequested(e,t,n,i){return new Promise((r,s)=>{const l=t=>this.addItem(e,t,n,i).then(r).catch(s);return this.onAdding?this.onAdding(t).pipe(Object(o.a)()).subscribe(l,s):l(t)})}selectItem(e,t=!0){e&&"string"!=typeof e&&e.readonly||this.selectedTag===e||(this.selectedTag=e,t&&this.onSelect.emit(e))}fireEvents(e,t){this.listeners[e].forEach(e=>e.call(this,t))}handleKeydown(e){const t=e.event,n=t.shiftKey||!1;switch(d[t.keyCode||t.which]){case"DELETE":if(this.selectedTag&&this.removable){const e=this.items.indexOf(this.selectedTag);this.onRemoveRequested(this.selectedTag,e)}break;case"SWITCH_PREV":this.moveToTag(e.model,"PREV");break;case"SWITCH_NEXT":this.moveToTag(e.model,"NEXT");break;case"TAB":if(n){if(this.isFirstTag(e.model))return;this.moveToTag(e.model,"PREV")}else{if(this.isLastTag(e.model)&&(this.disable||this.maxItemsReached))return;this.moveToTag(e.model,"NEXT")}break;default:return}t.preventDefault()}onFormSubmit(){return Object(i.__awaiter)(this,void 0,void 0,(function*(){try{yield this.onAddingRequested(!1,this.formValue)}catch(e){return}}))}setInputValue(e,t=!0){this.getControl().setValue(e,{emitEvent:t})}getControl(){return this.inputForm.value}focus(e=!1,t=!1){this.dragProvider.getState("dragging")||(this.selectItem(void 0,!1),e&&(this.inputForm.focus(),this.onFocus.emit(this.formValue)))}blur(){this.onTouched(),this.onBlur.emit(this.formValue)}hasErrors(){return!!this.inputForm&&this.inputForm.hasErrors()}isInputFocused(){return!!this.inputForm&&this.inputForm.isInputFocused()}hasCustomTemplate(){const e=this.templates?this.templates.first:void 0;return Boolean(e&&e!==(this.dropdown&&this.dropdown.templates?this.dropdown.templates.first:void 0))}get maxItemsReached(){return void 0!==this.maxItems&&this.items.length>=this.maxItems}get formValue(){const e=this.inputForm.value;return e?e.value:""}onDragStarted(e,t,n){e.stopPropagation();const i={zone:this.dragZone,tag:t,index:n};this.dragProvider.setSender(this),this.dragProvider.setDraggedItem(e,i),this.dragProvider.setState({dragging:!0,index:n})}onDragOver(e,t){this.dragProvider.setState({dropping:!0}),this.dragProvider.setReceiver(this),e.preventDefault()}onTagDropped(e,t){const n=this.dragProvider.getDraggedItem(e);n&&n.zone===this.dragZone&&(this.dragProvider.onTagDropped(n.tag,n.index,t),e.preventDefault(),e.stopPropagation())}isDropping(){const e=this.dragProvider.receiver===this,t=this.dragProvider.getState("dropping");return Boolean(e&&t)}onTagBlurred(e,t){this.items[t]=e,this.blur()}trackBy(e,t){return t[this.identifyBy]}updateEditedTag({tag:e}){this.onTagEdited.emit(e)}moveToTag(e,t){const n=this.isLastTag(e),i=this.isFirstTag(e);if("NEXT"===t&&n||"PREV"===t&&i)return void this.focus(!0);const r="NEXT"===t?1:-1,s=this.getTagIndex(e)+r,o=this.getTagAtIndex(s);return o.select.call(o)}isFirstTag(e){return this.tags.first.model===e}isLastTag(e){return this.tags.last.model===e}getTagIndex(e){return this.tags.toArray().findIndex(t=>t.model===e)}getTagAtIndex(e){return this.tags.toArray()[e]}removeItem(e,t){this.items=this.getItemsWithout(t),this.selectedTag===e&&this.selectItem(void 0,!1),this.focus(!0,!1),this.onRemove.emit(e)}addItem(e=!1,t,n,i){const r=this.getItemDisplay(t),s=this.createTag(t);return e&&this.setInputValue(this.getItemValue(t,!0)),new Promise((t,l)=>{const u=()=>{this.setInputValue(""),this.focus(!i,!1),t(r)},c=()=>{this.appendTag(s,n),this.onAdd.emit(s),this.dropdown&&(this.dropdown.hide(),this.dropdown.showDropdownIfEmpty&&this.dropdown.show())},d=this.inputForm.form.status,h=this.isTagValid(s,e),p=()=>(this.onValidationError.emit(s),l());return"VALID"===d&&h?(c(),u()):"INVALID"!==d&&h?"PENDING"===d?this.inputForm.form.statusChanges.pipe(Object(a.a)(e=>"PENDING"!==e),Object(o.a)()).subscribe(e=>"VALID"===e&&h?(c(),u()):(u(),p())):void 0:(u(),p())})}setupSeparatorKeysListener(){g.call(this,"keydown",e=>{const t=this.separatorKeyCodes.indexOf(e.keyCode)>=0,n=this.separatorKeys.indexOf(e.key)>=0;(t||n&&229!==e.keyCode)&&(e.preventDefault(),this.onAddingRequested(!1,this.formValue).catch(()=>{}))},this.separatorKeyCodes.length>0||this.separatorKeys.length>0)}setUpKeypressListeners(){g.call(this,"keydown",e=>{(37===e.keyCode||8===e.keyCode)&&!this.formValue&&this.items.length&&this.tags.last.select.call(this.tags.last)})}setUpInputKeydownListeners(){this.inputForm.onKeydown.subscribe(e=>{"Backspace"===e.key&&""===this.formValue.trim()&&e.preventDefault()})}setUpOnPasteListener(){this.renderer.listen(this.inputForm.input.nativeElement,"paste",e=>(this.onPasteCallback(e),e.preventDefault(),!0))}setUpTextChangeSubscriber(){this.inputForm.form.valueChanges.pipe(Object(l.a)(this.onTextChangeDebounce)).subscribe(e=>{this.onTextChange.emit(e.item)})}setUpOnBlurSubscriber(){this.inputForm.onBlur.pipe(Object(l.a)(100),Object(a.a)(()=>!(this.dropdown&&this.dropdown.isVisible||!this.formValue))).subscribe(()=>{const e=()=>this.setInputValue("");if(this.addOnBlur)return this.onAddingRequested(!1,this.formValue,void 0,!0).then(e).catch(e);e()})}findDupe(e,t){const n=e[t?this.dropdown.identifyBy:this.identifyBy];return this.items.find(e=>this.getItemValue(e)===n)}setAnimationMetadata(){this.animationMetadata={value:"in",params:Object.assign({},this.animationDuration)}}},S=class{};const k=new f;let T=class{static withDefaults(e){k.setOptions(e)}}},Cfvw:function(e,t,n){"use strict";var i=n("HDdC"),r=n("SeVD"),s=n("quSY"),o=n("kJWO"),l=n("jZKg"),a=n("Lhse"),u=n("c2HN"),c=n("I55L");function d(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 i.a(n=>{const i=new s.a;return i.add(t.schedule(()=>{const r=e[o.a]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(Object(u.a)(e))return function(e,t){return new i.a(n=>{const i=new s.a;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(Object(c.a)(e))return Object(l.a)(e,t);if(function(e){return e&&"function"==typeof e[a.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[a.a](),i.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())})))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}n.d(t,"a",(function(){return d}))},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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}})}(n("wd/R"))},CoRJ:function(e,t,n){!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}})}(n("wd/R"))},CqKB:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}},CxY0:function(e,t,n){"use strict";var i=n("rWzI"),r=n("Nehr");function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=_,t.resolve=function(e,t){return _(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?_(e,!1,!0).resolveObject(t):t},t.format=function(e){return r.isString(e)&&(e=_(e)),e instanceof s?e.format():s.prototype.format.call(e)},t.Url=s;var o=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),d=["%","/","?",";","#"].concat(c),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n("r8II");function _(e,t,n){if(e&&r.isObject(e)&&e instanceof s)return e;var i=new s;return i.parse(e,t,n),i}s.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),l=-1!==s&&s127?O+="x":O+=P[L];if(!O.match(p)){var j=D.slice(0,E),N=D.slice(E+1),F=P.match(f);F&&(j.push(F[1]),N.unshift(F[2])),N.length&&(_="/"+N.join(".")+_),this.hostname=j.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),I||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!m[C])for(E=0,A=c.length;E0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var x=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,k=0,T=w.length;T>=0;T--)"."===(x=w[T])?w.splice(T,1):".."===x?(w.splice(T,1),k++):k&&(w.splice(T,1),k--);if(!_&&!y)for(;k--;k)w.unshift("..");!_||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var E,M=""===w[0]||w[0]&&"/"===w[0].charAt(0);return C&&(n.hostname=n.host=M?"":w.length?w.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),(_=_||n.host&&w.length)&&!M&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},s.prototype.parseHost=function(){var e=this.host,t=l.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},CxhQ:function(e,t,n){var i=n("mrSG").__extends,r=n("9jZZ"),s=n("Irel");t.catchError=function(e){return function(t){var n=new o(e),i=t.lift(n);return n.caught=i}};var o=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.selector,this.caught))},e}(),l=function(e){function t(t,n,i){e.call(this,t),this.selector=n,this.caught=i}return i(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(i){return void e.prototype.error.call(this,i)}this._unsubscribeAndRecycle(),this.add(s.subscribeToResult(this,n))}},t}(r.OuterSubscriber)},"D+UO":function(e,t,n){var i,r,s;!function(o){"use strict";r=[n("nF1N"),n("2xGB"),n("S6UK")],void 0===(s="function"==typeof(i=function(e){var t=e.hasCanvasOption,n=e.hasMetaOption,i=e.transformCoordinates,r=e.getTransformedOptions;e.hasCanvasOption=function(n){return!!n.orientation||t.call(e,n)},e.hasMetaOption=function(t){return t&&!0===t.orientation||n.call(e,t)},e.transformCoordinates=function(t,n){i.call(e,t,n);var r=t.getContext("2d"),s=t.width,o=t.height,l=t.style.width,a=t.style.height,u=n.orientation;if(u&&!(u>8))switch(u>4&&(t.width=o,t.height=s,t.style.width=a,t.style.height=l),u){case 2:r.translate(s,0),r.scale(-1,1);break;case 3:r.translate(s,o),r.rotate(Math.PI);break;case 4:r.translate(0,o),r.scale(1,-1);break;case 5:r.rotate(.5*Math.PI),r.scale(1,-1);break;case 6:r.rotate(.5*Math.PI),r.translate(0,-o);break;case 7:r.rotate(.5*Math.PI),r.translate(s,-o),r.scale(-1,1);break;case 8:r.rotate(-.5*Math.PI),r.translate(-s,0)}},e.getTransformedOptions=function(t,n,i){var s,o,l=r.call(e,t,n),a=l.orientation;if(!0===a&&i&&i.exif&&(a=i.exif.get("Orientation")),!a||a>8||1===a)return l;for(o in s={},l)l.hasOwnProperty(o)&&(s[o]=l[o]);switch(s.orientation=a,a){case 2:s.left=l.right,s.right=l.left;break;case 3:s.left=l.right,s.top=l.bottom,s.right=l.left,s.bottom=l.top;break;case 4:s.top=l.bottom,s.bottom=l.top;break;case 5:s.left=l.top,s.top=l.left,s.right=l.bottom,s.bottom=l.right;break;case 6:s.left=l.top,s.top=l.right,s.right=l.bottom,s.bottom=l.left;break;case 7:s.left=l.bottom,s.top=l.right,s.right=l.top,s.bottom=l.left;break;case 8:s.left=l.bottom,s.top=l.left,s.right=l.top,s.bottom=l.right}return s.orientation>4&&(s.maxWidth=l.maxHeight,s.maxHeight=l.maxWidth,s.minWidth=l.minHeight,s.minHeight=l.minWidth,s.sourceWidth=l.sourceHeight,s.sourceHeight=l.sourceWidth),s}})?i.apply(t,r):i)||(e.exports=s)}()},"D/JM":function(e,t,n){!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}})}(n("wd/R"))},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},D2MY:function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.InnerSubscriber=function(e){function t(t,n,i){e.call(this),this.parent=t,this.outerValue=n,this.outerIndex=i,this.index=0}return i(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}(r.Subscriber)},DFxj:function(e,t,n){"use strict";var i=n("rVFa"),r=n("8x9D"),s=n("36rE"),o=n("6oB3"),l=n("NwwV");t.startWith=function(){for(var e=[],t=0;t1?new i.ArrayObservable(e,n):new s.EmptyObservable(n),t)}}},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DKXc:function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.find=function(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(n){return n.lift(new s(e,n,!1,t))}};var s=function(){function e(e,t,n,i){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=i}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}();t.FindValueOperator=s;var o=function(e){function t(t,n,i,r,s){e.call(this,t),this.predicate=n,this.source=i,this.yieldIndex=r,this.thisArg=s,this.index=0}return i(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,n=this.thisArg,i=this.index++;try{t.call(n||this,e,i,this.source)&&this.notifyComplete(this.yieldIndex?i:e)}catch(r){this.destination.error(r)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(r.Subscriber);t.FindValueSubscriber=o},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={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?r[n][0]:r[n][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,n){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(e,t,n){!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}})}(n("wd/R"))},Dmvi:function(e,t,n){!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}})}(n("wd/R"))},DoHr:function(e,t,n){!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,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default: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}})}(n("wd/R"))},DxQv:function(e,t,n){!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}})}(n("wd/R"))},Dzi0:function(e,t,n){!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}})}(n("wd/R"))},"E+lV":function(e,t,n){!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,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};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}})}(n("wd/R"))},E8Zt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("8Y7J"),r=n("GY7i"),s=n("MmjM"),o=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{declarations:[r.DaterangePickerComponent],providers:[s.DaterangepickerConfig],exports:[r.DaterangePickerComponent]}]}],e.ctorParameters=function(){return[]},e}();t.Daterangepicker=o},EApP:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return T})),n.d(t,"f",(function(){return M})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return S})),n.d(t,"i",(function(){return x})),n.d(t,"j",(function(){return _})),n("mrSG");var i=n("8Y7J"),r=n("XNiG"),s=n("cUpR"),o=n("SVse");let l=class{};class a{constructor(e,t,n,i,s,o){this.toastId=e,this.config=t,this.message=n,this.title=i,this.toastType=s,this.toastRef=o,this._onTap=new r.a,this._onAction=new r.a,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}}const u={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},c=new i.InjectionToken("ToastConfig");class d{constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){const e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class h{attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}}class p extends h{constructor(e,t,n){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=n}attachComponentPortal(e,t){const n=this._componentFactoryResolver.resolveComponentFactory(e.component);let i;return i=n.create(e.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let f=(()=>{let e=class{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),this._document.body.appendChild(e),this._containerElement=e}};return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(o.d))},token:e,providedIn:"root"}),e})();class m{constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}}let g=(()=>{let e=class{constructor(e,t,n,i){this._overlayContainer=e,this._componentFactoryResolver=t,this._appRef=n,this._document=i,this._paneElements=new Map}create(e,t){return this._createOverlayRef(this.getPaneElement(e,t))}getPaneElement(e="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[e]||(this._paneElements.get(t)[e]=this._createPaneElement(e,t)),this._paneElements.get(t)[e]}_createPaneElement(e,t){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(e),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(e){return new p(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new m(this._createPortalHost(e))}};return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(f),Object(i["\u0275\u0275inject"])(i.ComponentFactoryResolver),Object(i["\u0275\u0275inject"])(i.ApplicationRef),Object(i["\u0275\u0275inject"])(o.d))},token:e,providedIn:"root"}),e})();class v{constructor(e){this._overlayRef=e,this.duplicatesCount=0,this._afterClosed=new r.a,this._activate=new r.a,this._manualClose=new r.a,this._resetTimeout=new r.a,this._countDuplicate=new r.a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class b{constructor(e,t){this._toastPackage=e,this._parentInjector=t}get(e,t,n){return e===a?this._toastPackage:this._parentInjector.get(e,t,n)}}let _=(()=>{let e=class{constructor(e,t,n,i,r){this.overlay=t,this._injector=n,this.sanitizer=i,this.ngZone=r,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign({},e.default,e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign({},e.default.iconClasses,e.config.iconClasses))}show(e,t,n={},i=""){return this._preBuildNotification(i,e,t,this.applyConfig(n))}success(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,t,this.applyConfig(n))}error(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,t,this.applyConfig(n))}info(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,t,this.applyConfig(n))}warning(e,t,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,t,this.applyConfig(n))}clear(e){for(const t of this.toasts)if(void 0!==e){if(t.toastId===e)return void t.toastRef.manualClose()}else t.toastRef.manualClose()}remove(e){const t=this._findToast(e);if(!t)return!1;if(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActivethis._buildNotification(e,t,n,i)):this._buildNotification(e,t,n,i)}_buildNotification(e,t,n,r){if(!r.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(t,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if(t&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=t;let o=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(o=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const l=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let u=t;t&&r.enableHtml&&(u=this.sanitizer.sanitize(i.SecurityContext.HTML,t));const c=new v(l),h=new a(this.index,r,u,n,e,c),p=new b(h,this._injector),f=new d(r.toastComponent,p),m=l.attach(f,this.toastrConfig.newestOnTop);c.componentInstance=m._component;const g={toastId:this.index,message:t||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:h.onTap(),onAction:h.onAction(),portal:m};return o||setTimeout(()=>{g.toastRef.activate(),this.currentlyActive=this.currentlyActive+1}),this.toasts.push(g),g}};return e.ngInjectableDef=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(i["\u0275\u0275inject"])(c),Object(i["\u0275\u0275inject"])(g),Object(i["\u0275\u0275inject"])(i.INJECTOR),Object(i["\u0275\u0275inject"])(s.b),Object(i["\u0275\u0275inject"])(i.NgZone))},token:e,providedIn:"root"}),e})(),y=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign({},this.state,{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign({},this.state,{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign({},this.state,{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),t)):this.timeout=setTimeout(()=>e(),t)}outsideInterval(e,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),t)):this.intervalId=setInterval(()=>e(),t)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}};var w;const C=Object.assign({},u,{toastComponent:y});let x=w=class{static forRoot(e={}){return{ngModule:w,providers:[{provide:c,useValue:{default:C,config:e}}]}}},S=class{static forRoot(e={}){return{ngModule:x,providers:[{provide:c,useValue:{default:u,config:e}}]}}};var k;let T=class{constructor(e,t,n){this.toastrService=e,this.toastPackage=t,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(e=>{this.duplicatesCount=e})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}};const E=Object.assign({},u,{toastComponent:T});let M=k=class{static forRoot(e={}){return{ngModule:k,providers:[{provide:c,useValue:{default:E,config:e}}]}}}},EOgW:function(e,t,n){!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,n){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"}})}(n("wd/R"))},ER9c:function(e,t,n){var i=n("mrSG").__extends,r=n("1uGz");t.every=function(e,t){return function(n){return n.lift(new s(e,t,n))}};var s=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg,this.source))},e}(),o=function(e){function t(t,n,i,r){e.call(this,t),this.predicate=n,this.thisArg=i,this.source=r,this.index=0,this.thisArg=i||this}return i(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(r.Subscriber)},EVdn:function(e,t,n){var i;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var s=[],o=n.document,l=Object.getPrototypeOf,a=s.slice,u=s.concat,c=s.push,d=s.indexOf,h={},p=h.toString,f=h.hasOwnProperty,m=f.toString,g=m.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},_=function(e){return null!=e&&e===e.window},y={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var i,r,s=(n=n||o).createElement("script");if(s.text=e,t)for(i in y)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[p.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)},S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function k(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!b(e)&&!_(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.4.1",constructor:x,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+N+")"+N+"*"),W=new RegExp(N+"|>"),q=new RegExp(Y),$=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+Y),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=function(){h()},oe=ye((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(D=L.call(w.childNodes),w.childNodes)}catch(ke){O={apply:D.length?function(e,t){P.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function le(e,t,i,r){var s,l,u,c,d,f,v,b=t&&t.ownerDocument,C=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return i;if(!r&&((t?t.ownerDocument||t:w)!==p&&h(t),t=t||p,m)){if(11!==C&&(d=Z.exec(e)))if(s=d[1]){if(9===C){if(!(u=t.getElementById(s)))return i;if(u.id===s)return i.push(u),i}else if(b&&(u=b.getElementById(s))&&_(t,u)&&u.id===s)return i.push(u),i}else{if(d[2])return O.apply(i,t.getElementsByTagName(e)),i;if((s=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(i,t.getElementsByClassName(s)),i}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===C&&W.test(e)){for((c=t.getAttribute("id"))?c=c.replace(ie,re):t.setAttribute("id",c=y),l=(f=o(e)).length;l--;)f[l]="#"+c+" "+_e(f[l]);v=f.join(","),b=ee.test(e)&&ve(t.parentNode)||t}try{return O.apply(i,b.querySelectorAll(v)),i}catch(x){E(e,!0)}finally{c===y&&t.removeAttribute("id")}}}return a(e.replace(U,"$1"),t,i,r)}function ae(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ue(e){return e[y]=!0,e}function ce(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(ke){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ue((function(t){return t=+t,ue((function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=le.support={},s=le.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!K.test(e.namespaceURI||t&&t.nodeName||"HTML")},h=le.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:w;return o!==p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,m=!s(p),w!==p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",se,!1):r.attachEvent&&r.attachEvent("onunload",se)),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ce((function(e){return f.appendChild(e).id=y,!p.getElementsByName||!p.getElementsByName(y).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,r,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(r=t.getElementsByName(e),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ce((function(e){f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+N+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+y+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+y+"+*").length||g.push(".#.+[+~]")})),ce((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=J.test(b=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",Y)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(f.compareDocumentPosition),_=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},M=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===p||e.ownerDocument===w&&_(w,e)?-1:t===p||t.ownerDocument===w&&_(w,t)?1:c?R(c,e)-R(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,s=t.parentNode,o=[e],l=[t];if(!r||!s)return e===p?-1:t===p?1:r?-1:s?1:c?R(c,e)-R(c,t):0;if(r===s)return he(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;o[i]===l[i];)i++;return i?he(o[i],l[i]):o[i]===w?-1:l[i]===w?1:0},p):p},le.matches=function(e,t){return le(e,null,null,t)},le.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&h(e),n.matchesSelector&&m&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(ke){E(t,!0)}return le(t,p,null,[e]).length>0},le.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),_(e,t)},le.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var r=i.attrHandle[t.toLowerCase()],s=r&&I.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==s?s:n.attributes||!m?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},le.escape=function(e){return(e+"").replace(ie,re)},le.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},le.uniqueSort=function(e){var t,i=[],r=0,s=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(M),d){for(;t=e[s++];)t===e[s]&&(r=i.push(s));for(;r--;)e.splice(i[r],1)}return c=null,e},r=le.getText=function(e){var t,n="",i=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=le.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||le.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&le.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=le.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(V," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),l="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,a){var u,c,d,h,p,f,m=s!==o?"nextSibling":"previousSibling",g=t.parentNode,v=l&&t.nodeName.toLowerCase(),b=!a&&!l,_=!1;if(g){if(s){for(;m;){for(h=t;h=h[m];)if(l?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&b){for(_=(p=(u=(c=(d=(h=g)[y]||(h[y]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===C&&u[1])&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(_=p=0)||f.pop();)if(1===h.nodeType&&++_&&h===t){c[e]=[C,p,_];break}}else if(b&&(_=p=(u=(c=(d=(h=t)[y]||(h[y]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===C&&u[1]),!1===_)for(;(h=++p&&h&&h[m]||(_=p=0)||f.pop())&&((l?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++_||(b&&((c=(d=h[y]||(h[y]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[C,_]),h!==t)););return(_-=r)===i||_%i==0&&_/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||le.error("unsupported pseudo: "+e);return r[y]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var i,s=r(e,t),o=s.length;o--;)e[i=R(e,s[o])]=!(n[i]=s[o])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ue((function(e){var t=[],n=[],i=l(e.replace(U,"$1"));return i[y]?ue((function(e,t,n,r){for(var s,o=i(e,null,r,[]),l=e.length;l--;)(s=o[l])&&(e[l]=!(t[l]=s))})):function(e,r,s){return t[0]=e,i(t,null,s,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return le(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ue((function(e){return $.test(e||"")||le.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;nt?t:n;--i>=0;)e.push(i);return e})),gt:ge((function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function Ce(e,t,n,i,r){for(var s,o=[],l=0,a=e.length,u=null!=t;l-1&&(s[u]=!(o[u]=d))}}else v=Ce(v===o?v.splice(f,v.length):v),r?r(null,o,v,a):O.apply(o,v)}))}function Se(e){for(var t,n,r,s=e.length,o=i.relative[e[0].type],l=o||i.relative[" "],a=o?1:0,c=ye((function(e){return e===t}),l,!0),d=ye((function(e){return R(t,e)>-1}),l,!0),h=[function(e,n,i){var r=!o&&(i||n!==u)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,r}];a1&&we(h),a>1&&_e(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(U,"$1"),n,a0,r=e.length>0,s=function(s,o,l,a,c){var d,f,g,v=0,b="0",_=s&&[],y=[],w=u,x=s||r&&i.find.TAG("*",c),S=C+=null==w?1:Math.random()||.1,k=x.length;for(c&&(u=o===p||o||c);b!==k&&null!=(d=x[b]);b++){if(r&&d){for(f=0,o||d.ownerDocument===p||(h(d),l=!m);g=e[f++];)if(g(d,o||p,l)){a.push(d);break}c&&(C=S)}n&&((d=!g&&d)&&v--,s&&_.push(d))}if(v+=b,n&&b!==v){for(f=0;g=t[f++];)g(_,y,o,l);if(s){if(v>0)for(;b--;)_[b]||y[b]||(y[b]=A.call(a));y=Ce(y)}O.apply(a,y),c&&!s&&y.length>0&&v+t.length>1&&le.uniqueSort(a)}return c&&(C=S,u=w),_};return n?ue(s):s}(s,r))).selector=e}return l},a=le.select=function(e,t,n,r){var s,a,u,c,d,h="function"==typeof e&&e,p=!r&&o(e=h.selector||e);if(n=n||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&m&&i.relative[a[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(s=G.needsContext.test(e)?0:a.length;s--&&!i.relative[c=(u=a[s]).type];)if((d=i.find[c])&&(r=d(u.matches[0].replace(te,ne),ee.test(a[0].type)&&ve(t.parentNode)||t))){if(a.splice(s,1),!(e=r.length&&_e(a)))return O.apply(n,r),n;break}}return(h||l(e,p))(r,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=y.split("").sort(M).join("")===y,n.detectDuplicates=!!d,h(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ce((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||de(j,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),le}(n);x.find=T,x.expr=T.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=T.uniqueSort,x.text=T.getText,x.isXMLDoc=T.isXML,x.contains=T.contains,x.escapeSelector=T.escape;var E=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&x(e).is(n))break;i.push(e)}return i},M=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},I=x.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return b(t)?x.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return d.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?x.find.matchesSelector(i,e)?[i]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&I.test(e)?x(e):e||[],!1).length}});var O,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(x.merge(this,x.parseHTML(i[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:o,!0)),A.test(i[1])&&x.isPlainObject(t))for(i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=o.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,O=x(o);var R=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?x.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?d.call(x(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return M((e.parentNode||{}).firstChild,e)},children:function(e){return M(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(D(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,i){var r=x.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=x.filter(i,r)),this.length>1&&(j[e]||x.uniqueSort(r),R.test(e)&&r.reverse()),this.pushStack(r)}}));var F=/[^\x20\t\r\n\f]+/g;function H(e){return e}function Y(e){throw e}function V(e,t,n,i){var r;try{e&&b(r=e.promise)?r.call(e).done(t).fail(n):e&&b(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,i,r,s=[],o=[],l=-1,a=function(){for(r=r||e.once,i=t=!0;o.length;l=-1)for(n=o.shift();++l-1;)s.splice(n,1),n<=l&&l--})),this},has:function(e){return e?x.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||t||(s=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||a()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(n){x.each(t,(function(t,i){var r=b(e[i[4]])&&e[i[4]];s[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,r){var s=0;function o(e,t,i,r){return function(){var l=this,a=arguments,u=function(){var n,u;if(!(e=s&&(i!==Y&&(l=void 0,a=[n]),t.rejectWith(l,a))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),n.setTimeout(c))}}return x.Deferred((function(n){t[0][3].add(o(0,n,b(r)?r:H,n.notifyWith)),t[1][3].add(o(0,n,b(e)?e:H)),t[2][3].add(o(0,n,b(i)?i:Y))})).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},s={};return x.each(t,(function(e,n){var o=n[2],l=n[5];r[n[1]]=o.add,l&&o.add((function(){i=l}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=o.fireWith})),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),s=x.Deferred(),o=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(V(e,s.done(o(n)).resolve,s.reject,!t),"pending"===s.state()||b(r[n]&&r[n].then)))return s.then();for(;n--;)V(r[n],o(n),s.reject);return s.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout((function(){throw e}))};var z=x.Deferred();function B(){o.removeEventListener("DOMContentLoaded",B),n.removeEventListener("load",B),x.ready()}x.fn.ready=function(e){return z.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||z.resolveWith(o,[x]))}}),x.ready.then=z.then,"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?n.setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",B),n.addEventListener("load",B));var W=function(e,t,n,i,r,s,o){var l=0,a=e.length,u=null==n;if("object"===C(n))for(l in r=!0,n)W(e,t,l,n[l],!0,s,o);else if(void 0!==i&&(r=!0,b(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(x(e),n)})),t))for(;l1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var i;if(e)return i=J.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=J.access(e,t,x.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),i=n.length,r=n.shift(),s=x._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,(function(){x.dequeue(e,t)}),s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:x.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i,be={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?x.merge([e],n):n}function ye(e,t){for(var n=0,i=e.length;n-1)r&&r.push(s);else if(u=le(s),o=_e(d.appendChild(s),"script"),u&&ye(o),n)for(c=0;s=o[c++];)ve.test(s.type||"")&&n.push(s);return d}we=o.createDocumentFragment().appendChild(o.createElement("div")),(Ce=o.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),we.appendChild(Ce),v.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="",v.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue;var ke=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Me(){return!0}function Ie(){return!1}function De(e,t){return e===function(){try{return o.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,i,r,s){var o,l;if("object"==typeof t){for(l in"string"!=typeof n&&(i=i||n,n=void 0),t)Ae(e,l,n,i,t[l],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ie;else if(!r)return e;return 1===s&&(o=r,(r=function(e){return x().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=x.guid++)),e.each((function(){x.event.add(this,t,r,i,n)}))}function Pe(e,t,n){n?(J.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var i,r,s=J.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=a.call(arguments),J.set(this,t,s),i=n(this,t),this[t](),s!==(r=J.get(this,t))||i?J.set(this,t,!1):r={},s!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else s.length&&(J.set(this,t,{value:x.event.trigger(x.extend(s[0],x.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&x.event.add(e,t,Me)}x.event={global:{},add:function(e,t,n,i,r){var s,o,l,a,u,c,d,h,p,f,m,g=J.get(e);if(g)for(n.handler&&(n=(s=n).handler,r=s.selector),r&&x.find.matchesSelector(oe,r),n.guid||(n.guid=x.guid++),(a=g.events)||(a=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(F)||[""]).length;u--;)p=m=(l=Ee.exec(t[u])||[])[1],f=(l[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},d=x.event.special[p=(r?d.delegateType:d.bindType)||p]||{},c=x.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:f.join(".")},s),(h=a[p])||((h=a[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),x.event.global[p]=!0)},remove:function(e,t,n,i,r){var s,o,l,a,u,c,d,h,p,f,m,g=J.hasData(e)&&J.get(e);if(g&&(a=g.events)){for(u=(t=(t||"").match(F)||[""]).length;u--;)if(p=m=(l=Ee.exec(t[u])||[])[1],f=(l[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},h=a[p=(i?d.delegateType:d.bindType)||p]||[],l=l[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=h.length;s--;)c=h[s],!r&&m!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(s,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||x.removeEvent(e,p,g.handle),delete a[p])}else for(p in a)x.event.remove(e,p+t[u],n,i,!0);x.isEmptyObject(a)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,l=x.event.fix(e),a=new Array(arguments.length),u=(J.get(this,"events")||{})[l.type]||[],c=x.event.special[l.type]||{};for(a[0]=l,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(s=[],o={},n=0;n-1:x.find(r,this,null,[u]).length),o[r]&&s.push(i);s.length&&l.push({elem:u,handlers:s})}return u=this,a\x20\t\r\n\f]*)[^>]*)\/>/gi,Le=/\s*$/g;function Ne(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ye(e,t){var n,i,r,s,o,l,a,u;if(1===t.nodeType){if(J.hasData(e)&&(s=J.access(e),o=J.set(t,s),u=s.events))for(r in delete o.handle,o.events={},u)for(n=0,i=u[r].length;n1&&"string"==typeof f&&!v.checkClone&&Re.test(f))return e.each((function(r){var s=e.eq(r);m&&(t[0]=f.call(this,r,s.html())),Ue(s,t,n,i)}));if(h&&(s=(r=Se(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(l=(o=x.map(_e(r,"script"),Fe)).length;d")},clone:function(e,t,n){var i,r,s,o,l=e.cloneNode(!0),a=le(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(o=_e(l),i=0,r=(s=_e(e)).length;i0&&ye(o,!a&&_e(e,"script")),l},cleanData:function(e){for(var t,n,i,r=x.event.special,s=0;void 0!==(n=e[s]);s++)if(Q(n)){if(t=n[J.expando]){if(t.events)for(i in t.events)r[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),x.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return W(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ue(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-a-l-.5))||0),a}function st(e,t,n){var i=We(e),r=(!v.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,i),s=r,o=$e(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(o)){if(!n)return o;o="auto"}return(!v.boxSizingReliable()&&r||"auto"===o||!parseFloat(o)&&"inline"===x.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===x.css(e,"boxSizing",!1,i),(s=l in e)&&(o=e[l])),(o=parseFloat(o)||0)+rt(e,t,n||(r?"border":"content"),s,i,o)+"px"}function ot(e,t,n,i,r){return new ot.prototype.init(e,t,n,i,r)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,l=K(t),a=et.test(t),u=e.style;if(a||(t=Je(l)),o=x.cssHooks[t]||x.cssHooks[l],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:u[t];"string"==(s=typeof n)&&(r=re.exec(n))&&r[1]&&(n=de(e,t,r),s="number"),null!=n&&n==n&&("number"!==s||a||(n+=r&&r[3]||(x.cssNumber[l]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(a?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,s,o,l=K(t);return et.test(t)||(t=Je(l)),(o=x.cssHooks[t]||x.cssHooks[l])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=$e(e,t,i)),"normal"===r&&t in nt&&(r=nt[t]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,i){if(n)return!Ze.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?st(e,t,i):ce(e,tt,(function(){return st(e,t,i)}))},set:function(e,n,i){var r,s=We(e),o=!v.scrollboxSize()&&"absolute"===s.position,l=(o||i)&&"border-box"===x.css(e,"boxSizing",!1,s),a=i?rt(e,t,i,l,s):0;return l&&o&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-rt(e,t,"border",!1,s)-.5)),a&&(r=re.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),it(0,n,a)}}})),x.cssHooks.marginLeft=Ge(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ce(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+se[i]+t]=s[i]||s[i-2]||s[0];return r}},"margin"!==e&&(x.cssHooks[e+t].set=it)})),x.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var i,r,s={},o=0;if(Array.isArray(t)){for(i=We(e),r=t.length;o1)}}),x.Tween=ot,(ot.prototype={constructor:ot,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(x.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}}).init.prototype=ot.prototype,(ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=ot.prototype.init,x.fx.step={};var lt,at,ut=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function dt(){at&&(!1===o.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(dt):n.setTimeout(dt,x.fx.interval),x.fx.tick())}function ht(){return n.setTimeout((function(){lt=void 0})),lt=Date.now()}function pt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=se[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function ft(e,t,n){for(var i,r=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),s=0,o=r.length;s1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=x.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(F);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=vt[t]||x.find.attr;vt[t]=function(e,t,i){var r,s,o=t.toLowerCase();return i||(s=vt[o],vt[o]=r,r=null!=n(e,t,i)?o:null,vt[o]=s),r}}));var bt=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function yt(e){return(e.match(F)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}x.fn.extend({prop:function(e,t){return W(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&x.isXMLDoc(e)||(r=x.propHooks[t=x.propFix[t]||t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,i,r,s,o,l,a=0;if(b(e))return this.each((function(t){x(this).addClass(e.call(this,t,wt(this)))}));if((t=Ct(e)).length)for(;n=this[a++];)if(r=wt(n),i=1===n.nodeType&&" "+yt(r)+" "){for(o=0;s=t[o++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");r!==(l=yt(i))&&n.setAttribute("class",l)}return this},removeClass:function(e){var t,n,i,r,s,o,l,a=0;if(b(e))return this.each((function(t){x(this).removeClass(e.call(this,t,wt(this)))}));if(!arguments.length)return this.attr("class","");if((t=Ct(e)).length)for(;n=this[a++];)if(r=wt(n),i=1===n.nodeType&&" "+yt(r)+" "){for(o=0;s=t[o++];)for(;i.indexOf(" "+s+" ")>-1;)i=i.replace(" "+s+" "," ");r!==(l=yt(i))&&n.setAttribute("class",l)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):b(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,wt(this),t),t)})):this.each((function(){var t,r,s,o;if(i)for(r=0,s=x(this),o=Ct(e);t=o[r++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else void 0!==e&&"boolean"!==n||((t=wt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+yt(wt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;x.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=b(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,x(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=x.map(r,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(xt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:yt(x.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,o="select-one"===e.type,l=o?null:[],a=o?s+1:r.length;for(i=s<0?a:o?s:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},v.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in n;var St=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,i,r){var s,l,a,u,c,d,h,p,m=[i||o],g=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(l=p=a=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!St.test(g+x.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[x.expando]?e:new x.Event(g,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:x.makeArray(t,[e]),h=x.event.special[g]||{},r||!h.trigger||!1!==h.trigger.apply(i,t))){if(!r&&!h.noBubble&&!_(i)){for(St.test((u=h.delegateType||g)+g)||(l=l.parentNode);l;l=l.parentNode)m.push(l),a=l;a===(i.ownerDocument||o)&&m.push(a.defaultView||a.parentWindow||n)}for(s=0;(l=m[s++])&&!e.isPropagationStopped();)p=l,e.type=s>1?u:h.bindType||g,(d=(J.get(l,"events")||{})[e.type]&&J.get(l,"handle"))&&d.apply(l,t),(d=c&&l[c])&&d.apply&&Q(l)&&(e.result=d.apply(l,t),!1===e.result&&e.preventDefault());return e.type=g,r||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(m.pop(),t)||!Q(i)||c&&b(i[g])&&!_(i)&&((a=i[c])&&(i[c]=null),x.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,kt),i[g](),e.isPropagationStopped()&&p.removeEventListener(g,kt),x.event.triggered=void 0,a&&(i[c]=a)),e.result}},simulate:function(e,t,n){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(i,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),v.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=J.access(i,t);r||i.addEventListener(e,n,!0),J.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=J.access(i,t)-1;r?J.access(i,t,r):(i.removeEventListener(e,n,!0),J.remove(i,t))}}}));var Tt=n.location,Et=Date.now(),Mt=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(i){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var It=/\[\]$/,Dt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,i){var r;if(Array.isArray(t))x.each(t,(function(t,r){n||It.test(e)?i(e,r):Ot(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==C(t))i(e,t);else for(r in t)Ot(e+"["+r+"]",t[r],n,i)}x.param=function(e,t){var n,i=[],r=function(e,t){var n=b(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){r(this.name,this.value)}));else for(n in e)Ot(n,e[n],t,r);return i.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Pt.test(this.nodeName)&&!At.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:n.replace(Dt,"\r\n")}})).get()}});var Lt=/%20/g,Rt=/#.*$/,jt=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Ht=/^\/\//,Yt={},Vt={},Ut="*/".concat("*"),zt=o.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(F)||[];if(b(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Wt(e,t,n,i){var r={},s=e===Vt;function o(l){var a;return r[l]=!0,x.each(e[l]||[],(function(e,l){var u=l(t,n,i);return"string"!=typeof u||s||r[u]?s?!(a=u):void 0:(t.dataTypes.unshift(u),o(u),!1)})),a}return o(t.dataTypes[0])||!r["*"]&&o("*")}function qt(e,t){var n,i,r=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&x.extend(!0,e,i),e}zt.href=Tt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,x.ajaxSettings),t):qt(x.ajaxSettings,e)},ajaxPrefilter:Bt(Yt),ajaxTransport:Bt(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var i,r,s,l,a,u,c,d,h,p,f=x.ajaxSetup({},t=t||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?x(m):x.event,v=x.Deferred(),b=x.Callbacks("once memory"),_=f.statusCode||{},y={},w={},C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!l)for(l={};t=Nt.exec(s);)l[t[1].toLowerCase()+" "]=(l[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=l[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,y[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(S),f.url=((e||f.url||Tt.href)+"").replace(Ht,Tt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(F)||[""],null==f.crossDomain){u=o.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=zt.protocol+"//"+zt.host!=u.protocol+"//"+u.host}catch(T){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),Wt(Yt,f,t,S),c)return S;for(h in(d=x.event&&f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ft.test(f.type),r=f.url.replace(Rt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Lt,"+")):(p=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(Mt.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(jt,"$1"),p=(Mt.test(r)?"&":"?")+"_="+Et+++p),f.url=r+p),f.ifModified&&(x.lastModified[r]&&S.setRequestHeader("If-Modified-Since",x.lastModified[r]),x.etag[r]&&S.setRequestHeader("If-None-Match",x.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ut+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(m,S,f)||c))return S.abort();if(C="abort",b.add(f.complete),S.done(f.success),S.fail(f.error),i=Wt(Vt,f,t,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,f]),c)return S;f.async&&f.timeout>0&&(a=n.setTimeout((function(){S.abort("timeout")}),f.timeout));try{c=!1,i.send(y,k)}catch(T){if(c)throw T;k(-1,T)}}else k(-1,"No Transport");function k(e,t,o,l){var u,h,p,y,w,C=t;c||(c=!0,a&&n.clearTimeout(a),i=void 0,s=l||"",S.readyState=e>0?4:0,u=e>=200&&e<300||304===e,o&&(y=function(e,t,n){for(var i,r,s,o,l=e.contents,a=e.dataTypes;"*"===a[0];)a.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in l)if(l[r]&&l[r].test(i)){a.unshift(r);break}if(a[0]in n)s=a[0];else{for(r in n){if(!a[0]||e.converters[r+" "+a[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==a[0]&&a.unshift(s),n[s]}(f,S,o)),y=function(e,t,n,i){var r,s,o,l,a,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(s=c.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!a&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=s,s=c.shift())if("*"===s)s=a;else if("*"!==a&&a!==s){if(!(o=u[a+" "+s]||u["* "+s]))for(r in u)if((l=r.split(" "))[1]===s&&(o=u[a+" "+l[0]]||u["* "+l[0]])){!0===o?o=u[r]:!0!==u[r]&&(s=l[0],c.unshift(l[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(T){return{state:"parsererror",error:o?T:"No conversion from "+a+" to "+s}}}return{state:"success",data:t}}(f,y,S,u),u?(f.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[r]=w),(w=S.getResponseHeader("etag"))&&(x.etag[r]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=y.state,h=y.data,u=!(p=y.error))):(p=C,!e&&C||(C="error",e<0&&(e=0))),S.status=e,S.statusText=(t||C)+"",u?v.resolveWith(m,[h,C,S]):v.rejectWith(m,[S,C,p]),S.statusCode(_),_=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[S,f,u?h:p]),b.fireWith(m,[S,C]),d&&(g.trigger("ajaxComplete",[S,f]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,i,r){return b(n)&&(r=r||i,i=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:r,data:n,success:i},x.isPlainObject(e)&&e))}})),x._evalUrl=function(e,t){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return b(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=b(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Gt=x.ajaxSettings.xhr();v.cors=!!Gt&&"withCredentials"in Gt,v.ajax=Gt=!!Gt,x.ajaxTransport((function(e){var t,i;if(v.cors||Gt&&!e.crossDomain)return{send:function(r,s){var o,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)l[o]=e.xhrFields[o];for(o in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)l.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=i=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?s(0,"error"):s(l.status,l.statusText):s($t[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),i=l.onerror=l.ontimeout=t("error"),void 0!==l.onabort?l.onabort=i:l.onreadystatechange=function(){4===l.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(a){if(t)throw a}},abort:function(){t&&t()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=x("