山东雷驰
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
2.9 MiB

!function(){function t(n){var i="function"==typeof Map?new Map:void 0;return(t=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,r)}function r(){return e(t,arguments,b(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,t)})(n)}function e(t,n,i){return(e=g()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&d(r,n.prototype),r}).apply(null,arguments)}function n(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||a(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}function c(t,e,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=_(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=g();return function(){var n,i=b(t);if(e){var r=b(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?m(t):e}function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t,e,n,i){return(v="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(t,e,n,i){var r,a=_(t,e);if(a){if((r=Object.getOwnPropertyDescriptor(a,e)).set)return r.set.call(i,n),!0;if(!r.writable)return!1}if(r=Object.getOwnPropertyDescriptor(i,e)){if(!r.writable)return!1;r.value=n,Object.defineProperty(i,e,r)}else y(i,e,n);return!0})(t,e,n,i)}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=b(t)););return t}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"++hd":function(t,e,n){"use strict";n.d(e,"a",function(){return w});var i=n("+rOU"),r=n("ofXK"),a=n("Qu3c"),o=n("e8Yk"),l=n("fXoL"),d=n("rDax"),p=n("vxfF"),g=n("nLfN"),y=n("u47x"),_=n("cH1L"),w=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,a,l,u,c,h,d,f,p,g,y){var _,w;return s(this,n),(w=e.call(this,t,r,a,l,u,c,h,d,f,p,g))._tooltipComponent=o.a,function(t,e,n,i,r){if(!v(t,e,n,i||t)&&r)throw new Error("failed to set property")}((_=m(w),b(n.prototype)),"_portal",new i.d(w._tooltipComponent,l),_,!0),w}return u(n,[{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;c(b(n.prototype),"show",this).call(this,t);var e=this._tooltipInstance;e&&(e.template=this._template)}},{key:"template",set:function(t){this.message="...",this._template=t}}]),n}(a.c);return t.\u0275fac=function(e){return new(e||t)(l.Ob(d.c),l.Ob(l.l),l.Ob(p.c),l.Ob(l.R),l.Ob(l.B),l.Ob(g.a),l.Ob(y.c),l.Ob(y.h),l.Ob(a.b),l.Ob(_.b,8),l.Ob(a.a,8),l.Ob(r.d))},t.\u0275dir=l.Jb({type:t,selectors:[["","matTooltipTemplate",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{template:["matTooltipTemplate","template"]},features:[l.zb]}),t}()},"+0xr":function(t,e,n){"use strict";n.d(e,"a",function(){return E}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return L}),n.d(e,"d",function(){return I}),n.d(e,"e",function(){return O}),n.d(e,"f",function(){return V}),n.d(e,"g",function(){return Y}),n.d(e,"h",function(){return W}),n.d(e,"i",function(){return z}),n.d(e,"j",function(){return N}),n.d(e,"k",function(){return M}),n.d(e,"l",function(){return q}),n.d(e,"m",function(){return G});var i=n("f6nW"),a=n("0EQZ"),o=n("FKr1"),l=n("8LU1"),d=n("2Vo4"),p=n("XNiG"),m=n("quSY"),g=n("VRyK"),v=n("LRne"),y=n("itXk"),_=n("lJxs"),w=n("fXoL"),k=[[["caption"]],[["colgroup"],["col"]]],x=["caption","colgroup, col"],M=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments)).stickyCssClass="mat-table-sticky",t.needsPositionStickyOnElement=!1,t}return n}(i.q);return t.\u0275fac=function(e){return S(e||t)},t.\u0275cmp=w.Ib({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&w.Gb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[w.Bb([{provide:a.g,useClass:a.e},{provide:i.q,useExisting:t},{provide:i.a,useExisting:t},{provide:i.x,useClass:i.y}]),w.zb],ngContentSelectors:x,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(w.kc(k),w.jc(0),w.jc(1,1),w.Qb(2,0),w.Qb(3,1),w.Qb(4,2),w.Qb(5,3))},directives:[i.v,i.t,i.w,i.u],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t}(),S=w.Wb(M),C=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.c);return t.\u0275fac=function(e){return D(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["","matCellDef",""]],features:[w.Bb([{provide:i.c,useExisting:t}]),w.zb]}),t}(),D=w.Wb(C),O=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.k);return t.\u0275fac=function(e){return T(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["","matHeaderCellDef",""]],features:[w.Bb([{provide:i.k,useExisting:t}]),w.zb]}),t}(),T=w.Wb(O),L=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"_updateColumnCssClassName",value:function(){c(b(n.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}},{key:"name",get:function(){return this._name},set:function(t){this._setNameInput(t)}}]),n}(i.e);return t.\u0275fac=function(e){return A(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[w.Bb([{provide:i.e,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),w.zb]}),t}(),A=w.Wb(L),I=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.j);return t.\u0275fac=function(e){return P(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[w.zb]}),t}(),P=w.Wb(I),E=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.b);return t.\u0275fac=function(e){return R(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[w.zb]}),t}(),R=w.Wb(E),Y=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.m);return t.\u0275fac=function(e){return j(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[w.Bb([{provide:i.m,useExisting:t}]),w.zb]}),t}(),j=w.Wb(Y),N=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.p);return t.\u0275fac=function(e){return F(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[w.Bb([{provide:i.p,useExisting:t}]),w.zb]}),t}(),F=w.Wb(N),V=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.l);return t.\u0275fac=function(e){return H(e||t)},t.\u0275cmp=w.Ib({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[w.Bb([{provide:i.l,useExisting:t}]),w.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&w.Qb(0,0)},directives:[i.d],encapsulation:2}),t}(),H=w.Wb(V),z=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.o);return t.\u0275fac=function(e){return B(e||t)},t.\u0275cmp=w.Ib({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[w.Bb([{provide:i.o,useExisting:t}]),w.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&w.Qb(0,0)},directives:[i.d],encapsulation:2}),t}(),B=w.Wb(z),W=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.n);return t.\u0275fac=function(e){return U(e||t)},t.\u0275dir=w.Jb({type:t,selectors:[["ng-template","matNoDataRow",""]],features:[w.Bb([{provide:i.n,useExisting:t}]),w.zb]}),t}(),U=w.Wb(W),G=function(){var t=function t(){s(this,t)};return t.\u0275mod=w.Mb({type:t}),t.\u0275inj=w.Lb({factory:function(e){return new(e||t)},imports:[[i.r,o.j],o.j]}),t}(),q=function(t){h(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return s(this,n),(t=e.call(this))._renderData=new d.a([]),t._filter=new d.a(""),t._internalPageChanges=new p.a,t._renderChangesSubscription=m.a.EMPTY,t.sortingDataAccessor=function(t,e){var n=t[e];if(Object(l.a)(n)){var i=Number(n);return i<9007199254740991?i:n}return n},t.sortData=function(e,n){var i=n.active,r=n.direction;return i&&""!=r?e.sort(function(e,n){var a=t.sortingDataAccessor(e,i),o=t.sortingDataAccessor(n,i),s=typeof a,l=typeof o;s!==l&&("number"===s&&(a+=""),"number"===l&&(o+=""));var u=0;return null!=a&&null!=o?a>o?u=1:a<o&&(u=-1):null!=a?u=1:null!=o&&(u=-1),u*("asc"==r?1:-1)}):e},t.filterPredicate=function(t,e){var n=Object.keys(t).reduce(function(e,n){return e+t[n]+"\u25ec"},"").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},t._data=new d.a(i),t._updateChangeSubscription(),t}return u(n,[{key:"_updateChangeSubscription",value:function(){var t=this,e=this._sort?Object(g.a)(this._sort.sortChange,this._sort.initialized):Object(v.a)(null),n=this._paginator?Object(g.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(v.a)(null),i=this._data,a=Object(y.b)([i,this._filter]).pipe(Object(_.a)(function(e){var n=r(e,1)[0];return t._filterData(n)})),o=Object(y.b)([a,e]).pipe(Object(_.a)(function(e){var n=r(e,1)[0];return t._orderData(n)})),s=Object(y.b)([o,n]).pipe(Object(_.a)(function(e){var n=r(e,1)[0];return t._pageData(n)}));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(function(e){return t._renderData.next(e)})}},{key:"_filterData",value:function(t){var e=this;return this.filteredData=null==this.filter||""===this.filter?t:t.filter(function(t){return e.filterPredicate(t,e.filter)}),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(t){return this.sort?this.sortData(t.slice(),this.sort):t}},{key:"_pageData",value:function(t){if(!this.paginator)return t;var e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(t){var e=this;Promise.resolve().then(function(){var n=e.paginator;if(n&&(n.length=t,n.pageIndex>0)){var i=Math.ceil(n.length/n.pageSize)-1||0,r=Math.min(n.pageIndex,i);r!==n.pageIndex&&(n.pageIndex=r,e._internalPageChanges.next())}})}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t)}},{key:"filter",get:function(){return this._filter.value},set:function(t){this._filter.next(t)}},{key:"sort",get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()}}]),n}(a.b)},"+Xah":function(t,e,n){"use strict";e.a=function(t){return t}},"+qE3":function(t,e,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,a=r&&"function"==typeof r.apply?r.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise(function(n,i){function r(){void 0!==a&&t.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==e&&(a=function(n){t.removeListener(e,r),i(n)},t.once("error",a)),t.once(e,r)})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function u(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function c(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function h(t,e,n,i){var r,a,o;if(u(n),void 0===(a=t._events)?(a=t._events=Object.create(null),t._eventsCount=0):(void 0!==a.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),a=t._events),o=a[e]),void 0===o)o=a[e]=n,++t._eventsCount;else if("function"==typeof o?o=a[e]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),(r=c(t))>0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=o.length,console&&console.warn&&console.warn(s)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,n){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=d.bind(i);return r.listener=n,i.wrapFn=r,r}function p(t,e,n){var i=t._events;if(void 0===i)return[];var r=i[e];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(r):g(r,r.length)}function m(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(t,e){for(var n=new Array(e),i=0;i<e;++i)n[i]=t[i];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");l=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i="error"===t,r=this._events;if(void 0!==r)i=i&&void 0===r.error;else if(!i)return!1;if(i){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=r[t];if(void 0===l)return!1;if("function"==typeof l)a(l,this,e);else{var u=l.length,c=g(l,u);for(n=0;n<u;++n)a(c[n],this,e)}return!0},s.prototype.on=s.prototype.addListener=function(t,e){return h(this,t,e,!1)},s.prototype.prependListener=function(t,e){return h(this,t,e,!0)},s.prototype.once=function(t,e){return u(e),this.on(t,f(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,f(this,t,e)),this},s.prototype.off=s.prototype.removeListener=function(t,e){var n,i,r,a,o;if(u(e),void 0===(i=this._events))return this;if(void 0===(n=i[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(r=-1,a=n.length-1;a>=0;a--)if(n[a]===e||n[a].listener===e){o=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,r),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,o||e)}return this},s.prototype.removeAllListeners=function(t){var e,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var r,a=Object.keys(n);for(i=0;i<a.length;++i)"removeListener"!==(r=a[i])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;i>=0;i--)this.removeListener(t,e[i]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+rOU":function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return w}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return g}),n.d(e,"f",function(){return k}),n.d(e,"g",function(){return M}),n.d(e,"h",function(){return l}),n.d(e,"i",function(){return y});var i=n("fXoL"),r=n("ofXK"),a=function(){function t(){s(this,t)}return u(t,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this)).component=t,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return n}(a),l=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this)).templateRef=t,a.viewContainerRef=i,a.context=r,a}return u(n,[{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,c(b(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,c(b(n.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),n}(a),d=function(t){h(n,t);var e=f(n);function n(t){var r;return s(this,n),(r=e.call(this)).element=t instanceof i.l?t.nativeElement:t,r}return n}(a),p=function(){function t(){s(this,t),this._isDisposed=!1,this.attachDomPortal=null}return u(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof l?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof d?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),g=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l,u;return s(this,n),(u=e.call(this)).outletElement=t,u._componentFactoryResolver=i,u._appRef=r,u._defaultInjector=a,u.attachDomPortal=function(t){var e=t.element,i=u._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),u.outletElement.appendChild(e),c((l=m(u),b(n.prototype)),"setDisposeFn",l).call(l,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},u._document=o,u}return u(n,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),i.detectChanges(),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),i}},{key:"dispose",value:function(){c(b(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),n}(p),v=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){return s(this,n),e.call(this,t,i)}return n}(l);return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.N),i.Ob(i.R))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.zb]}),t}(),y=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(v);return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[i.Bb([{provide:v,useExisting:t}]),i.zb]}),t}(),_=i.Wb(y),w=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,a){var o,l;return s(this,n),(l=e.call(this))._componentFactoryResolver=t,l._viewContainerRef=r,l._isInitialized=!1,l.attached=new i.o,l.attachDomPortal=function(t){var e=t.element,i=l._document.createComment("dom-portal");t.setAttachedHost(m(l)),e.parentNode.insertBefore(i,e),l._getRootNode().appendChild(e),c((o=m(l),b(n.prototype)),"setDisposeFn",o).call(o,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},l._document=a,l}return u(n,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){c(b(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),c(b(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return c(b(n.prototype),"setDisposeFn",this).call(this,function(){return e._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&c(b(n.prototype),"detach",this).call(this),t&&c(b(n.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),n}(p);return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.j),i.Ob(i.R),i.Ob(r.d))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),t}(),k=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(w);return t.\u0275fac=function(e){return x(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Bb([{provide:w,useExisting:t}]),i.zb]}),t}(),x=i.Wb(k),M=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t}()},"+s0g":function(t,e,n){!function(t){"use strict";var e="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;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.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"))},"/1FC":function(t,e,n){"use strict";e.a=Array.isArray},"/1cH":function(t,e,n){"use strict";n.d(e,"a",function(){return H}),n.d(e,"b",function(){return Z}),n.d(e,"c",function(){return q});var r=n("u47x"),a=n("8LU1"),o=n("fXoL"),l=n("FKr1"),c=n("quSY"),d=n("XNiG"),p=n("NXyV"),m=n("VRyK"),g=n("LRne"),v=n("xgIS"),y=n("ofXK"),_=n("rDax"),b=n("vxfF"),w=n("FtGj"),k=n("nLfN"),x=n("+rOU"),M=n("3Pt+"),S=n("kmnG"),C=n("IzEk"),D=n("eIep"),O=n("pLZG"),T=n("lJxs"),L=n("vkgz"),A=n("3E0/"),I=n("cH1L"),P=["panel"];function E(t,e){if(1&t&&(o.Ub(0,"div",0,1),o.jc(2),o.Tb()),2&t){var n=e.id,i=o.fc();o.lc("id",i.id)("ngClass",i._classList),o.Db("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(n))}}var R=["*"],Y=0,j=function t(e,n){s(this,t),this.source=e,this.option=n},N=Object(l.z)(function t(){s(this,t)}),F=new o.s("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),V=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this))._changeDetectorRef=t,a._elementRef=i,a._activeOptionChanges=c.a.EMPTY,a.showPanel=!1,a._isOpen=!1,a.displayWith=null,a.optionSelected=new o.o,a.opened=new o.o,a.closed=new o.o,a.optionActivated=new o.o,a._classList={},a.id="mat-autocomplete-"+Y++,a._autoActiveFirstOption=!!r.autoActiveFirstOption,a}return u(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new r.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(e){t.optionActivated.emit({source:t,option:t.options.toArray()[e]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(t){var e=new j(this,t);this.optionSelected.emit(e)}},{key:"_getPanelAriaLabelledby",value:function(t){return this.ariaLabel?null:this.ariaLabelledby?t+" "+this.ariaLabelledby:t}},{key:"_setVisibilityClasses",value:function(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}},{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(t){this._autoActiveFirstOption=Object(a.c)(t)}},{key:"classList",set:function(t){this._classList=t&&t.length?Object(a.g)(t).reduce(function(t,e){return t[e]=!0,t},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}}]),n}(N);return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.h),o.Ob(o.l),o.Ob(F))},t.\u0275dir=o.Jb({type:t,viewQuery:function(t,e){var n;(1&t&&(o.Bc(o.N,!0),o.Oc(P,!0)),2&t)&&(o.tc(n=o.cc())&&(e.template=n.first),o.tc(n=o.cc())&&(e.panel=n.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[o.zb]}),t}(),H=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._visibleClass="mat-autocomplete-visible",t._hiddenClass="mat-autocomplete-hidden",t}return n}(V);return t.\u0275fac=function(e){return z(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,n){var i;(1&t&&(o.Hb(n,l.g,!0),o.Hb(n,l.o,!0)),2&t)&&(o.tc(i=o.cc())&&(e.optionGroups=i),o.tc(i=o.cc())&&(e.options=i))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[o.Bb([{provide:l.h,useExisting:t}]),o.zb],ngContentSelectors:R,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(o.kc(),o.Fc(0,E,3,4,"ng-template"))},directives:[y.l],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t}(),z=o.Wb(H),B=new o.s("mat-autocomplete-scroll-strategy"),W={provide:B,deps:[_.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},U={provide:M.l,useExisting:Object(o.V)(function(){return q}),multi:!0},G=function(){var t=function(){function t(e,n,r,a,o,l,u,h,f,g,v){var y=this;s(this,t),this._element=e,this._overlay=n,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=u,this._formField=h,this._document=f,this._viewportRuler=g,this._defaults=v,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=c.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new d.a,this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==y._element.nativeElement||y.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(p.a)(function(){return y.autocomplete&&y.autocomplete.options?Object(m.a).apply(void 0,i(y.autocomplete.options.map(function(t){return t.onSelectionChange}))):y._zone.onStable.pipe(Object(C.a)(1),Object(D.a)(function(){return y.optionSelections}))}),this._scrollStrategy=l}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this,e=this._getWindow();void 0!==e&&this._zone.runOutsideAngular(function(){return e.addEventListener("blur",t._windowBlurHandler)})}},{key:"ngOnChanges",value:function(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"_getOutsideClickStream",value:function(){var t=this;return Object(m.a)(Object(v.a)(this._document,"click"),Object(v.a)(this._document,"touchend")).pipe(Object(O.a)(function(e){var n=t._isInsideShadowRoot&&e.composedPath?e.composedPath()[0]:e.target,i=t._formField?t._formField._elementRef.nativeElement:null,r=t.connectedTo?t.connectedTo.elementRef.nativeElement:null;return t._overlayAttached&&n!==t._element.nativeElement&&(!i||!i.contains(n))&&(!r||!r.contains(n))&&!!t._overlayRef&&!t._overlayRef.overlayElement.contains(n)}))}},{key:"writeValue",value:function(t){var e=this;Promise.resolve(null).then(function(){return e._setTriggerValue(t)})}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this._element.nativeElement.disabled=t}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;if(e!==w.g||Object(w.s)(t)||t.preventDefault(),this.activeOption&&e===w.f&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,i=e===w.p||e===w.d;this.panelOpen||e===w.o?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(t){var e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var t=this,e=this._zone.onStable.pipe(Object(C.a)(1)),n=this.autocomplete.options.changes.pipe(Object(L.a)(function(){return t._positionStrategy.reapplyLastPosition()}),Object(A.a)(0));return Object(m.a)(e,n).pipe(Object(D.a)(function(){var e=t.panelOpen;return t._resetActiveItem(),t.autocomplete._setVisibility(),t.panelOpen&&(t._overlayRef.updatePosition(),e!==t.panelOpen&&t.autocomplete.opened.emit()),t.panelClosingActions}),Object(C.a)(1)).subscribe(function(e){return t._setValueAndClose(e)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(t){var e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}},{key:"_setValueAndClose",value:function(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(t){this.autocomplete.options.forEach(function(e){e!==t&&e.selected&&e.deselect()})}},{key:"_attachOverlay",value:function(){var t,e=this;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(k.c)(this._element.nativeElement));var n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new x.h(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t._labelId}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,n.keydownEvents().subscribe(function(t){(t.keyCode===w.g&&!Object(w.s)(t)||t.keyCode===w.p&&Object(w.s)(t,"altKey"))&&(e._resetActiveItem(),e._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){e.panelOpen&&n&&n.updateSize({width:e._getPanelWidth()})})),n&&!n.hasAttached()&&(n.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var t;return new _.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}},{key:"_setStrategyPositions",value:function(t){var e,n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];e="above"===this.position?r:"below"===this.position?n:[].concat(n,r),t.withPositions(e)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}},{key:"_canOpen",value:function(){var t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}},{key:"_scrollToOption",value:function(t){var e=this.autocomplete,n=Object(l.w)(t,e.options,e.optionGroups);if(0===t&&1===n)e._setScrollTop(0);else{var i=e.options.toArray()[t];if(i){var r=i._getHostElement(),a=Object(l.x)(r.offsetTop,r.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(a)}}}},{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(t){this._autocompleteDisabled=Object(a.c)(t)}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"panelClosingActions",get:function(){var t=this;return Object(m.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(O.a)(function(){return t._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(O.a)(function(){return t._overlayAttached})):Object(g.a)()).pipe(Object(T.a)(function(t){return t instanceof l.q?t:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(_.c),o.Ob(o.R),o.Ob(o.B),o.Ob(o.h),o.Ob(B),o.Ob(I.b,8),o.Ob(S.a,9),o.Ob(y.d,8),o.Ob(b.e),o.Ob(F,8))},t.\u0275dir=o.Jb({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[o.Ab]}),t}(),q=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",t}return n}(G);return t.\u0275fac=function(e){return X(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&o.bc("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&o.Db("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[o.Bb([U]),o.zb]}),t}(),X=o.Wb(q),Z=function(){var t=function t(){s(this,t)};return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[W],imports:[[_.f,l.p,l.j,y.c],b.b,l.p,l.j]}),t}()},"/X5v":function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/t3+":function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return g});var i=n("FKr1"),r=n("ofXK"),a=n("fXoL"),o=n("nLfN"),l=["*",[["mat-toolbar-row"]]],c=["*","mat-toolbar-row"],d=Object(i.y)(function t(e){s(this,t),this._elementRef=e}),p=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t}(),m=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t))._platform=i,a._document=r,a}return u(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(o.a),a.Ob(r.d))},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){var i;(1&t&&a.Hb(n,p,!0),2&t)&&(a.tc(i=a.cc())&&(e._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gb("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.zb],ngContentSelectors:c,decls:2,vars:0,template:function(t,e){1&t&&(a.kc(l),a.jc(0),a.jc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t}(),g=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[i.j],i.j]}),t}()},"/uUt":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){s(this,t),this.compare=e,this.keySelector=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).keySelector=r,a.hasKey=!1,"function"==typeof i&&(a.compare=i),a}return u(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}]),n}(i.a)},0:function(t,e,n){t.exports=n("zUnb")},"0EQZ":function(t,e,i){"use strict";i.d(e,"a",function(){return p}),i.d(e,"b",function(){return c}),i.d(e,"c",function(){return v}),i.d(e,"d",function(){return y}),i.d(e,"e",function(){return m}),i.d(e,"f",function(){return g}),i.d(e,"g",function(){return _}),i.d(e,"h",function(){return d});var r=i("7+OI"),a=i("LRne"),o=i("XNiG"),l=i("fXoL"),c=function t(){s(this,t)};function d(t){return t&&"function"==typeof t.connect}var p=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this))._data=t,i}return u(n,[{key:"connect",value:function(){return Object(r.a)(this._data)?this._data:Object(a.a)(this._data)}},{key:"disconnect",value:function(){}}]),n}(c),m=function(){function t(){s(this,t)}return u(t,[{key:"applyChanges",value:function(t,e,n,i,r){t.forEachOperation(function(t,i,a){var o,s;if(null==t.previousIndex){var l=n(t,i,a);o=e.createEmbeddedView(l.templateRef,l.context,l.index),s=1}else null==a?(e.remove(i),s=3):(o=e.get(i),e.move(o,a),s=2);r&&r({context:null==o?void 0:o.context,operation:s,record:t})})}},{key:"detach",value:function(){}}]),t}(),g=function(){function t(){s(this,t),this.viewCacheSize=20,this._viewCache=[]}return u(t,[{key:"applyChanges",value:function(t,e,n,i,r){var a=this;t.forEachOperation(function(t,o,s){var l,u;null==t.previousIndex?u=(l=a._insertView(function(){return n(t,o,s)},s,e,i(t)))?1:0:null==s?(a._detachAndCacheView(o,e),u=3):(l=a._moveView(o,s,e,i(t)),u=2),r&&r({context:null==l?void 0:l.context,operation:u,record:t})})}},{key:"detach",value:function(){var t,e=n(this._viewCache);try{for(e.s();!(t=e.n()).done;){t.value.destroy()}}catch(i){e.e(i)}finally{e.f()}}},{key:"_insertView",value:function(t,e,n,i){var r=this._insertViewFromCache(e,n);if(!r){var a=t();return n.createEmbeddedView(a.templateRef,a.context,a.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(t,e){var n=this._detachView(t,e);this._maybeCacheView(n,e)}},{key:"_moveView",value:function(t,e,n,i){var r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{var n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}},{key:"_insertViewFromCache",value:function(t,e){var n=this._viewCache.pop();return n&&e.insert(n,t),n||null}},{key:"_detachView",value:function(t,e){return e.detach(t)}}]),t}(),v=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];s(this,t),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.a,i&&i.length&&(n?i.forEach(function(t){return e._markSelected(t)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return u(t,[{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._markSelected(e)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._unmarkSelected(e)}),this._emitChangeEvent()}},{key:"toggle",value:function(t){this.isSelected(t)?this.deselect(t):this.select(t)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(t){return this._selection.has(t)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(t){this._multiple&&this.selected&&this._selected.sort(t)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}},{key:"_unmarkSelected",value:function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}},{key:"_unmarkAll",value:function(){var t=this;this.isEmpty()||this._selection.forEach(function(e){return t._unmarkSelected(e)})}},{key:"_verifyValueAssignment",value:function(t){}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),t}(),y=function(){var t=function(){function t(){s(this,t),this._listeners=[]}return u(t,[{key:"notify",value:function(t,e){var i,r=n(this._listeners);try{for(r.s();!(i=r.n()).done;){(0,i.value)(t,e)}}catch(a){r.e(a)}finally{r.f()}}},{key:"listen",value:function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(l.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),_=new l.s("_ViewRepeater")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("bHdf");function r(){return Object(i.a)(1)}},"0IaG":function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return Y}),n.d(e,"c",function(){return H}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return V}),n.d(e,"f",function(){return B}),n.d(e,"g",function(){return T}),n.d(e,"h",function(){return F});var i=n("rDax"),r=n("+rOU"),a=n("fXoL"),o=n("FKr1"),l=n("cH1L"),c=n("ofXK"),d=n("XNiG"),p=n("NXyV"),m=n("LRne"),g=n("pLZG"),v=n("IzEk"),y=n("JX91"),_=n("R0Ic"),b=n("FtGj"),w=n("u47x");function k(t,e){}var x=function t(){s(this,t),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},M={dialogContainer:Object(_.m)("dialogContainer",[Object(_.j)("void, exit",Object(_.k)({opacity:0,transform:"scale(0.7)"})),Object(_.j)("enter",Object(_.k)({transform:"none"})),Object(_.l)("* => enter",Object(_.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(_.k)({transform:"none",opacity:1}))),Object(_.l)("* => void, * => exit",Object(_.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(_.k)({opacity:0})))])},S=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,o,l,u){var c;return s(this,n),(c=e.call(this))._elementRef=t,c._focusTrapFactory=i,c._changeDetectorRef=r,c._config=l,c._focusMonitor=u,c._animationStateChanged=new a.o,c._elementFocusedBeforeDialogWasOpened=null,c._closeInteractionType=null,c.attachDomPortal=function(t){return c._portalOutlet.hasAttached(),c._portalOutlet.attachDomPortal(t)},c._ariaLabelledBy=l.ariaLabelledBy||null,c._document=o,c}return u(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}]),n}(r.a);return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(w.i),a.Ob(a.h),a.Ob(c.d,8),a.Ob(x),a.Ob(w.h))},t.\u0275dir=a.Jb({type:t,viewQuery:function(t,e){var n;(1&t&&a.Bc(r.c,!0),2&t)&&(a.tc(n=a.cc())&&(e._portalOutlet=n.first))},features:[a.zb]}),t}(),C=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._state="enter",t}return u(n,[{key:"_onAnimationDone",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(S);return t.\u0275fac=function(e){return D(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&a.Dc("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(a.Xb("id",e._id),a.Db("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),a.Ec("@dialogContainer",e._state))},features:[a.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&a.Fc(0,k,0,0,"ng-template",0)},directives:[r.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[M.dialogContainer]}}),t}(),D=a.Wb(C),O=0,T=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+O++;s(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new d.a,this._afterClosed=new d.a,this._beforeClosed=new d.a,this._state=0,n._id=r,n._animationStateChanged.pipe(Object(g.a)(function(t){return"opened"===t.state}),Object(v.a)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(Object(g.a)(function(t){return"closed"===t.state}),Object(v.a)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),e.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),e.keydownEvents().pipe(Object(g.a)(function(t){return t.keyCode===b.g&&!i.disableClose&&!Object(b.s)(t)})).subscribe(function(t){t.preventDefault(),L(i,"keyboard")}),e.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():L(i,"mouse")})}return u(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(Object(g.a)(function(t){return"closing"===t.state}),Object(v.a)(1)).subscribe(function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout(function(){return e._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),t}();function L(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var A=new a.s("MatDialogData"),I=new a.s("mat-dialog-default-options"),P=new a.s("mat-dialog-scroll-strategy"),E={provide:P,deps:[i.c],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},R=function(){var t=function(){function t(e,n,i,r,a,o,l,u,c){var h=this;s(this,t),this._overlay=e,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=a,this._dialogRefConstructor=l,this._dialogContainerType=u,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new d.a,this._afterOpenedAtThisLevel=new d.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(p.a)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(Object(y.a)(void 0))}),this._scrollStrategy=o}return u(t,[{key:"_getAfterAllClosed",value:function(){var t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,e){var n=this;(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new x)).id&&this.getDialogById(e.id);var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),a=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),r._initializeWithAttachedContent(),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(e){return e.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var n=a.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:x,useValue:e}]}),i=new r.d(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof a.N)e.attachTemplatePortal(new r.h(t,null,{$implicit:i.data,dialogRef:o}));else{var s=this._createInjector(i,o,e),l=e.attachComponentPortal(new r.d(t,i.viewContainerRef,s));o.componentInstance=l.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(l.b,null)||r.push({provide:l.b,useValue:{value:t.direction,change:Object(m.a)()}}),a.t.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(i.c),a.Ob(a.t),a.Ob(void 0),a.Ob(void 0),a.Ob(i.e),a.Ob(void 0),a.Ob(a.P),a.Ob(a.P),a.Ob(a.s))},t.\u0275dir=a.Jb({type:t}),t}(),Y=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u){return s(this,n),e.call(this,t,i,a,l,u,o,T,C,A)}return n}(R);return t.\u0275fac=function(e){return new(e||t)(a.Yb(i.c),a.Yb(a.t),a.Yb(c.i,8),a.Yb(I,8),a.Yb(P),a.Yb(t,12),a.Yb(i.e))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),j=0,N=function(){var t=function(){function t(e,n,i){s(this,t),this.dialogRef=e,this._elementRef=n,this._dialog=i,this.type="button"}return u(t,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=z(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}},{key:"_onButtonClick",value:function(t){L(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(T,8),a.Ob(a.l),a.Ob(Y))},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&a.bc("click",function(t){return e._onButtonClick(t)}),2&t&&a.Db("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[a.Ab]}),t}(),F=function(){var t=function(){function t(e,n,i){s(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+j++}return u(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=z(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(T,8),a.Ob(a.l),a.Ob(Y))},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&a.Xb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),V=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),H=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}();function z(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(function(t){return t.id===n.id}):null}var B=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[Y,E],imports:[[i.f,r.g,o.j],o.j]}),t}()},"0MNC":function(t,e,n){"use strict";n.d(e,"a",function(){return O}),n.d(e,"b",function(){return L});var i,r,a=n("fXoL"),o=n("8LU1"),l=n("XNiG"),c=n("itXk"),d=n("GyhO"),p=n("HDdC"),m=n("IzEk"),g=n("7o/Q"),v=function(){function t(e){s(this,t),this.total=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new y(t,this.total))}}]),t}(),y=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return u(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(g.a),_=n("Kj3r"),b=n("lJxs"),w=n("JX91"),k=n("1G5W"),x=n("nLfN"),M=new Set,S=((r=function(){function t(e){s(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C}return u(t,[{key:"matchMedia",value:function(t){return this._platform.WEBKIT&&function(t){if(!M.has(t))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(t," {.fx-query-test{ }}"),0),M.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}()).\u0275fac=function(t){return new(t||r)(a.Yb(x.a))},r.\u0275prov=Object(a.Kb)({factory:function(){return new r(Object(a.Yb)(x.a))},token:r,providedIn:"root"}),r);function C(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var D,O=((D=function(){function t(e,n){s(this,t),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new l.a}return u(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return T(Object(o.b)(t)).some(function(t){return e._registerQuery(t).mql.matches})}},{key:"observe",value:function(t){var e=this,n=T(Object(o.b)(t)).map(function(t){return e._registerQuery(t).observable}),i=Object(c.b)(n);return(i=Object(d.a)(i.pipe(Object(m.a)(1)),i.pipe(function(t){return t.lift(new v(1))},Object(_.a)(0)))).pipe(Object(b.a)(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){var n=t.matches,i=t.query;e.matches=e.matches||n,e.breakpoints[i]=n}),e}))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new p.a(function(t){var i=function(n){return e._zone.run(function(){return t.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(Object(w.a)(n),Object(b.a)(function(e){var n=e.matches;return{query:t,matches:n}}),Object(k.a)(this._destroySubject)),mql:n};return this._queries.set(t,i),i}}]),t}()).\u0275fac=function(t){return new(t||D)(a.Yb(S),a.Yb(a.B))},D.\u0275prov=Object(a.Kb)({factory:function(){return new D(Object(a.Yb)(S),Object(a.Yb)(a.B))},token:D,providedIn:"root"}),D);function T(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var L={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.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",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){s(this,t),this.notifier=e}return u(t,[{key:"call",value:function(t,e){var n=new o(t),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this,t)).seenValue=!1,i}return u(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(i.b)},"1dzw":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL"),r=function(){var t=function(){function t(e){s(this,t),this._elementRef=e,this._value=null}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this;0!=this._value&&setTimeout(function(){return t._elementRef.nativeElement.focus()})}},{key:"focus",set:function(t){var e=this;0!=(this._value=t)&&setTimeout(function(){return e._elementRef.nativeElement.focus()})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["","focus",""]],inputs:{focus:"focus"}}),t}()},"1jcm":function(t,e,n){"use strict";n.d(e,"a",function(){return M}),n.d(e,"b",function(){return C});var i=n("GU7r"),r=n("fXoL"),a=n("FKr1"),o=n("8LU1"),l=n("3Pt+"),c=n("R1ws"),d=n("u47x"),p=["thumbContainer"],m=["toggleBar"],g=["input"],v=function(){return{enterDuration:150}},y=["*"],_=new r.s("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),b=0,w={provide:l.l,useExisting:Object(r.V)(function(){return M}),multi:!0},k=function t(e,n){s(this,t),this.source=e,this.checked=n},x=Object(a.D)(Object(a.y)(Object(a.z)(Object(a.A)(function t(e){s(this,t),this._elementRef=e})),"accent")),M=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,a,o,l,u){var c;return s(this,n),(c=e.call(this,t))._focusMonitor=i,c._changeDetectorRef=a,c.defaults=l,c._animationMode=u,c._onChange=function(t){},c._onTouched=function(){},c._uniqueId="mat-slide-toggle-"+ ++b,c._required=!1,c._checked=!1,c.name=null,c.id=c._uniqueId,c.labelPosition="after",c.ariaLabel=null,c.ariaLabelledby=null,c.change=new r.o,c.toggleChange=new r.o,c.tabIndex=parseInt(o)||0,c}return u(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){"keyboard"===e||"program"===e?t._inputElement.nativeElement.focus():e||Promise.resolve().then(function(){return t._onTouched()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(t){t.stopPropagation()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new k(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(o.c)(t)}},{key:"checked",get:function(){return this._checked},set:function(t){this._checked=Object(o.c)(t),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}}]),n}(x);return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(d.h),r.Ob(r.h),r.Zb("tabindex"),r.Ob(_),r.Ob(c.a,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){var n;(1&t&&(r.Oc(p,!0),r.Oc(m,!0),r.Oc(g,!0)),2&t)&&(r.tc(n=r.cc())&&(e._thumbEl=n.first),r.tc(n=r.cc())&&(e._thumbBarEl=n.first),r.tc(n=r.cc())&&(e._inputElement=n.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Db("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.Gb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[r.Bb([w]),r.zb],ngContentSelectors:y,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.kc(),r.Ub(0,"label",0,1),r.Ub(2,"div",2,3),r.Ub(4,"input",4,5),r.bc("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),r.Tb(),r.Ub(6,"div",6,7),r.Pb(8,"div",8),r.Ub(9,"div",9),r.Pb(10,"div",10),r.Tb(),r.Tb(),r.Tb(),r.Ub(11,"span",11,12),r.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),r.Ub(13,"span",13),r.Hc(14,"\xa0"),r.Tb(),r.jc(15),r.Tb(),r.Tb()),2&t){var n=r.uc(1),i=r.uc(12);r.Db("for",e.inputId),r.Cb(2),r.Gb("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),r.Cb(2),r.lc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),r.Db("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),r.Cb(5),r.lc("matRippleTrigger",n)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.oc(17,v))}},directives:[a.t,i.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t}(),S=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t}(),C=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[S,a.u,a.j,i.c],S,a.j]}),t}()},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{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(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.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(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<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(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(t,e,n){!function(t){"use strict";t.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(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"25cm":function(t,e,n){"use strict";var i=n("tPH9"),r=n("/1FC");e.a=function(t,e,n){var a=e(t);return Object(r.a)(t)?a:Object(i.a)(a,n(t))}},"26kz":function(t,e,n){"use strict";var i,r=n("G5n0"),a=n("5WsY"),o=(i=r.a,function(t,e){if(null==t)return t;if(!Object(a.a)(t))return i(t,e);for(var n=t.length,r=-1,o=Object(t);++r<n&&!1!==e(o[r],r,o););return t});e.a=o},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("XNiG"),r=n("9ppp"),a=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this))._value=t,i}return u(n,[{key:"_subscribe",value:function(t){var e=c(b(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}},{key:"next",value:function(t){c(b(n.prototype),"next",this).call(this,this._value=t)}},{key:"value",get:function(){return this.getValue()}}]),n}(i.a)},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var 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=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="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;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E0/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("D0XW"),r=n("7o/Q"),a=n("WMd4");function o(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,r=(e=t)instanceof Date&&!isNaN(+e)?+t-n.now():Math.abs(t);return function(t){return t.lift(new l(r,n))}}var l=function(){function t(e,n){s(this,t),this.delay=e,this.scheduler=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))}}]),t}(),c=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return u(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new d(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(a.a.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(a.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(t,a)}else this.unsubscribe(),e.active=!1}}]),n}(r.a),d=function t(e,n){s(this,t),this.time=e,this.notification=n}},"3E1r":function(t,e,n){!function(t){"use strict";var e={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"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];t.defineLocale("hi",{months:{format:"\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("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\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\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\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("_"),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"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\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|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\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\.?)/i,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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return u(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(function(t){h(n,t);var e=f(n);function n(t,i){return s(this,n),e.call(this)}return u(n,[{key:"schedule",value:function(t){return this}}]),n}(n("quSY").a))},"3Pt+":function(t,e,r){"use strict";r.d(e,"a",function(){return Yt}),r.d(e,"b",function(){return j}),r.d(e,"c",function(){return _}),r.d(e,"d",function(){return Bt}),r.d(e,"e",function(){return yt}),r.d(e,"f",function(){return It}),r.d(e,"g",function(){return Lt}),r.d(e,"h",function(){return Wt}),r.d(e,"i",function(){return Ht}),r.d(e,"j",function(){return Ft}),r.d(e,"k",function(){return k}),r.d(e,"l",function(){return p}),r.d(e,"m",function(){return F}),r.d(e,"n",function(){return H}),r.d(e,"o",function(){return z}),r.d(e,"p",function(){return xt}),r.d(e,"q",function(){return Ct}),r.d(e,"r",function(){return W}),r.d(e,"s",function(){return Ut}),r.d(e,"t",function(){return Rt}),r.d(e,"u",function(){return S}),r.d(e,"v",function(){return Dt});var a=r("fXoL"),o=r("ofXK"),l=r("cp0P"),c=r("Cfvw"),d=r("lJxs"),p=new a.s("NgValueAccessor"),m={provide:p,useExisting:Object(a.V)(function(){return g}),multi:!0},g=function(){var t=function(){function t(e,n){s(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return u(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&a.bc("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[a.Bb([m])]}),t}(),v={provide:p,useExisting:Object(a.V)(function(){return _}),multi:!0},y=new a.s("CompositionEventMode"),_=function(){var t=function(){function t(e,n,i){var r;s(this,t),this._renderer=e,this._elementRef=n,this._compositionMode=i,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Object(o.A)()?Object(o.A)().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return u(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l),a.Ob(y,8))},t.\u0275dir=a.Jb({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&a.bc("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[a.Bb([v])]}),t}();function b(t){return null==t||0===t.length}function w(t){return null!=t&&"number"==typeof t.length}var k=new a.s("NgValidators"),x=new a.s("NgAsyncValidators"),M=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,S=function(){function t(){s(this,t)}return u(t,null,[{key:"min",value:function(t){return function(e){if(b(e.value)||b(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}},{key:"max",value:function(t){return function(e){if(b(e.value)||b(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}},{key:"required",value:function(t){return b(t.value)?{required:!0}:null}},{key:"requiredTrue",value:function(t){return!0===t.value?null:{required:!0}}},{key:"email",value:function(t){return b(t.value)||M.test(t.value)?null:{email:!0}}},{key:"minLength",value:function(t){return function(e){return b(e.value)||!w(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"maxLength",value:function(t){return function(e){return w(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"pattern",value:function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(b(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){if(!t)return null;var e=t.filter(C);return 0==e.length?null:function(t){return O(T(t,e))}}},{key:"composeAsync",value:function(t){if(!t)return null;var e=t.filter(C);return 0==e.length?null:function(t){var n=T(t,e).map(D);return Object(l.a)(n).pipe(Object(d.a)(O))}}}]),t}();function C(t){return null!=t}function D(t){var e=Object(a.ub)(t)?Object(c.a)(t):t;return Object(a.tb)(e),e}function O(t){var e={};return t.forEach(function(t){e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function T(t,e){return e.map(function(e){return e(t)})}function L(t){return t.map(function(t){return function(t){return!t.validate}(t)?t:function(e){return t.validate(e)}})}function A(t){return null!=t?S.compose(L(t)):null}function I(t){return null!=t?S.composeAsync(L(t)):null}function P(t,e){return null===t?[e]:Array.isArray(t)?[].concat(i(t),[e]):[t,e]}function E(t){return t._rawValidators}function R(t){return t._rawAsyncValidators}var Y=function(){var t=function(){function t(){s(this,t),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return u(t,[{key:"_setValidators",value:function(t){this._rawValidators=t||[],this._composedValidatorFn=A(this._rawValidators)}},{key:"_setAsyncValidators",value:function(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=I(this._rawAsyncValidators)}},{key:"_registerOnDestroy",value:function(t){this._onDestroyCallbacks.push(t)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(t){return t()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(t){this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t}),t}(),j=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(Y);return t.\u0275fac=function(e){return N(e||t)},t.\u0275dir=a.Jb({type:t,features:[a.zb]}),t}(),N=a.Wb(j),F=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return n}(Y),V=function(){function t(e){s(this,t),this._cd=e}return u(t,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),t}(),H=function(){var t=function(t){h(n,t);var e=f(n);function n(t){return s(this,n),e.call(this,t)}return n}(V);return t.\u0275fac=function(e){return new(e||t)(a.Ob(F,2))},t.\u0275dir=a.Jb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&a.Gb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[a.zb]}),t}(),z=function(){var t=function(t){h(n,t);var e=f(n);function n(t){return s(this,n),e.call(this,t)}return n}(V);return t.\u0275fac=function(e){return new(e||t)(a.Ob(j,2))},t.\u0275dir=a.Jb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&a.Gb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[a.zb]}),t}(),B={provide:p,useExisting:Object(a.V)(function(){return W}),multi:!0},W=function(){var t=function(){function t(e,n){s(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return u(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&a.bc("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[a.Bb([B])]}),t}(),U={provide:p,useExisting:Object(a.V)(function(){return q}),multi:!0},G=function(){var t=function(){function t(){s(this,t),this._accessors=[]}return u(t,[{key:"add",value:function(t,e){this._accessors.push([t,e])}},{key:"remove",value:function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}},{key:"select",value:function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})}},{key:"_isSameGroup",value:function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),q=function(){var t=function(){function t(e,n,i,r){s(this,t),this._renderer=e,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return u(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(F),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}}},{key:"fireUncheck",value:function(t){this.writeValue(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l),a.Ob(G),a.Ob(a.t))},t.\u0275dir=a.Jb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&a.bc("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[a.Bb([U])]}),t}(),X={provide:p,useExisting:Object(a.V)(function(){return Z}),multi:!0},Z=function(){var t=function(){function t(e,n){s(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return u(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&a.bc("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[a.Bb([X])]}),t}(),K={provide:p,useExisting:Object(a.V)(function(){return J}),multi:!0},J=function(){var t=function(){function t(e,n){s(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}return u(t,[{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var i=n[e];if(this._compareWith(this._optionMap.get(i),t))return i}return null}},{key:"_getOptionValue",value:function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}},{key:"compareWith",set:function(t){this._compareWith=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&a.bc("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Bb([K])]}),t}(),Q={provide:p,useExisting:Object(a.V)(function(){return $}),multi:!0},$=function(){var t=function(){function t(e,n){s(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}return u(t,[{key:"writeValue",value:function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var i=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(i.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,a=0;a<r.length;a++){var o=r.item(a),s=e._getOptionValue(o.value);i.push(s)}else for(var l=n.options,u=0;u<l.length;u++){var c=l.item(u);if(c.selected){var h=e._getOptionValue(c.value);i.push(h)}}e.value=i,t(i)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var i=n[e];if(this._compareWith(this._optionMap.get(i)._value,t))return i}return null}},{key:"_getOptionValue",value:function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}},{key:"compareWith",set:function(t){this._compareWith=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.G),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&a.bc("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Bb([Q])]}),t}();function tt(t,e){return[].concat(i(e.path),[t])}function et(t,e){it(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&at(t,e)})}(t,e),function(t,e){var n=function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(function(){t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&at(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){var n=function(t){e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(function(){t._unregisterOnDisabledChange(n)})}}(t,e)}function nt(t,e){t.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function it(t,e,n){var i=E(t);null!==e.validator?t.setValidators(P(i,e.validator)):"function"==typeof i&&t.setValidators([i]);var r=R(t);if(null!==e.asyncValidator?t.setAsyncValidators(P(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]),n){var a=function(){return t.updateValueAndValidity()};nt(e._rawValidators,a),nt(e._rawAsyncValidators,a)}}function rt(t,e,n){if(null!==t){if(null!==e.validator){var i=E(t);Array.isArray(i)&&i.length>0&&t.setValidators(i.filter(function(t){return t!==e.validator}))}if(null!==e.asyncValidator){var r=R(t);Array.isArray(r)&&r.length>0&&t.setAsyncValidators(r.filter(function(t){return t!==e.asyncValidator}))}}if(n){var a=function(){};nt(e._rawValidators,a),nt(e._rawAsyncValidators,a)}}function at(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function ot(t,e){it(t,e,!1)}function st(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}var lt=[g,Z,W,J,$,q];function ut(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function ct(t,e){if(!e)return null;Array.isArray(e);var n=void 0,i=void 0,r=void 0;return e.forEach(function(t){var e;t.constructor===_?n=t:(e=t,lt.some(function(t){return e.constructor===t})?i=t:r=t)}),r||i||n||null}function ht(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function dt(t){return(gt(t)?t.validators:t)||null}function ft(t){return Array.isArray(t)?A(t):t||null}function pt(t,e){return(gt(e)?e.asyncValidators:t)||null}function mt(t){return Array.isArray(t)?I(t):t||null}function gt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var vt=function(){function t(e,n){s(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=ft(this._rawValidators),this._composedAsyncValidatorFn=mt(this._rawAsyncValidators)}return u(t,[{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=ft(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=mt(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){e._hasOwnPendingAsyncValidator=!1,e.setErrors(n,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var i=t;return e.forEach(function(t){i=i instanceof _t?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof bt&&i.at(t)||null}),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new a.o,this.statusChanges=new a.o}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){gt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}},{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}}]),t}(),yt=function(t){h(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return s(this,n),(t=e.call(this,dt(r),pt(a,r)))._onChange=[],t._applyFormState(i),t._setUpdateStrategy(r),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!a}),t}return u(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){ht(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){ht(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(vt),_t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,dt(i),pt(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),a}return u(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach(function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof yt?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e<n.length;e++){var i=n[e],r=this.controls[i];if(this.contains(i)&&t(r))return!0}return!1}},{key:"_reduceValue",value:function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})}},{key:"_reduceChildren",value:function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(vt),bt=function(t){h(i,t);var e=f(i);function i(t,n,r){var a;return s(this,i),(a=e.call(this,dt(n),pt(r,n))).controls=t,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),a}return u(i,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}},{key:"removeAt",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach(function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof yt?t.value:t.getRawValue()})}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,n){t(e,n)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=n(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(i){e.e(i)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),i}(vt),wt={provide:j,useExisting:Object(a.V)(function(){return xt})},kt=Promise.resolve(null),xt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new a.o,r.form=new _t({},A(t),I(i)),r}return u(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(t){var e=this;kt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),et(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;kt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),ht(e._directives,t)})}},{key:"addFormGroup",value:function(t){var e=this;kt.then(function(){var n=e._findContainer(t.path),i=new _t({});ot(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(t){var e=this;kt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;kt.then(function(){n.form.get(t.path).setValue(e)})}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,ut(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(j);return t.\u0275fac=function(e){return new(e||t)(a.Ob(k,10),a.Ob(x,10))},t.\u0275dir=a.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&a.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Bb([wt]),a.zb]}),t}(),Mt={provide:F,useExisting:Object(a.V)(function(){return Ct})},St=Promise.resolve(null),Ct=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,o){var l;return s(this,n),(l=e.call(this)).control=new yt,l._registered=!1,l.update=new a.o,l._parent=t,l._setValidators(i),l._setAsyncValidators(r),l.valueAccessor=ct(0,o),l}return u(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),st(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){et(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(t){var e=this;St.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;St.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})}},{key:"path",get:function(){return this._parent?tt(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}}]),n}(F);return t.\u0275fac=function(e){return new(e||t)(a.Ob(j,9),a.Ob(k,10),a.Ob(x,10),a.Ob(p,10))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Bb([Mt]),a.zb,a.Ab]}),t}(),Dt=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),Ot=new a.s("NgModelWithFormControlWarning"),Tt={provide:j,useExisting:Object(a.V)(function(){return Lt})},Lt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).validators=t,r.asyncValidators=i,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new a.o,r._setValidators(t),r._setAsyncValidators(i),r}return u(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return et(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){ht(this.directives,t)}},{key:"addFormGroup",value:function(t){var e=this.form.get(t.path);ot(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(t){}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){var e=this.form.get(t.path);ot(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(t){}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,ut(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){var n=function(){};e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n),rt(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(function(){}))}(e.control||null,e),n&&et(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){it(this.form,this,!1),this._oldForm&&rt(this._oldForm,this,!1)}},{key:"_checkFormPresent",value:function(){}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(j);return t.\u0275fac=function(e){return new(e||t)(a.Ob(k,10),a.Ob(x,10))},t.\u0275dir=a.Jb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&a.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Bb([Tt]),a.zb,a.Ab]}),t}(),At={provide:F,useExisting:Object(a.V)(function(){return It})},It=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,o,l){var u;return s(this,n),(u=e.call(this))._ngModelWarningConfig=l,u._added=!1,u.update=new a.o,u._ngModelWarningSent=!1,u._parent=t,u._setValidators(i),u._setAsyncValidators(r),u.valueAccessor=ct(0,o),u}return u(n,[{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),st(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(t){}},{key:"path",get:function(){return tt(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}}]),n}(F);return t.\u0275fac=function(e){return new(e||t)(a.Ob(j,13),a.Ob(k,10),a.Ob(x,10),a.Ob(p,10),a.Ob(Ot,8))},t.\u0275dir=a.Jb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a.Bb([At]),a.zb,a.Ab]}),t._ngModelWarningSentOnce=!1,t}(),Pt={provide:k,useExisting:Object(a.V)(function(){return Rt}),multi:!0},Et={provide:k,useExisting:Object(a.V)(function(){return Yt}),multi:!0},Rt=function(){var t=function(){function t(){s(this,t),this._required=!1}return u(t,[{key:"validate",value:function(t){return this.required?S.required(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&a.Db("required",e.required?"":null)},inputs:{required:"required"},features:[a.Bb([Pt])]}),t}(),Yt=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"validate",value:function(t){return this.required?S.requiredTrue(t):null}}]),n}(Rt);return t.\u0275fac=function(e){return jt(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.Db("required",e.required?"":null)},features:[a.Bb([Et]),a.zb]}),t}(),jt=a.Wb(Yt),Nt={provide:k,useExisting:Object(a.V)(function(){return Ft}),multi:!0},Ft=function(){var t=function(){function t(){s(this,t),this._validator=S.nullValidator}return u(t,[{key:"ngOnChanges",value:function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null==this.minlength?null:this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=S.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.Db("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[a.Bb([Nt]),a.Ab]}),t}(),Vt={provide:k,useExisting:Object(a.V)(function(){return Ht}),multi:!0},Ht=function(){var t=function(){function t(){s(this,t),this._validator=S.nullValidator}return u(t,[{key:"ngOnChanges",value:function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null!=this.maxlength?this._validator(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=S.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.Db("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a.Bb([Vt]),a.Ab]}),t}(),zt=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)}}),t}(),Bt=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"group",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(t),i=null,r=null,a=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new _t(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(t,e,n){return new yt(t,e,n)}},{key:"array",value:function(t,e,n){var i=this,r=t.map(function(t){return i._createControl(t)});return new bt(r,e,n)}},{key:"_reduceControls",value:function(t){var e=this,n={};return Object.keys(t).forEach(function(i){n[i]=e._createControl(t[i])}),n}},{key:"_createControl",value:function(t){return t instanceof yt||t instanceof _t||t instanceof bt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),Wt=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[G],imports:[zt]}),t}(),Ut=function(){var t=function(){function t(){s(this,t)}return u(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:Ot,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[Bt,G],imports:[zt]}),t}()},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3UWI":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("D0XW"),r=n("zx2A"),a=function(){function t(e){s(this,t),this.durationSelector=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.durationSelector))}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return u(n,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{e=(0,this.durationSelector)(t)}catch(i){return this.destination.error(i)}var n=Object(r.c)(e,new r.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(r.b),l=n("PqYM");function c(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;return e=function(){return Object(l.a)(t,n)},function(t){return t.lift(new a(e))}}},"3cmB":function(t,e,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"Map");e.a=a},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},"4MV3":function(t,e,n){!function(t){"use strict";var e={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"};t.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\u0ab9\u0ac7\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(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5+WD":function(t,e,n){"use strict";n.d(e,"a",function(){return kt}),n.d(e,"b",function(){return yt}),n.d(e,"c",function(){return St}),n.d(e,"d",function(){return J});var a=n("fXoL"),o=n("ofXK"),l=n("vxfF"),c=n("nLfN"),h=n("8LU1"),d=n("XNiG"),f=n("quSY"),p=n("HDdC"),m=n("D0XW"),g=n("Y7HM");function v(t){var e=t.subscriber,n=t.counter,i=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var y=n("eNwd"),_=n("VRyK"),b=n("1G5W"),w=n("JX91"),k=n("lJxs"),x=n("IzEk"),M=n("vkgz"),S=n("eIep"),C=n("cH1L");function D(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function O(t,e){var n=e?"":"none";D(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function T(t,e){var n=t.style;n.position=e?"":"fixed",n.top=n.opacity=e?"":"0",n.left=e?"":"-999em"}function L(t){var e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function A(t,e){return t.getPropertyValue(e).split(",").map(function(t){return t.trim()})}function I(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function P(t,e,n){var i=t.top,r=t.bottom,a=t.left,o=t.right;return n>=i&&n<=r&&e>=a&&e<=o}function E(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function R(t,e,n,i){var r=t.top,a=t.right,o=t.bottom,s=t.left,l=t.width*e,u=t.height*e;return i>r-u&&i<o+u&&n>s-l&&n<a+l}var Y=function(){function t(e,n){s(this,t),this._document=e,this._viewportRuler=n,this.positions=new Map}return u(t,[{key:"clear",value:function(){this.positions.clear()}},{key:"cache",value:function(t){var e=this;this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(function(t){e.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:I(t)})})}},{key:"handleScroll",value:function(t){var e=t.target,n=this.positions.get(e);if(!n)return null;var i,r,a=e===this._document?e.documentElement:e,o=n.scrollPosition;if(e===this._document){var s=this._viewportRuler.getViewportScrollPosition();i=s.top,r=s.left}else i=e.scrollTop,r=e.scrollLeft;var l=o.top-i,u=o.left-r;return this.positions.forEach(function(t,n){t.clientRect&&e!==n&&a.contains(n)&&E(t.clientRect,l,u)}),o.top=i,o.left=r,{top:l,left:u}}}]),t}();function j(t){var e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();e.removeAttribute("id");for(var r=0;r<n.length;r++)n[r].removeAttribute("id");return"canvas"===i?H(t,e):"input"!==i&&"select"!==i&&"textarea"!==i||V(t,e),N("canvas",t,e,H),N("input, textarea, select",t,e,V),e}function N(t,e,n,i){var r=e.querySelectorAll(t);if(r.length)for(var a=n.querySelectorAll(t),o=0;o<r.length;o++)i(r[o],a[o])}var F=0;function V(t,e){"file"!==e.type&&(e.value=t.value),"radio"===e.type&&e.name&&(e.name="mat-clone-".concat(e.name,"-").concat(F++))}function H(t,e){var n=e.getContext("2d");if(n)try{n.drawImage(t,0,0)}catch(i){}}var z=Object(c.f)({passive:!0}),B=Object(c.f)({passive:!1}),W=function(){function t(e,n,i,r,a,o){var l=this;s(this,t),this._config=n,this._document=i,this._ngZone=r,this._viewportRuler=a,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new d.a,this._pointerMoveSubscription=f.a.EMPTY,this._pointerUpSubscription=f.a.EMPTY,this._scrollSubscription=f.a.EMPTY,this._resizeSubscription=f.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new d.a,this.started=new d.a,this.released=new d.a,this.ended=new d.a,this.entered=new d.a,this.exited=new d.a,this.dropped=new d.a,this.moved=this._moveEvents,this._pointerDown=function(t){if(l.beforeStarted.next(),l._handles.length){var e=l._handles.find(function(e){var n=t.target;return!!n&&(n===e||e.contains(n))});!e||l._disabledHandles.has(e)||l.disabled||l._initializeDragSequence(e,t)}else l.disabled||l._initializeDragSequence(l._rootElement,t)},this._pointerMove=function(t){t.preventDefault();var e=l._getPointerPositionOnPage(t);if(l._hasStartedDragging){l._boundaryElement&&(l._previewRect&&(l._previewRect.width||l._previewRect.height)||(l._previewRect=(l._preview||l._rootElement).getBoundingClientRect()));var n=l._getConstrainedPointerPosition(e);if(l._hasMoved=!0,l._lastKnownPointerPosition=e,l._updatePointerDirectionDelta(n),l._dropContainer)l._updateActiveDropContainer(n,e);else{var i=l._activeTransform;i.x=n.x-l._pickupPositionOnPage.x+l._passiveTransform.x,i.y=n.y-l._pickupPositionOnPage.y+l._passiveTransform.y,l._applyRootElementTransform(i.x,i.y),"undefined"!=typeof SVGElement&&l._rootElement instanceof SVGElement&&l._rootElement.setAttribute("transform","translate(".concat(i.x," ").concat(i.y,")"))}l._moveEvents.observers.length&&l._ngZone.run(function(){l._moveEvents.next({source:l,pointerPosition:n,event:t,distance:l._getDragDistance(n),delta:l._pointerDirectionDelta})})}else if(Math.abs(e.x-l._pickupPositionOnPage.x)+Math.abs(e.y-l._pickupPositionOnPage.y)>=l._config.dragStartThreshold){var r=Date.now()>=l._dragStartTime+l._getDragStartDelay(t),a=l._dropContainer;if(!r)return void l._endDragSequence(t);a&&(a.isDragging()||a.isReceiving())||(l._hasStartedDragging=!0,l._ngZone.run(function(){return l._startDragSequence(t)}))}},this._pointerUp=function(t){l._endDragSequence(t)},this.withRootElement(e),this._parentPositions=new Y(i,a),o.registerDragItem(this)}return u(t,[{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){var e=this;this._handles=t.map(function(t){return Object(h.e)(t)}),this._handles.forEach(function(t){return O(t,e.disabled)}),this._toggleNativeDragInteractions();var n=new Set;return this._disabledHandles.forEach(function(t){e._handles.indexOf(t)>-1&&n.add(t)}),this._disabledHandles=n,this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var e=this,n=Object(h.e)(t);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(function(){n.addEventListener("mousedown",e._pointerDown,B),n.addEventListener("touchstart",e._pointerDown,z)}),this._initialTransform=void 0,this._rootElement=n),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}},{key:"withBoundaryElement",value:function(t){var e=this;return this._boundaryElement=t?Object(h.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(function(){return e._containInsideBoundaryOnResize()})),this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&q(this._rootElement),q(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),O(t,!0))}},{key:"enableHandle",value:function(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),O(t,this.disabled))}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&q(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&q(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var e=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){e._cleanupDragArtifacts(t),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(function(){e.ended.next({source:e,distance:e._getDragDistance(e._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}},{key:"_startDragSequence",value:function(t){X(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var e=this._dropContainer;if(e){var n=this._rootElement,i=n.parentNode,r=this._preview=this._createPreviewElement(),a=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment(""),s=this._getShadowRoot();i.insertBefore(o,n),T(n,!1),this._document.body.appendChild(i.replaceChild(a,n)),function(t,e){return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}(this._document,s).appendChild(r),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,e){var n=this;e.stopPropagation();var i=this.isDragging(),r=X(e),a=!r&&0!==e.button,o=this._rootElement,s=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),!(i||a||s)){this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor||"",o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(function(t){n._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=I(this._boundaryElement));var l=this._previewTemplate;this._pickupPositionInElement=l&&l.template&&!l.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);var u=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}}},{key:"_cleanupDragArtifacts",value:function(t){var e=this;T(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(function(){var n=e._dropContainer,i=n.getItemIndex(e),r=e._getPointerPositionOnPage(t),a=e._getDragDistance(e._getPointerPositionOnPage(t)),o=n._isOverContainer(r.x,r.y);e.ended.next({source:e,distance:a}),e.dropped.next({item:e,currentIndex:i,previousIndex:e._initialIndex,container:n,previousContainer:e._initialContainer,isPointerOverContainer:o,distance:a}),n.drop(e,i,e._initialIndex,e._initialContainer,o,a),e._dropContainer=e._initialContainer})}},{key:"_updateActiveDropContainer",value:function(t,e){var n=this,i=t.x,r=t.y,a=e.x,o=e.y,s=this._initialContainer._getSiblingContainerFromPosition(this,i,r);!s&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(i,r)&&(s=this._initialContainer),s&&s!==this._dropContainer&&this._ngZone.run(function(){n.exited.next({item:n,container:n._dropContainer}),n._dropContainer.exit(n),n._dropContainer=s,n._dropContainer.enter(n,i,r,s===n._initialContainer&&s.sortingDisabled?n._initialIndex:void 0),n.entered.next({item:n,container:s,currentIndex:s.getItemIndex(n)})}),this._dropContainer._startScrollingIfNecessary(a,o),this._dropContainer._sortItem(this,i,r,this._pointerDirectionDelta),this._preview.style.transform=U(i-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y)}},{key:"_createPreviewElement",value:function(){var t,e=this._previewTemplate,n=this.previewClass,i=e?e.template:null;if(i&&e){var r=e.matchSize?this._rootElement.getBoundingClientRect():null,a=e.viewContainer.createEmbeddedView(i,e.context);a.detectChanges(),t=Z(a,this._document),this._previewRef=a,e.matchSize?K(t,r):t.style.transform=U(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var o=this._rootElement;K(t=j(o),o.getBoundingClientRect())}return D(t.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),O(t,!1),t.classList.add("cdk-drag-preview"),t.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(function(e){return t.classList.add(e)}):t.classList.add(n)),t}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=U(e.left,e.top);var n=function(t){var e=getComputedStyle(t),n=A(e,"transition-property"),i=n.find(function(t){return"transform"===t||"all"===t});if(!i)return 0;var r=n.indexOf(i),a=A(e,"transition-duration"),o=A(e,"transition-delay");return L(a[r])+L(o[r])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(e){var i=function n(i){(!i||i.target===t._preview&&"transform"===i.propertyName)&&(t._preview.removeEventListener("transitionend",n),e(),clearTimeout(r))},r=setTimeout(i,1.5*n);t._preview.addEventListener("transitionend",i)})})}},{key:"_createPlaceholderElement",value:function(){var t,e=this._placeholderTemplate,n=e?e.template:null;return n?(this._placeholderRef=e.viewContainer.createEmbeddedView(n,e.context),this._placeholderRef.detectChanges(),t=Z(this._placeholderRef,this._document)):t=j(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}},{key:"_getPointerPositionInElement",value:function(t,e){var n=this._rootElement.getBoundingClientRect(),i=t===this._rootElement?null:t,r=i?i.getBoundingClientRect():n,a=X(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:r.left-n.left+(a.pageX-r.left-o.left),y:r.top-n.top+(a.pageY-r.top-o.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var e=this._getViewportScrollPosition(),n=X(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,i=n.pageX-e.left,r=n.pageY-e.top;if(this._ownerSVGElement){var a=this._ownerSVGElement.getScreenCTM();if(a){var o=this._ownerSVGElement.createSVGPoint();return o.x=i,o.y=r,o.matrixTransform(a.inverse())}}return{x:i,y:r}}},{key:"_getConstrainedPointerPosition",value:function(t){var e=this._dropContainer?this._dropContainer.lockAxis:null,n=this.constrainPosition?this.constrainPosition(t,this):t,i=n.x,r=n.y;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){var a=this._pickupPositionInElement,o=a.x,s=a.y,l=this._boundaryRect,u=this._previewRect,c=l.top+s,h=l.bottom-(u.height-s);i=G(i,l.left+o,l.right-(u.width-o)),r=G(r,c,h)}return{x:i,y:r}}},{key:"_updatePointerDirectionDelta",value:function(t){var e=t.x,n=t.y,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-r.x),o=Math.abs(n-r.y);return a>this._config.pointerDirectionChangeThreshold&&(i.x=e>r.x?1:-1,r.x=e),o>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,O(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,B),t.removeEventListener("touchstart",this._pointerDown,z)}},{key:"_applyRootElementTransform",value:function(t,e){var n=U(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}},{key:"_getDragDistance",value:function(t){var e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,e=t.x,n=t.y;if(!(0===e&&0===n||this.isDragging())&&this._boundaryElement){var i=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(!(0===i.width&&0===i.height||0===r.width&&0===r.height)){var a=i.left-r.left,o=r.right-i.right,s=i.top-r.top,l=r.bottom-i.bottom;i.width>r.width?(a>0&&(e+=a),o>0&&(e-=o)):e=0,i.height>r.height?(s>0&&(n+=s),l>0&&(n-=l)):n=0,e===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:e})}}}},{key:"_getDragStartDelay",value:function(t){var e=this.dragStartDelay;return"number"==typeof e?e:X(t)?e.touch:e?e.mouse:0}},{key:"_updateOnScroll",value:function(t){var e=this._parentPositions.handleScroll(t);if(e){var n=t.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&E(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"_getShadowRoot",value:function(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Object(c.c)(this._rootElement)),this._cachedShadowRoot}},{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=Object(h.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(function(t){return O(t,e)}))}}]),t}();function U(t,e){return"translate3d(".concat(Math.round(t),"px, ").concat(Math.round(e),"px, 0)")}function G(t,e,n){return Math.max(e,Math.min(n,t))}function q(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function X(t){return"t"===t.type[0]}function Z(t,e){var n=t.rootNodes;if(1===n.length&&n[0].nodeType===e.ELEMENT_NODE)return n[0];var i=e.createElement("div");return n.forEach(function(t){return i.appendChild(t)}),i}function K(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=U(e.left,e.top)}function J(t,e,n){var i=Q(e,t.length-1),r=Q(n,t.length-1);if(i!==r){for(var a=t[i],o=r<i?-1:1,s=i;s!==r;s+=o)t[s]=t[s+o];t[r]=a}}function Q(t,e){return Math.max(0,Math.min(e,t))}var $=function(){function t(e,n,i,r,a){var o=this;s(this,t),this._dragDropRegistry=n,this._ngZone=r,this._viewportRuler=a,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.beforeStarted=new d.a,this.entered=new d.a,this.exited=new d.a,this.dropped=new d.a,this.sorted=new d.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=f.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new d.a,this._cachedShadowRoot=null,this._startScrollInterval=function(){o._stopScrolling(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.a;return(!Object(g.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=m.a),new p.a(function(n){return n.add(e.schedule(v,t,{subscriber:n,counter:0,period:t})),n})}(0,y.a).pipe(Object(b.a)(o._stopScrollTimers)).subscribe(function(){var t=o._scrollNode;1===o._verticalScrollDirection?et(t,-2):2===o._verticalScrollDirection&&et(t,2),1===o._horizontalScrollDirection?nt(t,-2):2===o._horizontalScrollDirection&&nt(t,2)})},this.element=Object(h.e)(e),this._document=i,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new Y(i,a)}return u(t,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){var t=this,e=Object(h.e)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(function(e){return e._startReceiving(t)}),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"enter",value:function(t,e,n,i){var r;this.start(),null==i?-1===(r=this.sortingDisabled?this._draggables.indexOf(t):-1)&&(r=this._getItemIndexFromPointerPosition(t,e,n)):r=i;var a=this._activeDraggables,o=a.indexOf(t),s=t.getPlaceholderElement(),l=a[r];if(l===t&&(l=a[r+1]),o>-1&&a.splice(o,1),l&&!this._dragDropRegistry.isDragging(l)){var u=l.getRootElement();u.parentElement.insertBefore(s,u),a.splice(r,0,t)}else if(this._shouldEnterAsFirstChild(e,n)){var c=a[0].getRootElement();c.parentNode.insertBefore(s,c),a.unshift(t)}else Object(h.e)(this.element).appendChild(s),a.push(t);s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,e,n,i,r,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:a})}},{key:"withItems",value:function(t){var e=this,n=this._draggables;return this._draggables=t,t.forEach(function(t){return t._withDropContainer(e)}),this.isDragging()&&(n.filter(function(t){return t.isDragging()}).every(function(e){return-1===t.indexOf(e)})?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._orientation=t,this}},{key:"withScrollableParents",value:function(t){var e=Object(h.e)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e].concat(i(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?tt("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,function(e){return e.drag===t}):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,e,n,i){if(!this.sortingDisabled&&R(this._clientRect,.05,e,n)){var r=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,n,i);if(!(-1===a&&r.length>0)){var o="horizontal"===this._orientation,s=tt(r,function(e){return e.drag===t}),l=r[a],u=l.clientRect,c=s>a?1:-1,h=this._getItemOffsetPx(r[s].clientRect,u,c),d=this._getSiblingOffsetPx(s,r,c),f=r.slice();J(r,s,a),this.sorted.next({previousIndex:s,currentIndex:a,container:this,item:t}),r.forEach(function(e,n){if(f[n]!==e){var i=e.drag===t,r=i?h:d,a=i?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=r,o?(a.style.transform="translate3d(".concat(Math.round(e.offset),"px, 0, 0)"),E(e.clientRect,0,r)):(a.style.transform="translate3d(0, ".concat(Math.round(e.offset),"px, 0)"),E(e.clientRect,r,0))}}),this._previousSwap.overlaps=P(u,e,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=o?i.x:i.y}}}},{key:"_startScrollingIfNecessary",value:function(t,e){var n=this;if(!this.autoScrollDisabled){var i,a=0,o=0;if(this._parentPositions.positions.forEach(function(s,l){var u;l!==n._document&&s.clientRect&&!i&&R(s.clientRect,.05,t,e)&&(u=r(function(t,e,n,i){var r=it(e,i),a=rt(e,n),o=0,s=0;if(r){var l=t.scrollTop;1===r?l>0&&(o=1):t.scrollHeight-l>t.clientHeight&&(o=2)}if(a){var u=t.scrollLeft;1===a?u>0&&(s=1):t.scrollWidth-u>t.clientWidth&&(s=2)}return[o,s]}(l,s.clientRect,t,e),2),a=u[0],o=u[1],(a||o)&&(i=l))}),!a&&!o){var s=this._viewportRuler.getViewportSize(),l=s.width,u=s.height,c={width:l,height:u,top:0,right:l,bottom:u,left:0};a=it(c,e),o=rt(c,t),i=window}!i||a===this._verticalScrollDirection&&o===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=a,this._horizontalScrollDirection=o,this._scrollNode=i,(a||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_cacheParentPositions",value:function(){var t=Object(h.e)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(function(t){var e=t.getVisibleElement();return{drag:t,offset:0,clientRect:I(e)}}).sort(function(e,n){return t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top})}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var e=Object(h.e)(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(function(t){var e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(function(e){return e._stopReceiving(t)}),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,e,n){var i="horizontal"===this._orientation,r=e[t].clientRect,a=e[t+-1*n],o=r[i?"width":"height"]*n;if(a){var s=i?"left":"top",l=i?"right":"bottom";-1===n?o-=a.clientRect[s]-r[l]:o+=r[s]-a.clientRect[l]}return o}},{key:"_getItemOffsetPx",value:function(t,e,n){var i="horizontal"===this._orientation,r=i?e.left-t.left:e.top-t.top;return-1===n&&(r+=i?e.width-t.width:e.height-t.height),r}},{key:"_shouldEnterAsFirstChild",value:function(t,e){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var r=n[n.length-1].clientRect;return i?t>=r.right:e>=r.bottom}var a=n[0].clientRect;return i?t<=a.left:e<=a.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,e,n,i){var r=this,a="horizontal"===this._orientation,o=tt(this._itemPositions,function(o,s,l){var u=o.drag,c=o.clientRect;if(u===t)return l.length<2;if(i){var h=a?i.x:i.y;if(u===r._previousSwap.drag&&r._previousSwap.overlaps&&h===r._previousSwap.delta)return!1}return a?e>=Math.floor(c.left)&&e<Math.floor(c.right):n>=Math.floor(c.top)&&n<Math.floor(c.bottom)});return-1!==o&&this.sortPredicate(o,t,this)?o:-1}},{key:"_cacheItems",value:function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}},{key:"_isOverContainer",value:function(t,e){return P(this._clientRect,t,e)}},{key:"_getSiblingContainerFromPosition",value:function(t,e,n){return this._siblings.find(function(i){return i._canReceive(t,e,n)})}},{key:"_canReceive",value:function(t,e,n){if(!P(this._clientRect,e,n)||!this.enterPredicate(t,this))return!1;var i=this._getShadowRoot().elementFromPoint(e,n);if(!i)return!1;var r=Object(h.e)(this.element);return i===r||r.contains(i)}},{key:"_startReceiving",value:function(t){var e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}},{key:"_stopReceiving",value:function(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}},{key:"_listenToScrollEvents",value:function(){var t=this;this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(function(e){if(t.isDragging()){var n=t._parentPositions.handleScroll(e);n&&(t._itemPositions.forEach(function(t){E(t.clientRect,n.top,n.left)}),t._itemPositions.forEach(function(e){var n=e.drag;t._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()}))}else t.isReceiving()&&t._cacheParentPositions()})}},{key:"_getShadowRoot",value:function(){if(!this._cachedShadowRoot){var t=Object(c.c)(Object(h.e)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}]),t}();function tt(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n,t))return n;return-1}function et(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function nt(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function it(t,e){var n=t.top,i=t.bottom,r=.05*t.height;return e>=n-r&&e<=n+r?1:e>=i-r&&e<=i+r?2:0}function rt(t,e){var n=t.left,i=t.right,r=.05*t.width;return e>=n-r&&e<=n+r?1:e>=i-r&&e<=i+r?2:0}var at,ot,st,lt,ut=Object(c.f)({passive:!1,capture:!0}),ct=((at=function(){function t(e,n){var i=this;s(this,t),this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new d.a,this.pointerUp=new d.a,this.scroll=new d.a,this._preventDefaultWhileDragging=function(t){i._activeDragInstances.size&&t.preventDefault()},this._persistentTouchmoveListener=function(t){i._activeDragInstances.size&&(t.preventDefault(),i.pointerMove.next(t))},this._document=n}return u(t,[{key:"registerDropContainer",value:function(t){this._dropInstances.has(t)||this._dropInstances.add(t)}},{key:"registerDragItem",value:function(t){var e=this;this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(function(){e._document.addEventListener("touchmove",e._persistentTouchmoveListener,ut)})}},{key:"removeDropContainer",value:function(t){this._dropInstances.delete(t)}},{key:"removeDragItem",value:function(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,ut)}},{key:"startDragging",value:function(t,e){var n=this;if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){var i=e.type.startsWith("touch");this._globalListeners.set(i?"touchend":"mouseup",{handler:function(t){return n.pointerUp.next(t)},options:!0}).set("scroll",{handler:function(t){return n.scroll.next(t)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ut}),i||this._globalListeners.set("mousemove",{handler:function(t){return n.pointerMove.next(t)},options:ut}),this._ngZone.runOutsideAngular(function(){n._globalListeners.forEach(function(t,e){n._document.addEventListener(e,t.handler,t.options)})})}}},{key:"stopDragging",value:function(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}},{key:"isDragging",value:function(t){return this._activeDragInstances.has(t)}},{key:"ngOnDestroy",value:function(){var t=this;this._dragInstances.forEach(function(e){return t.removeDragItem(e)}),this._dropInstances.forEach(function(e){return t.removeDropContainer(e)}),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var t=this;this._globalListeners.forEach(function(e,n){t._document.removeEventListener(n,e.handler,e.options)}),this._globalListeners.clear()}}]),t}()).\u0275fac=function(t){return new(t||at)(a.Yb(a.B),a.Yb(o.d))},at.\u0275prov=Object(a.Kb)({factory:function(){return new at(Object(a.Yb)(a.B),Object(a.Yb)(o.d))},token:at,providedIn:"root"}),at),ht={dragStartThreshold:5,pointerDirectionChangeThreshold:5},dt=((ot=function(){function t(e,n,i,r){s(this,t),this._document=e,this._ngZone=n,this._viewportRuler=i,this._dragDropRegistry=r}return u(t,[{key:"createDrag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht;return new W(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(t){return new $(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),t}()).\u0275fac=function(t){return new(t||ot)(a.Yb(o.d),a.Yb(a.B),a.Yb(l.e),a.Yb(ct))},ot.\u0275prov=Object(a.Kb)({factory:function(){return new ot(Object(a.Yb)(o.d),Object(a.Yb)(a.B),Object(a.Yb)(l.e),Object(a.Yb)(ct))},token:ot,providedIn:"root"}),ot),ft=new a.s("CDK_DRAG_PARENT"),pt=new a.s("CdkDropListGroup"),mt=new a.s("CDK_DRAG_CONFIG"),gt=0,vt=new a.s("CdkDropList"),yt=((st=function(){function t(e,n,i,r,o,l,u){var c=this;s(this,t),this.element=e,this._changeDetectorRef=i,this._scrollDispatcher=r,this._dir=o,this._group=l,this._destroyed=new d.a,this.connectedTo=[],this.id="cdk-drop-list-"+gt++,this.enterPredicate=function(){return!0},this.sortPredicate=function(){return!0},this.dropped=new a.o,this.entered=new a.o,this.exited=new a.o,this.sorted=new a.o,this._unsortedItems=new Set,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,u&&this._assignDefaults(u),this._dropListRef.enterPredicate=function(t,e){return c.enterPredicate(t.data,e.data)},this._dropListRef.sortPredicate=function(t,e,n){return c.sortPredicate(t,e.data,n.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),l&&l._items.add(this)}return u(t,[{key:"addItem",value:function(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort(function(t,e){return t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})}},{key:"ngOnDestroy",value:function(){var e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"_setupInputSyncSubscription",value:function(e){var n=this;this._dir&&this._dir.change.pipe(Object(w.a)(this._dir.value),Object(b.a)(this._destroyed)).subscribe(function(t){return e.withDirection(t)}),e.beforeStarted.subscribe(function(){var i=Object(h.b)(n.connectedTo).map(function(e){return"string"==typeof e?t._dropLists.find(function(t){return t.id===e}):e});if(n._group&&n._group._items.forEach(function(t){-1===i.indexOf(t)&&i.push(t)}),!n._scrollableParentsResolved){var r=n._scrollDispatcher.getAncestorScrollContainers(n.element).map(function(t){return t.getElementRef().nativeElement});n._dropListRef.withScrollableParents(r),n._scrollableParentsResolved=!0}e.disabled=n.disabled,e.lockAxis=n.lockAxis,e.sortingDisabled=Object(h.c)(n.sortingDisabled),e.autoScrollDisabled=Object(h.c)(n.autoScrollDisabled),e.connectedTo(i.filter(function(t){return t&&t!==n}).map(function(t){return t._dropListRef})).withOrientation(n.orientation)})}},{key:"_handleEvents",value:function(t){var e=this;t.beforeStarted.subscribe(function(){e._syncItemsWithRef(),e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:e,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:e,item:t.item.data}),e._changeDetectorRef.markForCheck()}),t.sorted.subscribe(function(t){e.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:e,item:t.item.data})}),t.dropped.subscribe(function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),e._changeDetectorRef.markForCheck()})}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,n=t.draggingDisabled,i=t.sortingDisabled,r=t.listAutoScrollDisabled,a=t.listOrientation;this.disabled=null!=n&&n,this.sortingDisabled=null!=i&&i,this.autoScrollDisabled=null!=r&&r,this.orientation=a||"vertical",e&&(this.lockAxis=e)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map(function(t){return t._dragRef}))}},{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(t){this._dropListRef.disabled=this._disabled=Object(h.c)(t)}}]),t}()).\u0275fac=function(t){return new(t||st)(a.Ob(a.l),a.Ob(dt),a.Ob(a.h),a.Ob(l.c),a.Ob(C.b,8),a.Ob(pt,12),a.Ob(mt,8))},st.\u0275dir=a.Jb({type:st,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Db("id",e.id),a.Gb("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[a.Bb([{provide:pt,useValue:void 0},{provide:vt,useExisting:st}])]}),st._dropLists=[],st),_t=new a.s("CdkDragHandle"),bt=new a.s("CdkDragPlaceholder"),wt=new a.s("CdkDragPreview"),kt=((lt=function(){function t(e,n,i,r,o,l,u,c,h,f){var m=this;s(this,t),this.element=e,this.dropContainer=n,this._ngZone=r,this._viewContainerRef=o,this._dir=u,this._changeDetectorRef=h,this._selfHandle=f,this._destroyed=new d.a,this.started=new a.o,this.released=new a.o,this.ended=new a.o,this.entered=new a.o,this.exited=new a.o,this.dropped=new a.o,this.moved=new p.a(function(t){var e=m._dragRef.moved.pipe(Object(k.a)(function(t){return{source:m,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}})).subscribe(t);return function(){e.unsubscribe()}}),this._dragRef=c.createDrag(e,{dragStartThreshold:l&&null!=l.dragStartThreshold?l.dragStartThreshold:5,pointerDirectionChangeThreshold:l&&null!=l.pointerDirectionChangeThreshold?l.pointerDirectionChangeThreshold:5,zIndex:null==l?void 0:l.zIndex}),this._dragRef.data=this,l&&this._assignDefaults(l),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return u(t,[{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var t=this;this._ngZone.onStable.pipe(Object(x.a)(1),Object(b.a)(this._destroyed)).subscribe(function(){t._updateRootElement(),t._handles.changes.pipe(Object(w.a)(t._handles),Object(M.a)(function(e){var n=e.filter(function(e){return e._parentDrag===t}).map(function(t){return t.element});t._selfHandle&&t.rootElementSelector&&n.push(t.element),t._dragRef.withHandles(n)}),Object(S.a)(function(t){return Object(_.a).apply(void 0,i(t.map(function(t){return t._stateChanges.pipe(Object(w.a)(t))})))}),Object(b.a)(t._destroyed)).subscribe(function(e){var n=t._dragRef,i=e.element.nativeElement;e.disabled?n.disableHandle(i):n.enableHandle(i)}),t.freeDragPosition&&t._dragRef.setFreeDragPosition(t.freeDragPosition)})}},{key:"ngOnChanges",value:function(t){var e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var t=this.element.nativeElement,e=this.rootElementSelector?xt(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}},{key:"_getBoundaryElement",value:function(){var t=this.boundaryElement;return t?"string"==typeof t?xt(this.element.nativeElement,t):Object(h.e)(t):null}},{key:"_syncInputs",value:function(t){var e=this;t.beforeStarted.subscribe(function(){if(!t.isDragging()){var n=e._dir,i=e.dragStartDelay,r=e._placeholderTemplate?{template:e._placeholderTemplate.templateRef,context:e._placeholderTemplate.data,viewContainer:e._viewContainerRef}:null,a=e._previewTemplate?{template:e._previewTemplate.templateRef,context:e._previewTemplate.data,matchSize:e._previewTemplate.matchSize,viewContainer:e._viewContainerRef}:null;t.disabled=e.disabled,t.lockAxis=e.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:Object(h.f)(i),t.constrainPosition=e.constrainPosition,t.previewClass=e.previewClass,t.withBoundaryElement(e._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(a),n&&t.withDirection(n.value)}})}},{key:"_handleEvents",value:function(t){var e=this;t.started.subscribe(function(){e.started.emit({source:e}),e._changeDetectorRef.markForCheck()}),t.released.subscribe(function(){e.released.emit({source:e})}),t.ended.subscribe(function(t){e.ended.emit({source:e,distance:t.distance}),e._changeDetectorRef.markForCheck()}),t.entered.subscribe(function(t){e.entered.emit({container:t.container.data,item:e,currentIndex:t.currentIndex})}),t.exited.subscribe(function(t){e.exited.emit({container:t.container.data,item:e})}),t.dropped.subscribe(function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:e,distance:t.distance})})}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,n=t.dragStartDelay,i=t.constrainPosition,r=t.previewClass,a=t.boundaryElement,o=t.draggingDisabled,s=t.rootElementSelector;this.disabled=null!=o&&o,this.dragStartDelay=n||0,e&&(this.lockAxis=e),i&&(this.constrainPosition=i),r&&(this.previewClass=r),a&&(this.boundaryElement=a),s&&(this.rootElementSelector=s)}},{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(t){this._disabled=Object(h.c)(t),this._dragRef.disabled=this._disabled}}]),t}()).\u0275fac=function(t){return new(t||lt)(a.Ob(a.l),a.Ob(vt,12),a.Ob(o.d),a.Ob(a.B),a.Ob(a.R),a.Ob(mt,8),a.Ob(C.b,8),a.Ob(dt),a.Ob(a.h),a.Ob(_t,10))},lt.\u0275dir=a.Jb({type:lt,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,n){var i;1&t&&(a.Hb(n,wt,!0),a.Hb(n,bt,!0),a.Hb(n,_t,!0)),2&t&&(a.tc(i=a.cc())&&(e._previewTemplate=i.first),a.tc(i=a.cc())&&(e._placeholderTemplate=i.first),a.tc(i=a.cc())&&(e._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gb("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[a.Bb([{provide:ft,useExisting:lt}]),a.Ab]}),lt);function xt(t,e){for(var n=t.parentElement;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}var Mt,St=((Mt=function t(){s(this,t)}).\u0275mod=a.Mb({type:Mt}),Mt.\u0275inj=a.Lb({factory:function(t){return new(t||Mt)},providers:[dt],imports:[l.b]}),Mt)},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),a=n("zx2A");function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(a){return a.pipe(o(function(n,a){return Object(r.a)(t(n,a)).pipe(Object(i.a)(function(t,i){return e(n,t,a,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new l(t,n))})}var l=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;s(this,t),this.project=e,this.concurrent=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}]),t}(),c=function(t){h(n,t);var e=f(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return s(this,n),(r=e.call(this,t)).project=i,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return u(n,[{key:"_next",value:function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new a.a(this),n=this.destination;n.add(e);var i=Object(a.c)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(a.b)},"5WsY":function(t,e,n){"use strict";var i=n("vJtL"),r=n("Js68");e.a=function(t){return null!=t&&Object(r.a)(t.length)&&!Object(i.a)(t)}},"6+QB":function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"7+OI":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var i=1,r=Promise.resolve(),a={};function o(t){return t in a&&(delete a[t],!0)}var l=function(t){var e=i++;return a[e]=!0,r.then(function(){return o(e)&&t()}),e},d=function(t){o(t)},p=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return u(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?c(b(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=l(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return c(b(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(d(e),t.scheduled=void 0)}}]),n}(n("3N8a").a),m=new(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(n("IjjT").a))(p)},"7OFo":function(t,e,n){"use strict";n.d(e,"a",function(){return k});var i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function t(e,n,i,r,a,o,s,l,u,c){this.numeralDecimalMark=e||".",this.numeralIntegerScale=n>0?n:0,this.numeralDecimalScale=i>=0?i:2,this.numeralThousandsGroupStyle=r||t.groupStyle.thousand,this.numeralPositiveOnly=!!a,this.stripLeadingZeroes=!1!==o,this.prefix=s||""===s?s:"",this.signBeforePrefix=!!l,this.tailPrefix=!!u,this.delimiter=c||""===c?c:",",this.delimiterRE=c?new RegExp("\\"+c,"g"):""};r.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},r.prototype={getRawValue:function(t){return t.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(t){var e,n,i,a,o="";switch(t=t.replace(/[A-Za-z]/g,"").replace(this.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",this.numeralPositiveOnly?"":"-").replace("M",this.numeralDecimalMark),this.stripLeadingZeroes&&(t=t.replace(/^(-)?0+(?=\d)/,"$1")),n="-"===t.slice(0,1)?"-":"",i=void 0!==this.prefix?this.signBeforePrefix?n+this.prefix:this.prefix+n:n,a=t,t.indexOf(this.numeralDecimalMark)>=0&&(a=(e=t.split(this.numeralDecimalMark))[0],o=this.numeralDecimalMark+e[1].slice(0,this.numeralDecimalScale)),"-"===n&&(a=a.slice(1)),this.numeralIntegerScale>0&&(a=a.slice(0,this.numeralIntegerScale)),this.numeralThousandsGroupStyle){case r.groupStyle.lakh:a=a.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+this.delimiter);break;case r.groupStyle.wan:a=a.replace(/(\d)(?=(\d{4})+$)/g,"$1"+this.delimiter);break;case r.groupStyle.thousand:a=a.replace(/(\d)(?=(\d{3})+$)/g,"$1"+this.delimiter)}return this.tailPrefix?n+a.toString()+(this.numeralDecimalScale>0?o.toString():"")+this.prefix:i+a.toString()+(this.numeralDecimalScale>0?o.toString():"")}};var a=r,o=function(t,e,n){this.date=[],this.blocks=[],this.datePattern=t,this.dateMin=e.split("-").reverse().map(function(t){return parseInt(t,10)}),2===this.dateMin.length&&this.dateMin.unshift(0),this.dateMax=n.split("-").reverse().map(function(t){return parseInt(t,10)}),2===this.dateMax.length&&this.dateMax.unshift(0),this.initBlocks()};o.prototype={initBlocks:function(){var t=this;t.datePattern.forEach(function(e){t.blocks.push("Y"===e?4:2)})},getISOFormatDate:function(){var t=this.date;return t[2]?t[2]+"-"+this.addLeadingZero(t[1])+"-"+this.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(t){var e=this,n="";return t=t.replace(/[^\d]/g,""),e.blocks.forEach(function(i,r){if(t.length>0){var a=t.slice(0,i),o=a.slice(0,1),s=t.slice(i);switch(e.datePattern[r]){case"d":"00"===a?a="01":parseInt(o,10)>3?a="0"+o:parseInt(a,10)>31&&(a="31");break;case"m":"00"===a?a="01":parseInt(o,10)>1?a="0"+o:parseInt(a,10)>12&&(a="12")}n+=a,t=s}}),this.getFixedDateString(n)},getFixedDateString:function(t){var e,n,i,r=this,a=r.datePattern,o=[],s=0,l=0,u=0,c=0,h=0,d=0,f=!1;return 4===t.length&&"y"!==a[0].toLowerCase()&&"y"!==a[1].toLowerCase()&&(h=2-(c="d"===a[0]?0:2),e=parseInt(t.slice(c,c+2),10),n=parseInt(t.slice(h,h+2),10),o=this.getFixedDate(e,n,0)),8===t.length&&(a.forEach(function(t,e){switch(t){case"d":s=e;break;case"m":l=e;break;default:u=e}}),d=2*u,c=s<=u?2*s:2*s+2,h=l<=u?2*l:2*l+2,e=parseInt(t.slice(c,c+2),10),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+4),10),f=4===t.slice(d,d+4).length,o=this.getFixedDate(e,n,i)),4!==t.length||"y"!==a[0]&&"y"!==a[1]||(d=2-(h="m"===a[0]?0:2),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+2),10),f=2===t.slice(d,d+2).length,o=[0,n,i]),6!==t.length||"Y"!==a[0]&&"Y"!==a[1]||(d=2-.5*(h="m"===a[0]?0:4),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+4),10),f=4===t.slice(d,d+4).length,o=[0,n,i]),o=r.getRangeFixedDate(o),r.date=o,0===o.length?t:a.reduce(function(t,e){switch(e){case"d":return t+(0===o[0]?"":r.addLeadingZero(o[0]));case"m":return t+(0===o[1]?"":r.addLeadingZero(o[1]));case"y":return t+(f?r.addLeadingZeroForYear(o[2],!1):"");case"Y":return t+(f?r.addLeadingZeroForYear(o[2],!0):"")}},"")},getRangeFixedDate:function(t){var e=this.dateMin||[],n=this.dateMax||[];return!t.length||e.length<3&&n.length<3||this.datePattern.find(function(t){return"y"===t.toLowerCase()})&&0===t[2]?t:n.length&&(n[2]<t[2]||n[2]===t[2]&&(n[1]<t[1]||n[1]===t[1]&&n[0]<t[0]))?n:e.length&&(e[2]>t[2]||e[2]===t[2]&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0]))?e:t},getFixedDate:function(t,e,n){return t=Math.min(t,31),e=Math.min(e,12),n=parseInt(n||0,10),(e<7&&e%2==0||e>8&&e%2==1)&&(t=Math.min(t,2===e?this.isLeapYear(n)?29:28:30)),[t,e,n]},isLeapYear:function(t){return t%4==0&&t%100!=0||t%400==0},addLeadingZero:function(t){return(t<10?"0":"")+t},addLeadingZeroForYear:function(t,e){return e?(t<10?"000":t<100?"00":t<1e3?"0":"")+t:(t<10?"0":"")+t}};var l=o,c=function(t,e){this.time=[],this.blocks=[],this.timePattern=t,this.timeFormat=e,this.initBlocks()};c.prototype={initBlocks:function(){var t=this;t.timePattern.forEach(function(){t.blocks.push(2)})},getISOFormatTime:function(){var t=this.time;return t[2]?this.addLeadingZero(t[0])+":"+this.addLeadingZero(t[1])+":"+this.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){return"12"===String(this.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(t){var e=this,n="";t=t.replace(/[^\d]/g,"");var i=e.getTimeFormatOptions();return e.blocks.forEach(function(r,a){if(t.length>0){var o=t.slice(0,r),s=o.slice(0,1),l=t.slice(r);switch(e.timePattern[a]){case"h":parseInt(s,10)>i.maxHourFirstDigit?o="0"+s:parseInt(o,10)>i.maxHours&&(o=i.maxHours+"");break;case"m":case"s":parseInt(s,10)>i.maxMinutesFirstDigit?o="0"+s:parseInt(o,10)>i.maxMinutes&&(o=i.maxMinutes+"")}n+=o,t=l}}),this.getFixedTimeString(n)},getFixedTimeString:function(t){var e,n,i,r=this,a=r.timePattern,o=[],s=0,l=0,u=0,c=0,h=0,d=0;return 6===t.length&&(a.forEach(function(t,e){switch(t){case"s":s=2*e;break;case"m":l=2*e;break;case"h":u=2*e}}),d=u,h=l,c=s,e=parseInt(t.slice(c,c+2),10),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+2),10),o=this.getFixedTime(i,n,e)),4===t.length&&r.timePattern.indexOf("s")<0&&(a.forEach(function(t,e){switch(t){case"m":l=2*e;break;case"h":u=2*e}}),d=u,h=l,e=0,n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+2),10),o=this.getFixedTime(i,n,e)),r.time=o,0===o.length?t:a.reduce(function(t,e){switch(e){case"s":return t+r.addLeadingZero(o[2]);case"m":return t+r.addLeadingZero(o[1]);case"h":return t+r.addLeadingZero(o[0])}},"")},getFixedTime:function(t,e,n){return n=Math.min(parseInt(n||0,10),60),e=Math.min(e,60),[t=Math.min(t,60),e,n]},addLeadingZero:function(t){return(t<10?"0":"")+t}};var h=c,d=function(t,e){this.delimiter=e||""===e?e:" ",this.delimiterRE=e?new RegExp("\\"+e,"g"):"",this.formatter=t};d.prototype={setFormatter:function(t){this.formatter=t},format:function(t){this.formatter.clear();for(var e,n="",i=!1,r=0,a=(t=(t=(t=t.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(this.delimiterRE,"")).length;r<a;r++)e=this.formatter.inputDigit(t.charAt(r)),/[\s()-]/g.test(e)?(n=e,i=!0):i||(n=e);return(n=n.replace(/[()]/g,"")).replace(/[\s-]/g,this.delimiter)}};var f=d,p={blocks:{uatp:[4,5,6],amex:[4,6,5],diners:[4,6,4],discover:[4,4,4,4],mastercard:[4,4,4,4],dankort:[4,4,4,4],instapayment:[4,4,4,4],jcb15:[4,6,5],jcb:[4,4,4,4],maestro:[4,4,4,4],visa:[4,4,4,4],mir:[4,4,4,4],unionPay:[4,4,4,4],general:[4,4,4,4]},re:{uatp:/^(?!1800)1\d{0,14}/,amex:/^3[47]\d{0,13}/,discover:/^(?:6011|65\d{0,2}|64[4-9]\d?)\d{0,12}/,diners:/^3(?:0([0-5]|9)|[689]\d?)\d{0,11}/,mastercard:/^(5[1-5]\d{0,2}|22[2-9]\d{0,1}|2[3-7]\d{0,2})\d{0,12}/,dankort:/^(5019|4175|4571)\d{0,12}/,instapayment:/^63[7-9]\d{0,13}/,jcb15:/^(?:2131|1800)\d{0,11}/,jcb:/^(?:35\d{0,2})\d{0,12}/,maestro:/^(?:5[0678]\d{0,2}|6304|67\d{0,2})\d{0,12}/,mir:/^220[0-4]\d{0,12}/,visa:/^4\d{0,15}/,unionPay:/^(62|81)\d{0,14}/},getStrictBlocks:function(t){var e=t.reduce(function(t,e){return t+e},0);return t.concat(19-e)},getInfo:function(t,e){var n=p.blocks,i=p.re;for(var r in e=!!e,i)if(i[r].test(t)){var a=n[r];return{type:r,blocks:e?this.getStrictBlocks(a):a}}return{type:"unknown",blocks:e?this.getStrictBlocks(n.general):n.general}}},m=p,g={noop:function(){},strip:function(t,e){return t.replace(e,"")},getPostDelimiter:function(t,e,n){if(0===n.length)return t.slice(-e.length)===e?e:"";var i="";return n.forEach(function(e){t.slice(-e.length)===e&&(i=e)}),i},getDelimiterREByDelimiter:function(t){return new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"g")},getNextCursorPosition:function(t,e,n,i,r){return e.length===t?n.length:t+this.getPositionOffset(t,e,n,i,r)},getPositionOffset:function(t,e,n,i,r){var a,o,s;return a=this.stripDelimiters(e.slice(0,t),i,r),o=this.stripDelimiters(n.slice(0,t),i,r),0!=(s=a.length-o.length)?s/Math.abs(s):0},stripDelimiters:function(t,e,n){var i=this;if(0===n.length){var r=e?i.getDelimiterREByDelimiter(e):"";return t.replace(r,"")}return n.forEach(function(e){e.split("").forEach(function(e){t=t.replace(i.getDelimiterREByDelimiter(e),"")})}),t},headStr:function(t,e){return t.slice(0,e)},getMaxLength:function(t){return t.reduce(function(t,e){return t+e},0)},getPrefixStrippedValue:function(t,e,n,i,r,a,o,s,l){if(0===n)return t;if(t===e&&""!==t)return"";if(l&&"-"==t.slice(0,1)){var u="-"==i.slice(0,1)?i.slice(1):i;return"-"+this.getPrefixStrippedValue(t.slice(1),e,n,u,r,a,o,s,l)}if(i.slice(0,n)!==e&&!s)return o&&!i&&t?t:"";if(i.slice(-n)!==e&&s)return o&&!i&&t?t:"";var c=this.stripDelimiters(i,r,a);return t.slice(0,n)===e||s?t.slice(-n)!==e&&s?c.slice(0,-n-1):s?t.slice(0,-n):t.slice(n):c.slice(n)},getFirstDiffIndex:function(t,e){for(var n=0;t.charAt(n)===e.charAt(n);)if(""===t.charAt(n++))return-1;return n},getFormattedValue:function(t,e,n,i,r,a){var o="",s=r.length>0,l="";return 0===n?t:(e.forEach(function(e,u){if(t.length>0){var c=t.slice(0,e),h=t.slice(e);l=s?r[a?u-1:u]||l:i,a?(u>0&&(o+=l),o+=c):(o+=c,c.length===e&&u<n-1&&(o+=l)),t=h}}),o)},fixPrefixCursor:function(t,e,n,i){if(t){var r=t.value;if(t.setSelectionRange&&e&&!(e.length+(n||i[0]||" ").length<=r.length)){var a=2*r.length;setTimeout(function(){t.setSelectionRange(a,a)},1)}}},checkFullSelection:function(t){try{return(window.getSelection()||document.getSelection()||{}).toString().length===t.length}catch(e){}return!1},setSelection:function(t,e,n){if(t===this.getActiveElement(n)&&!(t&&t.value.length<=e))if(t.createTextRange){var i=t.createTextRange();i.move("character",e),i.select()}else try{t.setSelectionRange(e,e)}catch(r){console.warn("The input element type does not support selection")}},getActiveElement:function(t){var e=t.activeElement;return e&&e.shadowRoot?this.getActiveElement(e.shadowRoot):e},isAndroid:function(){return navigator&&/android/i.test(navigator.userAgent)},isAndroidBackspaceKeydown:function(t,e){return!!(this.isAndroid()&&t&&e)&&e===t.slice(0,-1)}},v={assign:function(t,e){return(t=t||{}).creditCard=!!(e=e||{}).creditCard,t.creditCardStrictMode=!!e.creditCardStrictMode,t.creditCardType="",t.onCreditCardTypeChanged=e.onCreditCardTypeChanged||function(){},t.phone=!!e.phone,t.phoneRegionCode=e.phoneRegionCode||"AU",t.phoneFormatter={},t.time=!!e.time,t.timePattern=e.timePattern||["h","m","s"],t.timeFormat=e.timeFormat||"24",t.timeFormatter={},t.date=!!e.date,t.datePattern=e.datePattern||["d","m","Y"],t.dateMin=e.dateMin||"",t.dateMax=e.dateMax||"",t.dateFormatter={},t.numeral=!!e.numeral,t.numeralIntegerScale=e.numeralIntegerScale>0?e.numeralIntegerScale:0,t.numeralDecimalScale=e.numeralDecimalScale>=0?e.numeralDecimalScale:2,t.numeralDecimalMark=e.numeralDecimalMark||".",t.numeralThousandsGroupStyle=e.numeralThousandsGroupStyle||"thousand",t.numeralPositiveOnly=!!e.numeralPositiveOnly,t.stripLeadingZeroes=!1!==e.stripLeadingZeroes,t.signBeforePrefix=!!e.signBeforePrefix,t.tailPrefix=!!e.tailPrefix,t.swapHiddenInput=!!e.swapHiddenInput,t.numericOnly=t.creditCard||t.date||!!e.numericOnly,t.uppercase=!!e.uppercase,t.lowercase=!!e.lowercase,t.prefix=t.creditCard||t.date?"":e.prefix||"",t.noImmediatePrefix=!!e.noImmediatePrefix,t.prefixLength=t.prefix.length,t.rawValueTrimPrefix=!!e.rawValueTrimPrefix,t.copyDelimiter=!!e.copyDelimiter,t.initValue=null!=e.initValue?e.initValue.toString():"",t.delimiter=e.delimiter||""===e.delimiter?e.delimiter:e.date?"/":e.time?":":e.numeral?",":" ",t.delimiterLength=t.delimiter.length,t.delimiterLazyShow=!!e.delimiterLazyShow,t.delimiters=e.delimiters||[],t.blocks=e.blocks||[],t.blocksLength=t.blocks.length,t.root="object"==typeof i&&i?i:window,t.document=e.document||t.root.document,t.maxLength=0,t.backspace=!1,t.result="",t.onValueChanged=e.onValueChanged||function(){},t}},y=function t(e,n){var i=!1;if("string"==typeof e?(this.element=document.querySelector(e),i=document.querySelectorAll(e).length>1):void 0!==e.length&&e.length>0?(this.element=e[0],i=e.length>1):this.element=e,!this.element)throw new Error("[cleave.js] Please check the element");if(i)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(r){}n.initValue=this.element.value,this.properties=t.DefaultProperties.assign({},n),this.init()};y.prototype={init:function(){var t=this.properties;t.numeral||t.phone||t.creditCard||t.time||t.date||0!==t.blocksLength||t.prefix?(t.maxLength=y.Util.getMaxLength(t.blocks),this.isAndroid=y.Util.isAndroid(),this.lastInputValue="",this.isBackward="",this.onChangeListener=this.onChange.bind(this),this.onKeyDownListener=this.onKeyDown.bind(this),this.onFocusListener=this.onFocus.bind(this),this.onCutListener=this.onCut.bind(this),this.onCopyListener=this.onCopy.bind(this),this.initSwapHiddenInput(),this.element.addEventListener("input",this.onChangeListener),this.element.addEventListener("keydown",this.onKeyDownListener),this.element.addEventListener("focus",this.onFocusListener),this.element.addEventListener("cut",this.onCutListener),this.element.addEventListener("copy",this.onCopyListener),this.initPhoneFormatter(),this.initDateFormatter(),this.initTimeFormatter(),this.initNumeralFormatter(),(t.initValue||t.prefix&&!t.noImmediatePrefix)&&this.onInput(t.initValue)):this.onInput(t.initValue)},initSwapHiddenInput:function(){if(this.properties.swapHiddenInput){var t=this.element.cloneNode(!0);this.element.parentNode.insertBefore(t,this.element),this.elementSwapHidden=this.element,this.elementSwapHidden.type="hidden",this.element=t,this.element.id=""}},initNumeralFormatter:function(){var t=this.properties;t.numeral&&(t.numeralFormatter=new y.NumeralFormatter(t.numeralDecimalMark,t.numeralIntegerScale,t.numeralDecimalScale,t.numeralThousandsGroupStyle,t.numeralPositiveOnly,t.stripLeadingZeroes,t.prefix,t.signBeforePrefix,t.tailPrefix,t.delimiter))},initTimeFormatter:function(){var t=this.properties;t.time&&(t.timeFormatter=new y.TimeFormatter(t.timePattern,t.timeFormat),t.blocks=t.timeFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=y.Util.getMaxLength(t.blocks))},initDateFormatter:function(){var t=this.properties;t.date&&(t.dateFormatter=new y.DateFormatter(t.datePattern,t.dateMin,t.dateMax),t.blocks=t.dateFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=y.Util.getMaxLength(t.blocks))},initPhoneFormatter:function(){var t=this.properties;if(t.phone)try{t.phoneFormatter=new y.PhoneFormatter(new t.root.Cleave.AsYouTypeFormatter(t.phoneRegionCode),t.delimiter)}catch(e){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(t){var e=t.which||t.keyCode;this.lastInputValue=this.element.value,this.isBackward=8===e},onChange:function(t){var e=this.properties,n=y.Util;this.isBackward=this.isBackward||"deleteContentBackward"===t.inputType;var i=n.getPostDelimiter(this.lastInputValue,e.delimiter,e.delimiters);e.postDelimiterBackspace=!(!this.isBackward||!i)&&i,this.onInput(this.element.value)},onFocus:function(){var t=this.properties;this.lastInputValue=this.element.value,t.prefix&&t.noImmediatePrefix&&!this.element.value&&this.onInput(t.prefix),y.Util.fixPrefixCursor(this.element,t.prefix,t.delimiter,t.delimiters)},onCut:function(t){y.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(t),this.onInput(""))},onCopy:function(t){y.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(t)},copyClipboardData:function(t){var e,n=this.properties,i=this.element.value;e=n.copyDelimiter?i:y.Util.stripDelimiters(i,n.delimiter,n.delimiters);try{t.clipboardData?t.clipboardData.setData("Text",e):window.clipboardData.setData("Text",e),t.preventDefault()}catch(r){}},onInput:function(t){var e=this.properties,n=y.Util,i=n.getPostDelimiter(t,e.delimiter,e.delimiters);return e.numeral||!e.postDelimiterBackspace||i||(t=n.headStr(t,t.length-e.postDelimiterBackspace.length)),e.phone?(e.result=!e.prefix||e.noImmediatePrefix&&!t.length?e.phoneFormatter.format(t):e.prefix+e.phoneFormatter.format(t).slice(e.prefix.length),void this.updateValueState()):e.numeral?(e.result=e.prefix&&e.noImmediatePrefix&&0===t.length?"":e.numeralFormatter.format(t),void this.updateValueState()):(e.date&&(t=e.dateFormatter.getValidatedDate(t)),e.time&&(t=e.timeFormatter.getValidatedTime(t)),t=n.stripDelimiters(t,e.delimiter,e.delimiters),t=n.getPrefixStrippedValue(t,e.prefix,e.prefixLength,e.result,e.delimiter,e.delimiters,e.noImmediatePrefix,e.tailPrefix,e.signBeforePrefix),t=e.numericOnly?n.strip(t,/[^\d]/g):t,t=e.uppercase?t.toUpperCase():t,t=e.lowercase?t.toLowerCase():t,e.prefix&&(e.tailPrefix?t+=e.prefix:t=e.prefix+t,0===e.blocksLength)?(e.result=t,void this.updateValueState()):(e.creditCard&&this.updateCreditCardPropsByValue(t),t=n.headStr(t,e.maxLength),e.result=n.getFormattedValue(t,e.blocks,e.blocksLength,e.delimiter,e.delimiters,e.delimiterLazyShow),void this.updateValueState()))},updateCreditCardPropsByValue:function(t){var e,n=this.properties,i=y.Util;i.headStr(n.result,4)!==i.headStr(t,4)&&(e=y.CreditCardDetector.getInfo(t,n.creditCardStrictMode),n.blocks=e.blocks,n.blocksLength=n.blocks.length,n.maxLength=i.getMaxLength(n.blocks),n.creditCardType!==e.type&&(n.creditCardType=e.type,n.onCreditCardTypeChanged.call(this,n.creditCardType)))},updateValueState:function(){var t=this,e=y.Util,n=t.properties;if(t.element){var i=t.element.selectionEnd,r=n.result;i=e.getNextCursorPosition(i,t.element.value,r,n.delimiter,n.delimiters),t.isAndroid?window.setTimeout(function(){t.element.value=r,e.setSelection(t.element,i,n.document,!1),t.callOnValueChanged()},1):(t.element.value=r,n.swapHiddenInput&&(t.elementSwapHidden.value=t.getRawValue()),e.setSelection(t.element,i,n.document,!1),t.callOnValueChanged())}},callOnValueChanged:function(){var t=this.properties;t.onValueChanged.call(this,{target:{name:this.element.name,value:t.result,rawValue:this.getRawValue()}})},setPhoneRegionCode:function(t){this.properties.phoneRegionCode=t,this.initPhoneFormatter(),this.onChange()},setRawValue:function(t){var e=this.properties;t=null!=t?t.toString():"",e.numeral&&(t=t.replace(".",e.numeralDecimalMark)),e.postDelimiterBackspace=!1,this.element.value=t,this.onInput(t)},getRawValue:function(){var t=this.properties,e=y.Util,n=this.element.value;return t.rawValueTrimPrefix&&(n=e.getPrefixStrippedValue(n,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix)),t.numeral?t.numeralFormatter.getRawValue(n):e.stripDelimiters(n,t.delimiter,t.delimiters)},getISOFormatDate:function(){var t=this.properties;return t.date?t.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var t=this.properties;return t.time?t.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){this.element.removeEventListener("input",this.onChangeListener),this.element.removeEventListener("keydown",this.onKeyDownListener),this.element.removeEventListener("focus",this.onFocusListener),this.element.removeEventListener("cut",this.onCutListener),this.element.removeEventListener("copy",this.onCopyListener)},toString:function(){return"[Cleave Object]"}},y.NumeralFormatter=a,y.DateFormatter=l,y.TimeFormatter=h,y.PhoneFormatter=f,y.CreditCardDetector=m,y.Util=g,y.DefaultProperties=v,("object"==typeof i&&i?i:window).Cleave=y;var _,b=y,w=n("fXoL"),k=((_=function(){function t(e){s(this,t),this._elementRef=e}return u(t,[{key:"cleave",set:function(t){this._instance&&this._instance.destroy(),this._instance=new b(this._elementRef.nativeElement,t)}}]),t}()).\u0275fac=function(t){return new(t||_)(w.Ob(w.l))},_.\u0275dir=w.Jb({type:_,selectors:[["","cleave",""]],inputs:{cleave:"cleave"}}),_)},"7aV9":function(t,e,n){!function(t){"use strict";t.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(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,n){return t>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7gMY":function(t,e,n){"use strict";var i=n("9f76"),r=n("/1FC"),a=n("WOAq"),o=n("cSlR"),s=n("oYcn"),l=Object.prototype.hasOwnProperty;e.a=function(t,e){var n=Object(r.a)(t),u=!n&&Object(i.a)(t),c=!n&&!u&&Object(a.a)(t),h=!n&&!u&&!c&&Object(s.a)(t),d=n||u||c||h,f=d?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],p=f.length;for(var m in t)!e&&!l.call(t,m)||d&&("length"==m||c&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||Object(o.a)(m,p))||f.push(m);return f}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("n6bG"),r=n("gRHU"),a=n("quSY"),o=n("2QA8"),l=n("2fFW"),d=n("NJ4a"),p=function(t){h(n,t);var e=f(n);function n(t,i,a){var o;switch(s(this,n),(o=e.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=r.a;break;case 1:if(!t){o.destination=r.a;break}if("object"==typeof t){t instanceof n?(o.syncErrorThrowable=t.syncErrorThrowable,o.destination=t,t.add(m(o))):(o.syncErrorThrowable=!0,o.destination=new g(m(o),t));break}default:o.syncErrorThrowable=!0,o.destination=new g(m(o),t,i,a)}return o}return u(n,[{key:o.a,value:function(){return this}},{key:"next",value:function(t){this.isStopped||this._next(t)}},{key:"error",value:function(t){this.isStopped||(this.isStopped=!0,this._error(t))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,c(b(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(t){this.destination.next(t)}},{key:"_error",value:function(t){this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}],[{key:"create",value:function(t,e,i){var r=new n(t,e,i);return r.syncErrorThrowable=!1,r}}]),n}(a.a),g=function(t){h(n,t);var e=f(n);function n(t,a,o,l){var u,c;s(this,n),(u=e.call(this))._parentSubscriber=t;var h=m(u);return Object(i.a)(a)?c=a:a&&(c=a.next,o=a.error,l=a.complete,a!==r.a&&(h=Object.create(a),Object(i.a)(h.unsubscribe)&&u.add(h.unsubscribe.bind(h)),h.unsubscribe=u.unsubscribe.bind(m(u)))),u._context=h,u._next=c,u._error=o,u._complete=l,u}return u(n,[{key:"next",value:function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}},{key:"error",value:function(t){if(!this.isStopped){var e=this._parentSubscriber,n=l.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(d.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(d.a)(t)}}}},{key:"complete",value:function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};l.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(d.a)(n)}}},{key:"__tryOrSetError",value:function(t,e,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return l.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(d.a)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}]),n}(p)},"8/+R":function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8LU1":function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"b",function(){return l}),i.d(e,"c",function(){return a}),i.d(e,"d",function(){return u}),i.d(e,"e",function(){return c}),i.d(e,"f",function(){return o}),i.d(e,"g",function(){return h});var r=i("fXoL");function a(t){return null!=t&&""+t!="false"}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s(t)?Number(t):e}function s(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function l(t){return Array.isArray(t)?t:[t]}function u(t){return null==t?"":"string"==typeof t?t:t+"px"}function c(t){return t instanceof r.l?t.nativeElement:t}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,i=[];if(null!=t){var r,a=Array.isArray(t)?t:(""+t).split(e),o=n(a);try{for(o.s();!(r=o.n()).done;){var s=r.value,l=(""+s).trim();l&&i.push(l)}}catch(u){o.e(u)}finally{o.f()}}return i}},"8M4i":function(t,e,n){"use strict";var i=n("ylTp"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i.a?i.a.toStringTag:void 0,l=Object.prototype.toString,u=i.a?i.a.toStringTag:void 0;e.a=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(l){}var r=o.call(t);return i&&(e?t[s]=n:delete t[s]),r}(t):function(t){return l.call(t)}(t)}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8yBR":function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return D}),n.d(e,"d",function(){return O}),n.d(e,"e",function(){return v}),n.d(e,"f",function(){return y}),n.d(e,"g",function(){return k}),n.d(e,"h",function(){return S});var i=n("FvrZ"),r=n("FKr1"),a=n("8LU1"),o=n("0EQZ"),l=n("2Vo4"),d=n("VRyK"),p=(n("IzEk"),n("lJxs")),m=n("fXoL"),g=Object(r.D)(Object(r.A)(i.e)),v=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i))._elementRef=t,a._tree=i,a.tabIndex=Number(r)||0,a._elementRef.nativeElement.classList.add("mat-tree-node"),a}return u(n,[{key:"ngOnInit",value:function(){c(b(n.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){c(b(n.prototype),"ngDoCheck",this).call(this)}},{key:"ngOnDestroy",value:function(){c(b(n.prototype),"ngOnDestroy",this).call(this)}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(m.Ob(m.l),m.Ob(i.c),m.Zb("tabindex"))},t.\u0275dir=m.Jb({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[m.Bb([{provide:i.e,useExisting:t}]),m.zb]}),t}(),y=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.f);return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=m.Jb({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[m.Bb([{provide:i.f,useExisting:t}]),m.zb]}),t}(),_=m.Wb(y),w=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t,i,r))._elementRef=t,o._tree=i,o._differs=r,o._disabled=!1,o.tabIndex=Number(a)||0,o._elementRef.nativeElement.classList.add("mat-nested-tree-node"),o}return u(n,[{key:"ngOnInit",value:function(){c(b(n.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){c(b(n.prototype),"ngDoCheck",this).call(this)}},{key:"ngAfterContentInit",value:function(){c(b(n.prototype),"ngAfterContentInit",this).call(this)}},{key:"ngOnDestroy",value:function(){c(b(n.prototype),"ngOnDestroy",this).call(this)}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(a.c)(t)}},{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:0}}]),n}(i.b);return t.\u0275fac=function(e){return new(e||t)(m.Ob(m.l),m.Ob(i.c),m.Ob(m.u),m.Zb("tabindex"))},t.\u0275dir=m.Jb({type:t,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[m.Bb([{provide:i.b,useExisting:t},{provide:i.e,useExisting:t},{provide:i.a,useExisting:t}]),m.zb]}),t}(),k=function(){var t=function t(e,n){s(this,t),this.viewContainer=e,this._node=n};return t.\u0275fac=function(e){return new(e||t)(m.Ob(m.R),m.Ob(i.a,8))},t.\u0275dir=m.Jb({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[m.Bb([{provide:i.g,useExisting:t}])]}),t}(),x=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(i.c);return t.\u0275fac=function(e){return M(e||t)},t.\u0275cmp=m.Ib({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){var n;(1&t&&m.Bc(k,!0),2&t)&&(m.tc(n=m.cc())&&(e._nodeOutlet=n.first))},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[m.Bb([{provide:i.c,useExisting:t}]),m.zb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&m.Qb(0,0)},directives:[k],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t}(),M=m.Wb(x),S=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"recursive",get:function(){return this._recursive},set:function(t){this._recursive=Object(a.c)(t)}}]),n}(i.i);return t.\u0275fac=function(e){return C(e||t)},t.\u0275dir=m.Jb({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[m.Bb([{provide:i.i,useExisting:t}]),m.zb]}),t}(),C=m.Wb(S),D=function(){var t=function t(){s(this,t)};return t.\u0275mod=m.Mb({type:t}),t.\u0275inj=m.Lb({factory:function(e){return new(e||t)},imports:[[i.d,r.j],r.j]}),t}(),O=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._data=new l.a([]),t}return u(n,[{key:"connect",value:function(t){var e=this;return Object(d.a)(t.viewChange,this._data).pipe(Object(p.a)(function(){return e.data}))}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(t){this._data.next(t)}}]),n}(o.b)},"95ze":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("PCNd"),r=n("fXoL"),a=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.a]]}),t}()},"9f76":function(t,e,n){"use strict";var i=n("8M4i"),r=n("EUcb"),a=function(t){return Object(r.a)(t)&&"[object Arguments]"==Object(i.a)(t)},o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(t){return Object(r.a)(t)&&s.call(t,"callee")&&!l.call(t,"callee")};e.a=u},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},"9rRi":function(t,e,n){!function(t){"use strict";t.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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.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(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\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"))},A5z7:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return F}),n.d(e,"c",function(){return j}),n.d(e,"d",function(){return I}),n.d(e,"e",function(){return H});var r=n("FtGj"),a=n("fXoL"),o=n("FKr1"),l=n("8LU1"),c=n("ofXK"),d=n("R1ws"),p=n("XNiG"),g=n("VRyK"),v=n("IzEk"),y=n("1G5W"),_=n("JX91"),b=n("u47x"),w=n("0EQZ"),k=n("kmnG"),x=n("nLfN"),M=n("cH1L"),S=n("3Pt+"),C=["*"],D=new a.s("MatChipRemove"),O=new a.s("MatChipAvatar"),T=new a.s("MatChipTrailingIcon"),L=Object(o.D)(Object(o.y)(Object(o.z)(function t(e){s(this,t),this._elementRef=e}),"primary"),-1),A=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,l,u,c,h,d){var f;return s(this,n),(f=e.call(this,t))._elementRef=t,f._ngZone=i,f._changeDetectorRef=u,f._hasFocus=!1,f.chipListSelectable=!0,f._chipListMultiple=!1,f._chipListDisabled=!1,f._selected=!1,f._selectable=!0,f._disabled=!1,f._removable=!0,f._onFocus=new p.a,f._onBlur=new p.a,f.selectionChange=new a.o,f.destroyed=new a.o,f.removed=new a.o,f._addHostClassName(),f._chipRippleTarget=c.createElement("div"),f._chipRippleTarget.classList.add("mat-chip-ripple"),f._elementRef.nativeElement.appendChild(f._chipRippleTarget),f._chipRipple=new o.v(m(f),i,f._chipRippleTarget,r),f._chipRipple.setupTriggerEvents(t),f.rippleConfig=l||{},f._animationsDisabled="NoopAnimations"===h,f.tabIndex=null!=d&&parseInt(d)||-1,f}return u(n,[{key:"_addHostClassName",value:function(){var t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):t.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(t){this.disabled?t.preventDefault():t.stopPropagation()}},{key:"_handleKeydown",value:function(t){if(!this.disabled)switch(t.keyCode){case r.c:case r.b:this.remove(),t.preventDefault();break;case r.n:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}},{key:"_blur",value:function(){var t=this;this._ngZone.onStable.pipe(Object(v.a)(1)).subscribe(function(){t._ngZone.run(function(){t._hasFocus=!1,t._onBlur.next({chip:t})})})}},{key:"_dispatchSelectionChange",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(t){var e=Object(l.c)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(t){this._value=t}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(t){this._selectable=Object(l.c)(t)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(t){this._disabled=Object(l.c)(t)}},{key:"removable",get:function(){return this._removable},set:function(t){this._removable=Object(l.c)(t)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}}]),n}(L);return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(a.B),a.Ob(x.a),a.Ob(o.i,8),a.Ob(a.h),a.Ob(c.d),a.Ob(d.a,8),a.Zb("tabindex"))},t.\u0275dir=a.Jb({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,n){var i;(1&t&&(a.Hb(n,O,!0),a.Hb(n,T,!0),a.Hb(n,D,!0)),2&t)&&(a.tc(i=a.cc())&&(e.avatar=i.first),a.tc(i=a.cc())&&(e.trailingIcon=i.first),a.tc(i=a.cc())&&(e.removeIcon=i.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&a.bc("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(a.Db("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),a.Gb("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[a.zb]}),t}(),I=function(){var t=function(){function t(e,n){s(this,t),this._parentChip=e,"BUTTON"===n.nativeElement.nodeName&&n.nativeElement.setAttribute("type","button")}return u(t,[{key:"_handleClick",value:function(t){var e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(A),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&a.bc("click",function(t){return e._handleClick(t)})},features:[a.Bb([{provide:D,useExisting:t}])]}),t}(),P=new a.s("mat-chips-default-options"),E=Object(o.B)(function t(e,n,i,r){s(this,t),this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),R=0,Y=function t(e,n){s(this,t),this.source=e,this.value=n},j=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,o,l,u,c){var h;return s(this,n),(h=e.call(this,u,o,l,c))._elementRef=t,h._changeDetectorRef=i,h._dir=r,h.ngControl=c,h.controlType="mat-chip-list",h._lastDestroyedChipIndex=null,h._destroyed=new p.a,h._uid="mat-chip-list-"+R++,h._tabIndex=0,h._userTabIndex=null,h._onTouched=function(){},h._onChange=function(){},h._multiple=!1,h._compareWith=function(t,e){return t===e},h._required=!1,h._disabled=!1,h.ariaOrientation="horizontal",h._selectable=!0,h.change=new a.o,h.valueChange=new a.o,h.ngControl&&(h.ngControl.valueAccessor=m(h)),h}return u(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._keyManager=new b.g(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(y.a)(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.tabOut.pipe(Object(y.a)(this._destroyed)).subscribe(function(){t._allowFocusEscape()}),this.chips.changes.pipe(Object(_.a)(null),Object(y.a)(this._destroyed)).subscribe(function(){t.disabled&&Promise.resolve().then(function(){t._syncChipsState()}),t._resetChips(),t._initializeSelection(),t._updateTabIndex(),t._updateFocusForDestroyedChips(),t.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new w.c(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"writeValue",value:function(t){this.chips&&this._setSelectionByValue(t,!1)}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this.stateChanges.next()}},{key:"onContainerClick",value:function(t){this._originatesFromChip(t)||this.focus()}},{key:"focus",value:function(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}},{key:"_focusInput",value:function(t){this._chipInput&&this._chipInput.focus(t)}},{key:"_keydown",value:function(t){var e=t.target;t.keyCode===r.b&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(t){return t>=0&&t<this.chips.length}},{key:"_isInputEmpty",value:function(t){return!(!t||"input"!==t.nodeName.toLowerCase()||t.value)}},{key:"_setSelectionByValue",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(t){return t.deselect()}),Array.isArray(t))t.forEach(function(t){return e._selectValue(t,n)}),this._sortValues();else{var i=this._selectValue(t,n);i&&n&&this._keyManager.setActiveItem(i)}}},{key:"_selectValue",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.chips.find(function(n){return null!=n.value&&e._compareWith(n.value,t)});return i&&(n?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then(function(){(t.ngControl||t._value)&&(t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value,!1),t.stateChanges.next())})}},{key:"_clearSelection",value:function(t){this._selectionModel.clear(),this.chips.forEach(function(e){e!==t&&e.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(e){e.selected&&t._selectionModel.select(e)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(t){var e;e=Array.isArray(this.selected)?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.change.emit(new Y(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var t=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){t.focused||t._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var t=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){t._tabIndex=t._userTabIndex||0,t._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var t=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(e){e.source.selected?t._selectionModel.select(e.source):t._selectionModel.deselect(e.source),t.multiple||t.chips.forEach(function(e){!t._selectionModel.isSelected(e)&&e.selected&&e.deselect()}),e.isUserInput&&t._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var t=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(e){var n=t.chips.toArray().indexOf(e.chip);t._isValidIndex(n)&&t._keyManager.updateActiveItem(n),t.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){t._blur(),t.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var t=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(e){var n=e.chip,i=t.chips.toArray().indexOf(e.chip);t._isValidIndex(i)&&n._hasFocus&&(t._lastDestroyedChipIndex=i)})}},{key:"_originatesFromChip",value:function(t){for(var e=t.target;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(t){return t._hasFocus})}},{key:"_syncChipsState",value:function(){var t=this;this.chips&&this.chips.forEach(function(e){e._chipListDisabled=t._disabled,e._chipListMultiple=t.multiple})}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(t){this._multiple=Object(l.c)(t),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){this.writeValue(t),this._value=t}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(l.c)(t),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(l.c)(t),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(t){var e=this;this._selectable=Object(l.c)(t),this.chips&&this.chips.forEach(function(t){return t.chipListSelectable=e._selectable})}},{key:"tabIndex",set:function(t){this._userTabIndex=t,this._tabIndex=t}},{key:"chipSelectionChanges",get:function(){return Object(g.a).apply(void 0,i(this.chips.map(function(t){return t.selectionChange})))}},{key:"chipFocusChanges",get:function(){return Object(g.a).apply(void 0,i(this.chips.map(function(t){return t._onFocus})))}},{key:"chipBlurChanges",get:function(){return Object(g.a).apply(void 0,i(this.chips.map(function(t){return t._onBlur})))}},{key:"chipRemoveChanges",get:function(){return Object(g.a).apply(void 0,i(this.chips.map(function(t){return t.destroyed})))}}]),n}(E);return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(a.h),a.Ob(M.b,8),a.Ob(S.p,8),a.Ob(S.g,8),a.Ob(o.d),a.Ob(S.m,10))},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,n){var i;(1&t&&a.Hb(n,A,!0),2&t)&&(a.tc(i=a.cc())&&(e.chips=i))},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&a.bc("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(a.Xb("id",e._uid),a.Db("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),a.Gb("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[a.Bb([{provide:k.c,useExisting:t}]),a.zb],ngContentSelectors:C,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(a.kc(),a.Ub(0,"div",0),a.jc(1),a.Tb())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t}(),N=0,F=function(){var t=function(){function t(e,n){s(this,t),this._elementRef=e,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new a.o,this.placeholder="",this.id="mat-chip-list-input-"+N++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return u(t,[{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"_keydown",value:function(t){t&&t.keyCode===r.o&&!Object(r.s)(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(t){!this._inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),t&&t.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(t){this._inputElement.focus(t)}},{key:"_isSeparatorKey",value:function(t){return!Object(r.s)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}},{key:"chipList",set:function(t){t&&(this._chipList=t,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(t){this._addOnBlur=Object(l.c)(t)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(t){this._disabled=Object(l.c)(t)}},{key:"empty",get:function(){return!this._inputElement.value}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(P))},t.\u0275dir=a.Jb({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&a.bc("keydown",function(t){return e._keydown(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(a.Xb("id",e.id),a.Db("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[a.Ab]}),t}(),V={separatorKeyCodes:[r.f]},H=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[o.d,{provide:P,useValue:V}],imports:[[o.j]]}),t}()},AQ68:function(t,e,n){!function(t){"use strict";t.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"))},AvvY:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"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("_"),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(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?a+(n||r?"sek\xfandur":"sek\xfandum"):a+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?a+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?a+"m\xedn\xfata":a+"m\xedn\xfatu";case"hh":return e(t)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?a+"dagar":a+(r?"daga":"d\xf6gum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?a+"m\xe1nu\xf0ir":a+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?a+"m\xe1nu\xf0ur":a+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return e(t)?a+(n||r?"\xe1r":"\xe1rum"):a+(n||r?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ByF4:function(t,e,n){!function(t){"use strict";t.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"))},Ce4a:function(t,e,n){"use strict";var i=n("Ju5/");e.a=i.a.Uint8Array},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i=n("HDdC"),r=n("SeVD"),a=n("quSY"),o=n("kJWO"),s=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(function(n){var i=new a.a;return i.add(e.schedule(function(){var r=t[o.a]();i.add(r.subscribe({next:function(t){i.add(e.schedule(function(){return n.next(t)}))},error:function(t){i.add(e.schedule(function(){return n.error(t)}))},complete:function(){i.add(e.schedule(function(){return n.complete()}))}}))})),i})}(t,e);if(Object(u.a)(t))return function(t,e){return new i.a(function(n){var i=new a.a;return i.add(e.schedule(function(){return t.then(function(t){i.add(e.schedule(function(){n.next(t),i.add(e.schedule(function(){return n.complete()}))}))},function(t){i.add(e.schedule(function(){return n.error(t)}))})})),i})}(t,e);if(Object(c.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(function(n){var i,r=new a.a;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[l.a](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(a){return void n.error(a)}e?n.complete():(n.next(t),this.schedule())}}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}},CjzT:function(t,e,n){!function(t){"use strict";var e="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;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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",w:"una semana",ww:"%d semanas",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(t,e,n){!function(t){"use strict";t.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\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},CpTu:function(t,e,n){"use strict";var i,r=n("fywt"),a=n("5WsY"),o=n("mkut"),s=n("G3A0"),l=n("SiRs"),u=Math.max,c=(i=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var a,o,c,h=null==n?0:(o=(a=(c=n)?1/0===(c=Object(l.a)(c))||-1/0===c?17976931348623157e292*(c<0?-1:1):c==c?c:0:0===c?c:0)%1,a==a?o?a-o:a:0);return h<0&&(h=u(i+h,0)),Object(s.a)(t,Object(r.a)(e,3),h)},function(t,e,n){var s=Object(t);if(!Object(a.a)(t)){var l=Object(r.a)(e,3);t=Object(o.a)(t),e=function(t){return l(s[t],t,s)}}var u=i(t,e,n);return u>-1?s[l?t[u]:u]:void 0});e.a=c},"D/JM":function(t,e,n){!function(t){"use strict";t.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(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("3N8a"),r=new(n("IjjT").a)(i.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_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 Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},Dh3D:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return O});var i=n("fXoL"),r=n("8LU1"),a=n("FKr1"),o=n("FtGj"),l=n("XNiG"),c=n("VRyK"),d=n("R0Ic"),p=n("ofXK"),m=n("u47x"),g=["mat-sort-header",""];function v(t,e){if(1&t){var n=i.Vb();i.Ub(0,"div",3),i.bc("@arrowPosition.start",function(){return i.wc(n),i.fc()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.wc(n),i.fc()._disableViewStateAnimation=!1}),i.Pb(1,"div",4),i.Ub(2,"div",5),i.Pb(3,"div",6),i.Pb(4,"div",7),i.Pb(5,"div",8),i.Tb(),i.Tb()}if(2&t){var r=i.fc();i.lc("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),i.Cb(2),i.lc("@indicator",r._getArrowDirectionState()),i.Cb(1),i.lc("@leftPointer",r._getArrowDirectionState()),i.Cb(1),i.lc("@rightPointer",r._getArrowDirectionState())}}var y=["*"],_=Object(a.C)(Object(a.A)(function t(){s(this,t)})),b=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments)).sortables=new Map,t._stateChanges=new l.a,t.start="asc",t._direction="",t.sortChange=new i.o,t}return u(n,[{key:"register",value:function(t){this.sortables.set(t.id,t)}},{key:"deregister",value:function(t){this.sortables.delete(t.id)}},{key:"sort",value:function(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(t){if(!t)return"";var e,n,i,r=(e=t.start||this.start,n=null!=t.disableClear?t.disableClear:this.disableClear,i=["asc","desc"],"desc"==e&&i.reverse(),n||i.push(""),i),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"direction",get:function(){return this._direction},set:function(t){this._direction=t}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=Object(r.c)(t)}}]),n}(_);return t.\u0275fac=function(e){return w(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.zb,i.Ab]}),t}(),w=i.Wb(b),k=a.b.ENTERING+" "+a.a.STANDARD_CURVE,x={indicator:Object(d.m)("indicator",[Object(d.j)("active-asc, asc",Object(d.k)({transform:"translateY(0px)"})),Object(d.j)("active-desc, desc",Object(d.k)({transform:"translateY(10px)"})),Object(d.l)("active-asc <=> active-desc",Object(d.e)(k))]),leftPointer:Object(d.m)("leftPointer",[Object(d.j)("active-asc, asc",Object(d.k)({transform:"rotate(-45deg)"})),Object(d.j)("active-desc, desc",Object(d.k)({transform:"rotate(45deg)"})),Object(d.l)("active-asc <=> active-desc",Object(d.e)(k))]),rightPointer:Object(d.m)("rightPointer",[Object(d.j)("active-asc, asc",Object(d.k)({transform:"rotate(45deg)"})),Object(d.j)("active-desc, desc",Object(d.k)({transform:"rotate(-45deg)"})),Object(d.l)("active-asc <=> active-desc",Object(d.e)(k))]),arrowOpacity:Object(d.m)("arrowOpacity",[Object(d.j)("desc-to-active, asc-to-active, active",Object(d.k)({opacity:1})),Object(d.j)("desc-to-hint, asc-to-hint, hint",Object(d.k)({opacity:.54})),Object(d.j)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(d.k)({opacity:0})),Object(d.l)("* => asc, * => desc, * => active, * => hint, * => void",Object(d.e)("0ms")),Object(d.l)("* <=> *",Object(d.e)(k))]),arrowPosition:Object(d.m)("arrowPosition",[Object(d.l)("* => desc-to-hint, * => desc-to-active",Object(d.e)(k,Object(d.g)([Object(d.k)({transform:"translateY(-25%)"}),Object(d.k)({transform:"translateY(0)"})]))),Object(d.l)("* => hint-to-desc, * => active-to-desc",Object(d.e)(k,Object(d.g)([Object(d.k)({transform:"translateY(0)"}),Object(d.k)({transform:"translateY(25%)"})]))),Object(d.l)("* => asc-to-hint, * => asc-to-active",Object(d.e)(k,Object(d.g)([Object(d.k)({transform:"translateY(25%)"}),Object(d.k)({transform:"translateY(0)"})]))),Object(d.l)("* => hint-to-asc, * => active-to-asc",Object(d.e)(k,Object(d.g)([Object(d.k)({transform:"translateY(0)"}),Object(d.k)({transform:"translateY(-25%)"})]))),Object(d.j)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(d.k)({transform:"translateY(0)"})),Object(d.j)("hint-to-desc, active-to-desc, desc",Object(d.k)({transform:"translateY(-25%)"})),Object(d.j)("hint-to-asc, active-to-asc, asc",Object(d.k)({transform:"translateY(25%)"}))]),allowChildren:Object(d.m)("allowChildren",[Object(d.l)("* <=> *",[Object(d.h)("@*",Object(d.f)(),{optional:!0})])])},M=function(){var t=function t(){s(this,t),this.changes=new l.a,this.sortButtonLabel=function(t){return"Change sorting for "+t}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),S={provide:M,deps:[[new i.C,new i.L,M]],useFactory:function(t){return t||new M}},C=Object(a.A)(function t(){s(this,t)}),D=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l){var u;return s(this,n),(u=e.call(this))._intl=t,u._sort=r,u._columnDef=a,u._focusMonitor=o,u._elementRef=l,u._showIndicatorHint=!1,u._arrowDirection="",u._disableViewStateAnimation=!1,u.arrowPosition="after",u._rerenderSubscription=Object(c.a)(r.sortChange,r._stateChanges,t.changes).subscribe(function(){u._isSorted()&&u._updateArrowDirection(),!u._isSorted()&&u._viewState&&"active"===u._viewState.toState&&(u._disableViewStateAnimation=!1,u._setAnimationTransitionState({fromState:"active",toState:u._arrowDirection})),i.markForCheck()}),u}return u(n,[{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){return t._setIndicatorHintVisible(!!e)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}},{key:"_handleClick",value:function(){this._isDisabled()||this._toggleOnInteraction()}},{key:"_handleKeydown",value:function(t){this._isDisabled()||t.keyCode!==o.n&&t.keyCode!==o.f||(t.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"disableClear",get:function(){return this._disableClear},set:function(t){this._disableClear=Object(r.c)(t)}}]),n}(C);return t.\u0275fac=function(e){return new(e||t)(i.Ob(M),i.Ob(i.h),i.Ob(b,8),i.Ob("MAT_SORT_HEADER_COLUMN_DEF",8),i.Ob(m.h),i.Ob(i.l))},t.\u0275cmp=i.Ib({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(i.Db("aria-sort",e._getAriaSortAttribute()),i.Gb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.zb],attrs:g,ngContentSelectors:y,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.kc(),i.Ub(0,"div",0),i.Ub(1,"div",1),i.jc(2),i.Tb(),i.Fc(3,v,6,6,"div",2),i.Tb()),2&t&&(i.Gb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.Db("tabindex",e._isDisabled()?null:0),i.Cb(3),i.lc("ngIf",e._renderArrow()))},directives:[p.n],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[x.indicator,x.leftPointer,x.rightPointer,x.arrowOpacity,x.arrowPosition,x.allowChildren]},changeDetection:0}),t}(),O=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[S],imports:[[p.c,a.j]]}),t}()},Dkky:function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},DlmY:function(t,e,n){"use strict";var i=n("Y7yP"),r=Object(i.a)(Object,"create"),a=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}s.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},s.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},s.prototype.get=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(e,t)?e[t]:void 0},s.prototype.has=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)},s.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this};var l=s,u=n("nLtN"),c=n("3cmB"),h=function(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map};function d(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new l,map:new(c.a||u.a),string:new l}},d.prototype.delete=function(t){var e=h(this,t).delete(t);return this.size-=e?1:0,e},d.prototype.get=function(t){return h(this,t).get(t)},d.prototype.has=function(t){return h(this,t).has(t)},d.prototype.set=function(t,e){var n=h(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},e.a=d},Dmvi:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={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"};t.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("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},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",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={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(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.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:"D. M. 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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.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(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<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",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",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"))},EUcb:function(t,e,n){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var i=n("HDdC"),r=new i.a(function(t){return t.complete()});function a(t){return t?function(t){return new i.a(function(e){return t.schedule(function(){return e.complete()})})}(t):r}},FFMq:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("weu1"),r=n("fXoL"),a=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"transform",value:function(t,e){return Object(i.a)(t,e||"\uff0c")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Nb({name:"join",type:t,pure:!0}),t}()},FKr1:function(t,e,n){"use strict";n.d(e,"a",function(){return D}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return V}),n.d(e,"d",function(){return nt}),n.d(e,"e",function(){return H}),n.d(e,"f",function(){return F}),n.d(e,"g",function(){return At}),n.d(e,"h",function(){return Yt}),n.d(e,"i",function(){return kt}),n.d(e,"j",function(){return A}),n.d(e,"k",function(){return it}),n.d(e,"l",function(){return mt}),n.d(e,"m",function(){return et}),n.d(e,"n",function(){return It}),n.d(e,"o",function(){return Nt}),n.d(e,"p",function(){return zt}),n.d(e,"q",function(){return Rt}),n.d(e,"r",function(){return St}),n.d(e,"s",function(){return Ct}),n.d(e,"t",function(){return xt}),n.d(e,"u",function(){return Mt}),n.d(e,"v",function(){return wt}),n.d(e,"w",function(){return Ft}),n.d(e,"x",function(){return Vt}),n.d(e,"y",function(){return P}),n.d(e,"z",function(){return E}),n.d(e,"A",function(){return I}),n.d(e,"B",function(){return Y}),n.d(e,"C",function(){return j}),n.d(e,"D",function(){return R}),n.d(e,"E",function(){return rt});var i=n("fXoL"),r=n("u47x"),a=n("cH1L"),o=new i.Q("11.0.3"),l=n("ofXK"),d=n("8LU1"),p=n("XNiG"),g=n("HDdC"),v=n("nLfN"),y=n("JX91"),_=n("R1ws"),w=n("FtGj"),k=["*",[["mat-option"],["ng-container"]]],x=["*","mat-option, ng-container"];function M(t,e){if(1&t&&i.Pb(0,"mat-pseudo-checkbox",3),2&t){var n=i.fc();i.lc("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var S,C=["*"],D=function(){var t=function t(){s(this,t)};return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),O=function(){var t=function t(){s(this,t)};return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),T=new i.Q("11.0.3"),L=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),A=((S=function(){function t(e,n,i){s(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return u(t,[{key:"_getWindow",value:function(){var t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return Object(i.X)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&T.full!==o.full&&console.warn("The Angular Material version ("+T.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}()).\u0275mod=i.Mb({type:S}),S.\u0275inj=i.Lb({factory:function(t){return new(t||S)(i.Yb(r.j),i.Yb(L,8),i.Yb(l.d))},imports:[[a.a],a.a]}),S);function I(t){return function(t){h(n,t);var e=f(n);function n(){var t;s(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._disabled=!1,t}return u(n,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(d.c)(t)}}]),n}(t)}function P(t,e){return function(t){h(i,t);var n=f(i);function i(){var t;s(this,i);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n.call.apply(n,[this].concat(a))).defaultColor=e,t.color=e,t}return u(i,[{key:"color",get:function(){return this._color},set:function(t){var e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}]),i}(t)}function E(t){return function(t){h(n,t);var e=f(n);function n(){var t;s(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._disableRipple=!1,t}return u(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Object(d.c)(t)}}]),n}(t)}function R(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){h(i,t);var n=f(i);function i(){var t;s(this,i);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n.call.apply(n,[this].concat(a)))._tabIndex=e,t.defaultTabIndex=e,t}return u(i,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?Object(d.f)(t):this.defaultTabIndex}}]),i}(t)}function Y(t){return function(t){h(n,t);var e=f(n);function n(){var t;s(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))).errorState=!1,t.stateChanges=new p.a,t}return u(n,[{key:"updateErrorState",value:function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}]),n}(t)}function j(t){return function(t){h(n,t);var e=f(n);function n(){var t;s(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._isInitialized=!1,t._pendingSubscribers=[],t.initialized=new g.a(function(e){t._isInitialized?t._notifySubscriber(e):t._pendingSubscribers.push(e)}),t}return u(n,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(t){t.next(),t.complete()}}]),n}(t)}var N,F=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.W)(i.w)}}),V=function(){function t(){s(this,t),this._localeChanges=new p.a,this.localeChanges=this._localeChanges}return u(t,[{key:"getValidDateOrNull",value:function(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}},{key:"deserialize",value:function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}},{key:"setLocale",value:function(t){this.locale=t,this._localeChanges.next()}},{key:"compareDate",value:function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}},{key:"sameDate",value:function(t,e){if(t&&e){var n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}},{key:"clampDate",value:function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}]),t}(),H=new i.s("mat-date-formats");try{N="undefined"!=typeof Intl}catch(Bt){N=!1}var z={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},B=G(31,function(t){return String(t+1)}),W={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},U=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function G(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var q,X,Z,K,J,Q=((X=function(t){h(n,t);var e=f(n);function n(t,i){var r,a;return s(this,n),(a=e.call(this)).useUtcForDisplay=!0,c((r=m(a),b(n.prototype)),"setLocale",r).call(r,t),a.useUtcForDisplay=!i.TRIDENT,a._clampDate=i.TRIDENT||i.EDGE,a}return u(n,[{key:"getYear",value:function(t){return t.getFullYear()}},{key:"getMonth",value:function(t){return t.getMonth()}},{key:"getDate",value:function(t){return t.getDate()}},{key:"getDayOfWeek",value:function(t){return t.getDay()}},{key:"getMonthNames",value:function(t){var e=this;if(N){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return G(12,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))})}return z[t]}},{key:"getDateNames",value:function(){var t=this;if(N){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return G(31,function(n){return t._stripDirectionalityCharacters(t._format(e,new Date(2017,0,n+1)))})}return B}},{key:"getDayOfWeekNames",value:function(t){var e=this;if(N){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return G(7,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return W[t]}},{key:"getYearName",value:function(t){if(N){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}},{key:"clone",value:function(t){return new Date(t.getTime())}},{key:"createDate",value:function(t,e,n){var i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}},{key:"format",value:function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(N){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}},{key:"addCalendarYears",value:function(t,e){return this.addCalendarMonths(t,12*e)}},{key:"addCalendarMonths",value:function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}},{key:"toIso8601",value:function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}},{key:"deserialize",value:function(t){if("string"==typeof t){if(!t)return null;if(U.test(t)){var e=new Date(t);if(this.isValid(e))return e}}return c(b(n.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return t instanceof Date}},{key:"isValid",value:function(t){return!isNaN(t.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(t,e,n){var i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}},{key:"_2digit",value:function(t){return("00"+t).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(t){return t.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(t,e){var n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}]),n}(V)).\u0275fac=function(t){return new(t||X)(i.Yb(F,8),i.Yb(v.a))},X.\u0275prov=i.Kb({token:X,factory:X.\u0275fac}),X),$=((q=function t(){s(this,t)}).\u0275mod=i.Mb({type:q}),q.\u0275inj=i.Lb({factory:function(t){return new(t||q)},providers:[{provide:V,useClass:Q}],imports:[[v.b]]}),q),tt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},et=((J=function t(){s(this,t)}).\u0275mod=i.Mb({type:J}),J.\u0275inj=i.Lb({factory:function(t){return new(t||J)},providers:[{provide:H,useValue:tt}],imports:[[$]]}),J),nt=((K=function(){function t(){s(this,t)}return u(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}()).\u0275fac=function(t){return new(t||K)},K.\u0275prov=Object(i.Kb)({factory:function(){return new K},token:K,providedIn:"root"}),K),it=((Z=function t(){s(this,t)}).\u0275fac=function(t){return new(t||Z)},Z.\u0275dir=i.Jb({type:Z,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Z);function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";t.changes.pipe(Object(y.a)(t)).subscribe(function(t){var i=t.length;at(e,n+"-2-line",!1),at(e,n+"-3-line",!1),at(e,n+"-multi-line",!1),2===i||3===i?at(e,"".concat(n,"-").concat(i,"-line"),!0):i>3&&at(e,n+"-multi-line",!0)})}function at(t,e,n){var i=t.nativeElement.classList;n?i.add(e):i.remove(e)}var ot,st,lt,ut,ct,ht,dt,ft,pt,mt=((ot=function t(){s(this,t)}).\u0275mod=i.Mb({type:ot}),ot.\u0275inj=i.Lb({factory:function(t){return new(t||ot)},imports:[[A],A]}),ot),gt=function(){function t(e,n,i){s(this,t),this._renderer=e,this.element=n,this.config=i,this.state=3}return u(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),vt={enterDuration:450,exitDuration:400},yt=Object(v.f)({passive:!0}),_t=["mousedown","touchstart"],bt=["mouseup","mouseleave","touchend","touchcancel"],wt=function(){function t(e,n,i,r){s(this,t),this._target=e,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Object(d.e)(i))}return u(t,[{key:"fadeInRipple",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},vt),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var o=i.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),s=t-r.left,l=e-r.top,u=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-o+"px",c.style.top=l-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new gt(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var t=h===n._mostRecentTransientRipple;h.state=1,i.persistent||t&&n._isPointerDown||h.fadeOut()},u),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},vt),t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var e=Object(d.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(_t))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(bt),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=Object(r.l)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(t){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(function(t){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(t){e._triggerElement.addEventListener(t,e,yt)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(_t.forEach(function(e){t._triggerElement.removeEventListener(e,t,yt)}),this._pointerUpEventsRegistered&&bt.forEach(function(e){t._triggerElement.removeEventListener(e,t,yt)}))}}]),t}(),kt=new i.s("mat-ripple-global-options"),xt=((ct=function(){function t(e,n,i,r,a){s(this,t),this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new wt(this,n,e,i)}return u(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),t}()).\u0275fac=function(t){return new(t||ct)(i.Ob(i.l),i.Ob(i.B),i.Ob(v.a),i.Ob(kt,8),i.Ob(_.a,8))},ct.\u0275dir=i.Jb({type:ct,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Gb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),ct),Mt=((ut=function t(){s(this,t)}).\u0275mod=i.Mb({type:ut}),ut.\u0275inj=i.Lb({factory:function(t){return new(t||ut)},imports:[[A,v.b],A]}),ut),St=((lt=function t(e){s(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1}).\u0275fac=function(t){return new(t||lt)(i.Ob(_.a,8))},lt.\u0275cmp=i.Ib({type:lt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Gb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),lt),Ct=((st=function t(){s(this,t)}).\u0275mod=i.Mb({type:st}),st.\u0275inj=i.Lb({factory:function(t){return new(t||st)},imports:[[A]]}),st),Dt=I(function t(){s(this,t)}),Ot=0,Tt=((ht=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._labelId="mat-optgroup-label-"+Ot++,t}return n}(Dt)).\u0275fac=function(t){return Lt(t||ht)},ht.\u0275dir=i.Jb({type:ht,inputs:{label:"label"},features:[i.zb]}),ht),Lt=i.Wb(Tt),At=new i.s("MatOptgroup"),It=((dt=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(Tt)).\u0275fac=function(t){return Pt(t||dt)},dt.\u0275cmp=i.Ib({type:dt,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Db("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),i.Gb("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[i.Bb([{provide:At,useExisting:dt}]),i.zb],ngContentSelectors:x,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(i.kc(k),i.Ub(0,"label",0),i.Hc(1),i.jc(2),i.Tb(),i.jc(3,1)),2&t&&(i.lc("id",e._labelId),i.Cb(1),i.Jc("",e.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),dt),Pt=i.Wb(It),Et=0,Rt=function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s(this,t),this.source=e,this.isUserInput=n},Yt=new i.s("MAT_OPTION_PARENT_COMPONENT"),jt=((pt=function(){function t(e,n,r,a){s(this,t),this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Et++,this.onSelectionChange=new i.o,this._stateChanges=new p.a}return u(t,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,e){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){t.keyCode!==w.f&&t.keyCode!==w.n||Object(w.s)(t)||(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Rt(this,t))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=Object(d.c)(t)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),t}()).\u0275fac=function(t){return new(t||pt)(i.Ob(i.l),i.Ob(i.h),i.Ob(void 0),i.Ob(Tt))},pt.\u0275dir=i.Jb({type:pt,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),pt),Nt=((ft=function(t){h(n,t);var e=f(n);function n(t,i,r,a){return s(this,n),e.call(this,t,i,r,a)}return n}(jt)).\u0275fac=function(t){return new(t||ft)(i.Ob(i.l),i.Ob(i.h),i.Ob(Yt,8),i.Ob(At,8))},ft.\u0275cmp=i.Ib({type:ft,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Xb("id",e.id),i.Db("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Gb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.zb],ngContentSelectors:C,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(i.kc(),i.Fc(0,M,1,2,"mat-pseudo-checkbox",0),i.Ub(1,"span",1),i.jc(2),i.Tb(),i.Pb(3,"div",2)),2&t&&(i.lc("ngIf",e.multiple),i.Cb(3),i.lc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[l.n,xt,St],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),ft);function Ft(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),a=0,o=0;o<t+1;o++)i[o].group&&i[o].group===r[a]&&a++;return a}return 0}function Vt(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}var Ht,zt=((Ht=function t(){s(this,t)}).\u0275mod=i.Mb({type:Ht}),Ht.\u0275inj=i.Lb({factory:function(t){return new(t||Ht)},imports:[[Mt,l.c,A,Ct]]}),Ht)},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_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] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},FtGj:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return g}),n.d(e,"d",function(){return m}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return a}),n.d(e,"g",function(){return o}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return d}),n.d(e,"j",function(){return y}),n.d(e,"k",function(){return u}),n.d(e,"l",function(){return l}),n.d(e,"m",function(){return p}),n.d(e,"n",function(){return s}),n.d(e,"o",function(){return r}),n.d(e,"p",function(){return f}),n.d(e,"q",function(){return b}),n.d(e,"r",function(){return v}),n.d(e,"s",function(){return w});var i=8,r=9,a=13,o=27,s=32,l=33,u=34,c=35,h=36,d=37,f=38,p=39,m=40,g=46,v=48,y=57,_=65,b=90;function w(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.length?n.some(function(e){return t[e]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},FvrZ:function(t,e,r){"use strict";r.d(e,"a",function(){return x}),r.d(e,"b",function(){return T}),r.d(e,"c",function(){return D}),r.d(e,"d",function(){return P}),r.d(e,"e",function(){return O}),r.d(e,"f",function(){return C}),r.d(e,"g",function(){return M}),r.d(e,"h",function(){return A}),r.d(e,"i",function(){return I}),r.d(e,"j",function(){return k});var a=r("0EQZ"),o=r("7+OI"),l=r("XNiG"),d=r("2Vo4"),p=r("LRne"),m=r("IzEk"),g=r("pLZG"),v=r("1G5W"),y=r("fXoL"),_=r("8LU1"),w=r("cH1L"),k=function(t){h(r,t);var e=f(r);function r(t,n){var i;return s(this,r),(i=e.call(this)).getChildren=t,i.options=n,i.options&&(i.trackBy=i.options.trackBy),i}return u(r,[{key:"expandAll",value:function(){var t,e=this;this.expansionModel.clear();var n=this.dataNodes.reduce(function(t,n){return[].concat(i(t),i(e.getDescendants(n)),[n])},[]);(t=this.expansionModel).select.apply(t,i(n.map(function(t){return e._trackByValue(t)})))}},{key:"getDescendants",value:function(t){var e=[];return this._getDescendants(e,t),e.splice(1)}},{key:"_getDescendants",value:function(t,e){var i=this;t.push(e);var r=this.getChildren(e);Array.isArray(r)?r.forEach(function(e){return i._getDescendants(t,e)}):Object(o.a)(r)&&r.pipe(Object(m.a)(1),Object(g.a)(Boolean)).subscribe(function(e){var r,a=n(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;i._getDescendants(t,o)}}catch(s){a.e(s)}finally{a.f()}})}}]),r}(function(){function t(){s(this,t),this.expansionModel=new a.c(!0)}return u(t,[{key:"toggle",value:function(t){this.expansionModel.toggle(this._trackByValue(t))}},{key:"expand",value:function(t){this.expansionModel.select(this._trackByValue(t))}},{key:"collapse",value:function(t){this.expansionModel.deselect(this._trackByValue(t))}},{key:"isExpanded",value:function(t){return this.expansionModel.isSelected(this._trackByValue(t))}},{key:"toggleDescendants",value:function(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}},{key:"collapseAll",value:function(){this.expansionModel.clear()}},{key:"expandDescendants",value:function(t){var e,n=this,r=[t];r.push.apply(r,i(this.getDescendants(t))),(e=this.expansionModel).select.apply(e,i(r.map(function(t){return n._trackByValue(t)})))}},{key:"collapseDescendants",value:function(t){var e,n=this,r=[t];r.push.apply(r,i(this.getDescendants(t))),(e=this.expansionModel).deselect.apply(e,i(r.map(function(t){return n._trackByValue(t)})))}},{key:"_trackByValue",value:function(t){return this.trackBy?this.trackBy(t):t}}]),t}()),x=new y.s("CDK_TREE_NODE_OUTLET_NODE"),M=function(){var t=function t(e,n){s(this,t),this.viewContainer=e,this._node=n};return t.\u0275fac=function(e){return new(e||t)(y.Ob(y.R),y.Ob(x,8))},t.\u0275dir=y.Jb({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t}(),S=function t(e){s(this,t),this.$implicit=e},C=function(){var t=function t(e){s(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(y.Ob(y.N))},t.\u0275dir=y.Jb({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t}(),D=function(){var t=function(){function t(e,n){s(this,t),this._differs=e,this._changeDetectorRef=n,this._onDestroy=new l.a,this._levels=new Map,this.viewChange=new d.a({start:0,end:Number.MAX_VALUE})}return u(t,[{key:"ngOnInit",value:function(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}},{key:"ngOnDestroy",value:function(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}},{key:"ngAfterContentChecked",value:function(){var t=this._nodeDefs.filter(function(t){return!t.when});this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}},{key:"_switchDataSource",value:function(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}},{key:"_observeRenderChanges",value:function(){var t,e=this;Object(a.h)(this._dataSource)?t=this._dataSource.connect(this):Object(o.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(p.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(v.a)(this._onDestroy)).subscribe(function(t){return e.renderNodeChanges(t)}))}},{key:"renderNodeChanges",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._dataDiffer,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._nodeOutlet.viewContainer,r=arguments.length>3?arguments[3]:void 0,a=n.diff(t);a&&(a.forEachOperation(function(n,a,o){if(null==n.previousIndex)e.insertNode(t[o],o,i,r);else if(null==o)i.remove(a),e._levels.delete(n.item);else{var s=i.get(a);i.move(s,o)}}),this._changeDetectorRef.detectChanges())}},{key:"_getNodeDef",value:function(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(function(n){return n.when&&n.when(e,t)})||this._defaultNodeDef}},{key:"insertNode",value:function(t,e,n,i){var r=this._getNodeDef(t,e),a=new S(t);a.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==i&&this._levels.has(i)?this._levels.get(i)+1:0,this._levels.set(t,a.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(r.template,a,e),O.mostRecentTreeNode&&(O.mostRecentTreeNode.data=t)}},{key:"dataSource",get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Ob(y.u),y.Ob(y.h))},t.\u0275cmp=y.Ib({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,n){var i;(1&t&&y.Hb(n,C,!0),2&t)&&(y.tc(i=y.cc())&&(e._nodeDefs=i))},viewQuery:function(t,e){var n;(1&t&&y.Bc(M,!0),2&t)&&(y.tc(n=y.cc())&&(e._nodeOutlet=n.first))},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&y.Qb(0,0)},directives:[M],encapsulation:2}),t}(),O=function(){var t=function(){function t(e,n){s(this,t),this._elementRef=e,this._tree=n,this._destroyed=new l.a,this._dataChanges=new l.a,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}return u(t,[{key:"_setExpanded",value:function(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",""+t)}},{key:"ngOnInit",value:function(){this._parentNodeAriaLevel=function(t){for(var e,n=t.parentElement;n&&(e=void 0,!(null==(e=n.classList)?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")));)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?Object(_.f)(n.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",""+(this.level+1))}},{key:"ngDoCheck",value:function(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}},{key:"ngOnDestroy",value:function(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_setRoleFromData",value:function(){this.role="treeitem"}},{key:"role",get:function(){return"treeitem"},set:function(t){this._elementRef.nativeElement.setAttribute("role",t)}},{key:"data",get:function(){return this._data},set:function(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}},{key:"isExpanded",get:function(){return this._tree.treeControl.isExpanded(this._data)}},{key:"level",get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Ob(y.l),y.Ob(D))},t.\u0275dir=y.Jb({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t}();var T=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i))._elementRef=t,a._tree=i,a._differs=r,a._elementRef.nativeElement.classList.add("cdk-nested-tree-node"),a}return u(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);var e=this._tree.treeControl.getChildren(this.data);Array.isArray(e)?this.updateChildrenNodes(e):Object(o.a)(e)&&e.pipe(Object(v.a)(this._destroyed)).subscribe(function(e){return t.updateChildrenNodes(e)}),this.nodeOutlet.changes.pipe(Object(v.a)(this._destroyed)).subscribe(function(){return t.updateChildrenNodes()})}},{key:"ngOnInit",value:function(){c(b(n.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){c(b(n.prototype),"ngDoCheck",this).call(this)}},{key:"ngOnDestroy",value:function(){this._clear(),c(b(n.prototype),"ngOnDestroy",this).call(this)}},{key:"updateChildrenNodes",value:function(t){var e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}},{key:"_clear",value:function(){var t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}},{key:"_getNodeOutlet",value:function(){var t=this,e=this.nodeOutlet;return e&&e.find(function(e){return!e._node||e._node===t})}}]),n}(O);return t.\u0275fac=function(e){return new(e||t)(y.Ob(y.l),y.Ob(D),y.Ob(y.u))},t.\u0275dir=y.Jb({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,n){var i;(1&t&&y.Hb(n,M,!0),2&t)&&(y.tc(i=y.cc())&&(e.nodeOutlet=i))},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[y.Bb([{provide:O,useExisting:t},{provide:x,useExisting:t}]),y.zb]}),t}(),L=/([A-Za-z%]+)$/,A=function(){var t=function(){function t(e,n,i,r){var a=this;s(this,t),this._treeNode=e,this._tree=n,this._element=i,this._dir=r,this._destroyed=new l.a,this.indentUnits="px",this._indent=40,this._setPadding(),r&&r.change.pipe(Object(v.a)(this._destroyed)).subscribe(function(){return a._setPadding(!0)}),e._dataChanges.subscribe(function(){return a._setPadding()})}return u(t,[{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_paddingIndent",value:function(){var t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?"".concat(e*this._indent).concat(this.indentUnits):null}},{key:"_setPadding",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._paddingIndent();if(e!==this._currentPadding||t){var n=this._element.nativeElement,i=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",r="paddingLeft"===i?"paddingRight":"paddingLeft";n.style[i]=e||"",n.style[r]="",this._currentPadding=e}}},{key:"_setLevelInput",value:function(t){this._level=Object(_.f)(t,null),this._setPadding()}},{key:"_setIndentInput",value:function(t){var e=t,n="px";if("string"==typeof t){var i=t.split(L);e=i[0],n=i[1]||n}this.indentUnits=n,this._indent=Object(_.f)(e),this._setPadding()}},{key:"level",get:function(){return this._level},set:function(t){this._setLevelInput(t)}},{key:"indent",get:function(){return this._indent},set:function(t){this._setIndentInput(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Ob(O),y.Ob(D),y.Ob(y.l),y.Ob(w.b,8))},t.\u0275dir=y.Jb({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t}(),I=function(){var t=function(){function t(e,n){s(this,t),this._tree=e,this._treeNode=n,this._recursive=!1}return u(t,[{key:"_toggle",value:function(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}},{key:"recursive",get:function(){return this._recursive},set:function(t){this._recursive=Object(_.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(y.Ob(D),y.Ob(O))},t.\u0275dir=y.Jb({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&y.bc("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t}(),P=function(){var t=function t(){s(this,t)};return t.\u0275mod=y.Mb({type:t}),t.\u0275inj=y.Lb({factory:function(e){return new(e||t)}}),t}()},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G3A0:function(t,e,n){"use strict";e.a=function(t,e,n,i){for(var r=t.length,a=n+(i?1:-1);i?a--:++a<r;)if(e(t[a],a,t))return a;return-1}},G5n0:function(t,e,n){"use strict";var i=n("mkut");e.a=function(t,e){return t&&function(t,e,n){for(var i=-1,r=Object(t),a=n(t),o=a.length;o--;){var s=a[++i];if(!1===e(r[s],s,r))break}return t}(t,e,i.a)}},G8aS:function(t,e,n){"use strict";var i=n("8M4i"),r=n("EUcb");e.a=function(t){return"symbol"==typeof t||Object(r.a)(t)&&"[object Symbol]"==Object(i.a)(t)}},GU7r:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return f});var i=n("8LU1"),r=n("fXoL"),a=n("HDdC"),o=n("XNiG"),l=n("Kj3r"),c=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),h=function(){var t=function(){function t(e){s(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return u(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})}},{key:"observe",value:function(t){var e=this,n=Object(i.e)(t);return new a.a(function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new o.a,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Yb(c))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(c))},token:t,providedIn:"root"}),t}(),d=function(){var t=function(){function t(e,n,i){s(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}return u(t,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe(Object(l.a)(t.debounce)):e).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Object(i.f)(t),this._subscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(h),r.Ob(r.l),r.Ob(r.B))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),f=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[c]}),t}()},GYlH:function(t,e,n){"use strict";e.a=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("LRne"),r=n("0EUg");function a(){return Object(r.a)()(Object(i.a).apply(void 0,arguments))}},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i,r=n("7o/Q"),a=n("2QA8"),o=n("gRHU"),l=n("kJWO"),c=n("SpAZ"),h=n("2fFW"),d=((i=function(){function t(e){s(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return u(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}},{key:"subscribe",value:function(t,e,n){var i=this.operator,s=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[a.a])return t[a.a]()}return t||e||n?new r.a(t,e,n):new r.a(o.a)}(t,e,n);if(s.add(i?i.call(s,this.source):this.source||h.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),h.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(t){try{return this._subscribe(t)}catch(e){h.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t,n=e.closed,i=e.destination,a=e.isStopped;if(n||a)return!1;t=i&&i instanceof r.a?i:null}return!0}(t)?t.error(e):console.warn(e)}}},{key:"forEach",value:function(t,e){var n=this;return new(e=f(e))(function(e,i){var r;r=n.subscribe(function(e){try{t(e)}catch(n){i(n),r&&r.unsubscribe()}},i,e)})}},{key:"_subscribe",value:function(t){var e=this.source;return e&&e.subscribe(t)}},{key:l.a,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?this:(0===(i=e).length?c.a:1===i.length?i[0]:function(t){return i.reduce(function(t,e){return e(t)},t)})(this);var i}},{key:"toPromise",value:function(t){var e=this;return new(t=f(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})}}]),t}()).create=function(t){return new i(t)},i);function f(t){if(t||(t=h.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,r,a,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,e)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HqcR:function(t,e,n){"use strict";n.d(e,"b",function(){return pt}),n.d(e,"a",function(){return mt});var i,r=(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e,n){var i=this,r=this.constructor.prototype;return(i=t.call(this,e)||this).statusCode=n,i.__proto__=r,i}return r(e,t),e}(Error),o=function(t){function e(e){void 0===e&&(e="A timeout occurred.");var n=this,i=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=i,n}return r(e,t),e}(Error),l=function(t){function e(e){void 0===e&&(e="An abort occurred.");var n=this,i=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=i,n}return r(e,t),e}(Error),c=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},h=function(t,e,n){this.statusCode=t,this.statusText=e,this.content=n},d=function(){function t(){}return t.prototype.get=function(t,e){return this.send(c({},e,{method:"GET",url:t}))},t.prototype.post=function(t,e){return this.send(c({},e,{method:"POST",url:t}))},t.prototype.delete=function(t,e){return this.send(c({},e,{method:"DELETE",url:t}))},t.prototype.getCookieString=function(t){return""},t}(),f=function(t){return t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical",t[t.None=6]="None",t}({}),p=function(){function t(){}return t.prototype.log=function(t,e){},t.instance=new t,t}(),m=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},g=function(){function t(){}return t.isRequired=function(t,e){if(null==t)throw new Error("The '"+e+"' argument is required.")},t.isNotEmpty=function(t,e){if(!t||t.match(/^\s*$/))throw new Error("The '"+e+"' argument should not be empty.")},t.isIn=function(t,e,n){if(!(t in e))throw new Error("Unknown "+n+" value: "+t+".")},t}(),v=function(){function t(){}return Object.defineProperty(t,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(t,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),t}();function y(t,e){var n="";return _(t)?(n="Binary data of length "+t.byteLength,e&&(n+=". Content: '"+function(t){var e=new Uint8Array(t),n="";return e.forEach(function(t){n+="0x"+(t<16?"0":"")+t.toString(16)+" "}),n.substr(0,n.length-1)}(t)+"'")):"string"==typeof t&&(n="String data of length "+t.length,e&&(n+=". Content: '"+t+"'")),n}function _(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function b(t,e,n,i,r,a,o,s,l){return u=this,h=function(){var u,c,h,d,p,g;return function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,function(v){switch(v.label){case 0:return c={},r?[4,r()]:[3,2];case 1:(h=v.sent())&&((u={}).Authorization="Bearer "+h,c=u),v.label=2;case 2:return d=x(),c[d[0]]=d[1],t.log(f.Trace,"("+e+" transport) sending data. "+y(a,o)+"."),p=_(a)?"arraybuffer":"text",[4,n.post(i,{content:a,headers:m({},c,l),responseType:p,withCredentials:s})];case 3:return g=v.sent(),t.log(f.Trace,"("+e+" transport) request complete. Response status: "+g.statusCode+"."),[2]}})},new((c=void 0)||(c=Promise))(function(t,e){function n(t){try{r(h.next(t))}catch(n){e(n)}}function i(t){try{r(h.throw(t))}catch(n){e(n)}}function r(e){e.done?t(e.value):new c(function(t){t(e.value)}).then(n,i)}r((h=h.apply(u,[])).next())});var u,c,h}var w=function(){function t(t,e){this.subject=t,this.observer=e}return t.prototype.dispose=function(){var t=this.subject.observers.indexOf(this.observer);t>-1&&this.subject.observers.splice(t,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch(function(t){})},t}(),k=function(){function t(t){this.minimumLogLevel=t,this.outputConsole=console}return t.prototype.log=function(t,e){if(t>=this.minimumLogLevel)switch(t){case f.Critical:case f.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+f[t]+": "+e);break;case f.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+f[t]+": "+e);break;case f.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+f[t]+": "+e);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+f[t]+": "+e)}},t}();function x(){var t,e,n,i,r,a="X-SignalR-User-Agent";return v.isNode&&(a="User-Agent"),[a,(t=M(),e=v.isNode?"NodeJS":"Browser",n=S(),i="Microsoft SignalR/",r="5.0.3".split("."),i+=r[0]+"."+r[1],i+=" (5.0.3; ",i+=t&&""!==t?t+"; ":"Unknown OS; ",i+=""+e,i+=n?"; "+n:"; Unknown Runtime Version",i+=")")]}function M(){if(!v.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function S(){if(v.isNode)return process.versions.node}var C,D=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),O=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},T=function(t){function e(e){var n=t.call(this)||this;if(n.logger=e,"undefined"==typeof fetch){var i=require;n.jar=new(i("tough-cookie").CookieJar),n.fetchType=i("node-fetch"),n.fetchType=i("fetch-cookie")(n.fetchType,n.jar),n.abortControllerType=i("abort-controller")}else n.fetchType=fetch.bind(self),n.abortControllerType=AbortController;return n}return D(e,t),e.prototype.send=function(t){return e=this,i=function(){var e,n,i,r,s,u,c=this;return function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,function(d){switch(d.label){case 0:if(t.abortSignal&&t.abortSignal.aborted)throw new l;if(!t.method)throw new Error("No method defined.");if(!t.url)throw new Error("No url defined.");e=new this.abortControllerType,t.abortSignal&&(t.abortSignal.onabort=function(){e.abort(),n=new l}),i=null,t.timeout&&(i=setTimeout(function(){e.abort(),c.logger.log(f.Warning,"Timeout from HTTP request."),n=new o},t.timeout)),d.label=1;case 1:return d.trys.push([1,3,4,5]),[4,this.fetchType(t.url,{body:t.content,cache:"no-cache",credentials:!0===t.withCredentials?"include":"same-origin",headers:O({"Content-Type":"text/plain;charset=UTF-8","X-Requested-With":"XMLHttpRequest"},t.headers),method:t.method,mode:"cors",redirect:"manual",signal:e.signal})];case 2:return r=d.sent(),[3,5];case 3:if(s=d.sent(),n)throw n;throw this.logger.log(f.Warning,"Error from HTTP request. "+s+"."),s;case 4:return i&&clearTimeout(i),t.abortSignal&&(t.abortSignal.onabort=null),[7];case 5:if(!r.ok)throw new a(r.statusText,r.status);return[4,function(t,e){var n;switch(e){case"arraybuffer":n=t.arrayBuffer();break;case"text":n=t.text();break;case"blob":case"document":case"json":throw new Error(e+" is not supported.");default:n=t.text()}return n}(r,t.responseType)];case 6:return u=d.sent(),[2,new h(r.status,r.statusText,u)]}})},new((n=void 0)||(n=Promise))(function(t,r){function a(t){try{s(i.next(t))}catch(e){r(e)}}function o(t){try{s(i.throw(t))}catch(e){r(e)}}function s(e){e.done?t(e.value):new n(function(t){t(e.value)}).then(a,o)}s((i=i.apply(e,[])).next())});var e,n,i},e.prototype.getCookieString=function(t){var e="";return v.isNode&&this.jar&&this.jar.getCookies(t,function(t,n){return e=n.join("; ")}),e},e}(d),L=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),A=function(t){function e(e){var n=t.call(this)||this;return n.logger=e,n}return L(e,t),e.prototype.send=function(t){var e=this;return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new l):t.method?t.url?new Promise(function(n,i){var r=new XMLHttpRequest;r.open(t.method,t.url,!0),r.withCredentials=void 0===t.withCredentials||t.withCredentials,r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-Type","text/plain;charset=UTF-8");var s=t.headers;s&&Object.keys(s).forEach(function(t){r.setRequestHeader(t,s[t])}),t.responseType&&(r.responseType=t.responseType),t.abortSignal&&(t.abortSignal.onabort=function(){r.abort(),i(new l)}),t.timeout&&(r.timeout=t.timeout),r.onload=function(){t.abortSignal&&(t.abortSignal.onabort=null),r.status>=200&&r.status<300?n(new h(r.status,r.statusText,r.response||r.responseText)):i(new a(r.statusText,r.status))},r.onerror=function(){e.logger.log(f.Warning,"Error from HTTP request. "+r.status+": "+r.statusText+"."),i(new a(r.statusText,r.status))},r.ontimeout=function(){e.logger.log(f.Warning,"Timeout from HTTP request."),i(new o)},r.send(t.content||"")}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},e}(d),I=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),P=function(t){function e(e){var n=t.call(this)||this;if("undefined"!=typeof fetch||v.isNode)n.httpClient=new T(e);else{if("undefined"==typeof XMLHttpRequest)throw new Error("No usable HttpClient found.");n.httpClient=new A(e)}return n}return I(e,t),e.prototype.send=function(t){return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new l):t.method?t.url?this.httpClient.send(t):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},e.prototype.getCookieString=function(t){return this.httpClient.getCookieString(t)},e}(d),E=function(){function t(){}return t.write=function(e){return""+e+t.RecordSeparator},t.parse=function(e){if(e[e.length-1]!==t.RecordSeparator)throw new Error("Message is incomplete.");var n=e.split(t.RecordSeparator);return n.pop(),n},t.RecordSeparatorCode=30,t.RecordSeparator=String.fromCharCode(t.RecordSeparatorCode),t}(),R=function(){function t(){}return t.prototype.writeHandshakeRequest=function(t){return E.write(JSON.stringify(t))},t.prototype.parseHandshakeResponse=function(t){var e,n;if(_(t)||"undefined"!=typeof Buffer&&t instanceof Buffer){var i=new Uint8Array(t);if(-1===(a=i.indexOf(E.RecordSeparatorCode)))throw new Error("Message is incomplete.");var r=a+1;e=String.fromCharCode.apply(null,i.slice(0,r)),n=i.byteLength>r?i.slice(r).buffer:null}else{var a,o=t;if(-1===(a=o.indexOf(E.RecordSeparator)))throw new Error("Message is incomplete.");e=o.substring(0,r=a+1),n=o.length>r?o.substring(r):null}var s=E.parse(e),l=JSON.parse(s[0]);if(l.type)throw new Error("Expected a handshake response from the server.");return[n,l]},t}(),Y=function(t){return t[t.Invocation=1]="Invocation",t[t.StreamItem=2]="StreamItem",t[t.Completion=3]="Completion",t[t.StreamInvocation=4]="StreamInvocation",t[t.CancelInvocation=5]="CancelInvocation",t[t.Ping=6]="Ping",t[t.Close=7]="Close",t}({}),j=function(){function t(){this.observers=[]}return t.prototype.next=function(t){for(var e=0,n=this.observers;e<n.length;e++)n[e].next(t)},t.prototype.error=function(t){for(var e=0,n=this.observers;e<n.length;e++){var i=n[e];i.error&&i.error(t)}},t.prototype.complete=function(){for(var t=0,e=this.observers;t<e.length;t++){var n=e[t];n.complete&&n.complete()}},t.prototype.subscribe=function(t){return this.observers.push(t),new w(this,t)},t}(),N=function(t,e,n,i){return new(n||(n=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(e){a(e)}}function s(t){try{l(i.throw(t))}catch(e){a(e)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(o,s)}l((i=i.apply(t,e||[])).next())})},F=function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},V=function(t){return t.Disconnected="Disconnected",t.Connecting="Connecting",t.Connected="Connected",t.Disconnecting="Disconnecting",t.Reconnecting="Reconnecting",t}({}),H=function(){function t(t,e,n,i){var r=this;g.isRequired(t,"connection"),g.isRequired(e,"logger"),g.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this.logger=e,this.protocol=n,this.connection=t,this.reconnectPolicy=i,this.handshakeProtocol=new R,this.connection.onreceive=function(t){return r.processIncomingData(t)},this.connection.onclose=function(t){return r.connectionClosed(t)},this.callbacks={},this.methods={},this.closedCallbacks=[],this.reconnectingCallbacks=[],this.reconnectedCallbacks=[],this.invocationId=0,this.receivedHandshakeResponse=!1,this.connectionState=V.Disconnected,this.connectionStarted=!1,this.cachedPingMessage=this.protocol.writeMessage({type:Y.Ping})}return t.create=function(e,n,i,r){return new t(e,n,i,r)},Object.defineProperty(t.prototype,"state",{get:function(){return this.connectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"connectionId",{get:function(){return this.connection&&this.connection.connectionId||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseUrl",{get:function(){return this.connection.baseUrl||""},set:function(t){if(this.connectionState!==V.Disconnected&&this.connectionState!==V.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!t)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=t},enumerable:!0,configurable:!0}),t.prototype.start=function(){return this.startPromise=this.startWithStateTransitions(),this.startPromise},t.prototype.startWithStateTransitions=function(){return N(this,void 0,void 0,function(){var t;return F(this,function(e){switch(e.label){case 0:if(this.connectionState!==V.Disconnected)return[2,Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."))];this.connectionState=V.Connecting,this.logger.log(f.Debug,"Starting HubConnection."),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.startInternal()];case 2:return e.sent(),this.connectionState=V.Connected,this.connectionStarted=!0,this.logger.log(f.Debug,"HubConnection connected successfully."),[3,4];case 3:return t=e.sent(),this.connectionState=V.Disconnected,this.logger.log(f.Debug,"HubConnection failed to start successfully because of error '"+t+"'."),[2,Promise.reject(t)];case 4:return[2]}})})},t.prototype.startInternal=function(){return N(this,void 0,void 0,function(){var t,e,n,i=this;return F(this,function(r){switch(r.label){case 0:return this.stopDuringStartError=void 0,this.receivedHandshakeResponse=!1,t=new Promise(function(t,e){i.handshakeResolver=t,i.handshakeRejecter=e}),[4,this.connection.start(this.protocol.transferFormat)];case 1:r.sent(),r.label=2;case 2:return r.trys.push([2,5,,7]),e={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(f.Debug,"Sending handshake request."),[4,this.sendMessage(this.handshakeProtocol.writeHandshakeRequest(e))];case 3:return r.sent(),this.logger.log(f.Information,"Using HubProtocol '"+this.protocol.name+"'."),this.cleanupTimeout(),this.resetTimeoutPeriod(),this.resetKeepAliveInterval(),[4,t];case 4:if(r.sent(),this.stopDuringStartError)throw this.stopDuringStartError;return[3,7];case 5:return n=r.sent(),this.logger.log(f.Debug,"Hub handshake failed with error '"+n+"' during start(). Stopping HubConnection."),this.cleanupTimeout(),this.cleanupPingTimer(),[4,this.connection.stop(n)];case 6:throw r.sent(),n;case 7:return[2]}})})},t.prototype.stop=function(){return N(this,void 0,void 0,function(){var t;return F(this,function(e){switch(e.label){case 0:return t=this.startPromise,this.stopPromise=this.stopInternal(),[4,this.stopPromise];case 1:e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,t];case 3:case 4:return e.sent(),[3,5];case 5:return[2]}})})},t.prototype.stopInternal=function(t){return this.connectionState===V.Disconnected?(this.logger.log(f.Debug,"Call to HubConnection.stop("+t+") ignored because it is already in the disconnected state."),Promise.resolve()):this.connectionState===V.Disconnecting?(this.logger.log(f.Debug,"Call to HttpConnection.stop("+t+") ignored because the connection is already in the disconnecting state."),this.stopPromise):(this.connectionState=V.Disconnecting,this.logger.log(f.Debug,"Stopping HubConnection."),this.reconnectDelayHandle?(this.logger.log(f.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this.reconnectDelayHandle),this.reconnectDelayHandle=void 0,this.completeClose(),Promise.resolve()):(this.cleanupTimeout(),this.cleanupPingTimer(),this.stopDuringStartError=t||new Error("The connection was stopped before the hub handshake could complete."),this.connection.stop(t)))},t.prototype.stream=function(t){for(var e=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r,a=this.replaceStreamingParams(n),o=a[0],s=a[1],l=this.createStreamInvocation(t,n,s),u=new j;return u.cancelCallback=function(){var t=e.createCancelInvocation(l.invocationId);return delete e.callbacks[l.invocationId],r.then(function(){return e.sendWithProtocol(t)})},this.callbacks[l.invocationId]=function(t,e){e?u.error(e):t&&(t.type===Y.Completion?t.error?u.error(new Error(t.error)):u.complete():u.next(t.item))},r=this.sendWithProtocol(l).catch(function(t){u.error(t),delete e.callbacks[l.invocationId]}),this.launchStreams(o,r),u},t.prototype.sendMessage=function(t){return this.resetKeepAliveInterval(),this.connection.send(t)},t.prototype.sendWithProtocol=function(t){return this.sendMessage(this.protocol.writeMessage(t))},t.prototype.send=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=this.replaceStreamingParams(e),r=i[0],a=i[1],o=this.sendWithProtocol(this.createInvocation(t,e,!0,a));return this.launchStreams(r,o),o},t.prototype.invoke=function(t){for(var e=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=this.replaceStreamingParams(n),a=r[0],o=r[1],s=this.createInvocation(t,n,!1,o),l=new Promise(function(t,n){e.callbacks[s.invocationId]=function(e,i){i?n(i):e&&(e.type===Y.Completion?e.error?n(new Error(e.error)):t(e.result):n(new Error("Unexpected message type: "+e.type)))};var i=e.sendWithProtocol(s).catch(function(t){n(t),delete e.callbacks[s.invocationId]});e.launchStreams(a,i)});return l},t.prototype.on=function(t,e){t&&e&&(t=t.toLowerCase(),this.methods[t]||(this.methods[t]=[]),-1===this.methods[t].indexOf(e)&&this.methods[t].push(e))},t.prototype.off=function(t,e){if(t){t=t.toLowerCase();var n=this.methods[t];if(n)if(e){var i=n.indexOf(e);-1!==i&&(n.splice(i,1),0===n.length&&delete this.methods[t])}else delete this.methods[t]}},t.prototype.onclose=function(t){t&&this.closedCallbacks.push(t)},t.prototype.onreconnecting=function(t){t&&this.reconnectingCallbacks.push(t)},t.prototype.onreconnected=function(t){t&&this.reconnectedCallbacks.push(t)},t.prototype.processIncomingData=function(t){if(this.cleanupTimeout(),this.receivedHandshakeResponse||(t=this.processHandshakeResponse(t),this.receivedHandshakeResponse=!0),t)for(var e=0,n=this.protocol.parseMessages(t,this.logger);e<n.length;e++){var i=n[e];switch(i.type){case Y.Invocation:this.invokeClientMethod(i);break;case Y.StreamItem:case Y.Completion:var r=this.callbacks[i.invocationId];r&&(i.type===Y.Completion&&delete this.callbacks[i.invocationId],r(i));break;case Y.Ping:break;case Y.Close:this.logger.log(f.Information,"Close message received from server.");var a=i.error?new Error("Server returned an error on close: "+i.error):void 0;!0===i.allowReconnect?this.connection.stop(a):this.stopPromise=this.stopInternal(a);break;default:this.logger.log(f.Warning,"Invalid message type: "+i.type+".")}}this.resetTimeoutPeriod()},t.prototype.processHandshakeResponse=function(t){var e,n,i,r;try{i=(e=this.handshakeProtocol.parseHandshakeResponse(t))[0],n=e[1]}catch(o){this.logger.log(f.Error,r="Error parsing handshake response: "+o);var a=new Error(r);throw this.handshakeRejecter(a),a}if(n.error)throw this.logger.log(f.Error,r="Server returned handshake error: "+n.error),a=new Error(r),this.handshakeRejecter(a),a;return this.logger.log(f.Debug,"Server handshake complete."),this.handshakeResolver(),i},t.prototype.resetKeepAliveInterval=function(){var t=this;this.connection.features.inherentKeepAlive||(this.cleanupPingTimer(),this.pingServerHandle=setTimeout(function(){return N(t,void 0,void 0,function(){return F(this,function(t){switch(t.label){case 0:if(this.connectionState!==V.Connected)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.sendMessage(this.cachedPingMessage)];case 2:return t.sent(),[3,4];case 3:return t.sent(),this.cleanupPingTimer(),[3,4];case 4:return[2]}})})},this.keepAliveIntervalInMilliseconds))},t.prototype.resetTimeoutPeriod=function(){var t=this;this.connection.features&&this.connection.features.inherentKeepAlive||(this.timeoutHandle=setTimeout(function(){return t.serverTimeout()},this.serverTimeoutInMilliseconds))},t.prototype.serverTimeout=function(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))},t.prototype.invokeClientMethod=function(t){var e=this,n=this.methods[t.target.toLowerCase()];if(n){try{n.forEach(function(n){return n.apply(e,t.arguments)})}catch(r){this.logger.log(f.Error,"A callback for the method "+t.target.toLowerCase()+" threw error '"+r+"'.")}if(t.invocationId){var i="Server requested a response, which is not supported in this version of the client.";this.logger.log(f.Error,i),this.stopPromise=this.stopInternal(new Error(i))}}else this.logger.log(f.Warning,"No client method with the name '"+t.target+"' found.")},t.prototype.connectionClosed=function(t){this.logger.log(f.Debug,"HubConnection.connectionClosed("+t+") called while in state "+this.connectionState+"."),this.stopDuringStartError=this.stopDuringStartError||t||new Error("The underlying connection was closed before the hub handshake could complete."),this.handshakeResolver&&this.handshakeResolver(),this.cancelCallbacksWithError(t||new Error("Invocation canceled due to the underlying connection being closed.")),this.cleanupTimeout(),this.cleanupPingTimer(),this.connectionState===V.Disconnecting?this.completeClose(t):this.connectionState===V.Connected&&this.reconnectPolicy?this.reconnect(t):this.connectionState===V.Connected&&this.completeClose(t)},t.prototype.completeClose=function(t){var e=this;if(this.connectionStarted){this.connectionState=V.Disconnected,this.connectionStarted=!1;try{this.closedCallbacks.forEach(function(n){return n.apply(e,[t])})}catch(n){this.logger.log(f.Error,"An onclose callback called with error '"+t+"' threw error '"+n+"'.")}}},t.prototype.reconnect=function(t){return N(this,void 0,void 0,function(){var e,n,i,r,a,o=this;return F(this,function(s){switch(s.label){case 0:if(e=Date.now(),n=0,i=void 0!==t?t:new Error("Attempting to reconnect due to a unknown error."),null===(r=this.getNextRetryDelay(n++,0,i)))return this.logger.log(f.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this.completeClose(t),[2];if(this.connectionState=V.Reconnecting,this.logger.log(f.Information,t?"Connection reconnecting because of error '"+t+"'.":"Connection reconnecting."),this.onreconnecting){try{this.reconnectingCallbacks.forEach(function(e){return e.apply(o,[t])})}catch(l){this.logger.log(f.Error,"An onreconnecting callback called with error '"+t+"' threw error '"+l+"'.")}if(this.connectionState!==V.Reconnecting)return this.logger.log(f.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting."),[2]}s.label=1;case 1:return null===r?[3,7]:(this.logger.log(f.Information,"Reconnect attempt number "+n+" will start in "+r+" ms."),[4,new Promise(function(t){o.reconnectDelayHandle=setTimeout(t,r)})]);case 2:if(s.sent(),this.reconnectDelayHandle=void 0,this.connectionState!==V.Reconnecting)return this.logger.log(f.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting."),[2];s.label=3;case 3:return s.trys.push([3,5,,6]),[4,this.startInternal()];case 4:if(s.sent(),this.connectionState=V.Connected,this.logger.log(f.Information,"HubConnection reconnected successfully."),this.onreconnected)try{this.reconnectedCallbacks.forEach(function(t){return t.apply(o,[o.connection.connectionId])})}catch(l){this.logger.log(f.Error,"An onreconnected callback called with connectionId '"+this.connection.connectionId+"; threw error '"+l+"'.")}return[2];case 5:return a=s.sent(),this.logger.log(f.Information,"Reconnect attempt failed because of error '"+a+"'."),this.connectionState!==V.Reconnecting?(this.logger.log(f.Debug,"Connection left the reconnecting state during reconnect attempt. Done reconnecting."),[2]):(i=a instanceof Error?a:new Error(a.toString()),r=this.getNextRetryDelay(n++,Date.now()-e,i),[3,6]);case 6:return[3,1];case 7:return this.logger.log(f.Information,"Reconnect retries have been exhausted after "+(Date.now()-e)+" ms and "+n+" failed attempts. Connection disconnecting."),this.completeClose(),[2]}})})},t.prototype.getNextRetryDelay=function(t,e,n){try{return this.reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:e,previousRetryCount:t,retryReason:n})}catch(i){return this.logger.log(f.Error,"IRetryPolicy.nextRetryDelayInMilliseconds("+t+", "+e+") threw error '"+i+"'."),null}},t.prototype.cancelCallbacksWithError=function(t){var e=this.callbacks;this.callbacks={},Object.keys(e).forEach(function(n){(0,e[n])(null,t)})},t.prototype.cleanupPingTimer=function(){this.pingServerHandle&&clearTimeout(this.pingServerHandle)},t.prototype.cleanupTimeout=function(){this.timeoutHandle&&clearTimeout(this.timeoutHandle)},t.prototype.createInvocation=function(t,e,n,i){if(n)return 0!==i.length?{arguments:e,streamIds:i,target:t,type:Y.Invocation}:{arguments:e,target:t,type:Y.Invocation};var r=this.invocationId;return this.invocationId++,0!==i.length?{arguments:e,invocationId:r.toString(),streamIds:i,target:t,type:Y.Invocation}:{arguments:e,invocationId:r.toString(),target:t,type:Y.Invocation}},t.prototype.launchStreams=function(t,e){var n=this;if(0!==t.length){e||(e=Promise.resolve());var i=function(i){t[i].subscribe({complete:function(){e=e.then(function(){return n.sendWithProtocol(n.createCompletionMessage(i))})},error:function(t){var r;r=t instanceof Error?t.message:t&&t.toString?t.toString():"Unknown error",e=e.then(function(){return n.sendWithProtocol(n.createCompletionMessage(i,r))})},next:function(t){e=e.then(function(){return n.sendWithProtocol(n.createStreamItemMessage(i,t))})}})};for(var r in t)i(r)}},t.prototype.replaceStreamingParams=function(t){for(var e=[],n=[],i=0;i<t.length;i++){var r=t[i];if(this.isObservable(r)){var a=this.invocationId;this.invocationId++,e[a]=r,n.push(a.toString()),t.splice(i,1)}}return[e,n]},t.prototype.isObservable=function(t){return t&&t.subscribe&&"function"==typeof t.subscribe},t.prototype.createStreamInvocation=function(t,e,n){var i=this.invocationId;return this.invocationId++,0!==n.length?{arguments:e,invocationId:i.toString(),streamIds:n,target:t,type:Y.StreamInvocation}:{arguments:e,invocationId:i.toString(),target:t,type:Y.StreamInvocation}},t.prototype.createCancelInvocation=function(t){return{invocationId:t,type:Y.CancelInvocation}},t.prototype.createStreamItemMessage=function(t,e){return{invocationId:t,item:e,type:Y.StreamItem}},t.prototype.createCompletionMessage=function(t,e,n){return e?{error:e,invocationId:t,type:Y.Completion}:{invocationId:t,result:n,type:Y.Completion}},t}(),z=[0,2e3,1e4,3e4,null],B=function(){function t(t){this.retryDelays=void 0!==t?t.concat([null]):z}return t.prototype.nextRetryDelayInMilliseconds=function(t){return this.retryDelays[t.previousRetryCount]},t}(),W=function(t){return t[t.None=0]="None",t[t.WebSockets=1]="WebSockets",t[t.ServerSentEvents=2]="ServerSentEvents",t[t.LongPolling=4]="LongPolling",t}({}),U=function(t){return t[t.Text=1]="Text",t[t.Binary=2]="Binary",t}({}),G=function(){function t(){this.isAborted=!1,this.onabort=null}return t.prototype.abort=function(){this.isAborted||(this.isAborted=!0,this.onabort&&this.onabort())},Object.defineProperty(t.prototype,"signal",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"aborted",{get:function(){return this.isAborted},enumerable:!0,configurable:!0}),t}(),q=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},X=function(t,e,n,i){return new(n||(n=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(e){a(e)}}function s(t){try{l(i.throw(t))}catch(e){a(e)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(o,s)}l((i=i.apply(t,e||[])).next())})},Z=function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},K=function(){function t(t,e,n,i,r,a){this.httpClient=t,this.accessTokenFactory=e,this.logger=n,this.pollAbort=new G,this.logMessageContent=i,this.withCredentials=r,this.headers=a,this.running=!1,this.onreceive=null,this.onclose=null}return Object.defineProperty(t.prototype,"pollAborted",{get:function(){return this.pollAbort.aborted},enumerable:!0,configurable:!0}),t.prototype.connect=function(t,e){return X(this,void 0,void 0,function(){var n,i,r,o,s,l,u;return Z(this,function(c){switch(c.label){case 0:if(g.isRequired(t,"url"),g.isRequired(e,"transferFormat"),g.isIn(e,U,"transferFormat"),this.url=t,this.logger.log(f.Trace,"(LongPolling transport) Connecting."),e===U.Binary&&"undefined"!=typeof XMLHttpRequest&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");return i=x(),r=q(((n={})[i[0]]=i[1],n),this.headers),o={abortSignal:this.pollAbort.signal,headers:r,timeout:1e5,withCredentials:this.withCredentials},e===U.Binary&&(o.responseType="arraybuffer"),[4,this.getAccessToken()];case 1:return s=c.sent(),this.updateHeaderToken(o,s),l=t+"&_="+Date.now(),this.logger.log(f.Trace,"(LongPolling transport) polling: "+l+"."),[4,this.httpClient.get(l,o)];case 2:return 200!==(u=c.sent()).statusCode?(this.logger.log(f.Error,"(LongPolling transport) Unexpected response code: "+u.statusCode+"."),this.closeError=new a(u.statusText||"",u.statusCode),this.running=!1):this.running=!0,this.receiving=this.poll(this.url,o),[2]}})})},t.prototype.getAccessToken=function(){return X(this,void 0,void 0,function(){return Z(this,function(t){switch(t.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:return[2,t.sent()];case 2:return[2,null]}})})},t.prototype.updateHeaderToken=function(t,e){t.headers||(t.headers={}),e?t.headers.Authorization="Bearer "+e:t.headers.Authorization&&delete t.headers.Authorization},t.prototype.poll=function(t,e){return X(this,void 0,void 0,function(){var n,i,r,s;return Z(this,function(l){switch(l.label){case 0:l.trys.push([0,,8,9]),l.label=1;case 1:return this.running?[4,this.getAccessToken()]:[3,7];case 2:n=l.sent(),this.updateHeaderToken(e,n),l.label=3;case 3:return l.trys.push([3,5,,6]),i=t+"&_="+Date.now(),this.logger.log(f.Trace,"(LongPolling transport) polling: "+i+"."),[4,this.httpClient.get(i,e)];case 4:return 204===(r=l.sent()).statusCode?(this.logger.log(f.Information,"(LongPolling transport) Poll terminated by server."),this.running=!1):200!==r.statusCode?(this.logger.log(f.Error,"(LongPolling transport) Unexpected response code: "+r.statusCode+"."),this.closeError=new a(r.statusText||"",r.statusCode),this.running=!1):r.content?(this.logger.log(f.Trace,"(LongPolling transport) data received. "+y(r.content,this.logMessageContent)+"."),this.onreceive&&this.onreceive(r.content)):this.logger.log(f.Trace,"(LongPolling transport) Poll timed out, reissuing."),[3,6];case 5:return s=l.sent(),this.running?s instanceof o?this.logger.log(f.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this.closeError=s,this.running=!1):this.logger.log(f.Trace,"(LongPolling transport) Poll errored after shutdown: "+s.message),[3,6];case 6:return[3,1];case 7:return[3,9];case 8:return this.logger.log(f.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this.raiseOnClose(),[7];case 9:return[2]}})})},t.prototype.send=function(t){return X(this,void 0,void 0,function(){return Z(this,function(e){return this.running?[2,b(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,t,this.logMessageContent,this.withCredentials,this.headers)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},t.prototype.stop=function(){return X(this,void 0,void 0,function(){var t,e,n,i;return Z(this,function(r){switch(r.label){case 0:this.logger.log(f.Trace,"(LongPolling transport) Stopping polling."),this.running=!1,this.pollAbort.abort(),r.label=1;case 1:return r.trys.push([1,,5,6]),[4,this.receiving];case 2:return r.sent(),this.logger.log(f.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),t={},e=x(),t[e[0]]=e[1],n={headers:q({},t,this.headers),withCredentials:this.withCredentials},[4,this.getAccessToken()];case 3:return i=r.sent(),this.updateHeaderToken(n,i),[4,this.httpClient.delete(this.url,n)];case 4:return r.sent(),this.logger.log(f.Trace,"(LongPolling transport) DELETE request sent."),[3,6];case 5:return this.logger.log(f.Trace,"(LongPolling transport) Stop finished."),this.raiseOnClose(),[7];case 6:return[2]}})})},t.prototype.raiseOnClose=function(){if(this.onclose){var t="(LongPolling transport) Firing onclose event.";this.closeError&&(t+=" Error: "+this.closeError),this.logger.log(f.Trace,t),this.onclose(this.closeError)}},t}(),J=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Q=function(t,e,n,i){return new(n||(n=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(e){a(e)}}function s(t){try{l(i.throw(t))}catch(e){a(e)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(o,s)}l((i=i.apply(t,e||[])).next())})},$=function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},tt=function(){function t(t,e,n,i,r,a,o){this.httpClient=t,this.accessTokenFactory=e,this.logger=n,this.logMessageContent=i,this.withCredentials=a,this.eventSourceConstructor=r,this.headers=o,this.onreceive=null,this.onclose=null}return t.prototype.connect=function(t,e){return Q(this,void 0,void 0,function(){var n,i=this;return $(this,function(r){switch(r.label){case 0:return g.isRequired(t,"url"),g.isRequired(e,"transferFormat"),g.isIn(e,U,"transferFormat"),this.logger.log(f.Trace,"(SSE transport) Connecting."),this.url=t,this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=r.sent())&&(t+=(t.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),r.label=2;case 2:return[2,new Promise(function(n,r){var a=!1;if(e===U.Text){var o;if(v.isBrowser||v.isWebWorker)o=new i.eventSourceConstructor(t,{withCredentials:i.withCredentials});else{var s=i.httpClient.getCookieString(t),l={};l.Cookie=s;var u=x();l[u[0]]=u[1],o=new i.eventSourceConstructor(t,{withCredentials:i.withCredentials,headers:J({},l,i.headers)})}try{o.onmessage=function(t){if(i.onreceive)try{i.logger.log(f.Trace,"(SSE transport) data received. "+y(t.data,i.logMessageContent)+"."),i.onreceive(t.data)}catch(e){return void i.close(e)}},o.onerror=function(t){var e=new Error(t.data||"Error occurred");a?i.close(e):r(e)},o.onopen=function(){i.logger.log(f.Information,"SSE connected to "+i.url),i.eventSource=o,a=!0,n()}}catch(c){return void r(c)}}else r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})]}})})},t.prototype.send=function(t){return Q(this,void 0,void 0,function(){return $(this,function(e){return this.eventSource?[2,b(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,t,this.logMessageContent,this.withCredentials,this.headers)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},t.prototype.stop=function(){return this.close(),Promise.resolve()},t.prototype.close=function(t){this.eventSource&&(this.eventSource.close(),this.eventSource=void 0,this.onclose&&this.onclose(t))},t}(),et=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},nt=function(){function t(t,e,n,i,r,a){this.logger=n,this.accessTokenFactory=e,this.logMessageContent=i,this.webSocketConstructor=r,this.httpClient=t,this.onreceive=null,this.onclose=null,this.headers=a}return t.prototype.connect=function(t,e){return n=this,r=function(){var n,i=this;return function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,function(r){switch(r.label){case 0:return g.isRequired(t,"url"),g.isRequired(e,"transferFormat"),g.isIn(e,U,"transferFormat"),this.logger.log(f.Trace,"(WebSockets transport) Connecting."),this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=r.sent())&&(t+=(t.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),r.label=2;case 2:return[2,new Promise(function(n,r){var a;t=t.replace(/^http/,"ws");var o=i.httpClient.getCookieString(t),s=!1;if(v.isNode){var l={},u=x();l[u[0]]=u[1],o&&(l.Cookie=""+o),a=new i.webSocketConstructor(t,void 0,{headers:et({},l,i.headers)})}a||(a=new i.webSocketConstructor(t)),e===U.Binary&&(a.binaryType="arraybuffer"),a.onopen=function(e){i.logger.log(f.Information,"WebSocket connected to "+t+"."),i.webSocket=a,s=!0,n()},a.onerror=function(t){var e;e="undefined"!=typeof ErrorEvent&&t instanceof ErrorEvent?t.error:new Error("There was an error with the transport."),r(e)},a.onmessage=function(t){if(i.logger.log(f.Trace,"(WebSockets transport) data received. "+y(t.data,i.logMessageContent)+"."),i.onreceive)try{i.onreceive(t.data)}catch(e){return void i.close(e)}},a.onclose=function(t){var e;s?i.close(t):(e="undefined"!=typeof ErrorEvent&&t instanceof ErrorEvent?t.error:new Error("There was an error with the transport."),r(e))}})]}})},new((i=void 0)||(i=Promise))(function(t,e){function a(t){try{s(r.next(t))}catch(n){e(n)}}function o(t){try{s(r.throw(t))}catch(n){e(n)}}function s(e){e.done?t(e.value):new i(function(t){t(e.value)}).then(a,o)}s((r=r.apply(n,[])).next())});var n,i,r},t.prototype.send=function(t){return this.webSocket&&this.webSocket.readyState===this.webSocketConstructor.OPEN?(this.logger.log(f.Trace,"(WebSockets transport) sending data. "+y(t,this.logMessageContent)+"."),this.webSocket.send(t),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")},t.prototype.stop=function(){return this.webSocket&&this.close(void 0),Promise.resolve()},t.prototype.close=function(t){this.webSocket&&(this.webSocket.onclose=function(){},this.webSocket.onmessage=function(){},this.webSocket.onerror=function(){},this.webSocket.close(),this.webSocket=void 0),this.logger.log(f.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this.isCloseEvent(t)||!1!==t.wasClean&&1e3===t.code?t instanceof Error?this.onclose(t):this.onclose():this.onclose(new Error("WebSocket closed with status code: "+t.code+" ("+t.reason+").")))},t.prototype.isCloseEvent=function(t){return t&&"boolean"==typeof t.wasClean&&"number"==typeof t.code},t}(),it=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},rt=function(t,e,n,i){return new(n||(n=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(e){a(e)}}function s(t){try{l(i.throw(t))}catch(e){a(e)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(o,s)}l((i=i.apply(t,e||[])).next())})},at=function(t,e){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},ot=function(){function t(t,e){var n;if(void 0===e&&(e={}),this.features={},this.negotiateVersion=1,g.isRequired(t,"url"),this.logger=void 0===(n=e.logger)?new k(f.Information):null===n?p.instance:n.log?n:new k(n),this.baseUrl=this.resolveUrl(t),(e=e||{}).logMessageContent=void 0!==e.logMessageContent&&e.logMessageContent,"boolean"!=typeof e.withCredentials&&void 0!==e.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");e.withCredentials=void 0===e.withCredentials||e.withCredentials;var i=null,r=null;if(v.isNode){var a=require;i=a("ws"),r=a("eventsource")}v.isNode||"undefined"==typeof WebSocket||e.WebSocket?v.isNode&&!e.WebSocket&&i&&(e.WebSocket=i):e.WebSocket=WebSocket,v.isNode||"undefined"==typeof EventSource||e.EventSource?v.isNode&&!e.EventSource&&void 0!==r&&(e.EventSource=r):e.EventSource=EventSource,this.httpClient=e.httpClient||new P(this.logger),this.connectionState="Disconnected",this.connectionStarted=!1,this.options=e,this.onreceive=null,this.onclose=null}return t.prototype.start=function(t){return rt(this,void 0,void 0,function(){var e;return at(this,function(n){switch(n.label){case 0:return g.isIn(t=t||U.Binary,U,"transferFormat"),this.logger.log(f.Debug,"Starting connection with transfer format '"+U[t]+"'."),"Disconnected"!==this.connectionState?[2,Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."))]:(this.connectionState="Connecting",this.startInternalPromise=this.startInternal(t),[4,this.startInternalPromise]);case 1:return n.sent(),"Disconnecting"!==this.connectionState?[3,3]:(this.logger.log(f.Error,e="Failed to start the HttpConnection before stop() was called."),[4,this.stopPromise]);case 2:return n.sent(),[2,Promise.reject(new Error(e))];case 3:if("Connected"!==this.connectionState)return this.logger.log(f.Error,e="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!"),[2,Promise.reject(new Error(e))];n.label=4;case 4:return this.connectionStarted=!0,[2]}})})},t.prototype.send=function(t){return"Connected"!==this.connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this.sendQueue||(this.sendQueue=new st(this.transport)),this.sendQueue.send(t))},t.prototype.stop=function(t){return rt(this,void 0,void 0,function(){var e=this;return at(this,function(n){switch(n.label){case 0:return"Disconnected"===this.connectionState?(this.logger.log(f.Debug,"Call to HttpConnection.stop("+t+") ignored because the connection is already in the disconnected state."),[2,Promise.resolve()]):"Disconnecting"===this.connectionState?(this.logger.log(f.Debug,"Call to HttpConnection.stop("+t+") ignored because the connection is already in the disconnecting state."),[2,this.stopPromise]):(this.connectionState="Disconnecting",this.stopPromise=new Promise(function(t){e.stopPromiseResolver=t}),[4,this.stopInternal(t)]);case 1:return n.sent(),[4,this.stopPromise];case 2:return n.sent(),[2]}})})},t.prototype.stopInternal=function(t){return rt(this,void 0,void 0,function(){var e;return at(this,function(n){switch(n.label){case 0:this.stopError=t,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.startInternalPromise];case 2:case 3:return n.sent(),[3,4];case 4:if(!this.transport)return[3,9];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.transport.stop()];case 6:return n.sent(),[3,8];case 7:return e=n.sent(),this.logger.log(f.Error,"HttpConnection.transport.stop() threw error '"+e+"'."),this.stopConnection(),[3,8];case 8:return this.transport=void 0,[3,10];case 9:this.logger.log(f.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed."),this.stopConnection(),n.label=10;case 10:return[2]}})})},t.prototype.startInternal=function(t){return rt(this,void 0,void 0,function(){var e,n,i,r,a,o;return at(this,function(s){switch(s.label){case 0:e=this.baseUrl,this.accessTokenFactory=this.options.accessTokenFactory,s.label=1;case 1:return s.trys.push([1,12,,13]),this.options.skipNegotiation?this.options.transport!==W.WebSockets?[3,3]:(this.transport=this.constructTransport(W.WebSockets),[4,this.startTransport(e,t)]):[3,5];case 2:return s.sent(),[3,4];case 3:throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");case 4:return[3,11];case 5:n=null,i=0,r=function(){var t;return at(this,function(r){switch(r.label){case 0:return[4,a.getNegotiationResponse(e)];case 1:if(n=r.sent(),"Disconnecting"===a.connectionState||"Disconnected"===a.connectionState)throw new Error("The connection was stopped during negotiation.");if(n.error)throw new Error(n.error);if(n.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");return n.url&&(e=n.url),n.accessToken&&(t=n.accessToken,a.accessTokenFactory=function(){return t}),i++,[2]}})},a=this,s.label=6;case 6:return[5,r()];case 7:s.sent(),s.label=8;case 8:if(n.url&&i<100)return[3,6];s.label=9;case 9:if(100===i&&n.url)throw new Error("Negotiate redirection limit exceeded.");return[4,this.createTransport(e,this.options.transport,n,t)];case 10:s.sent(),s.label=11;case 11:return this.transport instanceof K&&(this.features.inherentKeepAlive=!0),"Connecting"===this.connectionState&&(this.logger.log(f.Debug,"The HttpConnection connected successfully."),this.connectionState="Connected"),[3,13];case 12:return o=s.sent(),this.logger.log(f.Error,"Failed to start the connection: "+o),this.connectionState="Disconnected",this.transport=void 0,[2,Promise.reject(o)];case 13:return[2]}})})},t.prototype.getNegotiationResponse=function(t){return rt(this,void 0,void 0,function(){var e,n,i,r,a,o,s;return at(this,function(l){switch(l.label){case 0:return e={},this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(n=l.sent())&&(e.Authorization="Bearer "+n),l.label=2;case 2:i=x(),e[i[0]]=i[1],r=this.resolveNegotiateUrl(t),this.logger.log(f.Debug,"Sending negotiation request: "+r+"."),l.label=3;case 3:return l.trys.push([3,5,,6]),[4,this.httpClient.post(r,{content:"",headers:it({},e,this.options.headers),withCredentials:this.options.withCredentials})];case 4:return 200!==(a=l.sent()).statusCode?[2,Promise.reject(new Error("Unexpected status code returned from negotiate '"+a.statusCode+"'"))]:((!(o=JSON.parse(a.content)).negotiateVersion||o.negotiateVersion<1)&&(o.connectionToken=o.connectionId),[2,o]);case 5:return s=l.sent(),this.logger.log(f.Error,"Failed to complete negotiation with the server: "+s),[2,Promise.reject(s)];case 6:return[2]}})})},t.prototype.createConnectUrl=function(t,e){return e?t+(-1===t.indexOf("?")?"?":"&")+"id="+e:t},t.prototype.createTransport=function(t,e,n,i){return rt(this,void 0,void 0,function(){var r,a,o,s,l,u,c,h,d;return at(this,function(p){switch(p.label){case 0:return r=this.createConnectUrl(t,n.connectionToken),this.isITransport(e)?(this.logger.log(f.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=e,[4,this.startTransport(r,i)]):[3,2];case 1:return p.sent(),this.connectionId=n.connectionId,[2];case 2:a=[],o=n,s=0,l=n.availableTransports||[],p.label=3;case 3:return s<l.length?(c=this.resolveTransportOrError(u=l[s],e,i))instanceof Error?(a.push(u.transport+" failed: "+c),[3,12]):[3,4]:[3,13];case 4:if(!this.isITransport(c))return[3,12];if(this.transport=c,o)return[3,9];p.label=5;case 5:return p.trys.push([5,7,,8]),[4,this.getNegotiationResponse(t)];case 6:return o=p.sent(),[3,8];case 7:return h=p.sent(),[2,Promise.reject(h)];case 8:r=this.createConnectUrl(t,o.connectionToken),p.label=9;case 9:return p.trys.push([9,11,,12]),[4,this.startTransport(r,i)];case 10:return p.sent(),this.connectionId=o.connectionId,[2];case 11:return d=p.sent(),this.logger.log(f.Error,"Failed to start the transport '"+u.transport+"': "+d),o=void 0,a.push(u.transport+" failed: "+d),"Connecting"!==this.connectionState?(this.logger.log(f.Debug,"Failed to select transport before stop() was called."),[2,Promise.reject(new Error("Failed to select transport before stop() was called."))]):[3,12];case 12:return s++,[3,3];case 13:return a.length>0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+a.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}})})},t.prototype.constructTransport=function(t){switch(t){case W.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new nt(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket,this.options.headers||{});case W.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new tt(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource,this.options.withCredentials,this.options.headers||{});case W.LongPolling:return new K(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.withCredentials,this.options.headers||{});default:throw new Error("Unknown transport: "+t+".")}},t.prototype.startTransport=function(t,e){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(t){return n.stopConnection(t)},this.transport.connect(t,e)},t.prototype.resolveTransportOrError=function(t,e,n){var i=W[t.transport];if(null==i)return this.logger.log(f.Debug,"Skipping transport '"+t.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+t.transport+"' because it is not supported by this client.");if(!function(t,e){return!t||0!=(e&t)}(e,i))return this.logger.log(f.Debug,"Skipping transport '"+W[i]+"' because it was disabled by the client."),new Error("'"+W[i]+"' is disabled by the client.");if(!(t.transferFormats.map(function(t){return U[t]}).indexOf(n)>=0))return this.logger.log(f.Debug,"Skipping transport '"+W[i]+"' because it does not support the requested transfer format '"+U[n]+"'."),new Error("'"+W[i]+"' does not support "+U[n]+".");if(i===W.WebSockets&&!this.options.WebSocket||i===W.ServerSentEvents&&!this.options.EventSource)return this.logger.log(f.Debug,"Skipping transport '"+W[i]+"' because it is not supported in your environment.'"),new Error("'"+W[i]+"' is not supported in your environment.");this.logger.log(f.Debug,"Selecting transport '"+W[i]+"'.");try{return this.constructTransport(i)}catch(r){return r}},t.prototype.isITransport=function(t){return t&&"object"==typeof t&&"connect"in t},t.prototype.stopConnection=function(t){var e=this;if(this.logger.log(f.Debug,"HttpConnection.stopConnection("+t+") called while in state "+this.connectionState+"."),this.transport=void 0,t=this.stopError||t,this.stopError=void 0,"Disconnected"!==this.connectionState){if("Connecting"===this.connectionState)throw this.logger.log(f.Warning,"Call to HttpConnection.stopConnection("+t+") was ignored because the connection is still in the connecting state."),new Error("HttpConnection.stopConnection("+t+") was called while the connection is still in the connecting state.");if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),t?this.logger.log(f.Error,"Connection disconnected with error '"+t+"'."):this.logger.log(f.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch(function(t){e.logger.log(f.Error,"TransportSendQueue.stop() threw error '"+t+"'.")}),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(t)}catch(n){this.logger.log(f.Error,"HttpConnection.onclose("+t+") threw error '"+n+"'.")}}}else this.logger.log(f.Debug,"Call to HttpConnection.stopConnection("+t+") was ignored because the connection is already in the disconnected state.")},t.prototype.resolveUrl=function(t){if(0===t.lastIndexOf("https://",0)||0===t.lastIndexOf("http://",0))return t;if(!v.isBrowser||!window.document)throw new Error("Cannot resolve '"+t+"'.");var e=window.document.createElement("a");return e.href=t,this.logger.log(f.Information,"Normalizing '"+t+"' to '"+e.href+"'."),e.href},t.prototype.resolveNegotiateUrl=function(t){var e=t.indexOf("?"),n=t.substring(0,-1===e?t.length:e);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===e?"":t.substring(e)).indexOf("negotiateVersion")&&(n+=-1===e?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},t}(),st=function(){function t(t){this.transport=t,this.buffer=[],this.executing=!0,this.sendBufferedData=new lt,this.transportResult=new lt,this.sendLoopPromise=this.sendLoop()}return t.prototype.send=function(t){return this.bufferData(t),this.transportResult||(this.transportResult=new lt),this.transportResult.promise},t.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},t.prototype.bufferData=function(t){if(this.buffer.length&&typeof this.buffer[0]!=typeof t)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof t);this.buffer.push(t),this.sendBufferedData.resolve()},t.prototype.sendLoop=function(){return rt(this,void 0,void 0,function(){var e,n,i;return at(this,function(r){switch(r.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(r.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new lt,e=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):t.concatBuffers(this.buffer),this.buffer.length=0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return r.sent(),e.resolve(),[3,5];case 4:return i=r.sent(),e.reject(i),[3,5];case 5:return[3,0];case 6:return[2]}})})},t.concatBuffers=function(t){for(var e=t.map(function(t){return t.byteLength}).reduce(function(t,e){return t+e}),n=new Uint8Array(e),i=0,r=0,a=t;r<a.length;r++){var o=a[r];n.set(new Uint8Array(o),i),i+=o.byteLength}return n.buffer},t}(),lt=function(){function t(){var t=this;this.promise=new Promise(function(e,n){var i;return t.resolver=(i=[e,n])[0],t.rejecter=i[1],i})}return t.prototype.resolve=function(){this.resolver()},t.prototype.reject=function(t){this.rejecter(t)},t}(),ut=function(){function t(){this.name="json",this.version=1,this.transferFormat=U.Text}return t.prototype.parseMessages=function(t,e){if("string"!=typeof t)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!t)return[];null===e&&(e=p.instance);for(var n=[],i=0,r=E.parse(t);i<r.length;i++){var a=JSON.parse(r[i]);if("number"!=typeof a.type)throw new Error("Invalid payload.");switch(a.type){case Y.Invocation:this.isInvocationMessage(a);break;case Y.StreamItem:this.isStreamItemMessage(a);break;case Y.Completion:this.isCompletionMessage(a);break;case Y.Ping:case Y.Close:break;default:e.log(f.Information,"Unknown message type '"+a.type+"' ignored.");continue}n.push(a)}return n},t.prototype.writeMessage=function(t){return E.write(JSON.stringify(t))},t.prototype.isInvocationMessage=function(t){this.assertNotEmptyString(t.target,"Invalid payload for Invocation message."),void 0!==t.invocationId&&this.assertNotEmptyString(t.invocationId,"Invalid payload for Invocation message.")},t.prototype.isStreamItemMessage=function(t){if(this.assertNotEmptyString(t.invocationId,"Invalid payload for StreamItem message."),void 0===t.item)throw new Error("Invalid payload for StreamItem message.")},t.prototype.isCompletionMessage=function(t){if(t.result&&t.error)throw new Error("Invalid payload for Completion message.");!t.result&&t.error&&this.assertNotEmptyString(t.error,"Invalid payload for Completion message."),this.assertNotEmptyString(t.invocationId,"Invalid payload for Completion message.")},t.prototype.assertNotEmptyString=function(t,e){if("string"!=typeof t||""===t)throw new Error(e)},t}(),ct=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},ht={trace:f.Trace,debug:f.Debug,info:f.Information,information:f.Information,warn:f.Warning,warning:f.Warning,error:f.Error,critical:f.Critical,none:f.None},dt=function(){function t(){}return t.prototype.configureLogging=function(t){if(g.isRequired(t,"logging"),void 0!==t.log)this.logger=t;else if("string"==typeof t){var e=function(t){var e=ht[t.toLowerCase()];if(void 0!==e)return e;throw new Error("Unknown log level: "+t)}(t);this.logger=new k(e)}else this.logger=new k(t);return this},t.prototype.withUrl=function(t,e){return g.isRequired(t,"url"),g.isNotEmpty(t,"url"),this.url=t,this.httpConnectionOptions=ct({},this.httpConnectionOptions,"object"==typeof e?e:{transport:e}),this},t.prototype.withHubProtocol=function(t){return g.isRequired(t,"protocol"),this.protocol=t,this},t.prototype.withAutomaticReconnect=function(t){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=t?Array.isArray(t)?new B(t):t:new B,this},t.prototype.build=function(){var t=this.httpConnectionOptions||{};if(void 0===t.logger&&(t.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");var e=new ot(this.url,t);return H.create(e,this.logger||p.instance,this.protocol||new ut,this.reconnectPolicy)},t}(),ft=n("fXoL"),pt={},mt=((C=function(){function t(){s(this,t)}return u(t,[{key:"connect",value:function(t,e){return new Promise(function(n,i){var r=localStorage.getItem("token");if(r){var a=(new dt).withUrl("string"==typeof t?"".concat(pt.default,"/signalr/").concat(t):"".concat(pt[t[0]],"/").concat(t[1]),{accessTokenFactory:function(){return r}}).withAutomaticReconnect({nextRetryDelayInMilliseconds:function(){return 5e3}}).build();for(var o in e)a.on(o,e[o]);a.start().then(function(){return n(a)}).catch(function(t){return i(t)})}else i()})}}]),t}()).\u0275fac=function(t){return new(t||C)},C.\u0275prov=ft.Kb({token:C,factory:C.\u0275fac,providedIn:"root"}),C)},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"})},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;s(this,t),this.SchedulerAction=e,this.now=n}return u(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}(),r=function(t){h(n,t);var e=f(n);function n(t){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;return s(this,n),(r=e.call(this,t,function(){return n.delegate&&n.delegate!==m(r)?n.delegate.now():a()})).actions=[],r.active=!1,r.scheduled=void 0,r}return u(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,i):c(b(n.prototype),"schedule",this).call(this,t,e,i)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(i)},IlA0:function(t,e,n){"use strict";var i=n("/1FC"),r=n("vY+C"),a=n("DlmY");function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(o.Cache||a.a),n}o.Cache=a.a;var s,l,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,h=(s=o(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(u,function(t,n,i,r){e.push(i?r.replace(c,"$1"):n||t)}),e},function(t){return 500===l.size&&l.clear(),t}),l=s.cache,s),d=n("ylTp"),f=n("twO/"),p=n("G8aS"),m=d.a?d.a.prototype:void 0,g=m?m.toString:void 0,v=function t(e){if("string"==typeof e)return e;if(Object(i.a)(e))return Object(f.a)(e,t)+"";if(Object(p.a)(e))return g?g.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},y=function(t){return null==t?"":v(t)};e.a=function(t,e){return Object(i.a)(t)?t:Object(r.a)(t,e)?[t]:h(y(t))}},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("4I5i"),a=n("EY2u");function o(t){return function(e){return 0===t?Object(a.b)():e.lift(new l(t))}}var l=function(){function t(e){if(s(this,t),this.total=e,this.total<0)throw new r.a}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.total))}}]),t}(),c=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return u(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(i.a)},IzLi:function(t,e,n){"use strict";e.a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return function(e){var n=new a(t),i=e.lift(n);return n.caught=i}}var a=function(){function t(e){s(this,t),this.selector=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).selector=i,a.caught=r,a}return u(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(o){return void c(b(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var r=new i.a(this);this.add(r);var a=Object(i.c)(e,r);a!==r&&this.add(a)}}}]),n}(i.b)},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("GyhO"),r=n("z+Ro");function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=e[e.length-1];return Object(r.a)(a)?(e.pop(),function(t){return Object(i.a)(e,t,a)}):function(t){return Object(i.a)(e,t)}}},Js68:function(t,e,n){"use strict";e.a=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},"Ju5/":function(t,e,n){"use strict";var i=n("XqMk"),r="object"==typeof self&&self&&self.Object===Object&&self,a=i.a||r||Function("return this")();e.a=a},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function a(t,e,a,o){var s=t+" ";return 1===t?s+n(0,e,a[0],o):e?s+(i(t)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(t)?r(a)[1]:r(a)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kj3r:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("D0XW");function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){s(this,t),this.dueTime=e,this.scheduler=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.dueTime,this.scheduler))}}]),t}(),l=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).dueTime=i,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return u(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.a);function c(t){t.debouncedNext()}},KpOL:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("0IaG"),r=n("fXoL"),a=n("bTqV"),o=n("sYmb"),l=n("ofXK"),c=function(){var t=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"content",get:function(){return this._data}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(i.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["app-dialog-alert"]],decls:10,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions","","align","end"],["mat-button","","color","primary","mat-dialog-close","","cdkFocusInitial",""]],template:function(t,e){1&t&&(r.Ub(0,"h2",0),r.Hc(1),r.gc(2,"translate"),r.Tb(),r.Ub(3,"div",1),r.Pb(4,"p",2),r.Tb(),r.Ub(5,"div",3),r.Ub(6,"button",4),r.Hc(7),r.gc(8,"uppercase"),r.gc(9,"translate"),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,3,"shared.dialog.title")),r.Cb(3),r.lc("innerHTML",e.content,r.xc),r.Cb(3),r.Ic(r.hc(8,5,r.hc(9,7,"shared.dialog.ok"))))},directives:[i.h,i.e,i.c,a.a,i.d],pipes:[o.d,l.v],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t}()},L3Qv:function(t,e,n){"use strict";e.a=function(){return!1}},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("z+Ro"),r=n("yCtX"),a=n("jZKg");function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e[e.length-1];return Object(i.a)(o)?(e.pop(),Object(a.a)(e,o)):Object(r.a)(e)}},Lhse:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},M9IT:function(t,e,n){"use strict";n.d(e,"a",function(){return S}),n.d(e,"b",function(){return O}),n.d(e,"c",function(){return x}),n.d(e,"d",function(){return T});var i=n("ofXK"),r=n("fXoL"),a=n("FKr1"),o=n("bTqV"),l=n("d3UM"),c=n("Qu3c"),d=n("8LU1"),m=n("XNiG"),g=n("kmnG");function v(t,e){if(1&t&&(r.Ub(0,"mat-option",19),r.Hc(1),r.Tb()),2&t){var n=e.$implicit;r.lc("value",n),r.Cb(1),r.Jc(" ",n," ")}}function y(t,e){if(1&t){var n=r.Vb();r.Ub(0,"mat-form-field",16),r.Ub(1,"mat-select",17),r.bc("selectionChange",function(t){return r.wc(n),r.fc(2)._changePageSize(t.value)}),r.Fc(2,v,2,2,"mat-option",18),r.Tb(),r.Tb()}if(2&t){var i=r.fc(2);r.lc("appearance",i._formFieldAppearance)("color",i.color),r.Cb(1),r.lc("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),r.Cb(1),r.lc("ngForOf",i._displayedPageSizeOptions)}}function _(t,e){if(1&t&&(r.Ub(0,"div",20),r.Hc(1),r.Tb()),2&t){var n=r.fc(2);r.Cb(1),r.Ic(n.pageSize)}}function b(t,e){if(1&t&&(r.Ub(0,"div",12),r.Ub(1,"div",13),r.Hc(2),r.Tb(),r.Fc(3,y,3,6,"mat-form-field",14),r.Fc(4,_,2,1,"div",15),r.Tb()),2&t){var n=r.fc();r.Cb(2),r.Jc(" ",n._intl.itemsPerPageLabel," "),r.Cb(1),r.lc("ngIf",n._displayedPageSizeOptions.length>1),r.Cb(1),r.lc("ngIf",n._displayedPageSizeOptions.length<=1)}}function w(t,e){if(1&t){var n=r.Vb();r.Ub(0,"button",21),r.bc("click",function(){return r.wc(n),r.fc().firstPage()}),r.ec(),r.Ub(1,"svg",7),r.Pb(2,"path",22),r.Tb(),r.Tb()}if(2&t){var i=r.fc();r.lc("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),r.Db("aria-label",i._intl.firstPageLabel)}}function k(t,e){if(1&t){var n=r.Vb();r.ec(),r.dc(),r.Ub(0,"button",23),r.bc("click",function(){return r.wc(n),r.fc().lastPage()}),r.ec(),r.Ub(1,"svg",7),r.Pb(2,"path",24),r.Tb(),r.Tb()}if(2&t){var i=r.fc();r.lc("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),r.Db("aria-label",i._intl.lastPageLabel)}}var x=function(){var t=function t(){s(this,t),this.changes=new m.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,e,n){if(0==n||0==e)return"0 of "+n;var i=t*e;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+e,n):i+e," of ").concat(n)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),M={provide:x,deps:[[new r.C,new r.L,x]],useFactory:function(t){return t||new x}},S=new r.s("MAT_PAGINATOR_DEFAULT_OPTIONS"),C=Object(a.A)(Object(a.C)(function t(){s(this,t)})),D=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,a){var o;if(s(this,n),(o=e.call(this))._intl=t,o._changeDetectorRef=i,o._pageIndex=0,o._length=0,o._pageSizeOptions=[],o._hidePageSize=!1,o._showFirstLastButtons=!1,o.page=new r.o,o._intlChanges=t.changes.subscribe(function(){return o._changeDetectorRef.markForCheck()}),a){var l=a.pageSize,u=a.pageSizeOptions,c=a.hidePageSize,h=a.showFirstLastButtons;null!=l&&(o._pageSize=l),null!=u&&(o._pageSizeOptions=u),null!=c&&(o._hidePageSize=c),null!=h&&(o._showFirstLastButtons=h)}return p(o)}return u(n,[{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(t){var e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(t,e){return t-e}),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}},{key:"pageIndex",get:function(){return this._pageIndex},set:function(t){this._pageIndex=Math.max(Object(d.f)(t),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(t){this._length=Object(d.f)(t),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(t){this._pageSize=Math.max(Object(d.f)(t),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(t){this._pageSizeOptions=(t||[]).map(function(t){return Object(d.f)(t)}),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(t){this._hidePageSize=Object(d.c)(t)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(t){this._showFirstLastButtons=Object(d.c)(t)}}]),n}(C);return t.\u0275fac=function(e){return new(e||t)(r.Ob(x),r.Ob(r.h),r.Ob(void 0))},t.\u0275dir=r.Jb({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[r.zb]}),t}(),O=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),a=e.call(this,t,i,r),r&&null!=r.formFieldAppearance&&(a._formFieldAppearance=r.formFieldAppearance),a}return n}(D);return t.\u0275fac=function(e){return new(e||t)(r.Ob(x),r.Ob(r.h),r.Ob(S,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[r.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.Ub(1,"div",1),r.Fc(2,b,5,3,"div",2),r.Ub(3,"div",3),r.Ub(4,"div",4),r.Hc(5),r.Tb(),r.Fc(6,w,3,5,"button",5),r.Ub(7,"button",6),r.bc("click",function(){return e.previousPage()}),r.ec(),r.Ub(8,"svg",7),r.Pb(9,"path",8),r.Tb(),r.Tb(),r.dc(),r.Ub(10,"button",9),r.bc("click",function(){return e.nextPage()}),r.ec(),r.Ub(11,"svg",7),r.Pb(12,"path",10),r.Tb(),r.Tb(),r.Fc(13,k,3,5,"button",11),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(2),r.lc("ngIf",!e.hidePageSize),r.Cb(3),r.Jc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),r.Cb(1),r.lc("ngIf",e.showFirstLastButtons),r.Cb(1),r.lc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),r.Db("aria-label",e._intl.previousPageLabel),r.Cb(3),r.lc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),r.Db("aria-label",e._intl.nextPageLabel),r.Cb(3),r.lc("ngIf",e.showFirstLastButtons))},directives:[i.n,o.a,c.c,g.b,l.a,i.m,a.o],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t}(),T=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[M],imports:[[i.c,o.b,l.b,c.d,a.j]]}),t}()},NFeN:function(t,e,n){"use strict";n.d(e,"a",function(){return j}),n.d(e,"b",function(){return N});var i=n("fXoL"),a=n("FKr1"),o=n("8LU1"),l=n("ofXK"),c=n("LRne"),d=n("z6cu"),p=n("cp0P"),m=n("quSY"),g=n("vkgz"),v=n("lJxs"),y=n("JIr8"),_=n("nYR2"),b=n("w1tV"),w=n("IzEk"),k=n("tk/3"),x=n("jhN1"),M=["*"];function S(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function C(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function D(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var O=function t(e,n,i){s(this,t),this.url=e,this.svgText=n,this.options=i},T=function(){var t=function(){function t(e,n,i,r){s(this,t),this._httpClient=e,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}return u(t,[{key:"addSvgIcon",value:function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}},{key:"addSvgIconLiteral",value:function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}},{key:"addSvgIconInNamespace",value:function(t,e,n,i){return this._addSvgIconConfig(t,e,new O(n,null,i))}},{key:"addSvgIconLiteralInNamespace",value:function(t,e,n,r){var a=this._sanitizer.sanitize(i.K.HTML,n);if(!a)throw D(n);return this._addSvgIconConfig(t,e,new O("",a,r))}},{key:"addSvgIconSet",value:function(t,e){return this.addSvgIconSetInNamespace("",t,e)}},{key:"addSvgIconSetLiteral",value:function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}},{key:"addSvgIconSetInNamespace",value:function(t,e,n){return this._addSvgIconSetConfig(t,new O(e,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(t,e,n){var r=this._sanitizer.sanitize(i.K.HTML,e);if(!r)throw D(e);return this._addSvgIconSetConfig(t,new O("",r,n))}},{key:"registerFontClassAlias",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,n=this._sanitizer.sanitize(i.K.RESOURCE_URL,t);if(!n)throw C(t);var r=this._cachedIconsByUrl.get(n);return r?Object(c.a)(L(r)):this._loadSvgIconFromConfig(new O(t,null)).pipe(Object(g.a)(function(t){return e._cachedIconsByUrl.set(n,t)}),Object(v.a)(function(t){return L(t)}))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=A(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(d.a)(S(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?Object(c.a)(L(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(v.a)(function(t){return L(t)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var n=this,r=this._extractIconWithNameFromAnySet(t,e);if(r)return Object(c.a)(r);var a=e.filter(function(t){return!t.svgText}).map(function(t){return n._loadSvgIconSetFromConfig(t).pipe(Object(y.a)(function(e){var r=n._sanitizer.sanitize(i.K.RESOURCE_URL,t.url);return n._errorHandler.handleError(new Error("Loading icon set URL: ".concat(r," failed: ").concat(e.message))),Object(c.a)(null)}))});return Object(p.a)(a).pipe(Object(v.a)(function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw S(t);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){var r=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(r,t,i.options);if(a)return a}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe(Object(g.a)(function(e){return t.svgText=e}),Object(v.a)(function(){return e._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?Object(c.a)(null):this._fetchIcon(t).pipe(Object(g.a)(function(e){return t.svgText=e}))}},{key:"_extractSvgIconFromSet",value:function(t,e,n){var i=t.querySelector('[id="'.concat(e,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var a=this._svgElementFromString("<svg></svg>");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString("<svg></svg>"),n=t.attributes,i=0;i<n.length;i++){var r=n[i],a=r.name,o=r.value;"id"!==a&&e.setAttribute(a,o)}for(var s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[s].cloneNode(!0));return e}},{key:"_setSvgAttributes",value:function(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}},{key:"_fetchIcon",value:function(t){var e,n=this,r=t.url,a=t.options,o=null!==(e=null==a?void 0:a.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==r)throw Error('Cannot fetch icon from URL "'.concat(r,'".'));var s=this._sanitizer.sanitize(i.K.RESOURCE_URL,r);if(!s)throw C(r);var l=this._inProgressUrlFetches.get(s);if(l)return l;var u=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(Object(_.a)(function(){return n._inProgressUrlFetches.delete(s)}),Object(b.a)());return this._inProgressUrlFetches.set(s,u),u}},{key:"_addSvgIconConfig",value:function(t,e,n){return this._svgIconConfigs.set(A(t,e),n),this}},{key:"_addSvgIconSetConfig",value:function(t,e){var n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}},{key:"_svgElementFromConfig",value:function(t){if(!t.svgElement){var e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Yb(k.b,8),i.Yb(x.b),i.Yb(l.d,8),i.Yb(i.n))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(k.b,8),Object(i.Yb)(x.b),Object(i.Yb)(l.d,8),Object(i.Yb)(i.n))},token:t,providedIn:"root"}),t}();function L(t){return t.cloneNode(!0)}function A(t,e){return t+":"+e}var I=Object(a.y)(function t(e){s(this,t),this._elementRef=e}),P=new i.s("mat-icon-location",{providedIn:"root",factory:function(){var t=Object(i.W)(l.d),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),E=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=E.map(function(t){return"[".concat(t,"]")}).join(", "),Y=/^url\(['"]?#(.*?)['"]?\)$/,j=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this,t))._iconRegistry=i,l._location=a,l._errorHandler=o,l._inline=!1,l._currentIconFetch=m.a.EMPTY,r||t.nativeElement.setAttribute("aria-hidden","true"),l}return u(n,[{key:"_splitIconName",value:function(t){if(!t)return["",""];var e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'.concat(t,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var t=this._elementsWithExternalReferences;if(t&&t.size){var e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(t){this._clearSvgElement();for(var e=t.querySelectorAll("style"),n=0;n<e.length;n++)e[n].textContent+=" ";var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}},{key:"_clearSvgElement",value:function(){var t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){var n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(t){return"string"==typeof t?t.trim().split(" ")[0]:t}},{key:"_prependPathToReferences",value:function(t){var e=this._elementsWithExternalReferences;e&&e.forEach(function(e,n){e.forEach(function(e){n.setAttribute(e.name,"url('".concat(t,"#").concat(e.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(t){for(var e=t.querySelectorAll(R),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(t){E.forEach(function(i){var r=e[t],a=r.getAttribute(i),o=a?a.match(Y):null;if(o){var s=n.get(r);s||(s=[],n.set(r,s)),s.push({name:i,value:o[1]})}})},r=0;r<e.length;r++)i(r)}},{key:"_updateSvgIcon",value:function(t){var e=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){var n=r(this._splitIconName(t),2),i=n[0],a=n[1];i&&(this._svgNamespace=i),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,i).pipe(Object(w.a)(1)).subscribe(function(t){return e._setSvgElement(t)},function(t){e._errorHandler.handleError(new Error("Error retrieving icon ".concat(i,":").concat(a,"! ").concat(t.message)))})}}},{key:"inline",get:function(){return this._inline},set:function(t){this._inline=Object(o.c)(t)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}},{key:"fontSet",get:function(){return this._fontSet},set:function(t){var e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(t){var e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}}]),n}(I);return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(T),i.Zb("aria-hidden"),i.Ob(P),i.Ob(i.n))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.Gb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.zb],ngContentSelectors:M,decls:1,vars:0,template:function(t,e){1&t&&(i.kc(),i.jc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t}(),N=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[a.j],a.j]}),t}()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(function(){throw t},0)}n.d(e,"a",function(){return i})},NXfZ:function(t,e,n){"use strict";n.d(e,"a",function(){return xV});var i={};n.r(i),n.d(i,"updateProps",function(){return cl}),n.d(i,"initProps",function(){return hl}),n.d(i,"removeElement",function(){return fl}),n.d(i,"removeElementWithFadeOut",function(){return ml}),n.d(i,"isElementRemoved",function(){return dl}),n.d(i,"extendShape",function(){return Qf}),n.d(i,"extendPath",function(){return $f}),n.d(i,"registerShape",function(){return tp}),n.d(i,"getShapeClass",function(){return ep}),n.d(i,"makePath",function(){return np}),n.d(i,"makeImage",function(){return ip}),n.d(i,"mergePath",function(){return ap}),n.d(i,"resizePath",function(){return op}),n.d(i,"subPixelOptimizeLine",function(){return sp}),n.d(i,"subPixelOptimizeRect",function(){return lp}),n.d(i,"subPixelOptimize",function(){return up}),n.d(i,"getTransform",function(){return cp}),n.d(i,"applyTransform",function(){return hp}),n.d(i,"transformDirection",function(){return dp}),n.d(i,"groupTransition",function(){return pp}),n.d(i,"clipPointsByRect",function(){return mp}),n.d(i,"clipRectByRect",function(){return gp}),n.d(i,"createIcon",function(){return vp}),n.d(i,"linePolygonIntersect",function(){return yp}),n.d(i,"lineLineIntersect",function(){return _p}),n.d(i,"setTooltipConfig",function(){return wp}),n.d(i,"traverseElements",function(){return xp}),n.d(i,"Group",function(){return ar}),n.d(i,"Image",function(){return zo}),n.d(i,"Text",function(){return ds}),n.d(i,"Circle",function(){return Jd}),n.d(i,"Ellipse",function(){return tf}),n.d(i,"Sector",function(){return mf}),n.d(i,"Ring",function(){return yf}),n.d(i,"Polygon",function(){return kf}),n.d(i,"Polyline",function(){return Sf}),n.d(i,"Rect",function(){return Ko}),n.d(i,"Line",function(){return Tf}),n.d(i,"BezierCurve",function(){return Ef}),n.d(i,"Arc",function(){return jf}),n.d(i,"IncrementalDisplayable",function(){return Xf}),n.d(i,"CompoundPath",function(){return Nf}),n.d(i,"LinearGradient",function(){return Vf}),n.d(i,"RadialGradient",function(){return Hf}),n.d(i,"BoundingRect",function(){return Ni}),n.d(i,"OrientedBoundingRect",function(){return Gf}),n.d(i,"Point",function(){return Ti}),n.d(i,"Path",function(){return Ro});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},l=new function(){this.browser=new o,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(l.wxa=!0,l.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?l.worker=!0:"undefined"==typeof navigator?(l.node=!0,l.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(".")[0]>18),o&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,l);var c,h,d=l,f="12px sans-serif",p=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),m={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!c){var n=m.createCanvas();c=n&&n.getContext("2d")}if(c)return h!==e&&(h=c.font=e||f),c.measureText(t);t=t||"";var i=/^([0-9]*?)px$/.exec(e=e||f),r=+(i&&i[1])||12,a=0;if(e.indexOf("mono")>=0)a=r*t.length;else for(var o=0;o<t.length;o++){var s=p[t[o]];a+=null==s?r:s*r}return{width:a}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}},g=F(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),v=F(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),y=Object.prototype.toString,_=Array.prototype,b=_.forEach,w=_.filter,k=_.slice,x=_.map,M=(function(){}).constructor,S=M?M.prototype:null,C=2311;function D(){return C++}function O(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function T(t){if(null==t||"object"!=typeof t)return t;var e=t,n=y.call(t);if("[object Array]"===n){if(!ut(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=T(t[i])}}else if(v[n]){if(!ut(t)){var a=t.constructor;if(a.from)e=a.from(t);else for(e=new a(t.length),i=0,r=t.length;i<r;i++)e[i]=t[i]}}else if(!g[n]&&!ut(t)&&!Q(t))for(var o in e={},t)t.hasOwnProperty(o)&&"__proto__"!==o&&(e[o]=T(t[o]));return e}function L(t,e,n){if(!Z(e)||!Z(t))return n?T(e):t;for(var i in e)if(e.hasOwnProperty(i)&&"__proto__"!==i){var r=t[i],a=e[i];!Z(a)||!Z(r)||W(a)||W(r)||Q(a)||Q(r)||K(a)||K(r)||ut(a)||ut(r)?!n&&i in t||(t[i]=T(e[i])):L(r,a,n)}return t}function A(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=L(n,t[i],e);return n}function I(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&"__proto__"!==n&&(t[n]=e[n]);return t}function P(t,e,n){for(var i=H(e),r=0;r<i.length;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}function E(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function R(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var a=i[r];"constructor"!==a&&(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}else P(t,e,n)}function Y(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function j(t,e,n){if(t&&e)if(t.forEach&&t.forEach===b)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function N(t,e,n){if(!t)return[];if(!e)return rt(t);if(t.map&&t.map===x)return t.map(e,n);for(var i=[],r=0,a=t.length;r<a;r++)i.push(e.call(n,t[r],r,t));return i}function F(t,e,n,i){if(t&&e){for(var r=0,a=t.length;r<a;r++)n=e.call(i,n,t[r],r,t);return n}}function V(t,e,n){if(!t)return[];if(!e)return rt(t);if(t.filter&&t.filter===w)return t.filter(e,n);for(var i=[],r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function H(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var z=S&&U(S.bind)?S.call.bind(S.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(k.call(arguments)))}};function B(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(k.call(arguments)))}}function W(t){return Array.isArray?Array.isArray(t):"[object Array]"===y.call(t)}function U(t){return"function"==typeof t}function G(t){return"string"==typeof t}function q(t){return"[object String]"===y.call(t)}function X(t){return"number"==typeof t}function Z(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function K(t){return!!g[y.call(t)]}function J(t){return!!v[y.call(t)]}function Q(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function $(t){return null!=t.colorStops}function tt(t){return t!=t}function et(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function nt(t,e){return null!=t?t:e}function it(t,e,n){return null!=t?t:null!=e?e:n}function rt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return k.apply(t,e)}function at(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function ot(t,e){if(!t)throw new Error(e)}function st(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function lt(t){t.__ec_primitive__=!0}function ut(t){return t.__ec_primitive__}var ct=function(){function t(e){this.data={};var n=W(e);this.data={};var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&j(e,r)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return H(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function ht(t){return new ct(t)}function dt(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function ft(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&I(n,e),n}function pt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function mt(t,e){return t.hasOwnProperty(e)}function gt(){}var vt=180/Math.PI;function yt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function _t(t,e){return t[0]=e[0],t[1]=e[1],t}function bt(t){return[t[0],t[1]]}function wt(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function kt(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function xt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Mt(t){return Math.sqrt(function(t){return t[0]*t[0]+t[1]*t[1]}(t))}function St(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Ct(t,e){var n=Mt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Dt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Ot=Dt,Tt=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function Lt(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function At(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function It(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Pt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Et=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Rt=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Et(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(r,a,t),this.handler.dispatchToElement(new Et(e,t),"drag",t.event);var o=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.handler.dispatchToElement(new Et(s,t),"dragleave",t.event),o&&o!==s&&this.handler.dispatchToElement(new Et(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Et(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Et(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Yt=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var a=this._$eventProcessor;null!=e&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),r[t]||(r[t]=[]);for(var o=0;o<r[t].length;o++)if(r[t][o].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,a=n[t].length;r<a;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=i.length,s=0;s<o;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=e[a-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,e[0]);break;case 2:u.h.call(o,e[0],e[1]);break;default:u.h.apply(o,e.slice(1,a-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),jt=Math.log(2);function Nt(t,e,n,i,r,a){var o=i+"-"+r,s=t.length;if(a.hasOwnProperty(o))return a[o];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/jt);return t[n][l]}for(var u=i|1<<n,c=n+1;i&1<<c;)c++;for(var h=0,d=0,f=0;d<s;d++){var p=1<<d;p&r||(h+=(f%2?-1:1)*t[n][d]*Nt(t,e-1,c,u,r|p,a),f++)}return a[o]=h,h}function Ft(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=Nt(n,8,0,0,0,i);if(0!==r){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)null==a[s]&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*Nt(n,7,0===o?1:0,1<<o,1<<s,i)/r*e[o];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var Vt=[];function Ht(t,e,n,i,r){if(e.getBoundingClientRect&&d.domSupported&&!zt(e)){var a=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),o=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],a=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,d=c.left,f=c.top;o.push(d,f),l=l&&a&&d===a[h]&&f===a[h+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=o,e[i]=n?Ft(s,o):Ft(o,s))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=a%2,l=(a>>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}(e,a),a,r);if(o)return o(t,n,i),!0}return!1}function zt(t){return"CANVAS"===t.nodeName.toUpperCase()}var Bt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Wt=[],Ut=d.browser.firefox&&+d.browser.version.split(".")[0]<39;function Gt(t,e,n,i){return n=n||{},i?qt(t,e,n):Ut&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):qt(t,e,n),n}function qt(t,e,n){if(d.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(zt(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(Ht(Wt,t,i,r))return n.zrX=Wt[0],void(n.zrY=Wt[1])}n.zrX=n.zrY=0}function Xt(t){return t||window.event}function Zt(t,e,n){if(null!=(e=Xt(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&Gt(t,r,e,n)}else{Gt(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var o=e.button;return null==e.which&&void 0!==o&&Bt.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function Kt(t,e,n,i){t.addEventListener(e,n,i)}var Jt=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function Qt(t){return 2===t.which||3===t.which}var $t=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},a=0,o=i.length;a<o;a++){var s=i[a],l=Gt(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ee)if(ee.hasOwnProperty(e)){var n=ee[e](this._track,t);if(n)return n}},t}();function te(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var ee={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,a=(t[n-2]||{}).points||r;if(a&&a.length>1&&r&&r.length>1){var o=te(r)/te(a);!isFinite(o)&&(o=1),e.pinchScale=o;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function ne(){Jt(this.event)}var ie=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return a(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Yt),re=function(t,e){this.x=t,this.y=e},ae=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],oe=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a._hovered=new re(0,0),a.storage=e,a.painter=n,a.painterRoot=r,i=i||new ie,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Rt(a),a}return a(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(j(ae,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=le(this,e,n),r=this._hovered,a=r.target;a&&!a.__zr&&(a=(r=this.findHover(r.x,r.y)).target);var o=this._hovered=i?new re(e,n):this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new re(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,a=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:ne}}(e,t,n);i&&(i[r]&&(a.cancelBubble=!!i[r].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new re(t,e),a=i.length-1;a>=0;a--){var o=void 0;if(i[a]!==n&&!i[a].ignore&&(o=se(i[a],t,e))&&(!r.topTarget&&(r.topTarget=i[a]),"silent"!==o)){r.target=i[a];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new $t);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var a=new re;a.target=i.target,this.dispatchToElement(a,r,i.event)}},e}(Yt);function se(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(e,n))return!1;i.silent&&(r=!0)}i=i.__hostTarget||i.parent}return!r||"silent"}return!1}function le(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}j(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){oe.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=le(this,r,a);if("mouseup"===t&&o||(i=(n=this.findHover(r,a)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Ot(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var ue=oe;function ce(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){for(n--;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function he(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var a,o=t[i],s=e,l=i;s<l;)r(o,t[a=s+l>>>1])<0?l=a:s=a+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function de(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){for(s=i-r;l<s&&a(t,e[n+r+l])>0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;l<s&&a(t,e[n+r-l])<=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}for(o++;o<l;){var c=o+(l-o>>>1);a(t,e[n+c])>0?o=c+1:l=c}return l}function fe(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){for(s=r+1;l<s&&a(t,e[n+r-l])<0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=i-r;l<s&&a(t,e[n+r+l])>=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o<l;){var c=o+(l-o>>>1);a(t,e[n+c])<0?l=c:o=c+1}return l}function pe(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var a=0;if(r<32)he(t,n,i,n+(a=ce(t,n,i,e)),e);else{var o=function(t,e){var n,i,r=7,a=0,o=[];function s(s){var l=n[s],u=i[s],c=n[s+1],h=i[s+1];i[s]=u+h,s===a-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),a--;var d=fe(t[c],t,l,u,0,e);l+=d,0!=(u-=d)&&0!==(h=de(t[l+u-1],t,c,h,h-1,e))&&(u<=h?function(n,i,a,s){var l=0;for(l=0;l<i;l++)o[l]=t[n+l];var u=0,c=a,h=n;if(t[h++]=t[c++],0!=--s)if(1!==i){for(var d,f,p,m=r;;){d=0,f=0,p=!1;do{if(e(t[c],o[u])<0){if(t[h++]=t[c++],f++,d=0,0==--s){p=!0;break}}else if(t[h++]=o[u++],d++,f=0,1==--i){p=!0;break}}while((d|f)<m);if(p)break;do{if(0!==(d=fe(t[c],o,u,i,0,e))){for(l=0;l<d;l++)t[h+l]=o[u+l];if(h+=d,u+=d,(i-=d)<=1){p=!0;break}}if(t[h++]=t[c++],0==--s){p=!0;break}if(0!==(f=de(o[u],t,c,s,0,e))){for(l=0;l<f;l++)t[h+l]=t[c+l];if(h+=f,c+=f,0==(s-=f)){p=!0;break}}if(t[h++]=o[u++],1==--i){p=!0;break}m--}while(d>=7||f>=7);if(p)break;m<0&&(m=0),m+=2}if((r=m)<1&&(r=1),1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];t[h+s]=o[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[h+l]=o[u+l]}}else{for(l=0;l<s;l++)t[h+l]=t[c+l];t[h+s]=o[u]}else for(l=0;l<i;l++)t[h+l]=o[u+l]}(l,u,c,h):function(n,i,a,s){var l=0;for(l=0;l<s;l++)o[l]=t[a+l];var u=n+i-1,c=s-1,h=a+s-1,d=0,f=0;if(t[h--]=t[u--],0!=--i)if(1!==s){for(var p=r;;){var m=0,g=0,v=!1;do{if(e(o[c],t[u])<0){if(t[h--]=t[u--],m++,g=0,0==--i){v=!0;break}}else if(t[h--]=o[c--],g++,m=0,1==--s){v=!0;break}}while((m|g)<p);if(v)break;do{if(0!=(m=i-fe(o[c],t,n,i,i-1,e))){for(i-=m,f=1+(h-=m),d=1+(u-=m),l=m-1;l>=0;l--)t[f+l]=t[d+l];if(0===i){v=!0;break}}if(t[h--]=o[c--],1==--s){v=!0;break}if(0!=(g=s-de(t[u],o,0,s,s-1,e))){for(s-=g,f=1+(h-=g),d=1+(c-=g),l=0;l<g;l++)t[f+l]=o[d+l];if(s<=1){v=!0;break}}if(t[h--]=t[u--],0==--i){v=!0;break}p--}while(m>=7||g>=7);if(v)break;p<0&&(p=0),p+=2}if((r=p)<1&&(r=1),1===s){for(f=1+(h-=i),d=1+(u-=i),l=i-1;l>=0;l--)t[f+l]=t[d+l];t[h]=o[c]}else{if(0===s)throw new Error;for(d=h-(s-1),l=0;l<s;l++)t[d+l]=o[l]}}else{for(f=1+(h-=i),d=1+(u-=i),l=i-1;l>=0;l--)t[f+l]=t[d+l];t[h]=o[c]}else for(d=h-(s-1),l=0;l<s;l++)t[d+l]=o[l]}(l,u,c,h))}return n=[],i=[],{mergeRuns:function(){for(;a>1;){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;a>1;){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[a]=t,i[a]=e,a+=1}}}(t,e),s=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(r);do{if((a=ce(t,n,i,e))<s){var l=r;l>s&&(l=s),he(t,n,n+l,n+a,e),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}}var me=!1;function ge(){me||(me=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ve(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var ye=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ve}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,pe(n,ve)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,a=t;r;)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty|=1),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(ge(),u.z=0),isNaN(u.z2)&&(ge(),u.z2=0),isNaN(u.zlevel)&&(ge(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=E(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),_e=d.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},be={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-be.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*be.bounceIn(2*t):.5*be.bounceOut(2*t-1)+.5}},we=be,ke=Math.pow,xe=Math.sqrt,Me=xe(3),Se=1/3,Ce=yt(),De=yt(),Oe=yt();function Te(t){return t>-1e-8&&t<1e-8}function Le(t){return t>1e-8||t<-1e-8}function Ae(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function Ie(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function Pe(t,e,n,i,r,a){var o=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*o*l,h=s*l-9*o*u,d=l*l-3*s*u,f=0;if(Te(c)&&Te(h))Te(s)?a[0]=0:(M=-l/s)>=0&&M<=1&&(a[f++]=M);else{var p=h*h-4*c*d;if(Te(p)){var m=h/c,g=-m/2;(M=-s/o+m)>=0&&M<=1&&(a[f++]=M),g>=0&&g<=1&&(a[f++]=g)}else if(p>0){var v=xe(p),y=c*s+1.5*o*(-h+v),_=c*s+1.5*o*(-h-v);(M=(-s-((y=y<0?-ke(-y,Se):ke(y,Se))+(_=_<0?-ke(-_,Se):ke(_,Se))))/(3*o))>=0&&M<=1&&(a[f++]=M)}else{var b=(2*c*s-3*o*h)/(2*xe(c*c*c)),w=Math.acos(b)/3,k=xe(c),x=Math.cos(w),M=(-s-2*k*x)/(3*o),S=(g=(-s+k*(x+Me*Math.sin(w)))/(3*o),(-s+k*(x-Me*Math.sin(w)))/(3*o));M>=0&&M<=1&&(a[f++]=M),g>=0&&g<=1&&(a[f++]=g),S>=0&&S<=1&&(a[f++]=S)}}return f}function Ee(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Te(o))Le(a)&&(c=-s/a)>=0&&c<=1&&(r[l++]=c);else{var u=a*a-4*o*s;if(Te(u))r[0]=-a/(2*o);else if(u>0){var c,h=xe(u),d=(-a-h)/(2*o);(c=(-a+h)/(2*o))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}function Re(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-o)*r+o,c=(l-s)*r+s,h=(c-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=i}function Ye(t,e,n,i,r,a,o,s,l,u,c){var h,d,f,p,m,g=.005,v=1/0;Ce[0]=l,Ce[1]=u;for(var y=0;y<1;y+=.05)De[0]=Ae(t,n,r,o,y),De[1]=Ae(e,i,a,s,y),(p=Tt(Ce,De))<v&&(h=y,v=p);v=1/0;for(var _=0;_<32&&!(g<1e-4);_++)f=h+g,De[0]=Ae(t,n,r,o,d=h-g),De[1]=Ae(e,i,a,s,d),p=Tt(De,Ce),d>=0&&p<v?(h=d,v=p):(Oe[0]=Ae(t,n,r,o,f),Oe[1]=Ae(e,i,a,s,f),m=Tt(Oe,Ce),f<=1&&m<v?(h=f,v=m):g*=.5);return c&&(c[0]=Ae(t,n,r,o,h),c[1]=Ae(e,i,a,s,h)),xe(v)}function je(t,e,n,i,r,a,o,s,l){for(var u=t,c=e,h=0,d=1/l,f=1;f<=l;f++){var p=f*d,m=Ae(t,n,r,o,p),g=Ae(e,i,a,s,p),v=m-u,y=g-c;h+=Math.sqrt(v*v+y*y),u=m,c=g}return h}function Ne(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Fe(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Ve(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function He(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function ze(t,e,n,i,r,a,o,s,l){var u,c=.005,h=1/0;Ce[0]=o,Ce[1]=s;for(var d=0;d<1;d+=.05)De[0]=Ne(t,n,r,d),De[1]=Ne(e,i,a,d),(g=Tt(Ce,De))<h&&(u=d,h=g);h=1/0;for(var f=0;f<32&&!(c<1e-4);f++){var p=u-c,m=u+c;De[0]=Ne(t,n,r,p),De[1]=Ne(e,i,a,p);var g=Tt(De,Ce);if(p>=0&&g<h)u=p,h=g;else{Oe[0]=Ne(t,n,r,m),Oe[1]=Ne(e,i,a,m);var v=Tt(Oe,Ce);m<=1&&v<h?(u=m,h=v):c*=.5}}return l&&(l[0]=Ne(t,n,r,u),l[1]=Ne(e,i,a,u)),xe(h)}function Be(t,e,n,i,r,a,o){for(var s=t,l=e,u=0,c=1/o,h=1;h<=o;h++){var d=h*c,f=Ne(t,n,r,d),p=Ne(e,i,a,d),m=f-s,g=p-l;u+=Math.sqrt(m*m+g*g),s=f,l=p}return u}var We=/cubic-bezier\(([0-9,\.e ]+)\)/;function Ue(t){var e=t&&We.exec(t);if(e){var n=e[1].split(","),i=+st(n[0]),r=+st(n[1]),a=+st(n[2]),o=+st(n[3]);if(isNaN(i+r+a+o))return;var s=[];return function(t){return t<=0?0:t>=1?1:Pe(0,i,a,1,t,s)&&Ae(0,r,o,1,s[0])}}}var Ge=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||gt,this.ondestroy=t.ondestroy||gt,this.onrestart=t.onrestart||gt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var a=this.easingFunc,o=a?a(r):r;if(this.onframe(o),1===r){if(!this.loop)return!0;this._startTime=t-i%n,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=U(t)?t:we[t]||Ue(t)},t}(),qe=function(t){this.value=t},Xe=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new qe(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Ze=function(){function t(t){this._list=new Xe,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var a=n.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}o?o.value=e:o=new qe(e),o.key=t,n.insertEntry(o),i[t]=o}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),Ke={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Je(t){return(t=Math.round(t))<0?0:t>255?255:t}function Qe(t){return t<0?0:t>1?1:t}function $e(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Je(parseFloat(e)/100*255):Je(parseInt(e,10))}function tn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Qe(parseFloat(e)/100):Qe(parseFloat(e))}function en(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function nn(t,e,n){return t+(e-t)*n}function rn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function an(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var on=new Ze(20),sn=null;function ln(t,e){sn&&an(sn,e),sn=on.put(t,sn||e.slice())}function un(t,e){if(t){e=e||[];var n=on.get(t);if(n)return an(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Ke)return an(e,Ke[i]),ln(t,e),e;var r,a=i.length;if("#"===i.charAt(0))return 4===a||5===a?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(rn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===a?parseInt(i.slice(4),16)/15:1),ln(t,e),e):void rn(e,0,0,0,1):7===a||9===a?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(rn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===a?parseInt(i.slice(7),16)/255:1),ln(t,e),e):void rn(e,0,0,0,1):void 0;var o=i.indexOf("("),s=i.indexOf(")");if(-1!==o&&s+1===a){var l=i.substr(0,o),u=i.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?rn(e,+u[0],+u[1],+u[2],1):rn(e,0,0,0,1);c=tn(u.pop());case"rgb":return 3!==u.length?void rn(e,0,0,0,1):(rn(e,$e(u[0]),$e(u[1]),$e(u[2]),c),ln(t,e),e);case"hsla":return 4!==u.length?void rn(e,0,0,0,1):(u[3]=tn(u[3]),cn(u,e),ln(t,e),e);case"hsl":return 3!==u.length?void rn(e,0,0,0,1):(cn(u,e),ln(t,e),e);default:return}}rn(e,0,0,0,1)}}function cn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=tn(t[1]),r=tn(t[2]),a=r<=.5?r*(i+1):r+i-r*i,o=2*r-a;return rn(e=e||[],Je(255*en(o,a,n+1/3)),Je(255*en(o,a,n)),Je(255*en(o,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function hn(t,e){var n=un(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return gn(n,4===n.length?"rgba":"rgb")}}function dn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=e[r],s=e[a],l=i-r;return n[0]=Je(nn(o[0],s[0],l)),n[1]=Je(nn(o[1],s[1],l)),n[2]=Je(nn(o[2],s[2],l)),n[3]=Qe(nn(o[3],s[3],l)),n}}function fn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=un(e[r]),s=un(e[a]),l=i-r,u=gn([Je(nn(o[0],s[0],l)),Je(nn(o[1],s[1],l)),Je(nn(o[2],s[2],l)),Qe(nn(o[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:a,value:i}:u}}function pn(t,e,n,i){var r,a=un(t);if(t)return a=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,u=(s+o)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:a===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(a),null!=e&&(a[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(a[1]=tn(n)),null!=i&&(a[2]=tn(i)),gn(cn(a),"rgba")}function mn(t,e){var n=un(t);if(n&&null!=e)return n[3]=Qe(e),gn(n,"rgba")}function gn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function vn(t,e){var n=un(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var yn=Math.round;function _n(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=un(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function bn(t){return t<1e-4&&t>-1e-4}function wn(t){return yn(1e3*t)/1e3}function kn(t){return yn(1e4*t)/1e4}var xn={left:"start",right:"end",center:"middle",middle:"middle"};function Mn(t){return t&&!!t.image}function Sn(t){return"linear"===t.type}function Cn(t){return"radial"===t.type}function Dn(t){return"url(#"+t+")"}function On(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Tn(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*vt,r=nt(t.scaleX,1),a=nt(t.scaleY,1),o=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===a||l.push("scale("+r+","+a+")"),(o||s)&&l.push("skew("+yn(o*vt)+"deg, "+yn(s*vt)+"deg)"),l.join(" ")}var Ln=d.hasGlobalWindow&&U(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},An=Array.prototype.slice;function In(t,e,n){return(e-t)*n+t}function Pn(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=In(e[a],n[a],i);return t}function En(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=e[a]+n[a]*i;return t}function Rn(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+n[o][s]*i}return t}function Yn(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,a=Math.min(n,i),o=r[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(n,i);s++)r.push({offset:o.offset,color:o.color.slice()})}function jn(t,e,n){var i=t,r=e;if(i.push&&r.push){var a=i.length,o=r.length;if(a!==o)if(a>o)i.length=o;else for(var s=a;s<o;s++)i.push(1===n?r[s]:An.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function Nn(t){if(Y(t)){var e=t.length;if(Y(t[0])){for(var n=[],i=0;i<e;i++)n.push(An.call(t[i]));return n}return An.call(t)}return t}function Fn(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Vn(t){return 4===t||5===t}function Hn(t){return 1===t||2===t}var zn=[0,0,0,0],Bn=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,a=!1,o=6,s=e;if(Y(e)){var l=function(t){return Y(t&&t[0])?2:1}(e);o=l,(1===l&&!X(e[0])||2===l&&!X(e[0][0]))&&(a=!0)}else if(X(e)&&!tt(e))o=0;else if(G(e))if(isNaN(+e)){var u=un(e);u&&(s=u,o=3)}else o=0;else if($(e)){var c=I({},s);c.colorStops=N(e.colorStops,function(t){return{offset:t.offset,color:un(t.color)}}),Sn(e)?o=4:Cn(e)&&(o=5),s=c}0===r?this.valType=o:o===this.valType&&6!==o||(a=!0),this.discrete=this.discrete||a;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=U(n)?n:we[n]||Ue(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,a=n[r-1],o=this.discrete,s=Hn(i),l=Vn(i),u=0;u<r;u++){var c=n[u],h=c.value,d=a.value;c.percent=c.time/t,o||(s&&u!==r-1?jn(h,d,i):l&&Yn(h.colorStops,d.colorStops))}if(!o&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var f=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-f:3===i?n[u].additiveValue=En([],n[u].value,f,-1):Hn(i)&&(n[u].additiveValue=1===i?En([],n[u].value,f,-1):Rn([],n[u].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,a=null!=this._additiveTrack,o=a?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,h=3===s,d=this._lastFr,f=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=f(d+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=f(n,u-2)}else{for(n=d;n<u&&!(l[n].percent>e);n++);n=f(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var p=r.percent-i.percent,m=0===p?1:f((e-i.percent)/p,1);r.easingFunc&&(m=r.easingFunc(m));var g=a?this._additiveValue:h?zn:t[c];if(!Hn(s)&&!h||g||(g=this._additiveValue=[]),this.discrete)t[c]=m<1?i.rawValue:r.rawValue;else if(Hn(s))1===s?Pn(g,i[o],r[o],m):function(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=In(e[o][s],n[o][s],i)}}(g,i[o],r[o],m);else if(Vn(s)){var v=i[o],y=r[o],_=4===s;t[c]={type:_?"linear":"radial",x:In(v.x,y.x,m),y:In(v.y,y.y,m),colorStops:N(v.colorStops,function(t,e){var n=y.colorStops[e];return{offset:In(t.offset,n.offset,m),color:Fn(Pn([],t.color,n.color,m))}}),global:y.global},_?(t[c].x2=In(v.x2,y.x2,m),t[c].y2=In(v.y2,y.y2,m)):t[c].r=In(v.r,y.r,m)}else if(h)Pn(g,i[o],r[o],m),a||(t[c]=Fn(g));else{var b=In(i[o],r[o],m);a?this._additiveValue=b:t[c]=b}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(un(t[n],zn),En(zn,zn,i,1),t[n]=Fn(zn)):1===e?En(t[n],t[n],i,1):2===e&&Rn(t[n],t[n],i,1)},t}(),Wn=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?O("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,H(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,a=0;a<n.length;a++){var o=n[a],s=r[o];if(!s){s=r[o]=new Bn(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=Fn(l))}else l=this._target[o];if(null==l)continue;t>0&&s.addKeyframe(0,Nn(l),i),this._trackKeys.push(o)}s.addKeyframe(t,Nn(e[o]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var a=this._trackKeys[r],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(i,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var c=l[u-1];c&&(e._target[o.propName]=c.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var h=new Ge({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,a=0;a<i.length;a++)if(i[a]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(a=0;a<n.length;a++)n[a].step(e._target,t);var o=e._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){this._clip&&(t&&this._clip.onframe(1),this._abortedCallback())},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return N(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var a=n[t[r]];a&&!a.isFinished()&&(e?a.step(this._target,1):1===this._started&&a.step(this._target,0),a.setFinished())}var o=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],a=this._tracks[r];if(a&&!a.isFinished()){var o=a.keyframes,s=o[n?0:o.length-1];s&&(t[r]=Nn(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||H(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var o=a.pop();r.addKeyframe(o.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Un(){return(new Date).getTime()}var Gn,qn,Xn=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,n.stage=(e=e||{}).stage||{},n}return a(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Un()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,_e(function e(){t._running&&(_e(e),!t._paused&&t.update())})},e.prototype.start=function(){this._running||(this._time=Un(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Un(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Un()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Wn(t,e.loop);return this.addAnimator(n),n},e}(Yt),Zn=d.domSupported,Kn=(qn={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Gn=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:N(Gn,function(t){var e=t.replace("mouse","pointer");return qn.hasOwnProperty(e)?e:t})}),Jn=["mousemove","mouseup"],Qn=["pointermove","pointerup"],$n=!1;function ti(t){var e=t.pointerType;return"pen"===e||"touch"===e}function ei(t){t&&(t.zrByTouch=!0)}function ni(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var ii=function(t,e){this.stopPropagation=gt,this.stopImmediatePropagation=gt,this.preventDefault=gt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},ri={mousedown:function(t){t=Zt(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Zt(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Zt(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){ni(this,(t=Zt(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){$n=!0,t=Zt(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){$n||(t=Zt(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){ei(t=Zt(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),ri.mousemove.call(this,t),ri.mousedown.call(this,t)},touchmove:function(t){ei(t=Zt(this.dom,t)),this.handler.processGesture(t,"change"),ri.mousemove.call(this,t)},touchend:function(t){ei(t=Zt(this.dom,t)),this.handler.processGesture(t,"end"),ri.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&ri.click.call(this,t)},pointerdown:function(t){ri.mousedown.call(this,t)},pointermove:function(t){ti(t)||ri.mousemove.call(this,t)},pointerup:function(t){ri.mouseup.call(this,t)},pointerout:function(t){ti(t)||ri.mouseout.call(this,t)}};j(["click","dblclick","contextmenu"],function(t){ri[t]=function(e){e=Zt(this.dom,e),this.trigger(t,e)}});var ai={pointermove:function(t){ti(t)||ai.mousemove.call(this,t)},pointerup:function(t){ai.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function oi(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Kt(t.domTarget,e,n,i)}function si(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&t.domTarget.removeEventListener(n,e[n],t.listenerOpts[n]);t.mounted={}}var li=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},ui=function(t){function e(e,n){var i,r,a,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new li(e,ri),Zn&&(o._globalHandlerScope=new li(document,ai)),i=o,a=(r=o._localHandlerScope).domHandlers,d.pointerEventsSupported?j(Kn.pointer,function(t){oi(r,t,function(e){a[t].call(i,e)})}):(d.touchEventsSupported&&j(Kn.touch,function(t){oi(r,t,function(e){a[t].call(i,e),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}(r)})}),j(Kn.mouse,function(t){oi(r,t,function(e){e=Xt(e),r.touching||a[t].call(i,e)})})),o}return a(e,t),e.prototype.dispose=function(){si(this._localHandlerScope),Zn&&si(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Zn&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){function n(n){oi(e,n,function(i){i=Xt(i),ni(t,i.target)||(i=function(t,e){return Zt(t.dom,new ii(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))},{capture:!0})}d.pointerEventsSupported?j(Qn,n):d.touchEventsSupported||j(Jn,n)}(this,e):si(e)}},e}(Yt),ci=1;d.hasGlobalWindow&&(ci=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var hi=ci;function di(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function fi(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function pi(t,e,n){var i=e[1]*n[0]+e[3]*n[1],r=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],o=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=e[0]*n[0]+e[2]*n[1],t[1]=i,t[2]=r,t[3]=a,t[4]=o,t[5]=s,t}function mi(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function gi(t,e,n){var i=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+o*u,t[1]=-i*u+o*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*a+u*l,t[5]=c*l-u*a,t}function vi(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function yi(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(t[0]=o*(l=1/l),t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}var _i=di;function bi(t){return t>5e-5||t<-5e-5}var wi=[],ki=[],xi=[1,0,0,1,0,0],Mi=Math.abs,Si=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return bi(this.rotation)||bi(this.x)||bi(this.y)||bi(this.scaleX-1)||bi(this.scaleY-1)||bi(this.skewX)||bi(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):_i(n),t&&(e?pi(n,t,n):fi(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&_i(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(wi);var n=wi[0]<0?-1:1,i=wi[1]<0?-1:1,r=((wi[0]-n)*e+n)/wi[0]||0,a=((wi[1]-i)*e+i)/wi[1]||0;t[0]*=r,t[1]*=r,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||[1,0,0,1,0,0],yi(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(pi(ki,t.invTransform,e),e=ki);var n=this.originX,i=this.originY;(n||i)&&(xi[4]=n,xi[5]=i,pi(ki,e,xi),ki[4]-=n,ki[5]-=i,e=ki),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&At(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&At(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Mi(t[0]-1)>1e-10&&Mi(t[3]-1)>1e-10?Math.sqrt(Mi(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Di(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,a=t.scaleY,o=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||o||s){var f=n+o,p=i+s;e[4]=-f*r-h*p*a,e[5]=-p*a-d*f*r}else e[4]=e[5]=0;return e[0]=r,e[3]=a,e[1]=d*r,e[2]=h*a,l&&gi(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),Ci=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Di(t,e){for(var n=0;n<Ci.length;n++){var i=Ci[n];t[i]=e[i]}}var Oi=Si,Ti=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Li=Math.min,Ai=Math.max,Ii=new Ti,Pi=new Ti,Ei=new Ti,Ri=new Ti,Yi=new Ti,ji=new Ti,Ni=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Li(t.x,this.x),n=Li(t.y,this.y);this.width=isFinite(this.x)&&isFinite(this.width)?Ai(t.x+t.width,this.x+this.width)-e:t.width,this.height=isFinite(this.y)&&isFinite(this.height)?Ai(t.y+t.height,this.y+this.height)-n:t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return mi(r,r,[-e.x,-e.y]),vi(r,r,[n,i]),mi(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,c=e.y,h=e.y+e.height,d=!(a<l||u<r||s<c||h<o);if(n){var f=1/0,p=0,m=Math.abs(a-l),g=Math.abs(u-r),v=Math.abs(s-c),y=Math.abs(h-o),_=Math.min(m,g),b=Math.min(v,y);a<l||u<r?_>p&&(p=_,Ti.set(ji,m<g?-m:g,0)):_<f&&(f=_,Ti.set(Yi,m<g?m:-g,0)),s<c||h<o?b>p&&(p=b,Ti.set(ji,0,v<y?-v:y)):_<f&&(f=_,Ti.set(Yi,0,v<y?v:-y))}return n&&Ti.copy(n,d?Yi:ji),d},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],a=i[3],o=i[5];return e.x=n.x*r+i[4],e.y=n.y*a+o,e.width=n.width*r,e.height=n.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Ii.x=Ei.x=n.x,Ii.y=Ri.y=n.y,Pi.x=Ri.x=n.x+n.width,Pi.y=Ei.y=n.y+n.height,Ii.transform(i),Ri.transform(i),Pi.transform(i),Ei.transform(i),e.x=Li(Ii.x,Pi.x,Ei.x,Ri.x),e.y=Li(Ii.y,Pi.y,Ei.y,Ri.y);var s=Ai(Ii.x,Pi.x,Ei.x,Ri.x),l=Ai(Ii.y,Pi.y,Ei.y,Ri.y);e.width=s-e.x,e.height=l-e.y}else e!==n&&t.copy(e,n)},t}(),Fi={};function Vi(t,e){var n=Fi[e=e||f];n||(n=Fi[e]=new Ze(500));var i=n.get(t);return null==i&&(i=m.measureText(t,e).width,n.put(t,i)),i}function Hi(t,e,n,i){var r=Vi(t,e),a=Ui(e),o=Bi(0,r,n),s=Wi(0,a,i);return new Ni(o,s,r,a)}function zi(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return Hi(r[0],e,n,i);for(var a=new Ni(0,0,0,0),o=0;o<r.length;o++){var s=Hi(r[o],e,n,i);0===o?a.copy(s):a.union(s)}return a}function Bi(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Wi(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Ui(t){return Vi("\u56fd",t)}function Gi(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function qi(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=Gi(i[0],n.width),u+=Gi(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+o,u+=s,h="middle";break;case"top":l+=o/2,u-=r,c="center",h="bottom";break;case"bottom":l+=o/2,u+=a+r,c="center";break;case"inside":l+=o/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=o-r,u+=s,c="right",h="middle";break;case"insideTop":l+=o/2,u+=r,c="center";break;case"insideBottom":l+=o/2,u+=a-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=o-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=a-r,h="bottom";break;case"insideBottomRight":l+=o-r,u+=a-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}var Xi=Ci.concat(["ignore"]),Zi=F(Ci,function(t,e){return t[e]=!0,t},{ignore:!1}),Ki={},Ji=new Ni(0,0,0,0),Qi=function(){function t(t){this.id=D(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Ji;u.copy(n.layoutRect?n.layoutRect:this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Ki,n,u):qi(Ki,n,u),r.x=Ki.x,r.y=Ki.y,a=Ki.align,o=Ki.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var h=void 0,d=void 0;"center"===c?(h=.5*u.width,d=.5*u.height):(h=Gi(c[0],u.width),d=Gi(c[1],u.height)),l=!0,r.originX=-r.x+h+(i?0:u.x),r.originY=-r.y+d+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.originY=-f[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,y=void 0;p&&this.canBeInsideText()?(v=n.insideStroke,null!=(g=n.insideFill)&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),y=!0)):(v=n.outsideStroke,null!=(g=n.outsideFill)&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),y=!0)),(g=g||"#000")===m.fill&&v===m.stroke&&y===m.autoStroke&&a===m.align&&o===m.verticalAlign||(s=!0,m.fill=g,m.stroke=v,m.autoStroke=y,m.align=a,m.verticalAlign=o,e.setDefaultTextStyle(m)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?"#ccc":"#333"},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&un(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*i+(r?0:255)*(1-i);return n[3]=1,gn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},I(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(Z(t))for(var n=H(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&"__zr_normal__"!==r)){var a=i.targetName;i.saveTo(a?e[a]:e)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Xi)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState("__zr_normal__",!1,t)},t.prototype.useState=function(t,e,n,i){var r="__zr_normal__"===t;if(this.hasState()||!r){var a=this.currentStates,o=this.stateTransition;if(!(E(a,t)>=0)||!e&&1!==a.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&o&&o.duration>0,o);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,l),c&&c.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}O("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,a=t.length,o=a===r.length;if(o)for(var s=0;s<a;s++)if(t[s]!==r[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[a-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,m=this._textGuide;p&&p.useStates(t,e,h),m&&m.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=E(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=E(i,t),a=E(i,e)>=0;r>=0?a?i.splice(r,1):i[r]=e:n&&!a&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];I(n,r),r.textConfig&&I(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,a){var o=!(e&&i);e&&e.textConfig?(this.textConfig=I({},i?this.textConfig:n.textConfig),I(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Xi.length;u++){var c=Xi[u],h=r&&Zi[c];e&&null!=e[c]?h?(l=!0,s[c]=e[c]):this[c]=e[c]:o&&null!=n[c]&&(h?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(u=0;u<this.animators.length;u++){var d=this.animators[u],f=d.targetName;d.getLoop()||d.__changeFinalValue(f?(e||n)[f]:e||n)}l&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Oi,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),I(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=new Wn(t?this[t]:this,e,n);return t&&(i.targetName=t),this.addAnimator(i,t),i},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=E(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],a=0;a<i;a++){var o=n[a];t&&t!==o.scope?r.push(o):o.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){$i(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){$i(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=$i(this,e,n,i),a=0;a<r.length;a++)r[a].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){return this[n]||a(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,a(this,t)}})}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=1,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function $i(t,e,n,i,r){var a=[];nr(t,"",t,e,n=n||{},i,a,r);var o=a.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--o<=0&&(s?l&&l():u&&u())},h=function(){--o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var d=0;d<a.length;d++){var f=a[d];c&&f.done(c),h&&f.aborted(h),n.force&&f.duration(n.duration),f.start(n.easing)}return a}function tr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function er(t,e,n){if(Y(e[n]))if(Y(t[n])||(t[n]=[]),J(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),tr(t[n],e[n],i))}else{var r=e[n],a=t[n],o=r.length;if(Y(r[0]))for(var s=r[0].length,l=0;l<o;l++)a[l]?tr(a[l],r[l],s):a[l]=Array.prototype.slice.call(r[l]);else tr(a,r,o);a.length=r.length}else t[n]=e[n]}function nr(t,e,n,i,r,a,o,s){for(var l=H(i),u=r.duration,c=r.delay,h=r.additive,d=r.setToFinal,f=!Z(a),p=t.animators,m=[],g=0;g<l.length;g++){var v=i[S=l[g]];if(null!=v&&null!=n[S]&&(f||a[S]))if(!Z(v)||Y(v)||$(v))m.push(S);else{if(e){s||(n[S]=v,t.updateDuringAnimation(e));continue}nr(t,S,n[S],v,r,a&&a[S],o,s)}else s||(n[S]=v,t.updateDuringAnimation(e),m.push(S))}var y=m.length;if(!h&&y)for(var _=0;_<p.length;_++)if((w=p[_]).targetName===e&&w.stopTracks(m)){var b=E(p,w);p.splice(b,1)}if(r.force||(y=(m=V(m,function(t){return!((e=i[t])===(r=n[t])||Y(e)&&Y(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r})).length),y>0||r.force&&!o.length){var w,k=void 0,x=void 0,M=void 0;if(s)for(x={},d&&(k={}),_=0;_<y;_++)x[S=m[_]]=n[S],d?k[S]=i[S]:n[S]=i[S];else if(d)for(M={},_=0;_<y;_++){var S;M[S=m[_]]=Nn(n[S]),er(n,i,S)}(w=new Wn(n,!1,!1,h?V(p,function(t){return t.targetName===e}):null)).targetName=e,r.scope&&(w.scope=r.scope),d&&k&&w.whenWithKeys(0,k,m),M&&w.whenWithKeys(0,M,m),w.whenWithKeys(null==u?500:u,s?x:i,m).delay(c||0),t.addAnimator(w,e),o.push(w)}}R(Qi,Yt),R(Qi,Oi);var ir=Qi,rr=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return a(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=E(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=E(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++)t.call(e,n[i],i);return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new Ni(0,0,0,0),n=t||this._children,i=[],r=null,a=0;a<n.length;a++){var o=n[a];if(!o.ignore&&!o.invisible){var s=o.getBoundingRect(),l=o.getLocalTransform(i);l?(Ni.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(ir);rr.prototype.type="group";var ar=rr,or={},sr={},lr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new ye,a=n.renderer||"canvas";or[a]||(a=H(or)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var o=new or[a](e,r,n,t),s=n.ssr||o.ssrOnly;this.storage=r,this.painter=o;var l=d.node||d.worker||s?null:new ui(o.getViewportRoot(),o.root);this.handler=new ue(r,o,l,o.root),this.animation=new Xn({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return vn(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=vn(e[r].color,1);return(n/=i)<.4}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=Un();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Un();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){this.painter.resize((t=t||{}).width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof ar&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,delete sr[this.id]},t}();function ur(t,e){var n=new lr(D(),t,e);return sr[n.id]=n,n}function cr(t,e,n,i){var r=e[0],a=e[1],o=n[0],s=n[1],l=a-r,u=s-o;if(0===l)return 0===u?o:(o+s)/2;if(i)if(l>0){if(t<=r)return o;if(t>=a)return s}else{if(t>=r)return o;if(t<=a)return s}else{if(t===r)return o;if(t===a)return s}return(t-r)/l*u+o}function hr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return G(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function dr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function fr(t){return t.sort(function(t,e){return t-e}),t}function pr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,a=e.indexOf(".");return Math.max(0,(a<0?0:r-1-a)-i)}(t)}function mr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),a=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function gr(t,e){var n=Math.max(pr(t),pr(e)),i=t+e;return n>20?i:dr(i,n)}function vr(t){var e=2*Math.PI;return(t%e+e)%e}function yr(t){return t>-1e-4&&t<1e-4}var _r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function br(t){if(t instanceof Date)return t;if(G(t)){var e=_r.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function wr(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function kr(t,e){var n=wr(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function xr(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],a=n-i;return a?r+a*(t[i]-r):r}function Mr(t){t.sort(function(t,e){return s(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,a=t[i].close,o=0;o<2;o++)r[o]<=e&&(r[o]=e,a[o]=o?1:1-n),e=r[o],n=a[o];r[0]===r[1]&&a[0]*a[1]!=1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function Sr(t){var e=parseFloat(t);return e==t&&(0!==e||!G(t)||t.indexOf("x")<=0)?e:NaN}function Cr(t){return!isNaN(Sr(t))}function Dr(){return Math.round(9*Math.random())}function Or(t,e){return 0===e?t:Or(e,t%e)}function Tr(t,e){return null==t?e:null==e?t:t*e/Or(t,e)}function Lr(t,e,n){return(e-t)*n+t}function Ar(t){return t instanceof Array?t:null==t?[]:[t]}function Ir(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var a=n[i];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}var Pr=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Er(t){return!Z(t)||W(t)||t instanceof Date?t:t.value}function Rr(t){return Z(t)&&!(t instanceof Array)}function Yr(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var o=ht();j(e,function(t,n){Z(t)||(e[n]=null)});var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var a=t[r];a&&null!=a.id&&e.set(a.id,r),i.push({existing:"replaceMerge"===n||Hr(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}(t,o,n);return(i||r)&&function(t,e,n,i){j(i,function(r,a){if(r&&null!=r.id){var o=Nr(r.id),s=n.get(o);if(null!=s){var l=t[s];ot(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=r,l.existing=e[s],i[a]=null}}})}(u,t,o,e),i&&function(t,e){j(e,function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var a=t[r].existing;if(!t[r].newOption&&a&&(null==a.id||null==n.id)&&!Hr(n)&&!Hr(a)&&jr("name",a,n))return t[r].newOption=n,void(e[i]=null)}})}(u,e),i||r?function(t,e,n){j(e,function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||Hr(i.existing)||i.existing&&null!=e.id&&!jr("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}})}(u,e,r):a&&function(t,e){j(e,function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}(u,e),s=u,l=ht(),j(s,function(t){var e=t.existing;e&&l.set(e.id,t)}),j(s,function(t){var e=t.newOption;ot(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})}),j(s,function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(Z(i)){if(r.name=null!=i.name?Nr(i.name):n?n.name:"series\0"+e,n)r.id=Nr(n.id);else if(null!=i.id)r.id=Nr(i.id);else{var a=0;do{r.id="\0"+r.name+"\0"+a++}while(l.get(r.id))}l.set(r.id,t)}}),u}function jr(t,e,n){var i=Fr(e[t],null),r=Fr(n[t],null);return null!=i&&null!=r&&i===r}function Nr(t){return Fr(t,"")}function Fr(t,e){return null==t?e:G(t)?t:X(t)||q(t)?t+"":e}function Vr(t){var e=t.name;return!(!e||!e.indexOf("series\0"))}function Hr(t){return t&&null!=t.id&&0===Nr(t.id).indexOf("\0_ec_\0")}function zr(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?W(e.dataIndex)?N(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?W(e.name)?N(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function Br(){var t="__ec_inner_"+Wr++;return function(e){return e[t]||(e[t]={})}}var Wr=Dr();function Ur(t,e,n){var i=Gr(e,n),r=i.queryOptionMap,a=i.others,o=n?n.defaultMainType:null;return!i.mainTypeSpecified&&o&&r.set(o,{}),r.each(function(e,i){var r=Zr(t,i,e,{useDefault:o===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function Gr(t,e){var n;if(G(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=ht(),a={},o=!1;return j(n,function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();!s||!l||e&&e.includeMainTypes&&E(e.includeMainTypes,s)<0||(o=o||!!s,(r.get(s)||r.set(s,{}))[l]=t)}else a[n]=t}),{mainTypeSpecified:o,queryOptionMap:r,others:a}}var qr={useDefault:!0,enableAll:!1,enableNone:!1},Xr={useDefault:!1,enableAll:!0,enableNone:!0};function Zr(t,e,n,i){i=i||qr;var r=n.index,a=n.id,o=n.name,s={models:null,specified:null!=r||null!=a||null!=o};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(ot(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(ot(i.enableAll,'`"all"` is not a valid value on index option.'),r=a=o=null),s.models=t.queryComponents({mainType:e,index:r,id:a,name:o}),s)}function Kr(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function Jr(t,e){var n=ht(),i=[];return j(t,function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)}),{keys:i,buckets:n}}function Qr(t,e,n,i,r){var a=null==e||"auto"===e;if(null==i)return i;if(X(i))return dr(p=Lr(n||0,i,r),a?Math.max(pr(n||0),pr(i)):e);if(G(i))return r<1?n:i;for(var o=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var h=t.getDimensionInfo(c);if(h&&"ordinal"===h.type)o[c]=(r<1&&s?s:l)[c];else{var d=s&&s[c]?s[c]:0,f=l[c],p=Lr(d,f,r);o[c]=dr(p,a?Math.max(pr(d),pr(f)):e)}}return o}var $r="___EC__COMPONENT__CONTAINER___";function ta(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function ea(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return U(n=i)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e}(i):function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}(e=function(){(t.$constructor||i).apply(this,arguments)},this),I(e.prototype,t),e.___EC__EXTENDED_CLASS___=!0,e.extend=this.extend,e.superCall=ra,e.superApply=aa,e.superClass=i,e}}function na(t,e){t.extend=e.extend}var ia=Math.round(10*Math.random());function ra(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function aa(t,e,n){return this.superClass.prototype[e].apply(t,n)}function oa(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){ot(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=ta(i);r.sub?r.sub!==$r&&((function(t){var n=e[t.main];return n&&n[$r]||((n=e[t.main]={})[$r]=!0),n}(r))[r.sub]=t):e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[$r]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=ta(t),i=[],r=e[n.main];return r&&r[$r]?j(r,function(t,e){e!==$r&&i.push(t)}):i.push(r),i},t.hasClass=function(t){var n=ta(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return j(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=ta(t),i=e[n.main];return i&&i[$r]}}function sa(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(i&&E(i,s)>=0||r&&E(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(a[t[o][0]]=l)}}return a}}var la=sa([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),ua=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return la(this,t,e)},t}(),ca=new Ze(50);function ha(t){if("string"==typeof t){var e=ca.get(t);return e&&e.image}return t}function da(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=ca.get(t),o={hostEl:n,cb:i,cbPayload:r};if(a)!pa(e=a.image)&&a.pending.push(o);else{var s=m.loadImage(t,fa,fa);s.__zrImageSrc=t,ca.put(t,s.__cachedImgObj={image:s,pending:[o]})}return e}return t}return e}function fa(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function pa(t){return t&&t.width&&t.height}var ma=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function ga(t,e,n,i,r){if(!e)return"";var a=(t+"").split("\n");r=va(e,n,i,r);for(var o=0,s=a.length;o<s;o++)a[o]=ya(a[o],r);return a.join("\n")}function va(t,e,n,i){var r=I({},i=i||{});r.font=e,n=nt(n,"..."),r.maxIterations=nt(i.maxIterations,2);var a=r.minChar=nt(i.minChar,0);r.cnCharWidth=Vi("\u56fd",e);var o=r.ascCharWidth=Vi("a",e);r.placeholder=nt(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<a&&s>=o;l++)s-=o;var u=Vi(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function ya(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=Vi(t,i);if(a<=n)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?_a(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;a=Vi(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function _a(t,e,n,i){for(var r=0,a=0,o=t.length;a<o&&r<e;a++){var s=t.charCodeAt(a);r+=0<=s&&s<=127?n:i}return a}var ba=function(){},wa=function(t){this.tokens=[],t&&(this.tokens=t)},ka=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function xa(t,e,n,i,r){var a,o,s=""===e,l=r&&n.rich[r]||{},u=t.lines,c=l.font||n.font,h=!1;if(i){var d=l.padding,f=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var p=Gi(l.width,i.width)+f;u.length>0&&p+i.accumWidth>i.width&&(a=e.split("\n"),h=!0),i.accumWidth=p}else{var m=Ca(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+f,o=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var g=0;g<a.length;g++){var v=a[g],y=new ba;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!s,y.width="number"==typeof l.width?l.width:o?o[g]:Vi(v,c),g||h)u.push(new wa([y]));else{var _=(u[u.length-1]||(u[0]=new wa)).tokens,b=_.length;1===b&&_[0].isLineHolder?_[0]=y:(v||!b||s)&&_.push(y)}}}var Ma=F(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function Sa(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=383}(t)||!!Ma[t]}function Ca(t,e,n,i,r){for(var a=[],o=[],s="",l="",u=0,c=0,h=0;h<t.length;h++){var d=t.charAt(h);if("\n"!==d){var f=Vi(d,e),p=!i&&!Sa(d);(a.length?c+f>n:r+c+f>n)?c?(s||l)&&(p?(s||(s=l,l="",c=u=0),a.push(s),o.push(c-u),l+=d,s="",c=u+=f):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=d,c=f)):p?(a.push(l),o.push(u),l=d,u=f):(a.push(d),o.push(f)):(c+=f,p?(l+=d,u+=f):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,c+=u),a.push(s),o.push(c),s="",l="",u=0,c=0}return a.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),1===a.length&&(c+=r),{accumWidth:c,lines:a,linesWidths:o}}var Da="__zr_style_"+Math.round(10*Math.random()),Oa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ta={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Oa[Da]=!0;var La=["z","z2","invisible"],Aa=["invisible"],Ia=function(t){function e(e){return t.call(this,e)||this}var n;return a(e,t),e.prototype._init=function(e){for(var n=H(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r,a,o,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(a=t,o=e,Pa.copy((r=this).getBoundingRect()),r.transform&&Pa.applyTransform(r.transform),Ea.width=a,Ea.height=o,!Pa.intersect(Ea))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths)for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1;if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,o=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Ni(0,0,0,0)),e?Ni.applyTransform(t,n,e):t.copy(n),(r||a||o)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(o),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+o-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Ni(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:I(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return ft(Oa,t)},e.prototype.useStyle=function(t){t[Da]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Da]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,La)},e.prototype._applyStateObj=function(e,n,i,r,a,o){t.prototype._applyStateObj.call(this,e,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.style?a?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(a){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=H(u),h=0;h<c.length;h++)(p=c[h])in s&&(s[p]=s[p],this.style[p]=u[p]);var d=H(s);for(h=0;h<d.length;h++)this.style[p=d[h]]=this.style[p];this._transitionState(e,{style:s},o,this.getAnimationStyleProps())}else this.useStyle(s);var f=this.__inHover?Aa:La;for(h=0;h<f.length;h++){var p=f[h];n&&null!=n[p]?this[p]=n[p]:l&&null!=i[p]&&(this[p]=i[p])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var a=e[r];a.style&&this._mergeStyle(n=n||{},a.style)}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return I(t,e),t},e.prototype.getAnimationStyleProps=function(){return Ta},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=3)),e}(ir),Pa=new Ni(0,0,0,0),Ea=new Ni(0,0,0,0),Ra=Ia,Ya=Math.min,ja=Math.max,Na=Math.sin,Fa=Math.cos,Va=2*Math.PI,Ha=yt(),za=yt(),Ba=yt();function Wa(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],a=i[0],o=i[1],s=i[1],l=1;l<t.length;l++)r=Ya(r,(i=t[l])[0]),a=ja(a,i[0]),o=Ya(o,i[1]),s=ja(s,i[1]);e[0]=r,e[1]=o,n[0]=a,n[1]=s}}function Ua(t,e,n,i,r,a){r[0]=Ya(t,n),r[1]=Ya(e,i),a[0]=ja(t,n),a[1]=ja(e,i)}var Ga=[],qa=[];function Xa(t,e,n,i,r,a,o,s,l,u){var c=Ee,h=Ae,d=c(t,n,r,o,Ga);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<d;f++){var p=h(t,n,r,o,Ga[f]);l[0]=Ya(p,l[0]),u[0]=ja(p,u[0])}for(d=c(e,i,a,s,qa),f=0;f<d;f++){var m=h(e,i,a,s,qa[f]);l[1]=Ya(m,l[1]),u[1]=ja(m,u[1])}l[0]=Ya(t,l[0]),u[0]=ja(t,u[0]),l[0]=Ya(o,l[0]),u[0]=ja(o,u[0]),l[1]=Ya(e,l[1]),u[1]=ja(e,u[1]),l[1]=Ya(s,l[1]),u[1]=ja(s,u[1])}function Za(t,e,n,i,r,a,o,s){var l=Ve,u=Ne,c=ja(Ya(l(t,n,r),1),0),h=ja(Ya(l(e,i,a),1),0),d=u(t,n,r,c),f=u(e,i,a,h);o[0]=Ya(t,r,d),o[1]=Ya(e,a,f),s[0]=ja(t,r,d),s[1]=ja(e,a,f)}function Ka(t,e,n,i,r,a,o,s,l){var u=It,c=Pt,h=Math.abs(r-a);if(h%Va<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Ha[0]=Fa(r)*n+t,Ha[1]=Na(r)*i+e,za[0]=Fa(a)*n+t,za[1]=Na(a)*i+e,u(s,Ha,za),c(l,Ha,za),(r%=Va)<0&&(r+=Va),(a%=Va)<0&&(a+=Va),r>a&&!o?a+=Va:r<a&&o&&(r+=Va),o){var d=a;a=r,r=d}for(var f=0;f<a;f+=Math.PI/2)f>r&&(Ba[0]=Fa(f)*n+t,Ba[1]=Na(f)*i+e,u(s,Ba,s),c(l,Ba,l))}var Ja={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Qa=[],$a=[],to=[],eo=[],no=[],io=[],ro=Math.min,ao=Math.max,oo=Math.cos,so=Math.sin,lo=Math.abs,uo=Math.PI,co=2*uo,ho="undefined"!=typeof Float32Array,fo=[];function po(t){return Math.round(t/uo*1e8)/1e8%2*uo}var mo=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=lo(n/hi/t)||0,this._uy=lo(n/hi/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Ja.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=lo(t-this._xi),i=lo(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Ja.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=n*n+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,a){return this._drawPendingPt(),this.addData(Ja.C,t,e,n,i,r,a),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,a),this._xi=r,this._yi=a,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Ja.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,a){return this._drawPendingPt(),fo[0]=i,fo[1]=r,function(t,e){var n=po(t[0]);n<0&&(n+=co);var i=t[1];i+=n-t[0],!e&&i-n>=co?i=n+co:e&&n-i>=co?i=n-co:!e&&n>i?i=n+(co-po(n-i)):e&&n<i&&(i=n-(co-po(i-n))),t[0]=n,t[1]=i}(fo,a),this.addData(Ja.A,t,e,n,n,i=fo[0],(r=fo[1])-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=oo(r)*n+t,this._yi=so(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Ja.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ja.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!ho||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();for(ho&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n)),r=0;r<e;r++)for(var a=t[r].data,o=0;o<a.length;o++)this.data[i++]=a[o];this._len=i},t.prototype.addData=function(t,e,n,i,r,a,o,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,ho&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){to[0]=to[1]=no[0]=no[1]=Number.MAX_VALUE,eo[0]=eo[1]=io[0]=io[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,a=0;for(t=0;t<this._len;){var o=e[t++],s=1===t;switch(s&&(r=n=e[t],a=i=e[t+1]),o){case Ja.M:n=r=e[t++],i=a=e[t++],no[0]=r,no[1]=a,io[0]=r,io[1]=a;break;case Ja.L:Ua(n,i,e[t],e[t+1],no,io),n=e[t++],i=e[t++];break;case Ja.C:Xa(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],no,io),n=e[t++],i=e[t++];break;case Ja.Q:Za(n,i,e[t++],e[t++],e[t],e[t+1],no,io),n=e[t++],i=e[t++];break;case Ja.A:var l=e[t++],u=e[t++],c=e[t++],h=e[t++],d=e[t++],f=e[t++]+d;t+=1;var p=!e[t++];s&&(r=oo(d)*c+l,a=so(d)*h+u),Ka(l,u,c,h,d,f,p,no,io),n=oo(f)*c+l,i=so(f)*h+u;break;case Ja.R:Ua(r=n=e[t++],a=i=e[t++],r+e[t++],a+e[t++],no,io);break;case Ja.Z:n=r,i=a}It(to,to,no),Pt(eo,eo,io)}return 0===t&&(to[0]=to[1]=eo[0]=eo[1]=0),new Ni(to[0],to[1],eo[0]-to[0],eo[1]-to[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<e;){var d=t[h++],f=1===h;f&&(o=r=t[h],s=a=t[h+1]);var p=-1;switch(d){case Ja.M:r=o=t[h++],a=s=t[h++];break;case Ja.L:var m=t[h++],g=(_=t[h++])-a;(lo(T=m-r)>n||lo(g)>i||h===e-1)&&(p=Math.sqrt(T*T+g*g),r=m,a=_);break;case Ja.C:var v=t[h++],y=t[h++],_=(m=t[h++],t[h++]),b=t[h++],w=t[h++];p=je(r,a,v,y,m,_,b,w,10),r=b,a=w;break;case Ja.Q:p=Be(r,a,v=t[h++],y=t[h++],m=t[h++],_=t[h++],10),r=m,a=_;break;case Ja.A:var k=t[h++],x=t[h++],M=t[h++],S=t[h++],C=t[h++],D=t[h++],O=D+C;h+=1,h++,f&&(o=oo(C)*M+k,s=so(C)*S+x),p=ao(M,S)*ro(co,Math.abs(D)),r=oo(O)*M+k,a=so(O)*S+x;break;case Ja.R:o=r=t[h++],s=a=t[h++],p=2*t[h++]+2*t[h++];break;case Ja.Z:var T=o-r;g=s-a,p=Math.sqrt(T*T+g*g),r=o,a=s}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,a,o,s,l,u,c,h,d=this.data,f=this._ux,p=this._uy,m=this._len,g=e<1,v=0,y=0,_=0;if(!g||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var b=0;b<m;){var w=d[b++],k=1===b;switch(k&&(n=r=d[b],i=a=d[b+1]),w!==Ja.L&&_>0&&(t.lineTo(c,h),_=0),w){case Ja.M:n=r=d[b++],i=a=d[b++],t.moveTo(r,a);break;case Ja.L:o=d[b++],s=d[b++];var x=lo(o-r),M=lo(s-a);if(x>f||M>p){if(g){if(v+(q=l[y++])>u){t.lineTo(r*(1-(X=(u-v)/q))+o*X,a*(1-X)+s*X);break t}v+=q}t.lineTo(o,s),r=o,a=s,_=0}else{var S=x*x+M*M;S>_&&(c=o,h=s,_=S)}break;case Ja.C:var C=d[b++],D=d[b++],O=d[b++],T=d[b++],L=d[b++],A=d[b++];if(g){if(v+(q=l[y++])>u){Re(r,C,O,L,X=(u-v)/q,Qa),Re(a,D,T,A,X,$a),t.bezierCurveTo(Qa[1],$a[1],Qa[2],$a[2],Qa[3],$a[3]);break t}v+=q}t.bezierCurveTo(C,D,O,T,L,A),r=L,a=A;break;case Ja.Q:if(C=d[b++],D=d[b++],O=d[b++],T=d[b++],g){if(v+(q=l[y++])>u){He(r,C,O,X=(u-v)/q,Qa),He(a,D,T,X,$a),t.quadraticCurveTo(Qa[1],$a[1],Qa[2],$a[2]);break t}v+=q}t.quadraticCurveTo(C,D,O,T),r=O,a=T;break;case Ja.A:var I=d[b++],P=d[b++],E=d[b++],R=d[b++],Y=d[b++],j=d[b++],N=d[b++],F=!d[b++],V=E>R?E:R,H=lo(E-R)>.001,z=Y+j,B=!1;if(g&&(v+(q=l[y++])>u&&(z=Y+j*(u-v)/q,B=!0),v+=q),H&&t.ellipse?t.ellipse(I,P,E,R,N,Y,z,F):t.arc(I,P,V,Y,z,F),B)break t;k&&(n=oo(Y)*E+I,i=so(Y)*R+P),r=oo(z)*E+I,a=so(z)*R+P;break;case Ja.R:n=r=d[b],i=a=d[b+1],o=d[b++],s=d[b++];var W=d[b++],U=d[b++];if(g){if(v+(q=l[y++])>u){var G=u-v;t.moveTo(o,s),t.lineTo(o+ro(G,W),s),(G-=W)>0&&t.lineTo(o+W,s+ro(G,U)),(G-=U)>0&&t.lineTo(o+ao(W-G,0),s+U),(G-=W)>0&&t.lineTo(o,s+ao(U-G,0));break t}v+=q}t.rect(o,s,W,U);break;case Ja.Z:if(g){var q;if(v+(q=l[y++])>u){var X;t.lineTo(r*(1-(X=(u-v)/q))+n*X,a*(1-X)+i*X);break t}v+=q}t.closePath(),r=n,a=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Ja,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function go(t,e,n,i,r,a,o){if(0===r)return!1;var s,l=r;if(o>e+l&&o>i+l||o<e-l&&o<i-l||a>t+l&&a>n+l||a<t-l&&a<n-l)return!1;if(t===n)return Math.abs(a-t)<=l/2;var u=(s=(e-i)/(t-n))*a-o+(t*i-n*e)/(t-n);return u*u/(s*s+1)<=l/2*l/2}function vo(t,e,n,i,r,a,o,s,l,u,c){if(0===l)return!1;var h=l;return!(c>e+h&&c>i+h&&c>a+h&&c>s+h||c<e-h&&c<i-h&&c<a-h&&c<s-h||u>t+h&&u>n+h&&u>r+h&&u>o+h||u<t-h&&u<n-h&&u<r-h&&u<o-h)&&Ye(t,e,n,i,r,a,o,s,u,c,null)<=h/2}function yo(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;return!(l>e+u&&l>i+u&&l>a+u||l<e-u&&l<i-u&&l<a-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&ze(t,e,n,i,r,a,s,l,null)<=u/2}var _o=2*Math.PI;function bo(t){return(t%=_o)<0&&(t+=_o),t}var wo=2*Math.PI;function ko(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%wo<1e-4)return!0;if(a){var h=i;i=bo(r),r=bo(h)}else i=bo(i),r=bo(r);i>r&&(r+=wo);var d=Math.atan2(l,s);return d<0&&(d+=wo),d>=i&&d<=r||d+wo>=i&&d+wo<=r}function xo(t,e,n,i,r,a){if(a>e&&a>i||a<e&&a<i)return 0;if(i===e)return 0;var o=(a-e)/(i-e),s=i<e?1:-1;1!==o&&0!==o||(s=i<e?.5:-.5);var l=o*(n-t)+t;return l===r?1/0:l>r?s:0}var Mo=mo.CMD,So=2*Math.PI,Co=[-1,-1,-1],Do=[-1,-1];function Oo(t,e,n,i,r,a,o,s,l,u){if(u>e&&u>i&&u>a&&u>s||u<e&&u<i&&u<a&&u<s)return 0;var c,h=Pe(e,i,a,s,u,Co);if(0===h)return 0;for(var d=0,f=-1,p=void 0,m=void 0,g=0;g<h;g++){var v=Co[g],y=0===v||1===v?.5:1;Ae(t,n,r,o,v)<l||(f<0&&(f=Ee(e,i,a,s,Do),Do[1]<Do[0]&&f>1&&(c=Do[0],Do[0]=Do[1],Do[1]=c),p=Ae(e,i,a,s,Do[0]),f>1&&(m=Ae(e,i,a,s,Do[1]))),d+=2===f?v<Do[0]?p<e?y:-y:v<Do[1]?m<p?y:-y:s<m?y:-y:v<Do[0]?p<e?y:-y:s<p?y:-y)}return d}function To(t,e,n,i,r,a,o,s){if(s>e&&s>i&&s>a||s<e&&s<i&&s<a)return 0;var l=function(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),s=t-i,l=0;if(Te(a))Le(o)&&(c=-s/o)>=0&&c<=1&&(r[l++]=c);else{var u=o*o-4*a*s;if(Te(u))(c=-o/(2*a))>=0&&c<=1&&(r[l++]=c);else if(u>0){var c,h=xe(u),d=(-o-h)/(2*a);(c=(-o+h)/(2*a))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,a,s,Co);if(0===l)return 0;var u=Ve(e,i,a);if(u>=0&&u<=1){for(var c=0,h=Ne(e,i,a,u),d=0;d<l;d++){var f=0===Co[d]||1===Co[d]?.5:1;Ne(t,n,r,Co[d])<o||(c+=Co[d]<u?h<e?f:-f:a<h?f:-f)}return c}return f=0===Co[0]||1===Co[0]?.5:1,Ne(t,n,r,Co[0])<o?0:a<e?f:-f}function Lo(t,e,n,i,r,a,o,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Co[0]=-l,Co[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=So-1e-4){i=0,r=So;var c=a?1:-1;return o>=Co[0]+t&&o<=Co[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=So,r+=So);for(var d=0,f=0;f<2;f++){var p=Co[f];if(p+t>o){var m=Math.atan2(s,p);c=a?1:-1,m<0&&(m=So+m),(m>=i&&m<=r||m+So>=i&&m+So<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),d+=c)}}return d}function Ao(t,e,n,i,r){for(var a,o,s=t.data,l=t.len(),u=0,c=0,h=0,d=0,f=0,p=0;p<l;){var m=s[p++],g=1===p;switch(m===Mo.M&&p>1&&(n||(u+=xo(c,h,d,f,i,r))),g&&(d=c=s[p],f=h=s[p+1]),m){case Mo.M:c=d=s[p++],h=f=s[p++];break;case Mo.L:if(n){if(go(c,h,s[p],s[p+1],e,i,r))return!0}else u+=xo(c,h,s[p],s[p+1],i,r)||0;c=s[p++],h=s[p++];break;case Mo.C:if(n){if(vo(c,h,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],e,i,r))return!0}else u+=Oo(c,h,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],i,r)||0;c=s[p++],h=s[p++];break;case Mo.Q:if(n){if(yo(c,h,s[p++],s[p++],s[p],s[p+1],e,i,r))return!0}else u+=To(c,h,s[p++],s[p++],s[p],s[p+1],i,r)||0;c=s[p++],h=s[p++];break;case Mo.A:var v=s[p++],y=s[p++],_=s[p++],b=s[p++],w=s[p++],k=s[p++];p+=1;var x=!!(1-s[p++]);a=Math.cos(w)*_+v,o=Math.sin(w)*b+y,g?(d=a,f=o):u+=xo(c,h,a,o,i,r);var M=(i-v)*b/_+v;if(n){if(ko(v,y,b,w,w+k,x,e,M,r))return!0}else u+=Lo(v,y,b,w,w+k,x,M,r);c=Math.cos(w+k)*_+v,h=Math.sin(w+k)*b+y;break;case Mo.R:if(d=c=s[p++],f=h=s[p++],a=d+s[p++],o=f+s[p++],n){if(go(d,f,a,f,e,i,r)||go(a,f,a,o,e,i,r)||go(a,o,d,o,e,i,r)||go(d,o,d,f,e,i,r))return!0}else u+=xo(a,f,a,o,i,r),u+=xo(d,o,d,f,i,r);break;case Mo.Z:if(n){if(go(c,h,d,f,e,i,r))return!0}else u+=xo(c,h,d,f,i,r);c=d,h=f}}return n||Math.abs(h-f)<1e-4||(u+=xo(c,h,d,f,i,r)||0),0!==u}var Io=P({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Oa),Po={style:P({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ta.style)},Eo=Ci.concat(["invisible","culling","z","z2","zlevel","parent"]),Ro=function(t){function e(e){return t.call(this,e)||this}var n;return a(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var a=r.style;for(var o in i)a[o]!==i[o]&&(a[o]=i[o]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var s=0;s<Eo.length;++s)r[Eo[s]]=this[Eo[s]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=H(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var a=n[r],o=e[a];"style"===a?this.style?I(this.style,o):this.useStyle(o):"shape"===a?I(this.shape,o):t.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(G(t)){var e=vn(t,0);return e>.5?"#333":e>.2?"#eee":"#ccc"}if(t)return"#ccc"}return"#333"},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(G(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==vn(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new mo(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(i.contain(t=n[0],e=n[1])){var a=this.path;if(this.hasStroke()){var o=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,i){return Ao(t,e,!0,n,i)}(a,o/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Ao(t,0,!1,e,n)}(a,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:I(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return ft(Io,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=I({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,a,o){t.prototype._applyStateObj.call(this,e,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.shape?a?r?s=n.shape:(s=I({},i.shape),I(s,n.shape)):(s=I({},r?this.shape:i.shape),I(s,n.shape)):l&&(s=i.shape),s)if(a){this.shape=I({},this.shape);for(var u={},c=H(s),h=0;h<c.length;h++){var d=c[h];"object"==typeof s[d]?this.shape[d]=s[d]:u[d]=s[d]}this._transitionState(e,{shape:u},o)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var a=e[r];a.shape&&this._mergeStyle(n=n||{},a.shape)}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return Po},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return a(n,e),n.prototype.getDefaultStyle=function(){return T(t.style)},n.prototype.getDefaultShape=function(){return T(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),e}(Ra),Yo=P({strokeFirst:!0,font:f,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Io),jo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return ft(Yo,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=zi(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Ra);jo.prototype.type="tspan";var No=jo,Fo=P({x:0,y:0},Oa),Vo={style:P({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ta.style)},Ho=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.createStyle=function(t){return ft(Fo,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var a="width"===t?"height":"width",o=e[a];return null==o?r[t]:r[t]/r[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Vo},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ni(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Ra);Ho.prototype.type="image";var zo=Ho,Bo=Math.round;function Wo(t,e,n){if(e){var i=e.x1,r=e.x2,a=e.y1,o=e.y2;t.x1=i,t.x2=r,t.y1=a,t.y2=o;var s=n&&n.lineWidth;return s?(Bo(2*i)===Bo(2*r)&&(t.x1=t.x2=Go(i,s,!0)),Bo(2*a)===Bo(2*o)&&(t.y1=t.y2=Go(a,s,!0)),t):t}}function Uo(t,e,n){if(e){var i=e.x,r=e.y,a=e.width,o=e.height;t.x=i,t.y=r,t.width=a,t.height=o;var s=n&&n.lineWidth;return s?(t.x=Go(i,s,!0),t.y=Go(r,s,!0),t.width=Math.max(Go(i+a,s,!1)-t.x,0===a?0:1),t.height=Math.max(Go(r+o,s,!1)-t.y,0===o?0:1),t):t}}function Go(t,e,n){if(!e)return t;var i=Bo(2*t);return(i+Bo(e))%2==0?i/2:(i+(n?1:-1))/2}var qo=function(){this.x=0,this.y=0,this.width=0,this.height=0},Xo={},Zo=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new qo},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=Uo(Xo,e,this.style);n=o.x,i=o.y,r=o.width,a=o.height,o.r=e.r,e=o}else n=e.x,i=e.y,r=e.width,a=e.height;e.r?function(t,e){var n,i,r,a,o,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=r=a=h:h instanceof Array?1===h.length?n=i=r=a=h[0]:2===h.length?(n=r=h[0],i=a=h[1]):3===h.length?(n=h[0],i=a=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],a=h[3]):n=i=r=a=0,n+i>u&&(n*=u/(o=n+i),i*=u/o),r+a>u&&(r*=u/(o=r+a),a*=u/o),i+r>c&&(i*=c/(o=i+r),r*=c/o),n+a>c&&(n*=c/(o=n+a),a*=c/o),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+a,l+c),0!==a&&t.arc(s+a,l+c-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Ro);Zo.prototype.type="rect";var Ko=Zo,Jo={fill:"#000"},Qo={style:P({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ta.style)},$o=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Jo,n.attr(e),n}return a(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,os(t=this.style),j(t.rich,os),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Ni(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var a=e[r],o=a.getBoundingRect(),s=a.getLocalTransform(n);s?(t.copy(o),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||o.clone()).union(o)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Jo},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return I(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=H(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},I(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return Qo},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||f,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,a=e.font,o="truncate"===i,s=Ui(a),l=nt(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,h=e.width,d=(n=null==h||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?Ca(t,e.font,h,"breakAll"===i,0).lines:[]).length*l,f=nt(e.height,d);if(d>f&&c){var p=Math.floor(f/l);n=n.slice(0,p)}if(t&&o&&null!=h)for(var m=va(h,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;g<n.length;g++)n[g]=ya(n[g],m);var v=f,y=0;for(g=0;g<n.length;g++)y=Math.max(Vi(n[g],a),y);null==h&&(h=y);var _=y;return r&&(v+=r[0]+r[2],_+=r[1]+r[3],h+=r[1]+r[3]),u&&(_=h),{lines:n,height:f,outerWidth:_,outerHeight:v,lineHeight:l,calculatedLineHeight:s,contentWidth:y,contentHeight:d,width:h}}(cs(t),t),r=hs(t),a=!!t.backgroundColor,o=i.outerHeight,s=i.outerWidth,l=i.contentWidth,u=i.lines,c=i.lineHeight,h=this._defaultStyle,d=t.x||0,p=t.y||0,m=t.align||h.align||"left",g=t.verticalAlign||h.verticalAlign||"top",v=d,y=Wi(p,i.contentHeight,g);if(r||n){var _=Bi(d,s,m),b=Wi(p,o,g);r&&this._renderBackground(t,t,_,b,s,o)}y+=c/2,n&&(v=us(d,m,n),"top"===g?y+=n[0]:"bottom"===g&&(y-=n[2]));for(var w=0,k=!1,x=(ls("fill"in t?t.fill:(k=!0,h.fill))),M=(ss("stroke"in t?t.stroke:a||h.autoStroke&&!k?null:(w=2,h.stroke))),S=t.textShadowBlur>0,C=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),D=i.calculatedLineHeight,O=0;O<u.length;O++){var T=this._getOrCreateChild(No),L=T.createStyle();T.useStyle(L),L.text=u[O],L.x=v,L.y=y,m&&(L.textAlign=m),L.textBaseline="middle",L.opacity=t.opacity,L.strokeFirst=!0,S&&(L.shadowBlur=t.textShadowBlur||0,L.shadowColor=t.textShadowColor||"transparent",L.shadowOffsetX=t.textShadowOffsetX||0,L.shadowOffsetY=t.textShadowOffsetY||0),L.stroke=M,L.fill=x,M&&(L.lineWidth=t.lineWidth||w,L.lineDash=t.lineDash,L.lineDashOffset=t.lineDashOffset||0),L.font=e,rs(L,t),y+=c,C&&T.setBoundingRect(new Ni(Bi(L.x,t.width,L.textAlign),Wi(L.y,D,L.textBaseline),l,D))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new ka;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,a=e.height,o=e.overflow,s="break"!==o&&"breakAll"!==o||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===o},l=ma.lastIndex=0;null!=(i=ma.exec(t));){var u=i.index;u>l&&xa(n,t.substring(l,u),e,s),xa(n,i[2],e,s,i[1]),l=ma.lastIndex}l<t.length&&xa(n,t.substring(l,t.length),e,s);var c=[],h=0,d=0,f=e.padding,p="truncate"===o,m="truncate"===e.lineOverflow;function g(t,e,n){t.width=e,t.lineHeight=n,h+=n,d=Math.max(d,e)}t:for(var v=0;v<n.lines.length;v++){for(var y=n.lines[v],_=0,b=0,w=0;w<y.tokens.length;w++){var k=(I=y.tokens[w]).styleName&&e.rich[I.styleName]||{},x=I.textPadding=k.padding,M=x?x[1]+x[3]:0,S=I.font=k.font||e.font;I.contentHeight=Ui(S);var C=nt(k.height,I.contentHeight);if(I.innerHeight=C,x&&(C+=x[0]+x[2]),I.height=C,I.lineHeight=it(k.lineHeight,e.lineHeight,C),I.align=k&&k.align||e.align,I.verticalAlign=k&&k.verticalAlign||"middle",m&&null!=a&&h+I.lineHeight>a){w>0?(y.tokens=y.tokens.slice(0,w),g(y,b,_),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var D=k.width,O=null==D||"auto"===D;if("string"==typeof D&&"%"===D.charAt(D.length-1))I.percentWidth=D,c.push(I),I.contentWidth=Vi(I.text,S);else{if(O){var T=k.backgroundColor,L=T&&T.image;L&&pa(L=ha(L))&&(I.width=Math.max(I.width,L.width*C/L.height))}var A=p&&null!=r?r-b:null;null!=A&&A<I.width?!O||A<M?(I.text="",I.width=I.contentWidth=0):(I.text=ga(I.text,A-M,S,e.ellipsis,{minChar:e.truncateMinChar}),I.width=I.contentWidth=Vi(I.text,S)):I.contentWidth=Vi(I.text,S)}I.width+=M,b+=I.width,k&&(_=Math.max(_,I.lineHeight))}g(y,b,_)}for(n.outerWidth=n.width=nt(r,d),n.outerHeight=n.height=nt(a,h),n.contentHeight=h,n.contentWidth=d,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),v=0;v<c.length;v++){var I;(I=c[v]).width=parseInt(I.percentWidth,10)/100*n.width}return n}(cs(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,a=t.padding,o=t.y||0,s=this._defaultStyle,l=t.verticalAlign||s.verticalAlign,u=Bi(t.x||0,i,t.align||s.align),c=Wi(o,r,l),h=u,d=c;a&&(h+=a[3],d+=a[0]);var f=h+n;hs(t)&&this._renderBackground(t,t,u,c,i,r);for(var p=!!t.backgroundColor,m=0;m<e.lines.length;m++){for(var g=e.lines[m],v=g.tokens,y=v.length,_=g.lineHeight,b=g.width,w=0,k=h,x=f,M=y-1,S=void 0;w<y&&(!(S=v[w]).align||"left"===S.align);)this._placeToken(S,t,_,d,k,"left",p),b-=S.width,k+=S.width,w++;for(;M>=0&&"right"===(S=v[M]).align;)this._placeToken(S,t,_,d,x,"right",p),b-=S.width,x-=S.width,M--;for(k+=(n-(k-h)-(f-x)-b)/2;w<=M;)this._placeToken(S=v[w],t,_,d,k+S.width/2,"center",p),k+=S.width,w++;d+=_}},e.prototype._placeToken=function(t,e,n,i,r,a,o){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&hs(s)&&this._renderBackground(s,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,h=t.textPadding;h&&(r=us(r,a,h),u-=t.height/2-h[0]-t.innerHeight/2);var d=this._getOrCreateChild(No),p=d.createStyle();d.useStyle(p);var m=this._defaultStyle,g=!1,v=0,y=ls("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,m.fill)),_=ss("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||o||m.autoStroke&&!g?null:(v=2,m.stroke)),b=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=r,p.y=u,b&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=a,p.textBaseline="middle",p.font=t.font||f,p.opacity=it(s.opacity,e.opacity,1),rs(p,s),_&&(p.lineWidth=it(s.lineWidth,e.lineWidth,v),p.lineDash=nt(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=_),y&&(p.fill=y);var w=t.contentWidth,k=t.contentHeight;d.setBoundingRect(new Ni(Bi(p.x,w,p.textAlign),Wi(p.y,k,p.textBaseline),w,k))},e.prototype._renderBackground=function(t,e,n,i,r,a){var o,s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,f=u&&!d,p=t.borderRadius,m=this;if(f||t.lineHeight||c&&h){(o=this._getOrCreateChild(Ko)).useStyle(o.createStyle()),o.style.fill=null;var g=o.shape;g.x=n,g.y=i,g.width=r,g.height=a,g.r=p,o.dirtyShape()}if(f)(l=o.style).fill=u||null,l.fillOpacity=nt(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(zo)).onload=function(){m.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=a}c&&h&&((l=o.style).lineWidth=c,l.stroke=h,l.strokeOpacity=nt(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(o||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=it(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return as(t)&&(e=[t.fontStyle,t.fontWeight,is(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&st(e)||t.textFont||t.font},e}(Ra),ts={left:!0,right:1,center:1},es={top:1,bottom:1,middle:1},ns=["fontStyle","fontWeight","fontSize","fontFamily"];function is(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function rs(t,e){for(var n=0;n<ns.length;n++){var i=ns[n],r=e[i];null!=r&&(t[i]=r)}}function as(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function os(t){if(t){t.font=$o.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||ts[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||es[n]?n:"top",t.padding&&(t.padding=at(t.padding))}}function ss(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function ls(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function us(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function cs(t){var e=t.text;return null!=e&&(e+=""),e}function hs(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var ds=$o,fs=Br(),ps=function(t,e,n,i){if(i){var r=fs(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse(function(i){var r=fs(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e})}},ms=1,gs={},vs=Br(),ys=Br(),_s=["emphasis","blur","select"],bs=["normal","emphasis","blur","select"];function ws(t){return null!=t&&"none"!==t}var ks=new Ze(100);function xs(t){if(G(t)){var e=ks.get(t);return e||(e=hn(t,-.1),ks.put(t,e)),e}if($(t)){var n=I({},t);return n.colorStops=N(t.colorStops,function(t){return{offset:t.offset,color:hn(t.color,-.1)}}),n}return t}function Ms(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Ss(t){Ms(t,"emphasis",2)}function Cs(t){2===t.hoverState&&Ms(t,"normal",0)}function Ds(t){Ms(t,"blur",1)}function Os(t){1===t.hoverState&&Ms(t,"normal",0)}function Ts(t){t.selected=!0}function Ls(t){t.selected=!1}function As(t,e,n){e(t,n)}function Is(t,e,n){As(t,e,n),t.isGroup&&t.traverse(function(t){As(t,e,n)})}function Ps(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function Es(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&E(n,"select")>=0,a=!1;if(t instanceof Ro){var o=vs(t),s=r&&o.selectFill||o.normalFill,l=r&&o.selectStroke||o.normalStroke;if(ws(s)||ws(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(a=!0,i=I({},i),(u=I({},u)).fill=s):!ws(u.fill)&&ws(s)?(a=!0,i=I({},i),(u=I({},u)).fill=xs(s)):!ws(u.stroke)&&ws(l)&&(a||(i=I({},i),u=I({},u)),u.stroke=xs(l)),i.style=u}}if(i&&null==i.z2){a||(i=I({},i));var c=t.z2EmphasisLift;i.z2=t.z2+(null!=c?c:10)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=E(t.currentStates,e)>=0,r=t.style.opacity,a=i?null:function(t,e,n,i){for(var r=t.style,a={},o=0;o<e.length;o++){var s=e[o],l=r[s];a[s]=null==l?i&&i[s]:l}for(o=0;o<t.animators.length;o++){var u=t.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(a,e)}return a}(t,["opacity"],e,{opacity:1}),o=(n=n||{}).style||{};return null==o.opacity&&(n=I({},n),o=I({opacity:i?r:.1*a.opacity},o),n.style=o),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=I({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:9)}return n}(this,0,n)}return n}function Rs(t){t.stateProxy=Es;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Es),n&&(n.stateProxy=Es)}function Ys(t,e){!Ws(t,e)&&!t.__highByOuter&&Is(t,Ss)}function js(t,e){!Ws(t,e)&&!t.__highByOuter&&Is(t,Cs)}function Ns(t,e){t.__highByOuter|=1<<(e||0),Is(t,Ss)}function Fs(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Is(t,Cs)}function Vs(t){Is(t,Ds)}function Hs(t){Is(t,Os)}function zs(t){Is(t,Ts)}function Bs(t){Is(t,Ls)}function Ws(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Us(t){t.getModel().eachComponent(function(e,n){var i=ys(n);i.isBlured&&("series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n)).group.traverse(function(t){Os(t)}),i.isBlured=!1})}function Gs(t,e,n,i){var r=i.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&Hs(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var o=r.getSeriesByIndex(t),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries(function(t){var r=o===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){Ds(t)}),Y(e))a(t.getData(),e);else if(Z(e))for(var c=H(e),h=0;h<c.length;h++)a(t.getData(c[h]),e[c[h]]);l.push(t),ys(t).isBlured=!0}}),r.eachComponent(function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.blurSeries&&n.blurSeries(l,r)}})}}function qs(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){ys(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){Ds(t)})}}}function Xs(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var a=i.getModel().getComponent(t,e);if(!a)return r;var o=i.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return r;for(var s,l=o.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===fs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function Zs(t){j(t.getAllData(),function(e){var n=e.type;e.data.eachItemGraphicEl(function(e,i){t.isSelected(i,n)?zs(e):Bs(e)})})}function Ks(t){var e=[];return t.eachSeries(function(t){j(t.getAllData(),function(n){var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var a={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(a.dataType=i),e.push(a)}})}),e}function Js(t,e,n){il(t,!0),Is(t,Rs),$s(t,e,n)}function Qs(t,e,n,i){i?function(t){il(t,!1)}(t):Js(t,e,n)}function $s(t,e,n){var i=fs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var tl=["emphasis","blur","select"],el={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function nl(t,e,n,i){n=n||"itemStyle";for(var r=0;r<tl.length;r++){var a=tl[r],o=e.getModel([a,n]);t.ensureState(a).style=i?i(o):o[el[n]]()}}function il(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function rl(t){return!(!t||!t.__highDownDispatcher)}function al(t){var e=t.type;return"select"===e||"unselect"===e||"toggleSelect"===e}function ol(t){var e=t.type;return"highlight"===e||"downplay"===e}var sl=Br();function ll(t,e,n,i,r){var a;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();a=o&&o.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return i?(l=nt(i.duration,200),u=nt(i.easing,"cubicOut"),c=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),c=e.getShallow(s?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(l=a.duration),null!=a.easing&&(u=a.easing),null!=a.delay&&(c=a.delay)),U(c)&&(c=c(n,r)),U(l)&&(l=l(n)),{duration:l||0,delay:c,easing:u}}return null}function ul(t,e,n,i,r,a,o){var s,l=!1;U(r)?(o=a,a=r,r=null):Z(r)&&(a=r.cb,o=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=ll(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(c&&c.duration>0){var h={duration:c.duration,delay:c.delay||0,easing:c.easing,done:a,force:!!a||!!o,setToFinal:!u,scope:t,during:o};l?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!l&&e.attr(n),o&&o(1),a&&a()}function cl(t,e,n,i,r,a){ul("update",t,e,n,i,r,a)}function hl(t,e,n,i,r,a){ul("enter",t,e,n,i,r,a)}function dl(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function fl(t,e,n,i,r,a){dl(t)||ul("leave",t,e,n,i,r,a)}function pl(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),fl(t,{style:{opacity:0}},e,n,i)}function ml(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||pl(t,e,n,i)}):pl(t,e,n,i)}function gl(t){sl(t).oldStyle=t.style}var vl={};function yl(t,e){for(var n=0;n<_s.length;n++){var i=_s[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var o=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(o,!0)}function _l(t,e,n){var i,r=t.labelFetcher,a=t.labelDataIndex,o=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(a,"normal",null,o,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=U(t.defaultText)?t.defaultText(a,t,n):t.defaultText);for(var l={normal:i},u=0;u<_s.length;u++){var c=_s[u],h=e[c];l[c]=nt(r?r.getFormattedLabel(a,c,null,o,h&&h.get("formatter")):null,i)}return l}function bl(t,e,n,i){n=n||vl;for(var r=t instanceof ds,a=!1,o=0;o<bs.length;o++)if((d=e[bs[o]])&&d.getShallow("show")){a=!0;break}var s=r?t:t.getTextContent();if(a){r||(s||(s=new ds,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=_l(n,e),u=e.normal,c=!!u.getShallow("show"),h=kl(u,i&&i.normal,n,!1,!r);for(h.text=l.normal,r||t.setTextConfig(xl(u,n,!1)),o=0;o<_s.length;o++){var d,f=_s[o];if(d=e[f]){var p=s.ensureState(f),m=!!nt(d.getShallow("show"),c);m!==c&&(p.ignore=!m),p.style=kl(d,i&&i[f],n,!0,!r),p.style.text=l[f],r||(t.ensureState(f).textConfig=xl(d,n,!0))}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!c,s.useStyle(h),s.dirty(),n.enableTextSetter&&(Tl(s).setLabelText=function(t){var i=_l(n,e,t);yl(s,i)})}else s&&(s.ignore=!0);t.dirty()}function wl(t,e){for(var n={normal:t.getModel(e=e||"label")},i=0;i<_s.length;i++){var r=_s[i];n[r]=t.getModel([r,e])}return n}function kl(t,e,n,i,r){var a={};return function(t,e,n,i,r){n=n||vl;var a,o=e.ecModel,s=o&&o.option.textStyle,l=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||vl).rich;if(n){e=e||{};for(var i=H(n),r=0;r<i.length;r++)e[i[r]]=1}t=t.parentModel}return e}(e);if(l)for(var u in a={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);Dl(a[u]={},c,s,n,i,r,!1,!0)}a&&(t.rich=a);var h=e.get("overflow");h&&(t.overflow=h);var d=e.get("minMargin");null!=d&&(t.margin=d),Dl(t,e,s,n,i,r,!0,!1)}(a,t,n,i,r),e&&I(a,e),a}function xl(t,e,n){e=e||{};var i,r={},a=t.getShallow("rotate"),o=nt(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=a&&(a*=Math.PI/180,r.rotation=a),null!=o&&(r.distance=o),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Ml=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Sl=["align","lineHeight","width","height","tag","verticalAlign"],Cl=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Dl(t,e,n,i,r,a,o,s){n=!r&&n||vl;var l=i&&i.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=nt(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),a||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var d=nt(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var f=nt(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var p=nt(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(t.lineDashOffset=p),r||null!=h||s||(h=i&&i.defaultOpacity),null!=h&&(t.opacity=h),r||a||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var m=0;m<Ml.length;m++)null!=(y=nt(e.getShallow(v=Ml[m]),n[v]))&&(t[v]=y);for(m=0;m<Sl.length;m++)null!=(y=e.getShallow(v=Sl[m]))&&(t[v]=y);if(null==t.verticalAlign){var g=e.getShallow("baseline");null!=g&&(t.verticalAlign=g)}if(!o||!i.disableBox){for(m=0;m<Cl.length;m++){var v,y;null!=(y=e.getShallow(v=Cl[m]))&&(t[v]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Ol(t,e){var n=e&&e.getModel("textStyle");return st([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Tl=Br();function Ll(t,e,n,i){if(t){var r=Tl(t);r.prevValue=r.value,r.value=n;var a=e.normal;r.valueAnimation=a.get("valueAnimation"),r.valueAnimation&&(r.precision=a.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function Al(t,e,n,i,r){var a=Tl(t);if(a.valueAnimation&&a.prevValue!==a.value){var o=a.defaultInterpolatedText,s=nt(a.interpolatedValue,a.prevValue),l=a.value;t.percent=0,(null==a.prevValue?hl:cl)(t,{percent:1},i,e,null,function(i){var u=Qr(n,a.precision,s,l,i);a.interpolatedValue=1===i?null:u;var c=_l({labelDataIndex:e,labelFetcher:r,defaultText:o?o(u):u+""},a.statesModels,u);yl(t,c)})}}var Il,Pl,El=["textStyle","color"],Rl=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Yl=new ds,jl=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(El):null)},t.prototype.getFont=function(){return Ol({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Rl.length;n++)e[Rl[n]]=this.getShallow(Rl[n]);return Yl.useStyle(e),Yl.update(),Yl.getBoundingRect()},t}(),Nl=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Fl=sa(Nl),Vl=function(){function t(){}return t.prototype.getLineStyle=function(t){return Fl(this,t)},t}(),Hl=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],zl=sa(Hl),Bl=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return zl(this,t,e)},t}(),Wl=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){L(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(T(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!d.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();ea(Wl),Il=Wl,Pl=["__\0is_clz",ia++].join("_"),Il.prototype[Pl]=!0,Il.isInstance=function(t){return!(!t||!t[Pl])},R(Wl,Vl),R(Wl,Bl),R(Wl,ua),R(Wl,jl);var Ul=Wl,Gl=Math.round(10*Math.random());function ql(t){return[t||"",Gl++].join("_")}function Xl(t,e){return L(L({},t,!0),e,!0)}var Zl={},Kl={},Jl=d.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function Ql(t,e){t=t.toUpperCase(),Kl[t]=new Ul(e),Zl[t]=e}function $l(t){return Kl[t]}Ql("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Ql("ZH",{time:{month:["\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"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}});var tu={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},eu={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+tu.hour,minute:"{yyyy}-{MM}-{dd} "+tu.minute,second:"{yyyy}-{MM}-{dd} "+tu.second,millisecond:tu.none},nu=["year","month","day","hour","minute","second","millisecond"],iu=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ru(t,e){return"0000".substr(0,e-(t+="").length)+t}function au(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function ou(t,e,n,i){var r=br(t),a=r[uu(n)](),o=r[cu(n)]()+1,s=Math.floor((o-1)/4)+1,l=r[hu(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[du(n)](),h=(c-1)%12+1,d=r[fu(n)](),f=r[pu(n)](),p=r[mu(n)](),m=(i instanceof Ul?i:$l(i||Jl)||Kl.EN).getModel("time"),g=m.get("month"),v=m.get("monthAbbr"),y=m.get("dayOfWeek"),_=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,v[o-1]).replace(/{MM}/g,ru(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ru(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,y[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ru(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ru(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,ru(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,ru(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,ru(p,3)).replace(/{S}/g,p+"")}function su(t,e){var n=br(t),i=n[cu(e)]()+1,r=n[hu(e)](),a=n[du(e)](),o=n[fu(e)](),s=n[pu(e)](),l=0===n[mu(e)](),u=l&&0===s,c=u&&0===o,h=c&&0===a,d=h&&1===r;return d&&1===i?"year":d?"month":h?"day":c?"hour":u?"minute":l?"second":"millisecond"}function lu(t,e,n){var i=X(t)?br(t):t;switch(e=e||su(t,n)){case"year":return i[uu(n)]();case"half-year":return i[cu(n)]()>=6?1:0;case"quarter":return Math.floor((i[cu(n)]()+1)/4);case"month":return i[cu(n)]();case"day":return i[hu(n)]();case"half-day":return i[du(n)]()/24;case"hour":return i[du(n)]();case"minute":return i[fu(n)]();case"second":return i[pu(n)]();case"millisecond":return i[mu(n)]()}}function uu(t){return t?"getUTCFullYear":"getFullYear"}function cu(t){return t?"getUTCMonth":"getMonth"}function hu(t){return t?"getUTCDate":"getDate"}function du(t){return t?"getUTCHours":"getHours"}function fu(t){return t?"getUTCMinutes":"getMinutes"}function pu(t){return t?"getUTCSeconds":"getSeconds"}function mu(t){return t?"getUTCMilliseconds":"getMilliseconds"}function gu(t){return t?"setUTCFullYear":"setFullYear"}function vu(t){return t?"setUTCMonth":"setMonth"}function yu(t){return t?"setUTCDate":"setDate"}function _u(t){return t?"setUTCHours":"setHours"}function bu(t){return t?"setUTCMinutes":"setMinutes"}function wu(t){return t?"setUTCSeconds":"setSeconds"}function ku(t){return t?"setUTCMilliseconds":"setMilliseconds"}function xu(t){if(!Cr(t))return G(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Mu(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Su=at,Cu=/([&<>"'])/g,Du={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ou(t){return null==t?"":(t+"").replace(Cu,function(t,e){return Du[e]})}function Tu(t,e,n){function i(t){return t&&st(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,o=t instanceof Date;if(a||o){var s=a?br(t):t;if(!isNaN(+s))return ou(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(o)return"-"}if("ordinal"===e)return q(t)?i(t):X(t)&&r(t)?t+"":"-";var l=Sr(t);return r(l)?xu(l):q(t)?i(t):"boolean"==typeof t?t+"":"-"}var Lu=["a","b","c","d","e","f","g"],Au=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Iu(t,e,n){W(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],a=0;a<r.length;a++){var o=Lu[a];t=t.replace(Au(o),Au(o,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(Au(Lu[l],s),n?Ou(u):u)}return t}function Pu(t,e){return e=e||"transparent",G(t)?t:Z(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Eu(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Ru=j,Yu=["left","right","top","bottom","width","height"],ju=[["width","left","right"],["height","top","bottom"]];function Nu(t,e,n,i,r){var a=0,o=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,d=l.getBoundingRect(),f=e.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===t){var m=d.width+(p?-p.x+d.x:0);(c=a+m)>i||l.newline?(a=0,c=m,o+=s+n,s=d.height):s=Math.max(s,d.height)}else{var g=d.height+(p?-p.y+d.y:0);(h=o+g)>r||l.newline?(a+=s+n,o=0,h=g,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===t?a=c+n:o=h+n)})}var Fu=Nu;function Vu(t,e,n){n=Su(n||0);var i=e.width,r=e.height,a=hr(t.left,i),o=hr(t.top,r),s=hr(t.right,i),l=hr(t.bottom,r),u=hr(t.width,i),c=hr(t.height,r),h=n[2]+n[0],d=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=i-s-d-a),isNaN(c)&&(c=r-l-h-o),null!=f&&(isNaN(u)&&isNaN(c)&&(f>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(a)&&(a=i-s-u-d),isNaN(o)&&(o=r-l-c-h),t.left||t.right){case"center":a=i/2-u/2-n[3];break;case"right":a=i-u-d}switch(t.top||t.bottom){case"middle":case"center":o=r/2-c/2-n[0];break;case"bottom":o=r-c-h}a=a||0,o=o||0,isNaN(u)&&(u=i-d-a-(s||0)),isNaN(c)&&(c=r-h-o-(l||0));var p=new Ni(a+n[3],o+n[0],u,c);return p.margin=n,p}function Hu(t,e,n,i,r,a){var o,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((a=a||t).x=t.x,a.y=t.y,!s&&!l)return!1;if("raw"===u)o="group"===t.type?new Ni(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(o=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(o=o.clone()).applyTransform(c)}var h=Vu(P({width:o.width,height:o.height},e),n,i),d=s?h.x-o.x:0,f=l?h.y-o.y:0;return"raw"===u?(a.x=d,a.y=f):(a.x+=d,a.y+=f),a===t&&t.markRedraw(),!0}function zu(t){var e=t.layoutMode||t.constructor.layoutMode;return Z(e)?e:e?{type:e}:null}function Bu(t,e,n){var i=n&&n.ignoreSize;!W(i)&&(i=[i,i]);var r=o(ju[0],0),a=o(ju[1],1);function o(n,r){var a={},o=0,u={},c=0;if(Ru(n,function(e){u[e]=t[e]}),Ru(n,function(t){s(e,t)&&(a[t]=u[t]=e[t]),l(a,t)&&o++,l(u,t)&&c++}),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&o){if(o>=2)return a;for(var h=0;h<n.length;h++){var d=n[h];if(!s(a,d)&&s(t,d)){a[d]=t[d];break}}return a}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Ru(t,function(t){e[t]=n[t]})}u(ju[0],t,r),u(ju[1],t,a)}function Wu(t){return Uu({},t)}function Uu(t,e){return e&&t&&Ru(Yu,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}B(Nu,"vertical"),B(Nu,"horizontal");var Gu=Br(),qu=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=ql("ec_cpt_model"),r}var n;return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=zu(this),i=n?Wu(t):{};L(t,e.getTheme().get(this.mainType)),L(t,this.getDefaultOption()),n&&Bu(t,i,n)},e.prototype.mergeOption=function(t,e){L(this.option,t,!0);var n=zu(this);n&&Bu(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t.___EC__EXTENDED_CLASS___)}(t))return t.defaultOption;var e=Gu(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var a={},o=n.length-1;o>=0;o--)a=L(a,n[o],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Id";return Zr(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(n,!0)},e)},e.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(Ul);na(qu,Ul),oa(qu),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=ta(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var a=ta(n).main;t.hasSubTypes(n)&&e[a]&&(r=e[a](i))}return r}}(qu),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,i,r){if(t.length){var a=function(t){var e={},i=[];return j(t,function(r){var a,o,s=n(e,r),l=function(t,e){var n=[];return j(t,function(t){E(e,t)>=0&&n.push(t)}),n}(s.originalDeps=(o=[],j(qu.getClassesByMainType(a=r),function(t){o=o.concat(t.dependencies||t.prototype.dependencies||[])}),o=N(o,function(t){return ta(t).main}),"dataset"!==a&&E(o,"dataset")<=0&&o.unshift("dataset"),o),t);s.entryCount=l.length,0===s.entryCount&&i.push(r),j(l,function(t){E(s.predecessor,t)<0&&s.predecessor.push(t);var i=n(e,t);E(i.successor,t)<0&&i.successor.push(r)})}),{graph:e,noEntryList:i}}(e),o=a.graph,s=a.noEntryList,l={};for(j(t,function(t){l[t]=!0});s.length;){var u=s.pop(),c=o[u],h=!!l[u];h&&(i.call(r,u,c.originalDeps.slice()),delete l[u]),j(c.successor,h?f:d)}j(l,function(){throw new Error("")})}function d(t){o[t].entryCount--,0===o[t].entryCount&&s.push(t)}function f(t){l[t]=!0,d(t)}}}(qu);var Xu=qu,Zu="";"undefined"!=typeof navigator&&(Zu=navigator.platform||"");var Ku="rgba(0, 0, 0, 0.2)",Ju={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ku,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ku,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ku,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ku,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ku,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ku,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zu.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Qu=ht(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),$u=Br();function tc(t,e,n){var i={},r=nc(e);if(!r||!t)return i;var a,o,s=[],l=[],u=$u(e.ecModel).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;j(t=t.slice(),function(e,n){var r=Z(e)?e:t[n]={name:e};"ordinal"===r.type&&null==a&&(a=n,o=f(r)),i[r.name]=[]});var h=u.get(c)||u.set(c,{categoryWayDim:o,valueWayDim:0});function d(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function f(t){var e=t.dimsDef;return e?e.length:1}return j(t,function(t,e){var n=t.name,r=f(t);if(null==a)d(i[n],o=h.valueWayDim,r),d(l,o,r),h.valueWayDim+=r;else if(a===e)d(i[n],0,r),d(s,0,r);else{var o;d(i[n],o=h.categoryWayDim,r),d(l,o,r),h.categoryWayDim+=r}}),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function ec(t,e,n){var i={};if(!nc(t))return i;var r,a=e.sourceFormat,o=e.dimensionsDefine;"objectRows"!==a&&"keyedColumns"!==a||j(o,function(t,e){"name"===(Z(t)?t.name:t)&&(r=e)});var s=function(){for(var t={},i={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=rc(e.data,a,e.seriesLayoutBy,o,e.startIndex,l);s.push(c);var h=3===c;if(h&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!h&&3===s[t.n])&&(t.n=l),d(t)&&3!==s[t.n])return t;h||(2===c&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function nc(t){if(!t.get("data",!0))return Zr(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},qr).models[0]}function ic(t,e){return rc(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function rc(t,e,n,i,r,a){var o,s,l;if(J(t))return 3;if(i){var u=i[a];Z(u)?(s=u.name,l=u.type):G(u)&&(s=u)}if(null!=l)return"ordinal"===l?1:3;if("arrayRows"===e){var c=t;if("row"===n){for(var h=c[a],d=0;d<(h||[]).length&&d<5;d++)if(null!=(o=y(h[r+d])))return o}else for(d=0;d<c.length&&d<5;d++){var f=c[r+d];if(f&&null!=(o=y(f[a])))return o}}else if("objectRows"===e){var p=t;if(!s)return 3;for(d=0;d<p.length&&d<5;d++)if((g=p[d])&&null!=(o=y(g[s])))return o}else if("keyedColumns"===e){if(!s)return 3;if(!(h=t[s])||J(h))return 3;for(d=0;d<h.length&&d<5;d++)if(null!=(o=y(h[d])))return o}else if("original"===e){var m=t;for(d=0;d<m.length&&d<5;d++){var g,v=Er(g=m[d]);if(!W(v))return 3;if(null!=(o=y(v[a])))return o}}function y(t){var e=G(t);return null!=t&&isFinite(t)&&""!==t?e?2:3:e&&"-"!==t?1:void 0}return 3}var ac,oc,sc,lc=ht(),uc=Br(),cc=Br(),hc=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=Ar(this.get("color",!0)),r=this.get("colorLayer",!0);return fc(this,uc,i,r,t,e,n)},t.prototype.clearColorPalette=function(){var t;(t=uc)(this).paletteIdx=0,t(this).paletteNameMap={}},t}();function dc(t,e,n,i){var r=Ar(t.get(["aria","decal","decals"]));return fc(t,cc,r,null,e,n,i)}function fc(t,e,n,i,r,a,o){var s=e(a=a||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=o&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,o):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}function pc(t){throw new Error(t)}"undefined"!=typeof console&&console.warn&&console;var mc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.init=function(t,e,n,i,r,a){i=i||{},this.option=null,this._theme=new Ul(i),this._locale=new Ul(r),this._optionManager=a},e.prototype.setOption=function(t,e,n){var i=yc(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,yc(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):sc(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this);o.length&&j(o,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],o=ht(),s=e&&e.replaceMergeMainTypeMap;$u(this).datasetMap=ht(),j(t,function(t,e){null!=t&&(Xu.hasClass(e)?e&&(a.push(e),o.set(e,!0)):n[e]=null==n[e]?T(t):L(n[e],t,!0))}),s&&s.each(function(t,e){Xu.hasClass(e)&&!o.get(e)&&(a.push(e),o.set(e,!0))}),Xu.topologicalTravel(a,Xu.getAllClassMainTypes(),function(e){var a=function(t,e,n){var i=lc.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Ar(t[e])),o=i.get(e),l=Yr(o,a,o?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll");(function(t,e,n){j(t,function(t){var i=t.newOption;Z(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))})})(l,e,Xu),n[e]=null,i.set(e,null),r.set(e,0);var u,c=[],h=[],d=0;j(l,function(t,n){var i=t.existing,r=t.newOption;if(r){var a=Xu.getClass(e,t.keyInfo.subType,!("series"===e));if(!a)return;if("tooltip"===e){if(u)return;u=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var o=I({componentIndex:n},t.keyInfo);I(i=new a(r,this,this,o),o),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),h.push(i),d++):(c.push(void 0),h.push(void 0))},this),n[e]=c,i.set(e,h),r.set(e,d),"series"===e&&ac(this)},this),this._seriesIndices||ac(this)},e.prototype.getOption=function(){var t=T(this.option);return j(t,function(e,n){if(Xu.hasClass(n)){for(var i=Ar(e),r=i.length,a=!1,o=r-1;o>=0;o--)i[o]&&!Hr(i[o])?a=!0:(i[o]=null,!a&&r--);i.length=r,t[n]=i}}),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,a=t.name,o=this._componentsMap.get(e);return o&&o.length?(null!=i?(n=[],j(Ar(i),function(t){o[t]&&n.push(o[t])})):n=null!=r?gc("id",r,o):null!=a?gc("name",a,o):V(o,function(t){return!!t}),vc(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,a,o=t.mainType,s=(n=o+"Index",i=o+"Id",r=o+"Name",!(e=t.query)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:o,index:e[n],id:e[i],name:e[r]});return a=vc(s?this.queryComponents(s):V(this._componentsMap.get(o),function(t){return!!t}),t),t.filter?V(a,t.filter):a},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(U(t)){var r=e,a=t;i.each(function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&a.call(r,e,i,i.componentIndex)}})}else for(var o=G(t)?i.get(t):Z(t)?this.findComponents(t):null,s=0;o&&s<o.length;s++){var l=o[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Fr(t,null);return V(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return V(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return V(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){oc(this),j(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){j(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){oc(this),j(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return j(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return oc(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){oc(this);var n=[];j(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=ht(n)},e.prototype.restoreData=function(t){ac(this);var e=this._componentsMap,n=[];e.each(function(t,e){Xu.hasClass(e)&&n.push(e)}),Xu.topologicalTravel(n,Xu.getAllClassMainTypes(),function(n){j(e.get(n),function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()})})},e.internalField=(ac=function(t){var e=t._seriesIndices=[];j(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=ht(e)},oc=function(t){},void(sc=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=ht({series:[]}),t._componentsCount=ht();var n,i,r=e.aria;Z(r)&&null==r.enabled&&(r.enabled=!0),i=(n=e).color&&!n.colorLayer,j(t._theme.option,function(t,e){"colorLayer"===e&&i||Xu.hasClass(e)||("object"==typeof t?n[e]=n[e]?L(n[e],t,!1):T(t):null==n[e]&&(n[e]=t))}),L(e,Ju,!1),t._mergeOption(e,null)})),e}(Ul);function gc(t,e,n){if(W(e)){var i=ht();return j(e,function(t){null!=t&&null!=Fr(t,null)&&i.set(t,!0)}),V(n,function(e){return e&&i.get(e[t])})}var r=Fr(e,null);return V(n,function(e){return e&&null!=r&&e[t]===r})}function vc(t,e){return e.hasOwnProperty("subType")?V(t,function(t){return t&&t.subType===e.subType}):t}function yc(t){var e=ht();return t&&j(Ar(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}R(mc,hc);var _c=mc,bc=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],wc=function(t){j(bc,function(e){this[e]=z(t[e],t)},this)},kc={},xc=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];j(kc,function(i,r){var a=i.create(t,e);n=n.concat(a||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){j(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){kc[t]=e},t.get=function(t){return kc[t]},t}(),Mc=/^(min|max)?(.+)$/;function Sc(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return j(t,function(t,e){var n=e.match(Mc);if(n&&n[1]&&n[2]){var a=n[1],o=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[o],t,a)||(r=!1)}}),r}var Cc=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(j(Ar(t.series),function(t){t&&t.data&&J(t.data)&&lt(t.data)}),j(Ar(t.dataset),function(t){t&&t.source&&J(t.source)&&lt(t.source)})),t=T(t);var i=this._optionBackup,r=function(t,e,n){var i,r,a=[],o=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||o&&o.timeline);function d(t){j(e,function(e){e(t,n)})}return o?(r=o).timeline||(r.timeline=s):((h||c)&&(t.options=t.media=null),r=t),c&&W(u)&&j(u,function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))}),d(r),j(l,function(t){return d(t)}),j(a,function(t){return d(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],T(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=T(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n=this._api.getWidth(),i=this._api.getHeight(),r=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!r.length&&!a)return s;for(var l=0,u=r.length;l<u;l++)Sc(r[l].query,n,i)&&o.push(l);return!o.length&&a&&(o=[-1]),o.length&&(e=this._currentMediaIndices,o.join(",")!==e.join(","))&&(s=N(o,function(t){return T(-1===t?a.option:r[t].option)})),this._currentMediaIndices=o,s},t}(),Dc=j,Oc=Z,Tc=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Lc(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Tc.length;n<i;n++){var r=Tc[n],a=e.normal,o=e.emphasis;a&&a[r]&&(t[r]=t[r]||{},t[r].normal?L(t[r].normal,a[r]):t[r].normal=a[r],a[r]=null),o&&o[r]&&(t[r]=t[r]||{},t[r].emphasis?L(t[r].emphasis,o[r]):t[r].emphasis=o[r],o[r]=null)}}function Ac(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,P(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function Ic(t){Ac(t,"itemStyle"),Ac(t,"lineStyle"),Ac(t,"areaStyle"),Ac(t,"label"),Ac(t,"labelLine"),Ac(t,"upperLabel"),Ac(t,"edgeLabel")}function Pc(t,e){var n=Oc(t)&&t[e],i=Oc(n)&&n.textStyle;if(i)for(var r=0,a=Pr.length;r<a;r++){var o=Pr[r];i.hasOwnProperty(o)&&(n[o]=i[o])}}function Ec(t){t&&(Ic(t),Pc(t,"label"),t.emphasis&&Pc(t.emphasis,"label"))}function Rc(t){return W(t)?t:t?[t]:[]}function Yc(t){return(W(t)?t[0]:t)||{}}function jc(t){t&&j(Nc,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var Nc=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Fc=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Vc=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Hc(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<Vc.length;n++){var i=Vc[n][1];null!=e[i]&&(e[Vc[n][0]]=e[i])}}function zc(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function Bc(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function Wc(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&Wc(t[n].children,e)}function Uc(t,e){(function(t,e){Dc(Rc(t.series),function(t){Oc(t)&&function(t){if(Oc(t)){Lc(t),Ic(t),Pc(t,"label"),Pc(t,"upperLabel"),Pc(t,"edgeLabel"),t.emphasis&&(Pc(t.emphasis,"label"),Pc(t.emphasis,"upperLabel"),Pc(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Lc(e),Ec(e));var n=t.markLine;n&&(Lc(n),Ec(n));var i=t.markArea;i&&Ec(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!J(a))for(var o=0;o<a.length;o++)Ec(a[o]);j(t.categories,function(t){Ic(t)})}if(r&&!J(r))for(o=0;o<r.length;o++)Ec(r[o]);if((e=t.markPoint)&&e.data){var s=e.data;for(o=0;o<s.length;o++)Ec(s[o])}if((n=t.markLine)&&n.data){var l=n.data;for(o=0;o<l.length;o++)W(l[o])?(Ec(l[o][0]),Ec(l[o][1])):Ec(l[o])}"gauge"===t.type?(Pc(t,"axisLabel"),Pc(t,"title"),Pc(t,"detail")):"treemap"===t.type?(Ac(t.breadcrumb,"itemStyle"),j(t.levels,function(t){Ic(t)})):"tree"===t.type&&Ic(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Dc(n,function(e){Dc(Rc(t[e]),function(t){t&&(Pc(t,"axisLabel"),Pc(t.axisPointer,"label"))})}),Dc(Rc(t.parallel),function(t){var e=t&&t.parallelAxisDefault;Pc(e,"axisLabel"),Pc(e&&e.axisPointer,"label")}),Dc(Rc(t.calendar),function(t){Ac(t,"itemStyle"),Pc(t,"dayLabel"),Pc(t,"monthLabel"),Pc(t,"yearLabel")}),Dc(Rc(t.radar),function(t){Pc(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),Dc(Rc(t.geo),function(t){Oc(t)&&(Ec(t),Dc(Rc(t.regions),function(t){Ec(t)}))}),Dc(Rc(t.timeline),function(t){Ec(t),Ac(t,"label"),Ac(t,"itemStyle"),Ac(t,"controlStyle",!0);var e=t.data;W(e)&&j(e,function(t){Z(t)&&(Ac(t,"label"),Ac(t,"itemStyle"))})}),Dc(Rc(t.toolbox),function(t){Ac(t,"iconStyle"),Dc(t.feature,function(t){Ac(t,"iconStyle")})}),Pc(Yc(t.axisPointer),"label"),Pc(Yc(t.tooltip).axisPointer,"label")})(t,e),t.series=Ar(t.series),j(t.series,function(t){if(Z(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),zc(t.label),(r=t.data)&&!J(r))for(var n=0;n<r.length;n++)zc(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n="pointer.color".split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t);null!=i&&function(t,e,n,i){for(var r,a="itemStyle.color".split(","),o=t,s=0;s<a.length-1;s++)null==o[r=a[s]]&&(o[r]={}),o=o[r];null==o[a[s]]&&(o[a[s]]=n)}(t,0,i)}else if("bar"===e){var r;if(Hc(t),Hc(t.backgroundStyle),Hc(t.emphasis),(r=t.data)&&!J(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(Hc(r[n]),Hc(r[n]&&r[n].emphasis))}else if("sunburst"===e){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),Bc(t),Wc(t.data,Bc)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&P(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),jc(t)}}),t.dataRange&&(t.visualMap=t.dataRange),j(Fc,function(e){var n=t[e];n&&(W(n)||(n=[n]),j(n,function(t){jc(t)}))})}function Gc(t){j(t,function(e,n){var i=[],r=[NaN,NaN],a=e.data,o=e.isStackedByIndex;a.modify([e.stackResultDimension,e.stackedOverDimension],function(s,l,u){var c,h,d=a.get(e.stackedDimension,u);if(isNaN(d))return r;o?h=a.getRawIndex(u):c=a.get(e.stackedByDimension,u);for(var f=NaN,p=n-1;p>=0;p--){var m=t[p];if(o||(h=m.data.rawIndexOf(m.stackedByDimension,c)),h>=0){var g=m.data.getByRawIndex(m.stackResultDimension,h);if(d>=0&&g>0||d<=0&&g<0){d=gr(d,g),f=g;break}}}return i[0]=d,i[1]=f,i})})}var qc,Xc,Zc,Kc,Jc,Qc=function(t){this.data=t.data||("keyedColumns"===t.sourceFormat?{}:[]),this.sourceFormat=t.sourceFormat||"unknown",this.seriesLayoutBy=t.seriesLayoutBy||"column",this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&1===ic(this,n)&&(i.type="ordinal")}};function $c(t){return t instanceof Qc}function th(t,e,n){n=n||nh(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var a,o;if(!t)return{dimensionsDefine:ih(r),startIndex:o,dimensionsDetectedCount:a};if("arrayRows"===e){var s=t;"auto"===i||null==i?rh(function(t){null!=t&&"-"!==t&&(G(t)?null==o&&(o=1):o=0)},n,s,10):o=X(i)?i:i?1:0,r||1!==o||(r=[],rh(function(t,e){r[e]=null!=t?t+"":""},n,s,1/0)),a=r?r.length:"row"===n?s.length:s[0]?s[0].length:null}else if("objectRows"===e)r||(r=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e){var i=[];return j(e,function(t,e){i.push(e)}),i}}(t));else if("keyedColumns"===e)r||(r=[],j(t,function(t,e){r.push(e)}));else if("original"===e){var l=Er(t[0]);a=W(l)&&l.length||1}return{startIndex:o,dimensionsDefine:ih(r),dimensionsDetectedCount:a}}(t,n,i,e.sourceHeader,e.dimensions);return new Qc({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:T(e)})}function eh(t){return new Qc({data:t,sourceFormat:J(t)?"typedArray":"original"})}function nh(t){var e="unknown";if(J(t))e="typedArray";else if(W(t)){0===t.length&&(e="arrayRows");for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(W(r)){e="arrayRows";break}if(Z(r)){e="objectRows";break}}}}else if(Z(t))for(var a in t)if(mt(t,a)&&Y(t[a])){e="keyedColumns";break}return e}function ih(t){if(t){var e=ht();return N(t,function(t,n){var i={name:(t=Z(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i})}}function rh(t,e,n,i){if("row"===e)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var a=n[0]||[];for(r=0;r<a.length&&r<i;r++)t(a[r],r)}}function ah(t){var e=t.sourceFormat;return"objectRows"===e||"keyedColumns"===e}var oh=function(){function t(t,e){var n=$c(t)?t:eh(t);this._source=n;var i=this._data=n.data;"typedArray"===n.sourceFormat&&(this._offset=0,this._dimSize=e,this._data=i),Jc(this,i,n)}var e;return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=((e=t.prototype).pure=!1,void(e.persistent=!0)),t.internalField=function(){var t;Jc=function(t,r,a){var o=a.sourceFormat,s=a.seriesLayoutBy,l=a.startIndex,u=a.dimensionsDefine;if(I(t,Kc[gh(o,s)]),"typedArray"===o)t.getItem=e,t.count=i,t.fillStorage=n;else{var c=uh(o,s);t.getItem=z(c,null,r,l,u);var h=dh(o,s);t.count=z(h,null,r,l,u)}};var e=function(t,e){e=e||[];for(var n=this._data,i=this._dimSize,r=i*(t-=this._offset),a=0;a<i;a++)e[a]=n[r+a];return e},n=function(t,e,n,i){for(var r=this._data,a=this._dimSize,o=0;o<a;o++){for(var s=i[o],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[o],d=0;d<c;d++){var f=r[d*a+o];h[t+d]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={}).arrayRows_column={pure:!0,appendData:r},t.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t.objectRows={pure:!0,appendData:r},t.keyedColumns={pure:!0,appendData:function(t){var e=this._data;j(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t.original={appendData:r},t.typedArray={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Kc=t}(),t}(),sh=function(t,e,n,i){return t[i]},lh=((qc={}).arrayRows_column=function(t,e,n,i){return t[i+e]},qc.arrayRows_row=function(t,e,n,i,r){i+=e;for(var a=r||[],o=t,s=0;s<o.length;s++){var l=o[s];a[s]=l?l[i]:null}return a},qc.objectRows=sh,qc.keyedColumns=function(t,e,n,i,r){for(var a=r||[],o=0;o<n.length;o++){var s=t[n[o].name];a[o]=s?s[i]:null}return a},qc.original=sh,qc);function uh(t,e){return lh[gh(t,e)]}var ch=function(t,e,n){return t.length},hh=((Xc={}).arrayRows_column=function(t,e,n){return Math.max(0,t.length-e)},Xc.arrayRows_row=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},Xc.objectRows=ch,Xc.keyedColumns=function(t,e,n){var i=t[n[0].name];return i?i.length:0},Xc.original=ch,Xc);function dh(t,e){return hh[gh(t,e)]}var fh=function(t,e,n){return t[e]},ph=((Zc={}).arrayRows=fh,Zc.objectRows=function(t,e,n){return t[n]},Zc.keyedColumns=fh,Zc.original=function(t,e,n){var i=Er(t);return i instanceof Array?i[e]:i},Zc.typedArray=fh,Zc);function mh(t){return ph[t]}function gh(t,e){return"arrayRows"===t?t+"_"+e:t}function vh(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),a=r.getSource().sourceFormat;if(null!=n){var o=t.getDimensionIndex(n),s=r.getDimensionProperty(o);return mh(a)(i,o,s)}var l=i;return"original"===a&&(l=Er(i)),l}}}var yh=/\{@(.+?)\}/g,_h=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),a=n.getName(t),o=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:a,dataIndex:r,data:o,dataType:e,value:i,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,a){e=e||"normal";var o=this.getData(n),s=this.getDataParams(t,n);return a&&(s.value=a.interpolatedValue),null!=i&&W(s.value)&&(s.value=s.value[i]),r||(r=o.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),U(r)?(s.status=e,s.dimensionIndex=i,r(s)):G(r)?Iu(r,s).replace(yh,function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=vh(o,t,r);if(a&&W(a.interpolatedValue)){var l=o.getDimensionIndex(r);l>=0&&(s=a.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return vh(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function bh(t){var e,n;return Z(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function wh(t){return new kh(t)}var kh=function(){function t(t){this._reset=(t=t||{}).reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var a,o=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}o===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(a||d<f)){var p=this._progress;if(W(p))for(var m=0;m<p.length;m++)this._doProgress(p[m],d,f,l,u);else this._doProgress(p,d,f,l,u)}this._dueIndex=f,this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:f}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){xh.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:xh.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),W(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),xh=function(){var t,e,n,i,r,a={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,r=Math.ceil(i/n),a.next=n>1&&i>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var a=e%r*n+Math.ceil(e/r),o=e>=t?null:a<i?a:e;return e++,o}}();function Mh(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||X(t)||null==t||"-"===t||(t=+br(t)),null==t||""===t?NaN:+t)}var Sh=ht({number:function(t){return parseFloat(t)},time:function(t){return+br(t)},trim:function(t){return G(t)?st(t):t}});function Ch(t){return Sh.get(t)}var Dh={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},Oh=function(){function t(t,e){X(e)||pc(""),this._opFn=Dh[t],this._rvalFloat=Sr(e)}return t.prototype.evaluate=function(t){return X(t)?this._opFn(t,this._rvalFloat):this._opFn(Sr(t),this._rvalFloat)},t}(),Th=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=X(t)?t:Sr(t),i=X(e)?e:Sr(e),r=isNaN(n),a=isNaN(i);if(r&&(n=this._incomparable),a&&(i=this._incomparable),r&&a){var o=G(t),s=G(e);o&&(n=s?t:0),s&&(i=o?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),Lh=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Sr(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Sr(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Ah(t,e){return"eq"===t||"ne"===t?new Lh("eq"===t,e):mt(Dh,t)?new Oh(t,e):null}var Ih=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Mh(t,e)},t}();function Ph(t){return Fh(t.sourceFormat)||pc(""),t.data}function Eh(t){var e=t.sourceFormat,n=t.data;if(Fh(e)||pc(""),"arrayRows"===e){for(var i=[],r=0,a=n.length;r<a;r++)i.push(n[r].slice());return i}if("objectRows"===e){for(i=[],r=0,a=n.length;r<a;r++)i.push(I({},n[r]));return i}}function Rh(t,e,n){if(null!=n)return X(n)||!isNaN(n)&&!mt(e,n)?t[n]:mt(e,n)?e[n]:void 0}function Yh(t){return T(t)}var jh=ht();function Nh(t,e,n,i){e.length||pc(""),Z(t)||pc("");var r=jh.get(t.type);r||pc("");var a=N(e,function(t){return function(t,e){var n=new Ih,i=t.data,r=n.sourceFormat=t.sourceFormat,a=t.startIndex;"column"!==t.seriesLayoutBy&&pc("");var o=[],s={},l=t.dimensionsDefine;if(l)j(l,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};o.push(i),null!=n&&(mt(s,n)&&pc(""),s[n]=i)});else for(var u=0;u<t.dimensionsDetectedCount;u++)o.push({index:u});var c=uh(r,"column");e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(i,a,o,t)},n.getRawData=z(Ph,null,t)),n.cloneRawData=z(Eh,null,t);var h=dh(r,"column");n.count=z(h,null,i,a,o);var d=mh(r);n.retrieveValue=function(t,e){var n=c(i,a,o,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=o[e];return n?d(t,e,n.name):void 0}};return n.getDimensionInfo=z(Rh,null,o,s),n.cloneAllDimensionInfo=z(Yh,null,o),n}(t,r)});return N(Ar(r.transform({upstream:a[0],upstreamList:a,config:T(t.config)})),function(t,n){var i;Z(t)||pc(""),t.data||pc(""),Fh(nh(t.data))||pc("");var r=e[0];if(r&&0===n&&!t.dimensions){var a=r.startIndex;a&&(t.data=r.data.slice(0,a).concat(t.data)),i={seriesLayoutBy:"column",sourceHeader:a,dimensions:r.metaRawOption.dimensions}}else i={seriesLayoutBy:"column",sourceHeader:0,dimensions:t.dimensions};return th(t.data,i,null)})}function Fh(t){return"arrayRows"===t||"objectRows"===t}var Vh,Hh="undefined"==typeof Uint32Array?Array:Uint32Array,zh="undefined"==typeof Uint16Array?Array:Uint16Array,Bh="undefined"==typeof Int32Array?Array:Int32Array,Wh="undefined"==typeof Float64Array?Array:Float64Array,Uh={float:Wh,int:Bh,ordinal:Array,number:Array,time:Wh};function Gh(t){return t>65535?Hh:zh}function qh(t,e,n,i,r){var a=Uh[n||"float"];if(r){var o=t[e],s=o&&o.length;if(s!==i){for(var l=new a(i),u=0;u<s;u++)l[u]=o[u];t[e]=l}}else t[e]=new a(i)}var Xh=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=ht()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=Vh[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],ah(i),this._dimensions=N(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new Uh[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,a=i.ordinalOffset||0,o=n.length;0===a&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=a;l<o;l++){var u=n[l]=e.parseAndCollect(n[l]);s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1])}i.ordinalMeta=e,i.ordinalOffset=o,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,a=this._rawExtent,o=this.count(),s=o+Math.max(t.length,e||0),l=0;l<r;l++)qh(n,l,i[l].type,s,!0);for(var u=[],c=o;c<s;c++)for(var h=c-o,d=0;d<r;d++){var f=Vh.arrayRows.call(this,t[h]||u,i[d].property,h,d);n[d][c]=f;var p=a[d];f<p[0]&&(p[0]=f),f>p[1]&&(p[1]=f)}return this._rawCount=this._count=s,{start:o,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=N(a,function(t){return t.property}),u=0;u<o;u++){var c=a[u];s[u]||(s[u]=[1/0,-1/0]),qh(r,u,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var h=[],d=t;d<e;d++){h=i.getItem(d,h);for(var f=0;f<o;f++){var p=r[f],m=this._dimValueGetter(h,l[f],d,f);p[d]=m;var g=s[f];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var a=i.length;r<a;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var a=(i+r)/2|0;if(e[a]<t)i=a+1;else{if(!(e[a]>t))return a;r=a-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var a=1/0,o=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-i[this.getRawIndex(l)],h=Math.abs(c);h<=n&&((h<a||h===a&&c>=0&&o<0)&&(a=h,o=c,s=0),c===o&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=this._count;if((r=e.constructor)===Array){t=new r(n);for(var i=0;i<n;i++)t[i]=e[i]}else t=new r(e.buffer,0,n)}else{var r;for(t=new(r=Gh(this._rawCount))(this.count()),i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(Gh(n._rawCount))(i),a=[],o=t.length,s=0,l=t[0],u=n._chunks,c=0;c<i;c++){var h=void 0,d=n.getRawIndex(c);if(0===o)h=e(c);else if(1===o)h=e(u[l][d],c);else{for(var f=0;f<o;f++)a[f]=u[t[f]][d];a[f]=c,h=e.apply(null,a)}h&&(r[s++]=d)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=H(t),r=i.length;if(!r)return this;var a=e.count(),o=new(Gh(e._rawCount))(a),s=0,l=i[0],u=t[l][0],c=t[l][1],h=e._chunks,d=!1;if(!e._indices){var f=0;if(1===r){for(var p=h[i[0]],m=0;m<n;m++)((x=p[m])>=u&&x<=c||isNaN(x))&&(o[s++]=f),f++;d=!0}else if(2===r){p=h[i[0]];var g=h[i[1]],v=t[i[1]][0],y=t[i[1]][1];for(m=0;m<n;m++){var _=g[m];((x=p[m])>=u&&x<=c||isNaN(x))&&(_>=v&&_<=y||isNaN(_))&&(o[s++]=f),f++}d=!0}}if(!d)if(1===r)for(m=0;m<a;m++){var b=e.getRawIndex(m);((x=h[i[0]][b])>=u&&x<=c||isNaN(x))&&(o[s++]=b)}else for(m=0;m<a;m++){for(var w=!0,k=(b=e.getRawIndex(m),0);k<r;k++){var x,M=i[k];((x=h[M][b])<t[M][0]||x>t[M][1])&&(w=!1)}w&&(o[s++]=e.getRawIndex(m))}return s<a&&(e._indices=o),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],a=e.length,o=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=[1/0,-1/0];for(var c=0;c<o;c++){for(var h=t.getRawIndex(c),d=0;d<a;d++)s[d]=i[e[d]][h];s[a]=c;var f=n&&n.apply(null,s);if(null!=f)for("object"!=typeof f&&(r[0]=f,f=r),u=0;u<f.length;u++){var p=e[u],m=f[u],g=l[p],v=i[p];v&&(v[h]=m),m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,a=this.clone([t],!0),o=a._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(Gh(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));h[l++]=c;for(var d=1;d<s-1;d+=u){for(var f=Math.min(d+u,s-1),p=Math.min(d+2*u,s),m=(p+f)/2,g=0,v=f;v<p;v++){var y=o[S=this.getRawIndex(v)];isNaN(y)||(g+=y)}g/=p-f;var _=d,b=Math.min(d+u,s),w=d-1,k=o[c];n=-1,r=_;var x=-1,M=0;for(v=_;v<b;v++){var S;y=o[S=this.getRawIndex(v)],isNaN(y)?(M++,x<0&&(x=S)):(i=Math.abs((w-m)*(y-k)-(w-v)*(g-k)))>n&&(n=i,r=S)}M>0&&M<b-_&&(h[l++]=Math.min(x,r),r=Math.max(x,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),a._count=l,a._indices=h,a.getRawIndex=this._getRawIdx,a},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),a=r._chunks,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=r._rawExtent[t]=[1/0,-1/0],h=new(Gh(this._rawCount))(Math.ceil(u/s)),d=0,f=0;f<u;f+=s){s>u-f&&(o.length=s=u-f);for(var p=0;p<s;p++){var m=this.getRawIndex(f+p);o[p]=l[m]}var g=n(o),v=this.getRawIndex(Math.min(f+i(o,g)||0,u-1));l[v]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),h[d++]=v}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,a=this.count();r<a;r++){var o=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][o],r);break;case 2:e(i[t[0]][o],i[t[1]][o],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][o];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var a=(i=n)[0],o=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<a&&(a=l),l>o&&(o=l)}return this._extent[t]=i=[a,o],i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i,r,a=new t,o=this._chunks,s=e&&F(e,function(t,e){return t[e]=!0,t},{});if(s)for(var l=0;l<o.length;l++)a._chunks[l]=s[l]?(r=void 0,(r=(i=o[l]).constructor)===Array?i.slice():new r(i)):o[l];else a._chunks=o;return this._copyCommonProps(a),n||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=T(this._extent),t._rawExtent=T(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Mh(t[i],this._dimensions[i])}Vh={arrayRows:t,objectRows:function(t,e,n,i){return Mh(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Mh(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Zh=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Jh(n)){var a=n,o=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),o=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=J(o=a.get("data",!0))?"typedArray":"original",e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=nt(c.seriesLayoutBy,h.seriesLayoutBy)||null,f=nt(c.sourceHeader,h.sourceHeader),p=nt(c.dimensions,h.dimensions);t=d!==h.seriesLayoutBy||!!f!=!!h.sourceHeader||p?[th(o,{seriesLayoutBy:d,sourceHeader:f,dimensions:p},s)]:[]}else{var m=n;if(r){var g=this._applyTransform(i);t=g.sourceList,e=g.upstreamSignList}else t=[th(m.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);null!=r&&1!==t.length&&Qh("");var a,o=[],s=[];return j(t,function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||Qh(""),o.push(e),s.push(t._getVersionSign())}),i?e=function(t,e,n){var i=Ar(t),r=i.length;r||pc("");for(var a=0,o=r;a<o;a++)e=Nh(i[a],e),a!==o-1&&(e.length=Math.max(e.length,1));return e}(i,o):null!=r&&(e=[(a=o[0],new Qc({data:a.data,sourceFormat:a.sourceFormat,seriesLayoutBy:a.seriesLayoutBy,dimensionsDefine:T(a.dimensionsDefine),startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){var e=this._sourceList[t=t||0];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var a=r[n];if(!a){var o=this._getUpstreamSourceManagers()[0];Jh(this._sourceHost)&&o?a=o._innerGetDataStore(t,e,n):(a=new Xh).initData(new oh(e,t.length),t),r[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Jh(t)){var e=nc(t);return e?[e.getSourceManager()]:[]}return N(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Zr(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},qr).models:[]}(t),function(t){return t.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(Jh(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function Kh(t){t.option.transform&&lt(t.option.transform)}function Jh(t){return"series"===t.mainType}function Qh(t){throw new Error(t)}function $h(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",a=t.color||"#464646",o=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+Ou(i+"")+"px;color:"+Ou(n)+";font-weight:"+Ou(r+""),valueStyle:"font-size:"+Ou(o+"")+"px;color:"+Ou(a)+";font-weight:"+Ou(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var td=[0,10,20,30],ed=["","\n","\n\n","\n\n\n"];function nd(t,e){return e.type=t,e}function id(t){return"section"===t.type}function rd(t){return id(t)?od:sd}function ad(t){if(id(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return j(t.blocks,function(t){var n=ad(t);n>=e&&(e=n+ +(i&&(!n||id(t)&&!t.noHeader)))}),e}return 0}function od(t,e,n,i){var r,a=e.noHeader,o=(r=ad(e),{html:td[r],richText:ed[r]}),s=[],l=e.blocks||[];ot(!l||W(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(mt(c,u)){var h=new Th(c[u],null);l.sort(function(t,e){return h.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===u&&l.reverse()}j(l,function(n,r){var a=e.valueFormatter,l=rd(n)(a?I(I({},t),{valueFormatter:a}):t,n,r>0?o.html:0,i);null!=l&&s.push(l)});var d="richText"===t.renderMode?s.join(o.richText):ud(s.join(""),a?n:o.html);if(a)return d;var f=Tu(e.header,"ordinal",t.useUTC),p=$h(i,t.renderMode).nameStyle;return"richText"===t.renderMode?cd(t,f,p)+o.richText+d:ud('<div style="'+p+';line-height:1;">'+Ou(f)+"</div>"+d,n)}function sd(t,e,n,i){var r=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return N(t=W(t)?t:[t],function(t,e){return Tu(t,W(f)?f[e]:f,u)})};if(!a||!o){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=a?"":Tu(l,"ordinal",u),f=e.valueType,p=o?[]:c(e.value),m=!s||!a,g=!s&&a,v=$h(i,r),y=v.nameStyle,_=v.valueStyle;return"richText"===r?(s?"":h)+(a?"":cd(t,d,y))+(o?"":function(t,e,n,i,r){var a=[r];return n&&a.push({padding:[0,0,0,i?10:20],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(W(e)?e.join(" "):e,a)}(t,p,m,g,_)):ud((s?"":h)+(a?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+Ou(t)+"</span>"}(d,!s,y))+(o?"":function(t,e,n,i){return'<span style="'+(e?"float:right;margin-left:"+(n?"10px":"20px"):"")+";"+i+'">'+N(t=W(t)?t:[t],function(t){return Ou(t)}).join("&nbsp;&nbsp;")+"</span>"}(p,m,g,_)),n)}}function ld(t,e,n,i,r,a){if(t)return rd(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,a)}function ud(t,e){return'<div style="margin: '+e+'px 0 0;line-height:1;">'+t+'<div style="clear:both"></div></div>'}function cd(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function hd(t,e){return Pu(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function dd(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var fd=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Dr()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=G(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var a=n.renderMode||"html";return i?"html"===a?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Ou(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Ou(i)+";"+(e||"")+'"></span>':{renderMode:a,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return G(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};W(e)?j(e,function(t){return I(n,t)}):I(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function pd(t){var e,n,i,r,a=t.series,o=t.dataIndex,s=t.multipleSeries,l=a.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,h=a.getRawValue(o),d=W(h),f=hd(a,o);if(c>1||d&&!c){var p=function(t,e,n,i,r){var a=e.getData(),o=F(t,function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),s=[],l=[],u=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?u.push(nd("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?j(i,function(t){c(vh(a,n,t),t)}):j(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(h,a,o,u,f);e=p.inlineValues,n=p.inlineValueTypes,i=p.blocks,r=p.inlineValues[0]}else if(c){var m=l.getDimensionInfo(u[0]);r=e=vh(l,o,u[0]),n=m.type}else r=e=d?h[0]:h;var g=Vr(a),v=g&&a.name||"",y=l.getName(o),_=s?v:y;return nd("section",{header:v,noHeader:s||!g,sortParam:r,blocks:[nd("nameValue",{markerType:"item",markerColor:f,name:_,noName:!st(_),value:e,valueType:n})].concat(i||[])})}var md=Br();function gd(t,e){return t.getName(e)||t.getId(e)}var vd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return a(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=wh({count:_d,reset:bd}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(md(this).sourceManager=new Zh(this)).prepareSource();var i=this.getInitialData(t,n);kd(i,this),this.dataTask.context.data=i,md(this).dataBeforeProcessed=i,yd(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=zu(this),i=n?Wu(t):{},r=this.subType;Xu.hasClass(r)&&(r+="Series"),L(t,e.getTheme().get(this.subType)),L(t,this.getDefaultOption()),Ir(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Bu(t,i,n)},e.prototype.mergeOption=function(t,e){t=L(this.option,t,!0),this.fillDataTextStyle(t.data);var n=zu(this);n&&Bu(this.option,t,n);var i=md(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);kd(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,md(this).dataBeforeProcessed=r,yd(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!J(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Ir(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=Md(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return md(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=Md(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}md(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return ht(t)},e.prototype.getSourceManager=function(){return md(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return md(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return pd({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(d.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=hc.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a<t.length;a++){var o=gd(r,t[a]);n[o]=!1,this._selectedDataIndicesMap[o]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=H(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[gd(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,a=r.selectedMode,o=e.length;if(a&&o)if("series"===a)r.selectedMap="all";else if("multiple"===a){Z(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<o;l++){var u=e[l];s[h=gd(t,u)]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(u)}}else if("single"===a||!0===a){var c=e[o-1],h=gd(t,c);r.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(c),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Xu.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(Xu);function yd(t){var e=t.name;Vr(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return j(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}(t)||e)}function _d(t){return t.model.getRawData().count()}function bd(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),wd}function wd(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function kd(t,e){j(dt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,B(xd,e))})}function xd(t,e){var n=Md(t);return n&&n.setOutputEnd((e||this).count()),e}function Md(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}R(vd,_h),R(vd,hc),na(vd,Xu);var Sd=vd,Cd=function(){function t(){this.group=new ar,this.uid=ql("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.blurSeries=function(t,e){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();ea(Cd),oa(Cd);var Dd=Cd;function Od(){var t=Br();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,a=!!n.progressiveRender,o=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===o&&a===s)&&"reset"}}var Td=mo.CMD,Ld=[[],[],[]],Ad=Math.sqrt,Id=Math.atan2;function Pd(t,e){if(e){var n,i,r,a,o,s,l=t.data,u=t.len(),c=Td.M,h=Td.C,d=Td.L,f=Td.R,p=Td.A,m=Td.Q;for(r=0,a=0;r<u;){switch(n=l[r++],a=r,i=0,n){case c:case d:i=1;break;case h:i=3;break;case m:i=2;break;case p:var g=e[4],v=e[5],y=Ad(e[0]*e[0]+e[1]*e[1]),_=Ad(e[2]*e[2]+e[3]*e[3]),b=Id(-e[1]/_,e[0]/y);l[r]*=y,l[r++]+=g,l[r]*=_,l[r++]+=v,l[r++]*=y,l[r++]*=_,l[r++]+=b,l[r++]+=b,a=r+=2;break;case f:s[0]=l[r++],s[1]=l[r++],At(s,s,e),l[a++]=s[0],l[a++]=s[1],s[0]+=l[r++],s[1]+=l[r++],At(s,s,e),l[a++]=s[0],l[a++]=s[1]}for(o=0;o<i;o++){var w=Ld[o];w[0]=l[r++],w[1]=l[r++],At(w,w,e),l[a++]=w[0],l[a++]=w[1]}}t.increaseVersion()}}var Ed=Math.sqrt,Rd=Math.sin,Yd=Math.cos,jd=Math.PI;function Nd(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Fd(t,e){return(t[0]*e[0]+t[1]*e[1])/(Nd(t)*Nd(e))}function Vd(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Fd(t,e))}function Hd(t,e,n,i,r,a,o,s,l,u,c){var h=l*(jd/180),d=Yd(h)*(t-n)/2+Rd(h)*(e-i)/2,f=-1*Rd(h)*(t-n)/2+Yd(h)*(e-i)/2,p=d*d/(o*o)+f*f/(s*s);p>1&&(o*=Ed(p),s*=Ed(p));var m=(r===a?-1:1)*Ed((o*o*(s*s)-o*o*(f*f)-s*s*(d*d))/(o*o*(f*f)+s*s*(d*d)))||0,g=m*o*f/s,v=m*-s*d/o,y=(t+n)/2+Yd(h)*g-Rd(h)*v,_=(e+i)/2+Rd(h)*g+Yd(h)*v,b=Vd([1,0],[(d-g)/o,(f-v)/s]),w=[(d-g)/o,(f-v)/s],k=[(-1*d-g)/o,(-1*f-v)/s],x=Vd(w,k);if(Fd(w,k)<=-1&&(x=jd),Fd(w,k)>=1&&(x=0),x<0){var M=Math.round(x/jd*1e6)/1e6;x=2*jd+M%2*jd}c.addData(u,y,_,o,s,b,x,h,a)}var zd=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Bd=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,Wd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.applyTransform=function(t){},e}(Ro);function Ud(t){return null!=t.setData}function Gd(t,e){var n=function(t){var e=new mo;if(!t)return e;var n,i=0,r=0,a=i,o=r,s=mo.CMD,l=t.match(zd);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),d=void 0,f=c.match(Bd)||[],p=f.length,m=0;m<p;m++)f[m]=parseFloat(f[m]);for(var g=0;g<p;){var v=void 0,y=void 0,_=void 0,b=void 0,w=void 0,k=void 0,x=void 0,M=i,S=r,C=void 0,D=void 0;switch(h){case"l":i+=f[g++],r+=f[g++],e.addData(d=s.L,i,r);break;case"L":i=f[g++],r=f[g++],e.addData(d=s.L,i,r);break;case"m":i+=f[g++],r+=f[g++],e.addData(d=s.M,i,r),a=i,o=r,h="l";break;case"M":i=f[g++],r=f[g++],e.addData(d=s.M,i,r),a=i,o=r,h="L";break;case"h":i+=f[g++],e.addData(d=s.L,i,r);break;case"H":i=f[g++],e.addData(d=s.L,i,r);break;case"v":r+=f[g++],e.addData(d=s.L,i,r);break;case"V":r=f[g++],e.addData(d=s.L,i,r);break;case"C":e.addData(d=s.C,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),i=f[g-2],r=f[g-1];break;case"c":e.addData(d=s.C,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r),i+=f[g-2],r+=f[g-1];break;case"S":v=i,y=r,C=e.len(),D=e.data,n===s.C&&(v+=i-D[C-4],y+=r-D[C-3]),M=f[g++],S=f[g++],i=f[g++],r=f[g++],e.addData(d=s.C,v,y,M,S,i,r);break;case"s":v=i,y=r,C=e.len(),D=e.data,n===s.C&&(v+=i-D[C-4],y+=r-D[C-3]),M=i+f[g++],S=r+f[g++],i+=f[g++],r+=f[g++],e.addData(d=s.C,v,y,M,S,i,r);break;case"Q":M=f[g++],S=f[g++],i=f[g++],r=f[g++],e.addData(d=s.Q,M,S,i,r);break;case"q":M=f[g++]+i,S=f[g++]+r,i+=f[g++],r+=f[g++],e.addData(d=s.Q,M,S,i,r);break;case"T":v=i,y=r,C=e.len(),D=e.data,n===s.Q&&(v+=i-D[C-4],y+=r-D[C-3]),i=f[g++],r=f[g++],e.addData(d=s.Q,v,y,i,r);break;case"t":v=i,y=r,C=e.len(),D=e.data,n===s.Q&&(v+=i-D[C-4],y+=r-D[C-3]),i+=f[g++],r+=f[g++],e.addData(d=s.Q,v,y,i,r);break;case"A":_=f[g++],b=f[g++],w=f[g++],k=f[g++],x=f[g++],Hd(M=i,S=r,i=f[g++],r=f[g++],k,x,_,b,w,d=s.A,e);break;case"a":_=f[g++],b=f[g++],w=f[g++],k=f[g++],x=f[g++],Hd(M=i,S=r,i+=f[g++],r+=f[g++],k,x,_,b,w,d=s.A,e)}}"z"!==h&&"Z"!==h||(e.addData(d=s.Z),i=a,r=o),n=d}return e.toStatic(),e}(t),i=I({},e);return i.buildPath=function(t){var e;Ud(t)?(t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)):n.rebuildPath(e=t,1)},i.applyTransform=function(t){Pd(n,t),this.dirtyShape()},i}function qd(t,e){return new Wd(Gd(t,e))}function Xd(t,e){e=e||{};var n=new Ro;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?Pd(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var Zd=function(){this.cx=0,this.cy=0,this.r=0},Kd=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new Zd},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Ro);Kd.prototype.type="circle";var Jd=Kd,Qd=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},$d=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new Qd},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,a=e.rx,o=e.ry,s=a*n,l=o*n;t.moveTo(i-a,r),t.bezierCurveTo(i-a,r-l,i-s,r-o,i,r-o),t.bezierCurveTo(i+s,r-o,i+a,r-l,i+a,r),t.bezierCurveTo(i+a,r+l,i+s,r+o,i,r+o),t.bezierCurveTo(i-s,r+o,i-a,r+l,i-a,r),t.closePath()},e}(Ro);$d.prototype.type="ellipse";var tf=$d,ef=Math.PI,nf=2*ef,rf=Math.sin,af=Math.cos,of=Math.acos,sf=Math.atan2,lf=Math.abs,uf=Math.sqrt,cf=Math.max,hf=Math.min;function df(t,e,n,i,r,a,o){var s=t-n,l=e-i,u=(o?a:-a)/uf(s*s+l*l),c=u*l,h=-u*s,d=t+c,f=e+h,p=n+c,m=i+h,g=(d+p)/2,v=(f+m)/2,y=p-d,_=m-f,b=y*y+_*_,w=r-a,k=d*m-p*f,x=(_<0?-1:1)*uf(cf(0,w*w*b-k*k)),M=(k*_-y*x)/b,S=(-k*y-_*x)/b,C=(k*_+y*x)/b,D=(-k*y+_*x)/b,O=M-g,T=S-v,L=C-g,A=D-v;return O*O+T*T>L*L+A*A&&(M=C,S=D),{cx:M,cy:S,x0:-c,y0:-h,x1:M*(r/w-1),y1:S*(r/w-1)}}var ff=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},pf=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new ff},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=cf(e.r,0),r=cf(e.r0||0,0),a=i>0;if(a||r>0){if(a||(i=r,r=0),r>i){var o=i;i=r,r=o}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,h=!!e.clockwise,d=lf(l-s),f=d>nf&&d%nf;if(f>1e-4&&(d=f),i>1e-4)if(d>nf-1e-4)t.moveTo(u+i*af(s),c+i*rf(s)),t.arc(u,c,i,s,l,!h),r>1e-4&&(t.moveTo(u+r*af(l),c+r*rf(l)),t.arc(u,c,r,l,s,h));else{var p=void 0,m=void 0,g=void 0,v=void 0,y=void 0,_=void 0,b=void 0,w=void 0,k=void 0,x=void 0,M=void 0,S=void 0,C=void 0,D=void 0,O=void 0,T=void 0,L=i*af(s),A=i*rf(s),I=r*af(l),P=r*rf(l),E=d>1e-4;if(E){var R=e.cornerRadius;R&&(p=(n=function(t){var e;if(W(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(R))[0],m=n[1],g=n[2],v=n[3]);var Y=lf(i-r)/2;if(y=hf(Y,g),_=hf(Y,v),b=hf(Y,p),w=hf(Y,m),M=k=cf(y,_),S=x=cf(b,w),(k>1e-4||x>1e-4)&&(C=i*af(l),D=i*rf(l),O=r*af(s),T=r*rf(s),d<ef)){var j=function(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,c=o-r,h=s-a,d=h*l-c*u;if(!(d*d<1e-4))return[t+(d=(c*(e-a)-h*(t-r))/d)*l,e+d*u]}(L,A,O,T,C,D,I,P);if(j){var N=L-j[0],F=A-j[1],V=C-j[0],H=D-j[1],z=1/rf(of((N*V+F*H)/(uf(N*N+F*F)*uf(V*V+H*H)))/2),B=uf(j[0]*j[0]+j[1]*j[1]);M=hf(k,(i-B)/(z+1)),S=hf(x,(r-B)/(z-1))}}}if(E)if(M>1e-4){var U=hf(g,M),G=hf(v,M),q=df(O,T,L,A,i,U,h),X=df(C,D,I,P,i,G,h);t.moveTo(u+q.cx+q.x0,c+q.cy+q.y0),M<k&&U===G?t.arc(u+q.cx,c+q.cy,M,sf(q.y0,q.x0),sf(X.y0,X.x0),!h):(U>0&&t.arc(u+q.cx,c+q.cy,U,sf(q.y0,q.x0),sf(q.y1,q.x1),!h),t.arc(u,c,i,sf(q.cy+q.y1,q.cx+q.x1),sf(X.cy+X.y1,X.cx+X.x1),!h),G>0&&t.arc(u+X.cx,c+X.cy,G,sf(X.y1,X.x1),sf(X.y0,X.x0),!h))}else t.moveTo(u+L,c+A),t.arc(u,c,i,s,l,!h);else t.moveTo(u+L,c+A);r>1e-4&&E?S>1e-4?(U=hf(p,S),q=df(I,P,C,D,r,-(G=hf(m,S)),h),X=df(L,A,O,T,r,-U,h),t.lineTo(u+q.cx+q.x0,c+q.cy+q.y0),S<x&&U===G?t.arc(u+q.cx,c+q.cy,S,sf(q.y0,q.x0),sf(X.y0,X.x0),!h):(G>0&&t.arc(u+q.cx,c+q.cy,G,sf(q.y0,q.x0),sf(q.y1,q.x1),!h),t.arc(u,c,r,sf(q.cy+q.y1,q.cx+q.x1),sf(X.cy+X.y1,X.cx+X.x1),h),U>0&&t.arc(u+X.cx,c+X.cy,U,sf(X.y1,X.x1),sf(X.y0,X.x0),!h))):(t.lineTo(u+I,c+P),t.arc(u,c,r,l,s,h)):t.lineTo(u+I,c+P)}else t.moveTo(u,c);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Ro);pf.prototype.type="sector";var mf=pf,gf=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},vf=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new gf},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Ro);vf.prototype.type="ring";var yf=vf;function _f(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var a=function(t,e,n,i){var r,a,o,s,l=[],u=[],c=[],h=[];if(i){o=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)It(o,o,t[d]),Pt(s,s,t[d]);It(o,o,i[0]),Pt(s,s,i[1])}for(d=0,f=t.length;d<f;d++){var p=t[d];if(n)r=t[d?d-1:f-1],a=t[(d+1)%f];else{if(0===d||d===f-1){l.push(bt(t[d]));continue}r=t[d-1],a=t[d+1]}xt(u,a,r),St(u,u,e);var m=Dt(p,r),g=Dt(p,a),v=m+g;0!==v&&(m/=v,g/=v),St(c,u,-m),St(h,u,g);var y=wt([],p,c),_=wt([],p,h);i&&(Pt(y,y,o),It(y,y,s),Pt(_,_,o),It(_,_,s)),l.push(y),l.push(_)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var o=r.length,s=0;s<(n?o:o-1);s++){var l=a[2*s],u=a[2*s+1],c=r[(s+1)%o];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]),s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var bf=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},wf=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new bf},e.prototype.buildPath=function(t,e){_f(t,e,!0)},e}(Ro);wf.prototype.type="polygon";var kf=wf,xf=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},Mf=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new xf},e.prototype.buildPath=function(t,e){_f(t,e,!1)},e}(Ro);Mf.prototype.type="polyline";var Sf=Mf,Cf={},Df=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},Of=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Df},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=Wo(Cf,e,this.style);n=o.x1,i=o.y1,r=o.x2,a=o.y2}else n=e.x1,i=e.y1,r=e.x2,a=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,a=i*(1-s)+a*s),t.lineTo(r,a))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Ro);Of.prototype.type="line";var Tf=Of,Lf=[],Af=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function If(t,e,n){return null!=t.cpx2||null!=t.cpy2?[(n?Ie:Ae)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Ie:Ae)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Fe:Ne)(t.x1,t.cpx1,t.x2,e),(n?Fe:Ne)(t.y1,t.cpy1,t.y2,e)]}var Pf=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Af},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(He(n,o,r,c,Lf),o=Lf[1],r=Lf[2],He(i,s,a,c,Lf),s=Lf[1],a=Lf[2]),t.quadraticCurveTo(o,s,r,a)):(c<1&&(Re(n,o,l,r,c,Lf),o=Lf[1],l=Lf[2],r=Lf[3],Re(i,s,u,a,c,Lf),s=Lf[1],u=Lf[2],a=Lf[3]),t.bezierCurveTo(o,s,l,u,r,a)))},e.prototype.pointAt=function(t){return If(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=If(this.shape,t,!0);return Ct(e,e)},e}(Ro);Pf.prototype.type="bezier-curve";var Ef=Pf,Rf=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Yf=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Rf},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,a,o,!s)},e}(Ro);Yf.prototype.type="arc";var jf=Yf,Nf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return a(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ro.prototype.getBoundingRect.call(this)},e}(Ro),Ff=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Vf=function(t){function e(e,n,i,r,a,o){var s=t.call(this,a)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=o||!1,s}return a(e,t),e}(Ff),Hf=function(t){function e(e,n,i,r,a){var o=t.call(this,r)||this;return o.x=null==e?.5:e,o.y=null==n?.5:n,o.r=null==i?.5:i,o.type="radial",o.global=a||!1,o}return a(e,t),e}(Ff),zf=[0,0],Bf=[0,0],Wf=new Ti,Uf=new Ti,Gf=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Ti;for(n=0;n<2;n++)this._axes[n]=new Ti;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,a=t.y,o=r+t.width,s=a+t.height;if(n[0].set(r,a),n[1].set(o,a),n[2].set(o,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);for(Ti.sub(i[0],n[1],n[0]),Ti.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize(),l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Wf.set(1/0,1/0),Uf.set(0,0),!this._intersectCheckOneSide(this,t,Wf,Uf,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Wf,Uf,i,-1)&&(n=!1,i)||i||Ti.copy(e,n?Wf:Uf),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,a){for(var o=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,zf),this._getProjMinMaxOnAxis(s,e._corners,Bf),zf[1]<Bf[0]||zf[0]>Bf[1]){if(o=!1,r)return o;var u=Math.abs(Bf[0]-zf[1]),c=Math.abs(zf[0]-Bf[1]);Math.min(u,c)>i.len()&&Ti.scale(i,l,u<c?-u*a:c*a)}else n&&(u=Math.abs(Bf[0]-zf[1]),c=Math.abs(zf[0]-Bf[1]),Math.min(u,c)<n.len()&&Ti.scale(n,l,u<c?u*a:-c*a))}return o},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,a=e[0].dot(i)+r[t],o=a,s=a,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];o=Math.min(u,o),s=Math.max(u,s)}n[0]=o,n[1]=s},t}(),qf=[],Xf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return a(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Ni(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(qf)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0;return!1},e}(Ra),Zf=Math.max,Kf=Math.min,Jf={};function Qf(t){return Ro.extend(t)}function $f(t,e){return n=Gd(t,e),function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return a(e,t),e}(Wd);var n}function tp(t,e){Jf[t]=e}function ep(t){if(Jf.hasOwnProperty(t))return Jf[t]}function np(t,e,n,i){var r=qd(t,e);return n&&("center"===i&&(n=rp(n,r.getBoundingRect())),op(r,n)),r}function ip(t,e,n){var i=new zo({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){"center"===n&&i.setStyle(rp(e,{width:t.width,height:t.height}))}});return i}function rp(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var ap=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push(t[r].getUpdatedPathProxy(!0));var a=new Ro(e);return a.createPathProxy(),a.buildPath=function(t){if(Ud(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function op(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function sp(t){return Wo(t.shape,t.shape,t.style),t}function lp(t){return Uo(t.shape,t.shape,t.style),t}var up=Go;function cp(t,e){for(var n=di([]);t&&t!==e;)pi(n,t.getLocalTransform(),n),t=t.parent;return n}function hp(t,e,n){return e&&!Y(e)&&(e=Oi.getLocalTransform(e)),n&&(e=yi([],e)),At([],t,e)}function dp(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return a=hp(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function fp(t){return!t.isGroup}function pp(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){fp(t)&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(fp(t)&&t.anid){var e=r[t.anid];if(e){var i=a(t);t.attr(a(e)),cl(t,i,n,fs(t).dataIndex)}}})}function a(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=I({},t.shape)),e}}function mp(t,e){return N(t,function(t){var n=t[0];n=Zf(n,e.x),n=Kf(n,e.x+e.width);var i=t[1];return i=Zf(i,e.y),[n,i=Kf(i,e.y+e.height)]})}function gp(t,e){var n=Zf(t.x,e.x),i=Kf(t.x+t.width,e.x+e.width),r=Zf(t.y,e.y),a=Kf(t.y+t.height,e.y+e.height);if(i>=n&&a>=r)return{x:n,y:r,width:i-n,height:a-r}}function vp(t,e,n){var i=I({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),P(r,n),new zo(i)):np(t.replace("path://",""),i,n,"center")}function yp(t,e,n,i,r){for(var a=0,o=r[r.length-1];a<r.length;a++){var s=r[a];if(_p(t,e,n,i,s[0],s[1],o[0],o[1]))return!0;o=s}}function _p(t,e,n,i,r,a,o,s){var l,u=n-t,c=i-e,h=o-r,d=s-a,f=bp(h,d,u,c);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,m=e-a,g=bp(p,m,u,c)/f;if(g<0||g>1)return!1;var v=bp(p,m,h,d)/f;return!(v<0||v>1)}function bp(t,e,n,i){return t*i-n*e}function wp(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=G(e)?{formatter:e}:e,a=n.mainType,o=n.componentIndex,s={componentType:a,name:i,$vars:["name"]};s[a+"Index"]=o;var l=t.formatterParamsExtra;l&&j(H(l),function(t){mt(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=fs(t.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:i,option:P({content:i,formatterParams:s},r)}}function kp(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function xp(t,e){if(t)if(W(t))for(var n=0;n<t.length;n++)kp(t[n],e);else kp(t,e)}tp("circle",Jd),tp("ellipse",tf),tp("sector",mf),tp("ring",yf),tp("polygon",kf),tp("polyline",Sf),tp("rect",Ko),tp("line",Tf),tp("bezierCurve",Ef),tp("arc",jf);var Mp=Br(),Sp=Od(),Cp=function(){function t(){this.group=new ar,this.uid=ql("viewChart"),this.renderTask=wh({plan:Tp,reset:Lp}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Op(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Op(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){xp(this.group,t)},t.markUpdateMethod=function(t,e){Mp(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Dp(t,e,n){t&&rl(t)&&("emphasis"===e?Ns:Fs)(t,n)}function Op(t,e,n){var i=zr(t,e),r=e&&null!=e.highlightKey?function(t){var e=gs[t];return null==e&&ms<=32&&(e=gs[t]=ms++),e}(e.highlightKey):null;null!=i?j(Ar(i),function(e){Dp(t.getItemGraphicEl(e),n,r)}):t.eachItemGraphicEl(function(t){Dp(t,n,r)})}function Tp(t){return Sp(t.model)}function Lp(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&Mp(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,r),Ap[l]}ea(Cp),oa(Cp);var Ap={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Ip=Cp,Pp="\0__throttleOriginMethod",Ep="\0__throttleRate";function Rp(t,e,n){var i,r,a,o,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(a,o||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];i=(new Date).getTime(),a=this,o=t;var f=s||e,p=s||n;s=null,r=i-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(h,f):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function Yp(t,e,n,i){var r=t[e];if(r){var a=r[Pp]||r;if(r[Ep]!==n||r["\0__throttleType"]!==i){if(null==n||!i)return t[e]=a;(r=t[e]=Rp(a,n,"debounce"===i))[Pp]=a,r["\0__throttleType"]=i,r[Ep]=n}return r}}function jp(t,e){var n=t[e];n&&n[Pp]&&(n.clear&&n.clear(),t[e]=n[Pp])}var Np=Br(),Fp={itemStyle:sa(Hl,!0),lineStyle:sa(Nl,!0)},Vp={lineStyle:"stroke",itemStyle:"fill"};function Hp(t,e){return t.visualStyleMapper||Fp[e]||(console.warn("Unkown style type '"+e+"'."),Fp.itemStyle)}function zp(t,e){return t.visualDrawType||Vp[e]||(console.warn("Unkown style type '"+e+"'."),"fill")}var Bp={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=Hp(t,i)(r),o=r.getShallow("decal");o&&(n.setVisual("decal",o),o.dirty=!0);var s=zp(t,i),l=a[s],u=U(l)?l:null;if(!a[s]||u||"auto"===a.fill||"auto"===a.stroke){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[s]||(a[s]=c,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||U(a.fill)?c:a.fill,a.stroke="auto"===a.stroke||U(a.stroke)?c:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=I({},a);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},Wp=new Ul,Up={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Hp(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Wp.option=n[i];var o=r(Wp);I(t.ensureUniqueItemVisual(e,"style"),o),Wp.option.decal&&(t.setItemVisual(e,"decal",Wp.option.decal),Wp.option.decal.dirty=!0),a in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Gp={performRawSeries:!0,overallReset:function(t){var e=ht();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||e.set(i,r={}),Np(t).scope=r}}),t.eachSeries(function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),a=Np(e).scope,o=zp(e,e.visualStyleAccessPath||"itemStyle");r.each(function(t){var e=r.getRawIndex(t);i[e]=t}),n.each(function(t){var s=i[t];if(r.getItemVisual(s,"colorFromPalette")){var l=r.ensureUniqueItemVisual(s,"style"),u=n.getName(t)||t+"",c=n.count();l[o]=e.getColorFromPalette(u,a,c)}})}})}},qp=Math.PI,Xp=function(){function t(t,e,n,i){this._stageTaskMap=ht(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,a=i&&i.modDataCount;return{step:r,modBy:null!=a?Math.ceil(a/r):null,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,a=t.get("large")&&i>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:o,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ht();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;j(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});ot(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=n,a.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function o(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}j(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each(function(t){o(i,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),a.updatePayload(c,n);var f=a.getPerformArgs(c,i.block);d.each(function(t){t.perform(f)}),c.perform(f)&&(r=!0)}else u&&u.each(function(s,l){o(i,s)&&s.dirty();var u=a.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),a.updatePayload(s,n),s.perform(u)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,o=e.seriesTaskMap=ht(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=o.set(s,a&&a.get(s)||wh({plan:$p,reset:tm,count:im}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||wh({reset:Zp});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var o=a.agentStubMap,s=a.agentStubMap=ht(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function d(t){var e=t.uid,n=s.set(e,o&&o.get(e)||(h=!0,wh({reset:Kp,onDirty:Qp})));n.context={model:t,overallProgress:c},n.agent=a,n.__block=c,r._pipe(t,n)}ot(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(c=!1,j(n.getSeries(),d)),h&&a.dirty()},t.prototype._pipe=function(t,e){var n=this._pipelineMap.get(t.uid);!n.head&&(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return U(t)&&(t={overallReset:t,seriesType:rm(t)}),t.uid=ql("stageHandler"),e&&(t.visualType=e),t},t}();function Zp(t){t.overallReset(t.ecModel,t.api,t.payload)}function Kp(t){return t.overallProgress&&Jp}function Jp(){this.agent.dirty(),this.getDownstream().dirty()}function Qp(){this.agent&&this.agent.dirty()}function $p(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tm(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Ar(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?N(e,function(t,e){return nm(e)}):em}var em=nm(0);function nm(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a<e.end;a++)r.dataEach(i,a);else r&&r.progress&&r.progress(e,i)}}function im(t){return t.data.count()}function rm(t){am=null;try{t(om,sm)}catch(e){}return am}var am,om={},sm={};function lm(t,e){for(var n in e.prototype)t[n]=gt}lm(om,_c),lm(sm,wc),om.eachSeriesByType=om.eachRawSeriesByType=function(t){am=t},om.eachComponent=function(t){"series"===t.mainType&&t.subType&&(am=t.subType)};var um=Xp,cm=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],hm={color:cm,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],cm]},dm=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],fm={darkMode:!0,color:dm,backgroundColor:"#100C2A",axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:"#B9B8CE"}},textStyle:{color:"#B9B8CE"},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:"#B9B8CE"}},dataZoom:{borderColor:"#71708A",textStyle:{color:"#B9B8CE"},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:"#B9B8CE"}},timeline:{lineStyle:{color:"#B9B8CE"},label:{color:"#B9B8CE"},controlStyle:{color:"#B9B8CE",borderColor:"#B9B8CE"}},calendar:{itemStyle:{color:"#100C2A"},dayLabel:{color:"#B9B8CE"},monthLabel:{color:"#B9B8CE"},yearLabel:{color:"#B9B8CE"}},timeAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},logAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},valueAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},categoryAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},line:{symbol:"circle"},graph:{color:dm},gauge:{title:{color:"#B9B8CE"},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:"#B9B8CE"},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};fm.categoryAxis.splitLine.show=!1;var pm=fm,mm=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(G(t)){var r=ta(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};j(t,function(t,r){for(var s=!1,l=0;l<a.length;l++){var u=a[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}o.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),gm=["symbol","symbolSize","symbolRotate","symbolOffset"],vm=gm.concat(["symbolKeepAspect"]),ym={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},a=!1,o=0;o<gm.length;o++){var s=gm[o],l=t.get(s);U(l)?(a=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(I({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=H(r);return{dataEach:a?function(e,n){for(var i=t.getRawValue(n),a=t.getDataParams(n),o=0;o<u.length;o++){var s=u[o];e.setItemVisual(n,s,r[s](i,a))}}:null}}}}},_m={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<vm.length;i++){var r=vm[i],a=n.getShallow(r,!0);null!=a&&t.setItemVisual(e,r,a)}}:null}}};function bm(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function wm(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function km(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}function xm(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},function(t){i.push(t.seriesIndex)}),i}j([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(t){e(t[0],function(e,i,r){e=I({},e),r.dispatchAction(I(e,{type:t[1],seriesIndex:n(i,e)}))})})}function Mm(t,e,n,i,r){var a=t+e;n.isSilent(a)||i.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,o=r.selected,s=0;s<o.length;s++)if(o[s].seriesIndex===e){var l=t.getData(),u=zr(l,r.fromActionPayload);n.trigger(a,{type:a,seriesId:t.id,name:W(u)?l.getName(u[0]):l.getName(u),selected:G(i)?i:I({},i)})}})}function Sm(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var Cm=Math.round(9*Math.random()),Dm="function"==typeof Object.defineProperty,Om=function(){function t(){this._id="__ec_inner_"+Cm++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return Dm?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),Tm=Ro.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i+a),t.lineTo(n-r,i+a),t.closePath()}}),Lm=Ro.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i),t.lineTo(n,i+a),t.lineTo(n-r,i),t.closePath()}}),Am=Ro.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(n-c,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-c+h*f,l+s+d*f,n-c,l+s),t.closePath()}}),Im=Ro.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.x,r=e.y,a=e.width/3*2;t.moveTo(i,r),t.lineTo(i+a,r+n),t.lineTo(i,r+n/4*3),t.lineTo(i-a,r+n),t.lineTo(i,r),t.closePath()}}),Pm={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var a=Math.min(n,i);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},Em={};j({line:Tf,rect:Ko,roundRect:Ko,square:Ko,circle:Jd,diamond:Lm,pin:Am,arrow:Im,triangle:Tm},function(t,e){Em[e]=new t});var Rm=Ro.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=qi(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=Em[i];r||(r=Em[i="rect"]),Pm[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function Ym(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function jm(t,e,n,i,r,a,o){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?ip(t.slice(8),new Ni(e,n,i,r),o?"center":"cover"):0===t.indexOf("path://")?np(t.slice(7),{},new Ni(e,n,i,r),o?"center":"cover"):new Rm({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=Ym,a&&s.setColor(a),s}function Nm(t){return W(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function Fm(t,e){if(null!=t)return W(t)||(t=[t,t]),[hr(t[0],e[0])||0,hr(nt(t[1],t[0]),e[1])||0]}function Vm(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(o=o*i+n.x,s=s*r+n.y,l*=a),t.createRadialGradient(o,s,0,o,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o,t.createLinearGradient(i,a,r,o)}(t,e,n),r=e.colorStops,a=0;a<r.length;a++)i.addColorStop(r[a].offset,r[a].color);return i}function Hm(t){return parseInt(t,10)}function zm(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||Hm(s[i])||Hm(t.style[i]))-(Hm(s[a])||0)-(Hm(s[o])||0)|0}function Bm(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(n=i.lineWidth,(e=i.lineDash)&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:X(e)?[e]:W(e)?e:null:null),a=i.lineDashOffset;if(r){var o=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;o&&1!==o&&(r=N(r,function(t){return t/o}),a/=o)}return[r,a]}var Wm=new mo(!0);function Um(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function Gm(t){return"string"==typeof t&&"none"!==t}function qm(t){var e=t.fill;return null!=e&&"none"!==e}function Xm(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Zm(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function Km(t,e,n){var i=da(e.image,e.__image,n);if(pa(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*vt),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var Jm=["shadowBlur","shadowOffsetX","shadowOffsetY"],Qm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function $m(t,e,n,i,r){var a=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){ng(t,r),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?Oa.opacity:o}(i||e.blend!==n.blend)&&(a||(ng(t,r),a=!0),t.globalCompositeOperation=e.blend||Oa.blend);for(var s=0;s<Jm.length;s++){var l=Jm[s];(i||e[l]!==n[l])&&(a||(ng(t,r),a=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(a||(ng(t,r),a=!0),t.shadowColor=e.shadowColor||Oa.shadowColor),a}function tg(t,e,n,i,r){var a=ig(e,r.inHover),o=i?null:n&&ig(n,r.inHover)||{};if(a===o)return!1;var s=$m(t,a,o,i,r);if((i||a.fill!==o.fill)&&(s||(ng(t,r),s=!0),Gm(a.fill)&&(t.fillStyle=a.fill)),(i||a.stroke!==o.stroke)&&(s||(ng(t,r),s=!0),Gm(a.stroke)&&(t.strokeStyle=a.stroke)),(i||a.opacity!==o.opacity)&&(s||(ng(t,r),s=!0),t.globalAlpha=null==a.opacity?1:a.opacity),e.hasStroke()){var l=a.lineWidth/(a.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(ng(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<Qm.length;u++){var c=Qm[u],h=c[0];(i||a[h]!==o[h])&&(s||(ng(t,r),s=!0),t[h]=a[h]||c[1])}return s}function eg(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function ng(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function ig(t,e){return e&&t.__hoverStyle||t.style}function rg(t,e){ag(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function ag(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var a=e.__clipPaths,o=n.prevElClipPaths,s=!1,l=!1;if(o&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(a,o)||(o&&o.length&&(ng(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),a&&a.length&&(ng(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var a=t[r];i=i||a.isZeroArea(),eg(e,a),e.beginPath(),a.buildPath(e,a.shape),e.clip()}n.allClipped=i}(a,t,n),s=!0),n.prevElClipPaths=a),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c,h,d=e instanceof Ro&&e.autoBatch&&function(t){var e=qm(t),n=Um(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(h=u.transform,(c=r)&&h?c[0]!==h[0]||c[1]!==h[1]||c[2]!==h[2]||c[3]!==h[3]||c[4]!==h[4]||c[5]!==h[5]:c||h)?(ng(t,n),eg(t,e)):d||ng(t,n);var p=ig(e,n.inHover);e instanceof Ro?(1!==n.lastDrawType&&(l=!0,n.lastDrawType=1),tg(t,e,u,l,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,a=Um(n),o=qm(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||Wm,h=e.__dirty;if(!i){var d=n.fill,f=n.stroke,p=o&&!!d.colorStops,m=a&&!!f.colorStops,g=o&&!!d.image,v=a&&!!f.image,y=void 0,_=void 0,b=void 0,w=void 0,k=void 0;(p||m)&&(k=e.getBoundingRect()),p&&(y=h?Vm(t,d,k):e.__canvasFillGradient,e.__canvasFillGradient=y),m&&(_=h?Vm(t,f,k):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),g&&(b=h||!e.__canvasFillPattern?Km(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=b),v&&(w=h||!e.__canvasStrokePattern?Km(t,f,e):e.__canvasStrokePattern,e.__canvasStrokePattern=b),p?t.fillStyle=y:g&&(b?t.fillStyle=b:o=!1),m?t.strokeStyle=_:v&&(w?t.strokeStyle=w:a=!1)}var x,M,S=e.getGlobalScale();c.setScale(S[0],S[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(x=(r=Bm(e))[0],M=r[1]);var C=!0;(u||4&h)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),C=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),C&&c.rebuildPath(t,l?s:1),x&&(t.setLineDash(x),t.lineDashOffset=M),i||(n.strokeFirst?(a&&Zm(t,n),o&&Xm(t,n)):(o&&Xm(t,n),a&&Zm(t,n))),x&&t.setLineDash([])}(t,e,p,d),d&&(n.batchFill=p.fill||"",n.batchStroke=p.stroke||"")):e instanceof No?(3!==n.lastDrawType&&(l=!0,n.lastDrawType=3),tg(t,e,u,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||f,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var a=void 0,o=void 0;t.setLineDash&&n.lineDash&&(a=(i=Bm(e))[0],o=i[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),n.strokeFirst?(Um(n)&&t.strokeText(r,n.x,n.y),qm(n)&&t.fillText(r,n.x,n.y)):(qm(n)&&t.fillText(r,n.x,n.y),Um(n)&&t.strokeText(r,n.x,n.y)),a&&t.setLineDash([])}}(t,e,p)):e instanceof zo?(2!==n.lastDrawType&&(l=!0,n.lastDrawType=2),function(t,e,n,i,r){$m(t,ig(e,r.inHover),n&&ig(n,r.inHover),i,r)}(t,e,u,l,n),function(t,e,n){var i=e.__image=da(n.image,e.__image,e,e.onload);if(i&&pa(i)){var r=n.x||0,a=n.y||0,o=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==o&&null!=s?o=s*l:null==s&&null!=o?s=o/l:null==o&&null==s&&(o=i.width,s=i.height),n.sWidth&&n.sHeight)t.drawImage(i,u=n.sx||0,c=n.sy||0,n.sWidth,n.sHeight,r,a,o,s);else if(n.sx&&n.sy){var u,c;t.drawImage(i,u=n.sx,c=n.sy,o-u,s-c,r,a,o,s)}else t.drawImage(i,r,a,o,s)}}(t,e,p)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(l=!0,n.lastDrawType=4),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var a,o,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(a=e.getCursor(),o=i.length;a<o;a++)(c=i[a]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),ag(t,c,s,a===o-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c;for(var l=0,u=r.length;l<u;l++){var c;(c=r[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),ag(t,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),d&&i&&ng(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var og=new Om,sg=new Ze(100),lg=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function ug(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&og.delete(t);var a=og.get(t);if(a)return a;var o=P(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===o.backgroundColor&&(o.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,a=[n],s=!0,l=0;l<lg.length;++l){var u=o[lg[l]];if(null!=u&&!W(u)&&!G(u)&&!X(u)&&"boolean"!=typeof u){s=!1;break}a.push(u)}if(s){e=a.join(",")+(r?"-svg":"");var c=sg.get(e);c&&(r?t.svgElement=c:t.image=c)}var h,d=hg(o.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(X(t)){var e=Math.ceil(t);return[e,e]}var n=N(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(o.dashArrayY),p=cg(o.symbol),g=N(d,function(t){return dg(t)}),v=dg(f),y=!r&&m.createCanvas(),_=r&&{tag:"g",attrs:{},key:"dcl",children:[]},b=function(){for(var t=1,e=0,n=g.length;e<n;++e)t=Tr(t,g[e]);var i=1;for(e=0,n=p.length;e<n;++e)i=Tr(i,p[e].length);t*=i;var r=v*g.length*p.length;return{width:Math.max(1,Math.min(t,o.maxTileWidth)),height:Math.max(1,Math.min(r,o.maxTileHeight))}}();y&&(y.width=b.width*n,y.height=b.height*n,h=y.getContext("2d")),function(){h&&(h.clearRect(0,0,y.width,y.height),o.backgroundColor&&(h.fillStyle=o.backgroundColor,h.fillRect(0,0,y.width,y.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0))for(var a=-v,s=0,l=0,u=0;a<b.height;){if(s%2==0){for(var c=l/2%p.length,m=0,g=0,w=0;m<2*b.width;){var k=0;for(e=0;e<d[u].length;++e)k+=d[u][e];if(k<=0)break;if(g%2==0){var x=.5*(1-o.symbolSize);M(m+d[u][g]*x,a+f[s]*x,d[u][g]*o.symbolSize,f[s]*o.symbolSize,p[c][w/2%p[c].length])}m+=d[u][g],++w,++g===d[u].length&&(g=0)}++u===d.length&&(u=0)}a+=f[s],++l,++s===f.length&&(s=0)}function M(t,e,a,s,l){var u=r?1:n,c=jm(l,t*u,e*u,a*u,s*u,o.color,o.symbolKeepAspect);if(r){var d=i.painter.renderOneToVNode(c);d&&_.children.push(d)}else rg(h,c)}}(),s&&sg.put(e,y||_),t.image=y,t.svgElement=_,t.svgWidth=b.width,t.svgHeight=b.height}(s),s.rotation=o.rotation,s.scaleX=s.scaleY=r?1:1/n,og.set(t,s),t.dirty=!1,s}function cg(t){if(!t||0===t.length)return[["rect"]];if(G(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!G(t[n])){e=!1;break}if(e)return cg([t]);var i=[];for(n=0;n<t.length;++n)G(t[n])?i.push([t[n]]):i.push(t[n]);return i}function hg(t){if(!t||0===t.length)return[[0,0]];if(X(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!X(t[n])){e=!1;break}if(e)return hg([t]);var i=[];for(n=0;n<t.length;++n)if(X(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else r=N(t[n],function(t){return Math.ceil(t)}),i.push(r.length%2==1?r.concat(r):r);return i}function dg(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var fg=new Yt,pg={},mg="undefined"!=typeof window,gg=/^[a-zA-Z0-9_]+$/;function vg(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return _g(this,t,e)}}function yg(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return _g(this,t,e)}}function _g(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),Yt.prototype[e].apply(t,n)}var bg,wg,kg,xg,Mg,Sg,Cg,Dg,Og,Tg,Lg,Ag,Ig,Pg,Eg,Rg,Yg,jg,Ng=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e}(Yt),Fg=Ng.prototype;Fg.on=yg("on"),Fg.off=yg("off");var Vg=function(t){function e(e,n,i){var r=t.call(this,new mm)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},G(n)&&(n=Xg[n]),r._dom=e;var a=r._zr=ur(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:null!=i.useDirtyRect&&i.useDirtyRect});r._ssr=i.ssr,r._throttledZrFlush=Rp(z(a.flush,a),17),(n=T(n))&&Uc(n,!0),r._theme=n,r._locale=function(t){if(G(t)){var e=Zl[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?T(e):L(T(e),T(Zl.EN),!1)}return L(T(t),T(Zl.EN),!1)}(i.locale||Jl),r._coordSysMgr=new xc;var o=r._api=Eg(r);function s(t,e){return t.__prio-e.__prio}return pe(qg,s),pe(Ug,s),r._scheduler=new um(r,o,Ug,qg),r._messageCenter=new Ng,r._initEvents(),r.resize=z(r.resize,r),a.animation.on("frame",r._onframe,r),Tg(a,r),Lg(a,r),lt(r),r}return a(e,t),e.prototype._onframe=function(){if(!this._disposed){jg(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0;try{bg(this),xg.update.call(this,null,this.__pendingUpdate.updateParams)}catch(o){throw this.__flagInMainProcess=!1,this.__pendingUpdate=null,o}this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,Dg.call(this,e),Og.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Sg(this,i),t.performVisualTasks(i),Pg(this,this._model,r,"remain",{}),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this.__flagInMainProcess)if(this._disposed);else{var i,r,a;if(Z(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var o=new Cc(this._api),s=this._theme,l=this._model=new _c;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,o)}this._model.setOption(t,{replaceMerge:r},Gg);var u={seriesTransition:a,optionChanged:!0};if(n)this.__pendingUpdate={silent:i,updateParams:u},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{bg(this),xg.update.call(this,null,u)}catch(c){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,c}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,Dg.call(this,i),Og.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||mg&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return this._zr.painter.getRenderedCanvas({backgroundColor:(t=t||{}).backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return this._zr.painter.renderToString({useViewBox:(t=t||{}).useViewBox})},e.prototype.getSvgDataURL=function(){if(d.svgSupported){var t=this._zr;return j(t.storage.getDisplayList(),function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=this._model,n=[],i=this;j((t=t||{}).excludeComponents,function(t){e.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return j(n,function(t){t.group.ignore=!1}),r}},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max;if(Jg[n]){var a=1/0,o=1/0,s=-1/0,l=-1/0,u=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();j(Kg,function(c,h){if(c.group===n){var d=e?c.getZr().painter.getSvgDom().innerHTML:c.renderToCanvas(T(t)),f=c.getDom().getBoundingClientRect();a=i(f.left,a),o=i(f.top,o),s=r(f.right,s),l=r(f.bottom,l),u.push({dom:d,left:f.left,top:f.top})}});var h=(s*=c)-(a*=c),d=(l*=c)-(o*=c),f=m.createCanvas(),p=ur(f,{renderer:e?"svg":"canvas"});if(p.resize({width:h,height:d}),e){var g="";return j(u,function(t){g+='<g transform="translate('+(t.left-a)+","+(t.top-o)+')">'+t.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&p.painter.setBackgroundColor(t.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}return t.connectedBackgroundColor&&p.add(new Ko({shape:{x:0,y:0,width:h,height:d},style:{fill:t.connectedBackgroundColor}})),j(u,function(t){var e=new zo({style:{x:t.left*c-a,y:t.top*c-o,image:t.dom}});p.add(e)}),p.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return Mg(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Mg(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return j(Ur(this._model,t),function(t,i){i.indexOf("Models")>=0&&j(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n=n||a.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=Ur(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?bm(i,r,e):wm(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n=this;j(zg,function(t){var e=function(e){var i,r=n.getModel(),a=e.target;if("globalout"===t?i={}:a&&Sm(a,function(t){var e=fs(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=I({},e.eventData),!0},!0),i){var o=i.componentType,s=i.componentIndex;"markLine"!==o&&"markPoint"!==o&&"markArea"!==o||(o="series",s=i.seriesIndex);var l=o&&null!=s&&r.getComponent(o,s),u=l&&n["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=e,i.type=t,n._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:l,view:u},n.trigger(t,i)}};e.zrEventfulCallAtLast=!0,n._zr.on(t,e,n)}),j(Wg,function(t,e){n._messageCenter.on(e,function(t){this.trigger(e,t)},n)}),j(["selectchanged"],function(t){n._messageCenter.on(t,function(e){this.trigger(t,e)},n)}),t=this,e=this._api,this._messageCenter.on("selectchanged",function(n){var i=e.getModel();n.isFromClick?(Mm("map","selectchanged",t,i,n),Mm("pie","selectchanged",t,i,n)):"select"===n.fromAction?(Mm("map","selected",t,i,n),Mm("pie","selected",t,i,n)):"unselect"===n.fromAction&&(Mm("map","unselected",t,i,n),Mm("pie","unselected",t,i,n))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed||this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed);else{this._disposed=!0,this.getDom()&&Kr(this.getDom(),$g,"");var t=this._api,e=this._model;j(this._componentsViews,function(n){n.dispose(e,t)}),j(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete Kg[this.id]}},e.prototype.resize=function(t){if(!this.__flagInMainProcess)if(this._disposed);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this.__pendingUpdate&&(null==i&&(i=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{n&&bg(this),xg.update.call(this,{type:"resize",animation:I({duration:0},t&&t.animation)})}catch(r){throw this.__flagInMainProcess=!1,r}this.__flagInMainProcess=!1,Dg.call(this,i),Og.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed);else if(Z(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Zg[t]){var n=Zg[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=I({},t);return e.type=Wg[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed);else if(Z(e)||(e={silent:!!e}),Bg[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;Cg.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&d.browser.weChat&&this._throttledZrFlush(),Dg.call(this,n),Og.call(this,n)}},e.prototype.updateLabelLayout=function(){fg.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed);else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered(function(t){return i(t,n,r,-1/0),!0})}}function i(t,e,n,r){var a=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),l=0;l<s.length;l++)r=Math.max(i(s[l],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(a&&(a.z=e,a.zlevel=n,isFinite(r)&&(a.z2=r+2)),o){var u=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+(u&&u.showAbove?1:-1))}return r}function r(t,e){e.eachRendered(function(t){if(!dl(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function o(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),a=i.get("duration"),o=a>0?{duration:a,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis){if(dl(t))return;if(t instanceof Ro&&function(t){var e=vs(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=o;var i=t.getTextContent(),a=t.getTextGuideLine();i&&(i.stateTransition=o),a&&(a.stateTransition=o)}t.__dirty&&e(t)}})}bg=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),wg(t,!0),wg(t,!1),e.plan()},wg=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,a=e?t._componentsMap:t._chartsMap,o=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&a[u];if(!c){var h=ta(t.type);(c=new(e?Dd.getClass(h.main,h.sub):Ip.getClass(h.sub))).init(n,s),a[u]=c,r.push(c),o.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}for(e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u),l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),o.remove(c.group),c.dispose(n,s),r.splice(l,1),a[c.__id]===c&&delete a[c.__id],c.__id=c.group.__ecComponentInfo=null)}},kg=function(t,e,n,i,r){var a=t._model;if(a.setUpdatePayload(n),i){var o={};o[i+"Id"]=n[i+"Id"],o[i+"Index"]=n[i+"Index"],o[i+"Name"]=n[i+"Name"];var s={mainType:i,query:o};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=ht(),j(Ar(u),function(t){var e=Fr(t,null);null!=e&&l.set(e,!0)})),a&&a.eachComponent(s,function(e){if(!l||null===l.get(e.id))if(ol(n))if(e instanceof Sd)"highlight"!==n.type||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var a=zr(r,e);a=(W(a)?a[0]:a)||0;var o=r.getItemGraphicEl(a);if(!o)for(var s=r.count(),l=0;!o&&l<s;)o=r.getItemGraphicEl(l++);if(o){var u=fs(o);Gs(i,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=c&&Gs(i,c,h,n)}}}(e,n,t._api);else{var i=Xs(e.mainType,e.componentIndex,n.name,t._api),r=i.dispatchers;"highlight"===n.type&&i.focusSelf&&!n.notBlur&&qs(e.mainType,e.componentIndex,t._api),r&&j(r,function(t){"highlight"===n.type?Ns(t):Fs(t)})}else al(n)&&e instanceof Sd&&(function(t,e,n){if(al(e)){var i=e.dataType,r=zr(t.getData(i),e);W(r)||(r=[r]),t["toggleSelect"===e.type?"toggleSelect":"select"===e.type?"select":"unselect"](r,i)}}(e,n),Zs(e),Yg(t))},t),a&&a.eachComponent(s,function(e){l&&null!==l.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else j([].concat(t._componentsViews).concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}},xg={prepareAndUpdate:function(t){bg(this),xg.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,a=this._zr,o=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),o.create(i,r),s.performDataProcessorTasks(i,e),Sg(this,i),o.update(i,r),t(i),s.performVisualTasks(i,e),Ag(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");a.setBackgroundColor(l),null!=u&&"auto"!==u&&a.setDarkMode(u),fg.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var a=[];i.eachComponent(function(t,o){if("series"!==t){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,i,r,e);l&&l.update&&a.push(s)}else a.push(s)}});var o=ht();i.eachSeries(function(t){var a=n._chartsMap[t.__viewId];if(a.updateTransform){var s=a.updateTransform(t,i,r,e);s&&s.update&&o.set(t.uid,1)}else o.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:o}),Pg(this,i,r,e,{},o),fg.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),Ip.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),Ag(this,n,this._api,e,{}),fg.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),Ip.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var a=n.getViewOfComponentModel(r);a&&a.__alive&&a.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),fg.trigger("afterupdate",i,this._api))},updateLayout:function(t){xg.update.call(this,t)}},Mg=function(t,e,n,i){if(t._disposed);else for(var r,a=t._model,o=t._coordSysMgr.getCoordinateSystems(),s=Ur(a,n),l=0;l<o.length;l++){var u=o[l];if(u[e]&&null!=(r=u[e](a,s,i)))return r}},Sg=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},Cg=function(t,e){var n=this,i=this.getModel(),r=t.type,a=t.escapeConnect,o=Bg[r],s=o.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&ta(l[0]);this.__flagInMainProcess=!0;var h=[t],d=!1;t.batch&&(d=!0,h=N(t.batch,function(e){return(e=P(I({},e),t)).batch=null,e}));var f,p=[],m=al(t),g=ol(t);if(g&&Us(this._api),j(h,function(e){if((f=(f=o.action(e,n._model,n._api))||I({},e)).type=s.event||f.type,p.push(f),g){var i=Gr(t),r=i.mainTypeSpecified?i.queryOptionMap.keys()[0]:"series";kg(n,u,e,r),Yg(n)}else m?(kg(n,u,e,"series"),Yg(n)):c&&kg(n,u,e,c.main,c.sub)}),"none"!==u&&!g&&!m&&!c)try{this.__pendingUpdate?(bg(this),xg.update.call(this,t),this.__pendingUpdate=null):xg[u].call(this,t)}catch(_){throw this.__flagInMainProcess=!1,_}if(f=d?{type:s.event||r,escapeConnect:a,batch:p}:p[0],this.__flagInMainProcess=!1,!e){var v=this._messageCenter;if(v.trigger(f.type,f),m){var y={type:"selectchanged",escapeConnect:a,selected:Ks(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};v.trigger(y.type,y)}}},Dg=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Cg.call(this,n,t)}},Og=function(t){!t&&this.trigger("updated")},Tg=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},Lg=function(t,e){t.on("mouseover",function(t){var n=Sm(t.target,rl);n&&(function(t,e,n){var i=fs(t),r=Xs(i.componentMainType,i.componentIndex,i.componentHighDownName,n),a=r.dispatchers;a?(r.focusSelf&&qs(i.componentMainType,i.componentIndex,n),j(a,function(t){return Ys(t,e)})):(Gs(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&qs(i.componentMainType,i.componentIndex,n),Ys(t,e))}(n,t,e._api),Yg(e))}).on("mouseout",function(t){var n=Sm(t.target,rl);n&&(function(t,e,n){Us(n);var i=fs(t),r=Xs(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?j(r,function(t){return js(t,e)}):js(t,e)}(n,t,e._api),Yg(e))}).on("click",function(t){var n=Sm(t.target,function(t){return null!=fs(t).dataIndex},!0);if(n){var i=n.selected?"unselect":"select",r=fs(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}})},Ag=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var a=r.get("zlevel")||0,o=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:a,z:o,idx:r.componentIndex,type:t,key:s})}),i){var r,a,o=e.concat(n);pe(o,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),j(o,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,o=e.key;null!=r&&(i=Math.max(r,i)),o?(i===r&&o!==a&&i++,a=o):a&&(i===r&&i++,a=""),r=i,n.setZLevel(i)})}}(e),Ig(t,e,n,i,r),j(t._chartsViews,function(t){t.__alive=!1}),Pg(t,e,n,i,r),j(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},Ig=function(t,e,i,a,s,l){j(l||t._componentsViews,function(t){var s=t.__model;r(0,t),t.render(s,e,i,a),n(s,t),o(s,t)})},Pg=function(t,e,i,a,s,l){var u=t._scheduler;s=I(s||{},{updatedSeries:e.getSeries()}),fg.trigger("series:beforeupdate",e,i,s);var c=!1;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;u.updatePayload(i,a),r(0,n),l&&l.get(e.uid)&&i.dirty(),i.perform(u.getPerformArgs(i))&&(c=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}(e,n),Zs(e)}),u.unfinished=c||u.unfinished,fg.trigger("series:layoutlabels",e,i,s),fg.trigger("series:transition",e,i,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),o(e,i)}),function(t,e){var n=0;t._zr.storage.traverse(function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!d.node&&!d.worker&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}})}(t,e),fg.trigger("series:afterupdate",e,i,s)},Yg=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},jg=function(t){t.__needsUpdateStatus&&(t.getZr().storage.traverse(function(t){dl(t)||e(t)}),t.__needsUpdateStatus=!1)},Eg=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return a(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){Ns(e,n),Yg(t)},n.prototype.leaveEmphasis=function(e,n){Fs(e,n),Yg(t)},n.prototype.enterBlur=function(e){Vs(e),Yg(t)},n.prototype.leaveBlur=function(e){Hs(e),Yg(t)},n.prototype.enterSelect=function(e){zs(e),Yg(t)},n.prototype.leaveSelect=function(e){Bs(e),Yg(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(wc))(t)},Rg=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n].__connectUpdateStatus=e}j(Wg,function(n,i){t._messageCenter.on(i,function(n){if(Jg[t.group]&&0!==t.__connectUpdateStatus){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];j(Kg,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),j(r,function(t){1!==t.__connectUpdateStatus&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(Yt),Hg=Vg.prototype;Hg.on=vg("on"),Hg.off=vg("off"),Hg.one=function(t,e,n){var i=this;this.on.call(this,t,function n(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var zg=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],Bg={},Wg={},Ug=[],Gg=[],qg=[],Xg={},Zg={},Kg={},Jg={},Qg=+new Date-0,$g=(new Date,"_echarts_instance_");function tv(t,e){Xg[t]=e}function ev(t){E(Gg,t)<0&&Gg.push(t)}function nv(t,e){sv(Ug,t,e,2e3)}function iv(t,e){fg.on(t,e)}function rv(t,e,n){U(e)&&(n=e,e="");var i=Z(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),Wg[e=t.event]||(ot(gg.test(i)&&gg.test(e)),Bg[i]||(Bg[i]={action:n,actionInfo:t}),Wg[e]=i)}function av(t,e){sv(qg,t,e,3e3,"visual")}var ov=[];function sv(t,e,n,i,r){if((U(e)||Z(e))&&(n=e,e=i),!(E(ov,n)>=0)){ov.push(n);var a=um.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function lv(t,e){Zg[t]=e}av(2e3,Bp),av(4500,Up),av(4500,Gp),av(2e3,ym),av(4500,_m),av(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=ug(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=ug(r,e))}})}),ev(Uc),nv(900,function(t){var e=ht();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),e.each(Gc)}),lv("default",function(t,e){P(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new ar,i=new Ko({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new ds({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),o=new Ko({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&((r=new jf({shape:{startAngle:-qp/2,endAngle:-qp/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*qp/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*qp/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),o.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}),rv({type:"highlight",event:"highlight",update:"highlight"},gt),rv({type:"downplay",event:"downplay",update:"downplay"},gt),rv({type:"select",event:"select",update:"select"},gt),rv({type:"unselect",event:"unselect",update:"unselect"},gt),rv({type:"toggleSelect",event:"toggleSelect",update:"toggleSelect"},gt),tv("light",hm),tv("dark",pm);var uv=[],cv={registerPreprocessor:ev,registerProcessor:nv,registerPostInit:function(t){iv("afterinit",t)},registerPostUpdate:function(t){iv("afterupdate",t)},registerUpdateLifecycle:iv,registerAction:rv,registerCoordinateSystem:function(t,e){xc.register(t,e)},registerLayout:function(t,e){sv(qg,t,e,1e3,"layout")},registerVisual:av,registerTransform:function(t){var e=(t=T(t)).type;e||pc("");var n=e.split(":");2!==n.length&&pc("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,jh.set(e,t)},registerLoading:lv,registerMap:function(t,e,n){var i=pg.registerMap;i&&i(t,e,n)},registerImpl:function(t,e){pg[t]=e},PRIORITY:{PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ComponentModel:Xu,ComponentView:Dd,SeriesModel:Sd,ChartView:Ip,registerComponentModel:function(t){Xu.registerClass(t)},registerComponentView:function(t){Dd.registerClass(t)},registerSeriesModel:function(t){Sd.registerClass(t)},registerChartView:function(t){Ip.registerClass(t)},registerSubTypeDefaulter:function(t,e){Xu.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){or[t]=e}};function hv(t){W(t)?j(t,function(t){hv(t)}):E(uv,t)>=0||(uv.push(t),U(t)&&(t={install:t}),t.install(cv))}var dv=2*Math.PI,fv=mo.CMD,pv=["top","right","bottom","left"];function mv(t,e,n,i,r){var a=n.width,o=n.height;switch(t){case"top":i.set(n.x+a/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+a/2,n.y+o+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+o/2),r.set(-1,0);break;case"right":i.set(n.x+a+e,n.y+o/2),r.set(1,0)}}function gv(t,e,n,i,r,a,o,s,l){o-=t,s-=e;var u=Math.sqrt(o*o+s*s),c=(o/=u)*n+t,h=(s/=u)*n+e;if(Math.abs(i-r)%dv<1e-4)return l[0]=c,l[1]=h,u-n;if(a){var d=i;i=bo(r),r=bo(d)}else i=bo(i),r=bo(r);i>r&&(r+=dv);var f=Math.atan2(s,o);if(f<0&&(f+=dv),f>=i&&f<=r||f+dv>=i&&f+dv<=r)return l[0]=c,l[1]=h,u-n;var p=n*Math.cos(i)+t,m=n*Math.sin(i)+e,g=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=(p-o)*(p-o)+(m-s)*(m-s),_=(g-o)*(g-o)+(v-s)*(v-s);return y<_?(l[0]=p,l[1]=m,Math.sqrt(y)):(l[0]=g,l[1]=v,Math.sqrt(_))}function vv(t,e,n,i,r,a,o,s){var l=r-t,u=a-e,c=n-t,h=i-e,d=Math.sqrt(c*c+h*h),f=(l*(c/=d)+u*(h/=d))/d;s&&(f=Math.min(Math.max(f,0),1));var p=o[0]=t+(f*=d)*c,m=o[1]=e+f*h;return Math.sqrt((p-r)*(p-r)+(m-a)*(m-a))}function yv(t,e,n,i,r,a,o){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=o[0]=Math.min(Math.max(r,t),s),c=o[1]=Math.min(Math.max(a,e),l);return Math.sqrt((u-r)*(u-r)+(c-a)*(c-a))}var _v=[];function bv(t,e,n){var i=yv(e.x,e.y,e.width,e.height,t.x,t.y,_v);return n.set(_v[0],_v[1]),i}function wv(t,e,n){for(var i,r,a=0,o=0,s=0,l=0,u=1/0,c=e.data,h=t.x,d=t.y,f=0;f<c.length;){var p=c[f++];1===f&&(s=a=c[f],l=o=c[f+1]);var m=u;switch(p){case fv.M:a=s=c[f++],o=l=c[f++];break;case fv.L:m=vv(a,o,c[f],c[f+1],h,d,_v,!0),a=c[f++],o=c[f++];break;case fv.C:m=Ye(a,o,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],h,d,_v),a=c[f++],o=c[f++];break;case fv.Q:m=ze(a,o,c[f++],c[f++],c[f],c[f+1],h,d,_v),a=c[f++],o=c[f++];break;case fv.A:var g=c[f++],v=c[f++],y=c[f++],_=c[f++],b=c[f++],w=c[f++];f+=1;var k=!!(1-c[f++]);i=Math.cos(b)*y+g,r=Math.sin(b)*_+v,f<=1&&(s=i,l=r),m=gv(g,v,_,b,b+w,k,(h-g)*_/y+g,d,_v),a=Math.cos(b+w)*y+g,o=Math.sin(b+w)*_+v;break;case fv.R:m=yv(s=a=c[f++],l=o=c[f++],c[f++],c[f++],h,d,_v);break;case fv.Z:m=vv(a,o,s,l,h,d,_v,!0),a=s,o=l}m<u&&(u=m,n.set(_v[0],_v[1]))}return u}var kv=new Ti,xv=new Ti,Mv=new Ti,Sv=new Ti,Cv=new Ti;function Dv(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=r.candidates||pv,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),h=c&&yi([],c),d=e.get("length2")||0;u&&Mv.copy(u);for(var f=0;f<o.length;f++){mv(o[f],0,s,kv,Sv),Ti.scaleAndAdd(xv,kv,Sv,d),xv.transform(h);var p=t.getBoundingRect(),m=u?u.distance(xv):t instanceof Ro?wv(xv,t.path,Mv):bv(xv,p,Mv);m<l&&(l=m,xv.transform(c),Mv.transform(c),Mv.toArray(a[0]),xv.toArray(a[1]),kv.toArray(a[2]))}Lv(a,e.get("minTurnAngle")),n.setShape({points:a})}}}var Ov=[],Tv=new Ti;function Lv(t,e){if(e<=180&&e>0){e=e/180*Math.PI,kv.fromArray(t[0]),xv.fromArray(t[1]),Mv.fromArray(t[2]),Ti.sub(Sv,kv,xv),Ti.sub(Cv,Mv,xv);var n=Sv.len(),i=Cv.len();if(!(n<.001||i<.001)){Sv.scale(1/n),Cv.scale(1/i);var r=Sv.dot(Cv);if(Math.cos(e)<r){var a=vv(xv.x,xv.y,Mv.x,Mv.y,kv.x,kv.y,Ov,!1);Tv.fromArray(Ov),Tv.scaleAndAdd(Cv,a/Math.tan(Math.PI-e));var o=Mv.x!==xv.x?(Tv.x-xv.x)/(Mv.x-xv.x):(Tv.y-xv.y)/(Mv.y-xv.y);if(isNaN(o))return;o<0?Ti.copy(Tv,xv):o>1&&Ti.copy(Tv,Mv),Tv.toArray(t[1])}}}}function Av(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,kv.fromArray(t[0]),xv.fromArray(t[1]),Mv.fromArray(t[2]),Ti.sub(Sv,xv,kv),Ti.sub(Cv,Mv,xv);var i=Sv.len(),r=Cv.len();if(!(i<.001||r<.001)&&(Sv.scale(1/i),Cv.scale(1/r),Sv.dot(e)<Math.cos(n))){var a=vv(xv.x,xv.y,Mv.x,Mv.y,kv.x,kv.y,Ov,!1);Tv.fromArray(Ov);var o=Math.PI/2,s=o+Math.acos(Cv.dot(e))-n;if(s>=o)Ti.copy(Tv,Mv);else{Tv.scaleAndAdd(Cv,a/Math.tan(Math.PI/2-s));var l=Mv.x!==xv.x?(Tv.x-xv.x)/(Mv.x-xv.x):(Tv.y-xv.y)/(Mv.y-xv.y);if(isNaN(l))return;l<0?Ti.copy(Tv,xv):l>1&&Ti.copy(Tv,Mv)}Tv.toArray(t[1])}}}function Iv(t,e,n,i){var r="normal"===n,a=r?t:t.ensureState(n);a.ignore=e;var o=i.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):a.style=s}function Pv(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Ot(i[0],i[1]),a=Ot(i[1],i[2]);if(!r||!a)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var o=Math.min(r,a)*n,s=Lt([],i[1],i[0],o/r),l=Lt([],i[1],i[2],o/a),u=Lt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}function Ev(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var a=e.normal,o=a.get("show"),s=r.ignore,l=0;l<bs.length;l++){var u=bs[l],c=e[u],h="normal"===u;if(c){var d=c.get("show");if((h?s:nt(r.states[u]&&r.states[u].ignore,s))||!nt(d,o)){var f=h?i:i&&i.states.normal;f&&(f.ignore=!0);continue}i||(i=new Sf,t.setTextGuideLine(i),h||!s&&o||Iv(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),Iv(i,!1,u,c)}}if(i){P(i.style,n),i.style.fill=null;var p=a.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,i.buildPath=Pv}}else i&&t.removeTextGuideLine()}function Rv(t,e){for(var n={normal:t.getModel(e=e||"labelLine")},i=0;i<_s.length;i++){var r=_s[i];n[r]=t.getModel([r,e])}return n}function Yv(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,a=r.getComputedTransform(),o=r.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,l=r.style.margin||0,u=o.clone();u.applyTransform(a),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Gf(o,a):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:o,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:a})}}return e}function jv(t,e,n,i,r,a){var o=t.length;if(!(o<2)){t.sort(function(t,n){return t.rect[e]-n.rect[e]});for(var s,l=0,u=!1,c=[],h=0,d=0;d<o;d++){var f=t[d],p=f.rect;(s=p[e]-l)<0&&(p[e]-=s,f.label[e]-=s,u=!0);var m=Math.max(-s,0);c.push(m),h+=m,l=p[e]+p[n]}h>0&&a&&k(-h/o,0,o);var g,v,y=t[0],_=t[o-1];return b(),g<0&&x(-g,.8),v<0&&x(v,.8),b(),w(g,v,1),w(v,g,-1),b(),g<0&&M(-g),v<0&&M(v),u}function b(){g=y.rect[e]-i,v=r-_.rect[e]-_.rect[n]}function w(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){k(i*n,0,o);var r=i+t;r<0&&x(-r*n,1)}else x(-t*n,1)}}function k(n,i,r){0!==n&&(u=!0);for(var a=i;a<r;a++){var o=t[a];o.rect[e]+=n,o.label[e]+=n}}function x(i,r){for(var a=[],s=0,l=1;l<o;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);a.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<o-1;l++)k(a[l]*h,0,l+1);else for(l=o-1;l>0;l--)k(-a[l-1]*h,l,o)}}function M(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),i=0;i<o-1;i++)if(e>0?k(n,0,i+1):k(-n,o-i-1,o),(t-=n)<=0)return}}function Nv(t,e,n,i){return jv(t,"y","height",e,n,i)}function Fv(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new Ni(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var a=t[r],o=a.axisAligned,s=a.localRect,l=a.transform,u=a.label,c=a.labelLine;n.copy(a.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=a.obb,d=!1,f=0;f<e.length;f++){var p=e[f];if(n.intersect(p.rect)){if(o&&p.axisAligned){d=!0;break}if(p.obb||(p.obb=new Gf(p.localRect,p.transform)),h||(h=new Gf(s,l)),h.intersect(p.obb)){d=!0;break}}}d?(i(u),c&&i(c)):(u.attr("ignore",a.defaultAttr.ignore),c&&c.attr("ignore",a.defaultAttr.labelGuideIgnore),e.push(a))}}function Vv(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function Hv(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:Vv(i&&i.shape.points)}}var zv=["align","verticalAlign","width","height","fontSize"],Bv=new Oi,Wv=Br(),Uv=Br();function Gv(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var qv=["x","y","rotation"],Xv=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var a=i.style,o=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Ni.applyTransform(l,l,s),s?Bv.setLocalTransform(s):(Bv.x=Bv.y=Bv.rotation=Bv.originX=Bv.originY=0,Bv.scaleX=Bv.scaleY=1);var u,c=i.__hostTarget;if(c){u=c.getBoundingRect().plain();var h=c.getComputedTransform();Ni.applyTransform(u,u,h)}var d=u&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:d&&d.ignore,x:Bv.x,y:Bv.y,scaleX:Bv.scaleX,scaleY:Bv.scaleY,rotation:Bv.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:i.cursor,attachedPos:o.position,attachedRot:o.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(U(i)||H(i).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var r=t.getTextContent(),a=fs(t);r&&!r.disableLabelLayout&&e._addLabel(a.dataIndex,a.dataType,n,r,i)})},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){Dv(t,e)}}for(var r=0;r<this._labelList.length;r++){var a=this._labelList[r],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;u=U(a.layoutOption)?a.layoutOption(Hv(a,s)):a.layoutOption,a.computedLayoutOption=u=u||{};var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(null!=u.x?(o.x=hr(u.x,e),o.setStyle("x",0),h=!0):(o.x=l.x,o.setStyle("x",l.style.x)),null!=u.y?(o.y=hr(u.y,n),o.setStyle("y",0),h=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:u.labelLinePoints}),h=!1)}Wv(o).needsUpdateLabelLine=h,o.rotation=null!=u.rotate?u.rotate*c:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var f=0;f<zv.length;f++){var p=zv[f];o.setStyle(p,null!=u[p]?u[p]:l.style[p])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var m=a.seriesModel;null!=a.dataIndex&&(m=a.seriesModel.getData(a.dataType).getItemModel(a.dataIndex)),o.on("drag",i(s,m.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=Yv(this._labelList),r=V(i,function(t){return"shiftX"===t.layoutOption.moveOverlap}),a=V(i,function(t){return"shiftY"===t.layoutOption.moveOverlap});jv(r,"x","width",0,e,void 0),Nv(a,0,n),Fv(V(i,function(t){return t.layoutOption.hideOverlap}))},t.prototype.processLabelsOverall=function(){var t=this;j(this._chartViewList,function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var a=!i,o=e.getTextContent();!a&&o&&(a=Wv(o).needsUpdateLabelLine),a&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=fs(t),r=i.dataIndex;if(n&&null!=r){var a=e.getData(i.dataType),o=a.getItemModel(r),s={},l=a.getItemVisual(r,"style"),u=a.getVisual("drawType");s.stroke=l[u];var c=o.getModel("labelLine");Ev(t,Rv(o),s),Dv(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!dl(t))){var r=(f=Wv(n)).oldLayout,a=fs(t),o=a.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(a.dataType);if(r){n.attr(r);var u=t.prevStates;u&&(E(u,"select")>=0&&n.attr(f.oldLayoutSelect),E(u,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),cl(n,s,e,o)}else if(n.attr(s),!Tl(n).valueAnimation){var c=nt(n.style.opacity,1);n.style.opacity=0,hl(n,{style:{opacity:c}},e,o)}if(f.oldLayout=s,n.states.select){var h=f.oldLayoutSelect={};Gv(h,s,qv),Gv(h,n.states.select,qv)}if(n.states.emphasis){var d=f.oldLayoutEmphasis={};Gv(d,s,qv),Gv(d,n.states.emphasis,qv)}Al(n,o,l,e,e)}if(i&&!i.ignore&&!i.invisible){var f=Uv(i),p={points:i.shape.points};(r=f.oldLayout)?(i.attr({shape:r}),cl(i,{shape:p},e)):(i.setShape(p),i.style.strokePercent=0,hl(i,{style:{strokePercent:1}},e)),f.oldLayout=p}},t}(),Zv=Br();function Kv(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=Zv(e).labelManager;i||(i=Zv(e).labelManager=new Xv),i.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=Zv(e).labelManager;n.updatedSeries.forEach(function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}function Jv(t,e,n){var i=m.createCanvas(),r=e.getWidth(),a=e.getHeight(),o=i.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=r+"px",o.height=a+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=a*n,i}hv(Kv);var Qv=function(t){function e(e,n,i){var r,a=t.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null,i=i||hi,"string"==typeof e?r=Jv(e,n,i):Z(e)&&(e=(r=e).id),a.id=e,a.dom=r;var o=r.style;return o&&(pt(r),r.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),a.painter=n,a.dpr=i,a}return a(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=Jv("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,a=[],o=this.maxRepaintRectCount,s=!1,l=new Ni(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===a.length)(e=new Ni(0,0,0,0)).copy(t),a.push(e);else{for(var e,n=!1,i=1/0,r=0,u=0;u<a.length;++u){var c=a[u];if(c.intersect(t)){var h=new Ni(0,0,0,0);h.copy(c),h.union(t),a[u]=h,n=!0;break}if(s){l.copy(t),l.union(c);var d=l.width*l.height-t.width*t.height-c.width*c.height;d<i&&(i=d,r=u)}}s&&(a[r].union(t),n=!0),n||((e=new Ni(0,0,0,0)).copy(t),a.push(e)),s||(s=a.length>=o)}}for(var c=this.__startIndex;c<this.__endIndex;++c)if(f=t[c]){var h=f.shouldBePainted(n,i,!0,!0);(p=f.__isRendered&&(1&f.__dirty||!h)?f.getPrevPaintRect():null)&&u(p);var d=h&&(1&f.__dirty||!f.__isRendered)?f.getPaintRect():null;d&&u(d)}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var f,p;h=(f=e[c]).shouldBePainted(n,i,!0,!0),!f||h&&f.__zr||!f.__isRendered||(p=f.getPrevPaintRect())&&u(p)}do{for(r=!1,c=0;c<a.length;)if(a[c].isZero())a.splice(c,1);else{for(var m=c+1;m<a.length;)a[c].intersect(a[m])?(r=!0,a[c].union(a[m]),a.splice(m,1)):m++;c++}}while(r);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,a=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,a&&(a.width=t*n,a.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,a=i.width,o=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/u,o/u));var h=this.domBack;function d(t,n,i,a){if(r.clearRect(t,n,i,a),e&&"transparent"!==e){var o=void 0;$(e)?(o=e.__canvasGradient||Vm(r,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=o):null!=e.image&&(o=Km(r,e,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}})),r.save(),r.fillStyle=o||e,r.fillRect(t,n,i,a),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(h,t,n,i,a),r.restore())}!n||s?d(0,0,a,o):n.length&&j(n,function(t){d(t.x*u,t.y*u,t.width*u,t.height*u)})},e}(Yt),$v=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=I({},n||{}),this.dpr=n.devicePixelRatio||hi,this._singleCanvas=r,this.root=t,t.style&&(pt(t),t.innerHTML=""),this.storage=e;var a=this._zlevelList;this._prevDisplayList=[];var o=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new Qv(s,this,this.dpr);c.__builtin__=!0,c.initContext(),o[314159]=c,c.zlevel=314159,a.push(314159),this._domRoot=t}else{this._width=zm(t,0,n),this._height=zm(t,1,n);var h=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var a=this._layers[i[r]];!a.__builtin__&&a.refresh&&a.refresh(0===r?this._backgroundColor:null)}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},a=0;a<e;a++){var o=t[a];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(1e5)),i||(i=n.ctx).save(),ag(i,o,r,a===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){rg(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),a=r.finished,o=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),a)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;_e(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._layers[this._zlevelList[o]];s.__builtin__&&s!==this._hoverlayer&&(s.__dirty||n)&&r.push(s)}for(var l=!0,u=!1,c=function(o){var s,c=r[o],d=c.ctx,f=a&&c.createRepaintRects(t,e,h._width,h._height),p=n?c.__startIndex:c.__drawIndex,m=!n&&c.incremental&&Date.now,g=m&&Date.now(),v=c.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(c.__startIndex===c.__endIndex)c.clear(!1,v,f);else if(p===c.__startIndex){var y=t[p];y.incremental&&y.notClear&&!n||c.clear(!1,v,f)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=c.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=p;s<c.__endIndex;s++){var r=t[s];if(r.__inHover&&(u=!0),i._doPaintEl(r,c,a,e,n,s===c.__endIndex-1),m&&Date.now()-g>15)break}n.prevElClipPaths&&d.restore()};if(f)if(0===f.length)s=c.__endIndex;else for(var b=h.dpr,w=0;w<f.length;++w){var k=f[w];d.save(),d.beginPath(),d.rect(k.x*b,k.y*b,k.width*b,k.height*b),d.clip(),_(k),d.restore()}else d.save(),_(),d.restore();c.__drawIndex=s,c.__drawIndex<c.__endIndex&&(l=!1)},h=this,f=0;f<r.length;f++)c(f);return d.wxa&&j(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:l,needsRefreshHover:u}},t.prototype._doPaintEl=function(t,e,n,i,r,a){var o=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(ag(o,t,r,a),t.setPrevPaintRect(s))}else ag(o,t,r,a)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new Qv("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?L(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&L(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,a=this._domRoot,o=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);o=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(e.dom,l.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],a=this._layers[r];a.__builtin__&&t.call(e,a,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],a=this._layers[r];a.__builtin__||t.call(e,a,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){a&&(a.__endIndex!==t&&(a.__dirty=!0),a.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n=1;n<t.length;n++)if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}var i,r,a=null,o=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;i!==l&&(i=l,o=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,o=1):u=this.getLayer(l+(o>0?.01:0),this._needsManuallyCompositing),u.__builtin__||O("ZLevel "+l+" has been used by unkown layer "+u.id),u!==a&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.__drawIndex=u.incremental?-1:r,e(r),a=u),1&s.__dirty&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,j(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?L(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];r!==t&&r!==t+.01||L(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(E(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=zm(r,0,i),e=zm(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var a in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new Qv("image",this,(t=t||{}).pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++)ag(n,o[s],a,s===l-1);return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),ty=Math.sin,ey=Math.cos,ny=Math.PI,iy=2*Math.PI,ry=180/ny,ay=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,a){this._add("C",t,e,n,i,r,a)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,a){this.ellipse(t,e,n,n,0,i,r,a)},t.prototype.ellipse=function(t,e,n,i,r,a,o,s){var l,u=o-a,c=!s,h=Math.abs(u),d=bn(h-iy)||(c?u>=iy:-u>=iy),f=u>0?u%iy:u%iy+iy;l=!!d||!bn(h)&&f>=ny==!!c;var p=t+n*ey(a),m=e+i*ty(a);this._start&&this._add("M",p,m);var g=Math.round(r*ry);if(d){var v=1/this._p,y=(c?1:-1)*(iy-v);this._add("A",n,i,g,1,+c,t+n*ey(a+y),e+i*ty(a+y)),v>.01&&this._add("A",n,i,g,0,+c,p,m)}else{var _=t+n*ey(o),b=e+i*ty(o);this._add("A",n,i,g,+l,+c,_,b)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,a,o,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);u.push(Math.round(d*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),oy=Math.round,sy=["lineCap","miterLimit","lineJoin"],ly=N(sy,function(t){return"stroke-"+t.toLowerCase()}),uy="http://www.w3.org/2000/svg",cy="http://www.w3.org/1999/xlink";function hy(t){return document.createElementNS(uy,t)}function dy(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function fy(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],a=i;!1!==r&&(!0!==r&&null!=r&&(a+='="'+r+'"'),n.push(a))}return"<"+t+" "+n.join(" ")+">"}(r,e.attrs)+(e.text||"")+(i?""+n+N(i,function(e){return t(e)}).join(n)+n:"")+"</"+r+">"}(t)}function py(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function my(t,e,n,i){return dy("svg","root",{width:t,height:e,xmlns:uy,"xmlns:xlink":cy,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var gy={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"};function vy(t,e,n){var i=I({},t.shape);I(i,e),t.buildPath(n,i);var r=new ay;return r.reset(On(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function yy(t,e){var n=e.originX,i=e.originY;(n||i)&&(t["transform-origin"]=n+"px "+i+"px")}var _y={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function by(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function wy(t){return G(t)?gy[t]?"cubic-bezier("+gy[t]+")":Ue(t)?t:"":""}function ky(t,e,n,i){var r=t.animators,a=r.length,o=[];if(t instanceof Nf){if(g=function(t,e,n){var i,r,a={};if(j(t.shape.paths,function(t){var e=py(n.zrId);e.animation=!0,ky(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=H(o),u=l.length;if(u){var c=o[r=l[u-1]];for(var h in c){var d=c[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var f in s){var p=s[f].animation;p.indexOf(r)>=0&&(i=p)}}}),i){e.d=!1;var o=by(a,n);return i.replace(r,o)}}(t,e,n))o.push(g);else if(!a)return}else if(!a)return;for(var s={},l=0;l<a;l++){var u=r[l],c=[u.getMaxTime()/1e3+"s"],h=wy(u.getClip().easing),d=u.getDelay();c.push(h||"linear"),d&&c.push(d/1e3+"s"),u.getLoop()&&c.push("infinite");var f=c.join(" ");s[f]=s[f]||[f,[]],s[f][1].push(u)}function p(r){var a,o=r[1],s=o.length,l={},u={},c={};function h(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),a=0;a<i.length;a++){var o=i[a];if(o.needsAnimate()){var s=o.keyframes,l=o.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],h=Math.round(c.time/r*100)+"%",d=wy(c.easing),f=c.rawValue;(G(f)||X(f))&&(e[h]=e[h]||{},e[h][l]=c.rawValue,d&&(e[h]["animation-timing-function"]=d))}}}}for(var d=0;d<s;d++)(k=(w=o[d]).targetName)?"shape"===k&&h(w,u):!i&&h(w,l);for(var f in l){var p={};Di(p,t),I(p,l[f]);var m=Tn(p),g=l[f]["animation-timing-function"];c[f]=m?{transform:m}:{},yy(c[f],p),g&&(c[f]["animation-timing-function"]=g)}var v=!0;for(var f in u){c[f]=c[f]||{};var y=!a;g=u[f]["animation-timing-function"],y&&(a=new mo);var _=a.len();a.reset(),c[f].d=vy(t,u[f],a);var b=a.len();if(!y&&_!==b){v=!1;break}g&&(c[f]["animation-timing-function"]=g)}if(!v)for(var f in c)delete c[f].d;if(!i)for(d=0;d<s;d++){var w,k;"style"===(k=(w=o[d]).targetName)&&h(w,c,function(t){return _y[t]})}var x,M=H(c),S=!0;for(d=1;d<M.length;d++){var C=M[d-1];if(c[C]["transform-origin"]!==c[M[d]]["transform-origin"]){S=!1;break}x=c[C]["transform-origin"]}if(S&&x){for(var f in c)c[f]["transform-origin"]&&delete c[f]["transform-origin"];e["transform-origin"]=x}if(V(M,function(t){return H(c[t]).length>0}).length)return by(c,n)+" "+r[0]+" both"}for(var m in s){var g;(g=p(s[m]))&&o.push(g)}if(o.length){var v=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+v]={animation:o.join(",")},e.class=v}}var xy=Math.round;function My(t){return t&&G(t.src)}function Sy(t){return t&&U(t.toDataURL)}function Cy(t,e,n,i){!function(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof zo)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&"none"!==e}(e)){var a=_n(e.fill);t("fill",a.color);var o=null!=e.fillOpacity?e.fillOpacity*a.opacity*r:a.opacity*r;o<1&&t("fill-opacity",o)}else t("fill","none");if(function(t){var e=t.stroke;return null!=e&&"none"!==e}(e)){var s=_n(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if(1!==u&&t("stroke-width",u),h&&t("paint-order",h?"stroke":"fill"),c<1&&t("stroke-opacity",c),e.lineDash){var d=Bm(n),f=d[0],p=d[1];f&&(p=oy(p||0),t("stroke-dasharray",f.join(",")),p&&t("stroke-dashoffset",p))}for(var m=0;m<sy.length;m++){var g=sy[m];if(e[g]!==Io[g]){var v=e[g]||Io[g];v&&t(ly[m],v)}}}}}(function(r,a){var o="fill"===r||"stroke"===r;o&&function(t){return t&&("linear"===t.type||"radial"===t.type)}(a)?function(t,e,n,i){var r,a=t[n],o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(Sn(a))r="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else{if(!Cn(a))return;r="radialGradient",o.cx=nt(a.x,.5),o.cy=nt(a.y,.5),o.r=nt(a.r,.5)}for(var s=a.colorStops,l=[],u=0,c=s.length;u<c;++u){var h=100*kn(s[u].offset)+"%",d=_n(s[u].color),f=d.opacity,p={offset:h};p["stop-color"]=d.color,f<1&&(p["stop-opacity"]=f),l.push(dy("stop",u+"",p))}var m=fy(dy(r,"",o,l)),g=i.gradientCache,v=g[m];v||(v=i.zrId+"-g"+i.gradientIdx++,g[m]=v,o.id=v,i.defs[v]=dy(r,v,o,l)),e[n]=Dn(v)}(e,t,r,i):o&&function(t){return Mn(t)||function(t){return t&&!!t.svgElement}(t)}(a)?function(t,e,n,i){var r,a=t.style[n],o={patternUnits:"userSpaceOnUse"};if(Mn(a)){var s=a.imageWidth,l=a.imageHeight,u=void 0,c=a.image;if(G(c)?u=c:My(c)?u=c.src:Sy(c)&&(u=c.toDataURL()),"undefined"==typeof Image){var h="Image width/height must been given explictly in svg-ssr renderer.";ot(s,h),ot(l,h)}else if(null==s||null==l){var d=function(t,e){if(t){var n=t.elm,i=t.attrs.width=s||e.width,r=t.attrs.height=l||e.height;n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},f=da(u,null,t,function(t){d(p,t),d(r,t)});f&&f.width&&f.height&&(s=s||f.width,l=l||f.height)}r=dy("image","img",{href:u,width:s,height:l}),o.width=s,o.height=l}else a.svgElement&&(r=T(a.svgElement),o.width=a.svgWidth,o.height=a.svgHeight);if(r){o.patternTransform=Tn(a);var p=dy("pattern","",o,[r]),m=fy(p),g=i.patternCache,v=g[m];v||(v=i.zrId+"-p"+i.patternIdx++,g[m]=v,o.id=v,p=i.defs[v]=dy("pattern",v,o,[r])),e[n]=Dn(v)}}(n,t,r,i):t[r]=a},e,n),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),a=n.shadowCache,o=a[r];if(!o){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,f=_n(i.shadowColor),p=f.opacity,m=f.color,g=d/2/l+" "+d/2/u;o=n.zrId+"-s"+n.shadowIdx++,n.defs[o]=dy("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[dy("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:g,"flood-color":m,"flood-opacity":p})]),a[r]=o}e.filter=Dn(o)}}(n,t,i)}function Dy(t){return bn(t[0]-1)&&bn(t[1])&&bn(t[2])&&bn(t[3]-1)}function Oy(t,e,n){if(e&&(!function(t){return bn(t[4])&&bn(t[5])}(e)||!Dy(e))){var i=n?10:1e4;t.transform=Dy(e)?"translate("+xy(e[4]*i)/i+" "+xy(e[5]*i)/i+")":function(t){return"matrix("+wn(t[0])+","+wn(t[1])+","+wn(t[2])+","+wn(t[3])+","+kn(t[4])+","+kn(t[5])+")"}(e)}}function Ty(t,e,n){for(var i=t.points,r=[],a=0;a<i.length;a++)r.push(xy(i[a][0]*n)/n),r.push(xy(i[a][1]*n)/n);e.points=r.join(" ")}function Ly(t){return!t.smooth}var Ay,Iy,Py={circle:[(Ay=["cx","cy","r"],Iy=N(Ay,function(t){return"string"==typeof t?[t,t]:t}),function(t,e,n){for(var i=0;i<Iy.length;i++){var r=Iy[i],a=t[r[0]];null!=a&&(e[r[1]]=xy(a*n)/n)}})],polyline:[Ty,Ly],polygon:[Ty,Ly]};function Ey(t,e){var n=t.style,i=t.shape,r=Py[t.type],a={},o=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&On(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||o&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){t.path||t.createPathProxy();var c=t.path;t.shapeChanged()&&(c.beginPath(),t.buildPath(c,t.shape),t.pathUpdated());var h=c.getVersion(),d=t,f=d.__svgPathBuilder;d.__svgPathVersion===h&&f&&l===d.__svgPathStrokePercent||(f||(f=d.__svgPathBuilder=new ay),f.reset(u),c.rebuildPath(f,l),f.generateStr(),d.__svgPathVersion=h,d.__svgPathStrokePercent=l),a.d=f.getStr()}else{s=t.type;var p=Math.pow(10,u);r[0](i,a,p)}return Oy(a,t.transform),Cy(a,n,t,e),e.animation&&ky(t,a,e),dy(s,t.id+"",a)}function Ry(t,e){return t instanceof Ro?Ey(t,e):t instanceof zo?function(t,e){var n=t.style,i=n.image;if(i&&!G(i)&&(My(i)?i=i.src:Sy(i)&&(i=i.toDataURL())),i){var r=n.x||0,a=n.y||0,o={href:i,width:n.width,height:n.height};return r&&(o.x=r),a&&(o.y=a),Oy(o,t.transform),Cy(o,n,t,e),e.animation&&ky(t,o,e),dy("image",t.id+"",o)}}(t,e):t instanceof No?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||f,a=n.x||0,o=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Ui(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":xn[n.textAlign]||n.textAlign};if(as(n)){var l="",u=n.fontStyle,c=is(n.fontSize);if(!parseFloat(c))return;var h=n.fontWeight;l+="font-size:"+c+";font-family:"+(n.fontFamily||"sans-serif")+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),h&&"normal"!==h&&(l+="font-weight:"+h+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),a&&(s.x=a),o&&(s.y=o),Oy(s,t.transform),Cy(s,n,t,e),e.animation&&ky(t,s,e),dy("text",t.id+"",s,void 0,i)}}(t,e):void 0}function Yy(t,e,n){var i=n.clipPathCache,r=n.defs,a=i[t.id];if(!a){var o={id:a=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=a,r[a]=dy("clipPath",a,o,[Ey(t,n)])}e["clip-path"]=Dn(a)}function jy(t){return document.createTextNode(t)}function Ny(t,e,n){t.insertBefore(e,n)}function Fy(t,e){t.removeChild(e)}function Vy(t,e){t.appendChild(e)}function Hy(t){return t.parentNode}function zy(t){return t.nextSibling}function By(t,e){t.textContent=e}var Wy=dy("","");function Uy(t){return void 0===t}function Gy(t){return void 0!==t}function qy(t,e,n){for(var i={},r=e;r<=n;++r){var a=t[r].key;void 0!==a&&(i[a]=r)}return i}function Xy(t,e){return t.tag===e.tag&&t.key===e.key}function Zy(t){var e,n=t.children,i=t.tag;if(Gy(i)){var r=t.elm=hy(i);if(Qy(Wy,t),W(n))for(e=0;e<n.length;++e){var a=n[e];null!=a&&Vy(r,Zy(a))}else Gy(t.text)&&!Z(t.text)&&Vy(r,jy(t.text))}else t.elm=jy(t.text);return t.elm}function Ky(t,e,n,i,r){for(;i<=r;++i){var a=n[i];null!=a&&Ny(t,Zy(a),e)}}function Jy(t,e,n,i){for(;n<=i;++n){var r=e[n];null!=r&&(Gy(r.tag)?Fy(Hy(r.elm),r.elm):Fy(t,r.elm))}}function Qy(t,e){var n,i=e.elm,r=t&&t.attrs||{},a=e.attrs||{};if(r!==a){for(n in a){var o=a[n];r[n]!==o&&(!0===o?i.setAttribute(n,""):!1===o?i.removeAttribute(n):120!==n.charCodeAt(0)?i.setAttribute(n,o):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS("http://www.w3.org/2000/xmlns/",n,o):58===n.charCodeAt(3)?i.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,o):58===n.charCodeAt(5)?i.setAttributeNS(cy,n,o):i.setAttribute(n,o))}for(n in r)n in a||i.removeAttribute(n)}}function $y(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(Qy(t,e),Uy(e.text)?Gy(i)&&Gy(r)?i!==r&&function(t,e,n){for(var i,r,a,o=0,s=0,l=e.length-1,u=e[0],c=e[l],h=n.length-1,d=n[0],f=n[h];o<=l&&s<=h;)null==u?u=e[++o]:null==c?c=e[--l]:null==d?d=n[++s]:null==f?f=n[--h]:Xy(u,d)?($y(u,d),u=e[++o],d=n[++s]):Xy(c,f)?($y(c,f),c=e[--l],f=n[--h]):Xy(u,f)?($y(u,f),Ny(t,u.elm,zy(c.elm)),u=e[++o],f=n[--h]):Xy(c,d)?($y(c,d),Ny(t,c.elm,u.elm),c=e[--l],d=n[++s]):(Uy(i)&&(i=qy(e,o,l)),Uy(r=i[d.key])||(a=e[r]).tag!==d.tag?Ny(t,Zy(d),u.elm):($y(a,d),e[r]=void 0,Ny(t,a.elm,u.elm)),d=n[++s]);(o<=l||s<=h)&&(o>l?Ky(t,null==n[h+1]?null:n[h+1].elm,n,s,h):Jy(t,e,o,l))}(n,i,r):Gy(r)?(Gy(t.text)&&By(n,""),Ky(n,null,r,0,r.length-1)):Gy(i)?Jy(n,i,0,i.length-1):Gy(t.text)&&By(n,""):t.text!==e.text&&(Gy(i)&&Jy(n,i,0,i.length-1),By(n,e.text)))}var t_=0,e_=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=I({},n),this.root=t,this._id="zr"+t_++,this._oldVNode=my(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=hy("svg");Qy(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Xy(t,e))$y(t,e);else{var n=t.elm,i=Hy(n);Zy(e),null!==i&&(Ny(i,e.elm,zy(n)),Jy(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Ry(t,py(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,i=this._width,r=this._height,a=py(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress;var o=[];if(n&&"none"!==n){var s=_n(n);this._bgVNode=dy("rect","bg",{width:i,height:r,x:"0",y:"0",id:"0",fill:s.color,"fill-opacity":s.opacity}),o.push(this._bgVNode)}else this._bgVNode=null;var l=t.compress?null:this._mainVNode=dy("g","main",{},[]);this._paintList(e,a,l?l.children:o),l&&o.push(l);var u=N(H(a.defs),function(t){return a.defs[t]});if(u.length&&o.push(dy("defs","defs",{},u)),t.animation){var c=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,a=i+"}",o=N(H(t),function(e){return e+r+N(H(t[e]),function(n){return n+":"+t[e][n]+";"}).join(i)+a}).join(i),s=N(H(e),function(t){return"@keyframes "+t+r+N(H(e[t]),function(n){return n+r+N(H(e[t][n]),function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"}).join(i)+a}).join(i)+a}).join(i);return o||s?["<![CDATA[",o,s,"]]>"].join(i):""}(a.cssNodes,a.cssAnims,{newline:!0});if(c){var h=dy("style","stl",{},[],c);o.push(h)}}return my(i,r,o,t.useViewBox)},t.prototype.renderToString=function(t){return fy(this.renderToVNode({animation:nt((t=t||{}).cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:nt(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=_n(t),i=n.opacity;e.elm.setAttribute("fill",n.color),i<1&&e.elm.setAttribute("fill-opacity",i)}},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,a=t.length,o=[],s=0,l=0,u=0;u<a;u++){var c=t[u];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,f=r&&r.length||0,p=void 0;for(p=Math.max(d-1,f-1);p>=0&&(!h||!r||h[p]!==r[p]);p--);for(var m=f-1;m>p;m--)i=o[--s-1];for(var g=p+1;g<d;g++){var v={};Yy(h[g],v,e);var y=dy("g","clip-g-"+l++,v,[]);(i?i.children:n).push(y),o[s++]=y,i=y}r=h;var _=Ry(c,e);_&&(i?i.children:n).push(_)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=zm(i,0,n),e=zm(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var a=r.style;a.width=t+"px",a.height=e+"px"}var o=this._svgDom;o&&(o.setAttribute("width",t),o.setAttribute("height",e))}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=encodeURIComponent(this.renderToString()),n="data:image/svg+xml;";return t?(e=Ln(e))&&n+"base64,"+e:n+"charset=UTF-8,"+e},t}();function n_(t){return null==t?0:t.length||1}function i_(t){return t}var r_=function(){function t(t,e,n,i,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||i_,this._newKeyGetter=i||i_,this.context=r,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var a=0;a<t.length;a++){var o=i[a],s=n[o],l=n_(s);if(l>1){var u=s.shift();1===s.length&&(n[o]=s[0]),this._update&&this._update(u,a)}else 1===l?(n[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._new,e={},n={},i=[],r=[];this._initIndexMap(this._old,e,i,"_oldKeyGetter"),this._initIndexMap(t,n,r,"_newKeyGetter");for(var a=0;a<i.length;a++){var o=i[a],s=e[o],l=n[o],u=n_(s),c=n_(l);if(u>1&&1===c)this._updateManyToOne&&this._updateManyToOne(l,s),n[o]=null;else if(1===u&&c>1)this._updateOneToMany&&this._updateOneToMany(l,s),n[o]=null;else if(1===u&&1===c)this._update&&this._update(l,s),n[o]=null;else if(u>1&&c>1)this._updateManyToMany&&this._updateManyToMany(l,s),n[o]=null;else if(u>1)for(var h=0;h<u;h++)this._remove&&this._remove(s[h]);else this._remove&&this._remove(s)}this._performRestAdd(r,n)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],a=n_(r);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(r[o]);else 1===a&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,a=0;a<t.length;a++){var o="_ec_"+this[i](t[a],a);if(r||(n[a]=o),e){var s=e[o],l=n_(s);0===l?(e[o]=a,r&&n.push(o)):1===l?e[o]=[s,a]:s.push(a)}}},t}(),a_=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function o_(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function s_(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var l_=function(t){this.otherDims={},null!=t&&I(this,t)},u_=Br(),c_={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},h_=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=p_(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return nt(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=ah(this.source),n=!m_(t),i="",r=[],a=0,o=0;a<t;a++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[o];if(c&&c.storeDimIndex===a)s=e?c.name:null,l=c.type,u=c.ordinalMeta,o++;else{var h=this.getSourceDimension(a);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=c_[l]||"f",u&&(i+=u.uid),i+="$"}var d=this.source;return{dimensions:r,hash:[d.seriesLayoutBy,d.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var a=this.getSourceDimension(e);a&&(i=a.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function d_(t){return t instanceof h_}function f_(t){for(var e=ht(),n=0;n<(t||[]).length;n++){var i=t[n],r=Z(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function p_(t){var e=u_(t);return e.dimNameMap||(e.dimNameMap=f_(t.dimensionsDefine))}function m_(t){return t>30}var g_,v_,y_,__,b_,w_,k_,x_=Z,M_=N,S_="undefined"==typeof Int32Array?Array:Int32Array,C_=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],D_=["_approximateExtent"],O_=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;d_(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},a=[],o={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],h=G(c)?new l_({name:c}):c instanceof l_?c:new l_(c),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var f=h.otherDims=h.otherDims||{};a.push(d),r[d]=h,null!=l[d]&&(s=!0),h.createInvertedIndices&&(o[d]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(h.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=o,this._dimOmitted){var p=this._dimIdxToName=ht();j(a,function(t){p.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(X(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof Xh&&(i=t),!i){var a=this.dimensions,o=$c(t)||Y(t)?new oh(t,a.length):t;i=new Xh;var s=M_(a,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(o,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=ht(),a=[],o=[],s={};j(t.dimensions,function(e){var n,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var c=l.coordDimIndex;o_(i,u)[c]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(a[0]=e),o_(s,u)[c]=t.getDimensionIndex(l.name)),l.defaultTooltip&&o.push(e)}Qu.each(function(t,e){var n=o_(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)})});var l=[],u={};r.each(function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=N(l,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(a=c.slice());var h=i.tooltip;return h&&h.length?o=h.slice():o.length||(o=a.slice()),i.defaultedLabel=a,i.defaultedTooltip=o,n.userOutput=new a_(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var o=i;o<r;o++)this._nameList[o]=e[o-i],a&&k_(this,o)},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&"typedArray"!==t.getSource().sourceFormat&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if("original"===n.getSource().sourceFormat&&!n.pure)for(var a=[],o=t;o<e;o++){var s=n.getItem(o,a);if(!this.hasItemOption&&Rr(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[o]&&null!=l&&(i[o]=Fr(l,null));var u=s.id;null==r[o]&&null!=u&&(r[o]=Fr(u,null))}}if(this._shouldMakeIdFromName())for(o=t;o<e;o++)k_(this,o);g_(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){x_(t)?I(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=y_(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return v_(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._dimInfos[t];if(n)return this._store.get(n.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._dimInfos[t];if(n)return this._store.getByRawIndex(n.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return W(t)?i.getValues(M_(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){U(t)&&(n=e,e=t,t=[]);var i=n||this,r=M_(__(t),this._getStoreDimIndex,this);this._store.each(r,i?z(e,i):e)},t.prototype.filterSelf=function(t,e,n){U(t)&&(n=e,e=t,t=[]);var i=n||this,r=M_(__(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?z(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=H(t),r=[];return j(i,function(i){var a=e._getStoreDimIndex(i);n[a]=t[i],r.push(a)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){U(t)&&(n=e,e=t,t=[]);var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n=n||this),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,a=M_(__(t),this._getStoreDimIndex,this),o=w_(this);return o._store=this._store.map(a,r?z(e,r):e),o},t.prototype.modify=function(t,e,n,i){var r=n||i||this,a=M_(__(t),this._getStoreDimIndex,this);this._store.modify(a,r?z(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=w_(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=w_(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new Ul(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new r_(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return v_(t,e)},function(t){return v_(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},x_(t)?I(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(W(r=this.getVisual(e))?r=r.slice():x_(r)&&(r=I({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,x_(e)?I(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){x_(t)?I(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?I(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){ps(this.hostModel&&this.hostModel.seriesIndex,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){j(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:M_(this.dimensions,this._getDimInfo,this),this.hostModel)),b_(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];U(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(rt(arguments)))})},t.internalField=(g_=function(t){var e=t._invertedIndicesMap;j(e,function(n,i){var r=t._dimInfos[i],a=r.ordinalMeta,o=t._store;if(a){n=e[i]=new S_(a.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<o.count();s++)n[o.get(r.storeDimIndex,s)]=s}})},y_=function(t,e,n){return Fr(t._getCategory(e,n),null)},v_=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=y_(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},__=function(t){return W(t)||(t=null!=t?[t]:[]),t},w_=function(e){var n=new t(e._schema?e._schema:M_(e.dimensions,e._getDimInfo,e),e.hostModel);return b_(n,e),n},b_=function(t,e){j(C_.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,j(D_,function(n){t[n]=T(e[n])}),t._calculationInfo=I({},e._calculationInfo)},void(k_=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,o=n[e],s=i[e];if(null==o&&null!=r&&(n[e]=o=y_(t,r,e)),null==s&&null!=a&&(i[e]=s=y_(t,a,e)),null==s&&null!=o){var l=t._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),i[e]=s}})),t}();function T_(t,e){$c(t)||(t=eh(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=ht(),a=[],o=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return j(e,function(t){var e;Z(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))}),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&m_(o),l=i===t.dimensionsDefine,u=l?p_(t):f_(i),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,o));for(var h=ht(c),d=new Bh(o),f=0;f<d.length;f++)d[f]=-1;function p(t){var e=d[t];if(e<0){var n=i[t],r=Z(n)?n:{name:n},o=new l_,s=r.name;return null!=s&&null!=u.get(s)&&(o.name=o.displayName=s),null!=r.type&&(o.type=r.type),null!=r.displayName&&(o.displayName=r.displayName),d[t]=a.length,o.storeDimIndex=t,a.push(o),o}return a[e]}if(!s)for(f=0;f<o;f++)p(f);h.each(function(t,e){var n=Ar(t).slice();if(1===n.length&&!G(n[0])&&n[0]<0)h.set(e,!1);else{var i=h.set(e,[]);j(n,function(t,n){var r=G(t)?u.get(t):t;null!=r&&r<o&&(i[n]=r,g(p(r),e,n))})}});var m=0;function g(t,e,n){null!=Qu.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}j(n,function(t){var e,n,i,r;if(G(t))e=t,r={};else{e=(r=t).name;var a=r.ordinalMeta;r.ordinalMeta=null,(r=I({},r)).ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=h.get(e);if(!1!==s){if(!(s=Ar(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;m<o&&null!=p(m).coordDim;)m++;m<o&&s.push(m++)}j(s,function(t,a){var o=p(t);if(l&&null!=r.type&&(o.type=r.type),g(P(o,r),e,a),null==o.name&&n){var s=n[a];!Z(s)&&(s={name:s}),o.name=o.displayName=s.name,o.defaultTooltip=s.defaultTooltip}i&&P(o.otherDims,i)})}});var v=e.generateCoord,y=e.generateCoordCount,_=null!=y;y=v?y||1:0;var b=v||"value";function w(t){null==t.name&&(t.name=t.coordDim)}if(s)j(a,function(t){w(t)}),a.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var k=0;k<o;k++){var x=p(k);null==x.coordDim&&(x.coordDim=L_(b,r,_),x.coordDimIndex=0,(!v||y<=0)&&(x.isExtraCoord=!0),y--),w(x),null!=x.type||1!==ic(t,k)&&(!x.isExtraCoord||null==x.otherDims.itemName&&null==x.otherDims.seriesName)||(x.type="ordinal")}return function(t){for(var e=ht(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(a),new h_({source:t,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function L_(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){for(var r=0;i.hasOwnProperty(t+r);)r++;t+=r}return e.set(t,!0),t}var A_=function(t){this.coordSysDims=[],this.axisMap=ht(),this.categoryAxisMap=ht(),this.coordSysName=t},I_={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",qr).models[0],a=t.getReferringComponents("yAxis",qr).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),P_(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),P_(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",qr).models[0];e.coordSysDims=["single"],n.set("single",r),P_(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",qr).models[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),P_(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),P_(o)&&(i.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();j(a.parallelAxisIndex,function(t,a){var s=r.getComponent("parallelAxis",t),l=o[a];n.set(l,s),P_(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=a))})}};function P_(t){return"category"===t.get("type")}function E_(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function R_(t,e){return E_(t,e)?t.getCalculationInfo("stackResultDimension"):e}var Y_=function(t,e,n){n=n||{};var i,r=e.getSourceManager(),a=!1;t?(a=!0,i=eh(t)):a="original"===(i=r.getSource()).sourceFormat;var o=function(t){var e=t.get("coordinateSystem"),n=new A_(e),i=I_[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=xc.get(i);return e&&e.coordSysDims&&(n=N(e.coordSysDims,function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=s_(r)}return n})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,o),l=n.useEncodeDefaulter,u=U(l)?l:l?B(tc,s,e):null,c=T_(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a}),h=function(t,e,n){var i,r;return n&&j(t,function(t,a){var o=n.categoryAxisMap.get(t.coordDim);o&&(null==i&&(i=a),t.ordinalMeta=o.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)}),r||null==i||(t[i].otherDims.itemName=0),i}(c.dimensions,n.createInvertedIndices,o),d=a?null:r.getSharedDataStore(c),f=function(t,e,n){var i,r,a,o=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!d_(t.schema)}(e)?(i=(r=e.schema).dimensions,a=e.store):i=e;var l,u,c,h,d=!(!t||!t.get("stack"));if(j(i,function(t,e){G(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(o||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))}),!u||o||l||(o=!0),u){c="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,p=u.type,m=0;j(i,function(t){t.coordDim===f&&m++});var g={name:c,coordDim:f,coordDimIndex:m,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:h,coordDim:h,coordDimIndex:m+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(a&&(g.storeDimIndex=a.ensureCalculationDimension(h,p),v.storeDimIndex=a.ensureCalculationDimension(c,p)),r.appendCalculationDimension(g),r.appendCalculationDimension(v)):(i.push(g),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:o,stackedOverDimension:h,stackResultDimension:c}}(e,{schema:c,store:d}),p=new O_(c,e);p.setCalculationInfo(f);var m=null!=h&&function(t){if("original"===t.sourceFormat)return!W(Er(function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[])))}(i)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return p.hasItemOption=!1,p.initData(a?i:d,null,m),p},j_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.getInitialData=function(t){return Y_(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new ar,n=jm("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),a="none"===i?"circle":i,o=.8*t.itemHeight,s=jm(a,(t.itemWidth-o)/2,(t.itemHeight-o)/2,o,o,t.itemStyle.fill);return e.add(s),s.setStyle(t.itemStyle),s.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),a.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Sd);function N_(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=vh(t,e,n[0]);return null!=r?r+"":null}if(i){for(var a=[],o=0;o<n.length;o++)a.push(vh(t,e,n[o]));return a.join(" ")}}function F_(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!W(e))return e+"";for(var i=[],r=0;r<n.length;r++){var a=t.getDimensionIndex(n[r]);a>=0&&i.push(e[a])}return i.join(" ")}function V_(t,e){this.parent.drift(t,e)}var H_=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a.updateData(e,n,i,r),a}return a(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var a=jm(t,-1,-1,2,2,null,r);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=V_,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Ns(this.childAt(0))},e.prototype.downplay=function(){Fs(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var a=t.getItemVisual(n,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,n),l=a!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,t,n,s,c)}else{(d=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):cl(d,h,o,n),gl(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);u||(h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}},d.scaleX=d.scaleY=0,d.style.opacity=0,hl(d,h,o,n))}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var a,o,s,l,u,c,h,d,f,p=this.childAt(0),m=t.hostModel;if(i&&(a=i.emphasisItemStyle,o=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,f=i.cursorStyle,c=i.emphasisDisabled),!i||t.hasItemOption){var g=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=g.getModel("emphasis");a=v.getModel("itemStyle").getItemStyle(),s=g.getModel(["select","itemStyle"]).getItemStyle(),o=g.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),c=v.get("disabled"),h=wl(g),d=v.getShallow("scale"),f=g.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");p.attr("rotation",(y||0)*Math.PI/180||0);var _=Fm(t.getItemVisual(e,"symbolOffset"),n);_&&(p.x=_[0],p.y=_[1]),f&&p.attr("cursor",f);var b=t.getItemVisual(e,"style"),w=b.fill;if(p instanceof zo){var k=p.style;p.useStyle(I({image:k.image,x:k.x,y:k.y,width:k.width,height:k.height},b))}else p.useStyle(p.__isEmptyBrush?I({},b):b),p.style.decal=null,p.setColor(w,r&&r.symbolInnerColor),p.style.strokeNoScale=!0;var x=t.getItemVisual(e,"liftZ"),M=this._z2;null!=x?null==M&&(this._z2=p.z2,p.z2+=x):null!=M&&(p.z2=M,this._z2=null);var S=r&&r.useNameLabel;bl(p,h,{labelFetcher:m,labelDataIndex:e,defaultText:function(e){return S?t.getName(e):N_(t,e)},inheritColor:w,defaultOpacity:b.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=p.ensureState("emphasis");if(C.style=a,p.ensureState("select").style=s,p.ensureState("blur").style=o,d){var D=Math.max(1.1,3/this._sizeY);C.scaleX=this._sizeX*D,C.scaleY=this._sizeY*D}this.setSymbolScale(1),Qs(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=fs(this).dataIndex,a=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var o=i.getTextContent();o&&fl(o,{style:{opacity:0}},e,{dataIndex:r,removeOpt:a,cb:function(){i.removeTextContent()}})}else i.removeTextContent();fl(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:a})},e.getSymbolSize=function(t,e){return Nm(t.getItemVisual(e,"symbolSize"))},e}(ar);function z_(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function B_(t){return null==t||Z(t)||(t={isIgnore:t}),t||{}}function W_(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:wl(e),cursorStyle:e.get("cursor")}}var U_=function(){function t(t){this.group=new ar,this._SymbolCtor=t||H_}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=B_(e);var n=this.group,i=t.hostModel,r=this._data,a=this._SymbolCtor,o=e.disableAnimation,s=W_(t),l={disableAnimation:o},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add(function(i){var r=u(i);if(z_(t,r,i,e)){var o=new a(t,i,s,l);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}}).update(function(c,h){var d=r.getItemGraphicEl(h),f=u(c);if(z_(t,f,c,e)){var p=t.getItemVisual(c,"symbol")||"circle",m=d&&d.getSymbolType&&d.getSymbolType();if(!d||m&&m!==p)n.remove(d),(d=new a(t,c,s,l)).setPosition(f);else{d.updateData(t,c,s,l);var g={x:f[0],y:f[1]};o?d.attr(g):cl(d,g,i)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=W_(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=B_(n);for(var r=t.start;r<t.end;r++){var a=e.getItemLayout(r);if(z_(e,a,r,n)){var o=new this._SymbolCtor(e,r,this._seriesScope);o.traverse(i),o.setPosition(a),this.group.add(o),e.setItemGraphicEl(r,o),this._progressiveEls.push(o)}}},t.prototype.eachRendered=function(t){xp(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}();function G_(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),a=function(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),o=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(o),c="x"===s||"radius"===s?1:0,h=N(t.dimensions,function(t){return e.mapDimension(t)}),d=!1,f=e.getCalculationInfo("stackResultDimension");return E_(e,h[0])&&(d=!0,h[0]=f),E_(e,h[1])&&(d=!0,h[1]=f),{dataDimsForPoint:h,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function q_(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,i),o[1-a]=r,e.dataToPoint(o)}var X_="undefined"!=typeof Float32Array,Z_=X_?Float32Array:Array;function K_(t){return W(t)?X_?new Float32Array(t):t:new Z_(t)}var J_=Math.min,Q_=Math.max;function $_(t,e){return isNaN(t)||isNaN(e)}function tb(t,e,n,i,r,a,o,s,l){for(var u,c,h,d,f,p,m=n,g=0;g<i;g++){var v=e[2*m],y=e[2*m+1];if(m>=r||m<0)break;if($_(v,y)){if(l){m+=a;continue}break}if(m===n)t[a>0?"moveTo":"lineTo"](v,y),h=v,d=y;else{var _=v-u,b=y-c;if(_*_+b*b<.5){m+=a;continue}if(o>0){for(var w=m+a,k=e[2*w],x=e[2*w+1];k===v&&x===y&&g<i;)g++,k=e[2*(w+=a)],x=e[2*w+1],_=(v=e[2*(m+=a)])-u,b=(y=e[2*m+1])-c;var M=g+1;if(l)for(;$_(k,x)&&M<i;)M++,k=e[2*(w+=a)],x=e[2*w+1];var S=.5,C=0,D=0,O=void 0,T=void 0;if(M>=i||$_(k,x))f=v,p=y;else{C=k-u,D=x-c;var L=v-u,A=k-v,I=y-c,P=x-y,E=void 0,R=void 0;if("x"===s){var Y=C>0?1:-1;f=v-Y*(E=Math.abs(L))*o,p=y,O=v+Y*(R=Math.abs(A))*o,T=y}else if("y"===s){var j=D>0?1:-1;f=v,p=y-j*(E=Math.abs(I))*o,O=v,T=y+j*(R=Math.abs(P))*o}else E=Math.sqrt(L*L+I*I),f=v-C*o*(1-(S=(R=Math.sqrt(A*A+P*P))/(R+E))),p=y-D*o*(1-S),T=y+D*o*S,O=J_(O=v+C*o*S,Q_(k,v)),T=J_(T,Q_(x,y)),O=Q_(O,J_(k,v)),p=y-(D=(T=Q_(T,J_(x,y)))-y)*E/R,f=J_(f=v-(C=O-v)*E/R,Q_(u,v)),p=J_(p,Q_(c,y)),O=v+(C=v-(f=Q_(f,J_(u,v))))*R/E,T=y+(D=y-(p=Q_(p,J_(c,y))))*R/E}t.bezierCurveTo(h,d,f,p,v,y),h=O,d=T}else t.lineTo(v,y)}u=v,c=y,m+=a}return g}var eb=function(){this.smooth=0,this.smoothConstraint=!0},nb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new eb},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&$_(n[2*r-2],n[2*r-1]);r--);for(;i<r&&$_(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=tb(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,a=mo.CMD,o="x"===e,s=[],l=0;l<r.length;){var u=void 0,c=void 0,h=void 0,d=void 0,f=void 0,p=void 0,m=void 0;switch(r[l++]){case a.M:n=r[l++],i=r[l++];break;case a.L:if(u=r[l++],c=r[l++],(m=o?(t-n)/(u-n):(t-i)/(c-i))<=1&&m>=0){var g=o?(c-i)*m+i:(u-n)*m+n;return o?[t,g]:[g,t]}n=u,i=c;break;case a.C:u=r[l++],c=r[l++],h=r[l++],d=r[l++],f=r[l++],p=r[l++];var v=o?Pe(n,u,h,f,t,s):Pe(i,c,d,p,t,s);if(v>0)for(var y=0;y<v;y++){var _=s[y];if(_<=1&&_>=0)return g=o?Ae(i,c,d,p,_):Ae(n,u,h,f,_),o?[t,g]:[g,t]}n=f,i=p}}},e}(Ro),ib=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e}(eb),rb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return a(e,t),e.prototype.getDefaultShape=function(){return new ib},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,a=n.length/2,o=e.smoothMonotone;if(e.connectNulls){for(;a>0&&$_(n[2*a-2],n[2*a-1]);a--);for(;r<a&&$_(n[2*r],n[2*r+1]);r++);}for(;r<a;){var s=tb(t,n,r,a,a,1,e.smooth,o,e.connectNulls);tb(t,i,r+s-1,s,a,-1,e.stackedOnSmooth,o,e.connectNulls),r+=s+1,t.closePath()}},e}(Ro);function ab(t,e,n,i,r){var a=t.getArea(),o=a.x,s=a.y,l=a.width,u=a.height,c=n.get(["lineStyle","width"])||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var h=new Ko({shape:{x:o,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),f=d.isHorizontal(),p=d.inverse;f?(p&&(h.shape.x+=l),h.shape.width=0):(p||(h.shape.y+=u),h.shape.height=0);var m=U(r)?function(t){r(t,h)}:null;hl(h,{shape:{width:l,height:u,x:o,y:s}},n,null,i,m)}return h}function ob(t,e,n){var i=t.getArea(),r=dr(i.r0,1),a=dr(i.r,1),o=new mf({shape:{cx:dr(t.cx,1),cy:dr(t.cy,1),r0:r,r:a,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?o.shape.endAngle=i.startAngle:o.shape.r=r,hl(o,{shape:{endAngle:i.endAngle,r:a}},n)),o}function sb(t,e,n,i,r){return t?"polar"===t.type?ob(t,e,n):"cartesian2d"===t.type?ab(t,e,n,i,r):null:null}function lb(t,e){return t.type===e}function ub(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function cb(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,a=0;a<t.length;){var o=t[a++],s=t[a++];isNaN(o)||(e=Math.min(o,e),i=Math.max(o,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function hb(t,e){var n=cb(t),i=n[0],r=n[1],a=cb(e),o=a[0],s=a[1];return Math.max(Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function db(t){return X(t)?t:t?.5:0}function fb(t,e,n,i){var r=e.getBaseAxis(),a="x"===r.dim||"radius"===r.dim?0:1,o=[],s=0,l=[],u=[],c=[],h=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],o.push(u[0],u[1]),n){case"end":l[a]=c[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var d=[];l[a]=d[a]=(u[a]+c[a])/2,l[1-a]=u[1-a],d[1-a]=c[1-a],o.push(l[0],l[1]),o.push(d[0],d[1]);break;default:l[a]=u[a],l[1-a]=c[1-a],o.push(l[0],l[1])}return o.push(t[s++],t[s++]),o}function pb(t,e){return[t[2*e],t[2*e+1]]}function mb(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<_s.length;e++)if(t.get([_s[e],"endLabel","show"]))return!0;return!1}function gb(t,e,n,i){if(lb(e,"cartesian2d")){var r=i.getModel("endLabel"),a=r.get("valueAnimation"),o=i.getData(),s={lastFrameIndex:0},l=mb(i)?function(n,i){t._endLabelOnDuring(n,i,o,s,a,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=ab(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}return ob(e,n,i)}var vb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.init=function(){var t=new ar,e=new U_;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.getLayout("points")||[],c="polar"===r.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,m=this._lineGroup,g=t.get("animation"),v=!l.isEmpty(),y=l.get("origin"),_=G_(r,o,y),b=v&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=K_(2*i),a=0;a<i;a++){var o=q_(n,t,e,a);r[2*a]=o[0],r[2*a+1]=o[1]}return r}(r,o,_),w=t.get("showSymbol"),k=t.get("connectNulls"),x=w&&!c&&function(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),o=0;o<r;o+=a)if(1.5*H_.getSymbolSize(e,o)[t.isHorizontal()?1:0]>i)return!1;return!0}(a,e))){var o=e.mapDimension(a.dim),s={};return j(a.getViewLabels(),function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);s[e]=1}),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}(t,o,r),M=this._data;M&&M.eachItemGraphicEl(function(t,e){t.__temp&&(a.remove(t),M.setItemGraphicEl(e,null))}),w||d.remove(),a.add(m);var S,C=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(S=r.getArea()).width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r+=.5)),this._clipShapeForSymbol=S;var D=function(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,a,o=i.length-1;o>=0;o--){var s=t.getDimensionInfo(i[o].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){a=i[o];break}}if(a){var l=e.getAxis(r),u=N(a.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),c=u.length,h=a.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),h.reverse());var d=function(t,e){var n,i,r=[],a=t.length;function o(t,e,n){var i=t.coord;return{coord:n,color:fn((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;s<a;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(o(i,l,e)):n&&r.push(o(n,l,0),o(n,l,e));break}n&&(r.push(o(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),f=d.length;if(!f&&c)return u[0].coord<0?h[1]?h[1]:u[c-1].color:h[0]?h[0]:u[0].color;var p=d[0].coord-10,m=d[f-1].coord+10,g=m-p;if(g<.001)return"transparent";j(d,function(t){t.offset=(t.coord-p)/g}),d.push({offset:f?d[f-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:h[0]||"transparent"});var v=new Vf(0,0,0,0,d,!0);return v[r]=p,v[r+"2"]=m,v}}}(o,r,n)||o.getVisual("style")[o.getVisual("drawType")];if(f&&h.type===r.type&&C===this._step){v&&!p?p=this._newPolygon(u,b):p&&!v&&(m.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,Pu(D));var O=m.getClipPath();O?hl(O,{shape:gb(this,r,!1,t).shape},t):m.setClipPath(gb(this,r,!0,t)),w&&d.updateData(o,{isIgnore:x,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),ub(this._stackedOnPoints,b)&&ub(this._points,u)||(g?this._doUpdateAnimation(o,b,r,n,C,y,k):(C&&(u=fb(u,r,C,k),b&&(b=fb(b,r,C,k))),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:b})))}else w&&d.updateData(o,{isIgnore:x,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),g&&this._initSymbolLabelAnimation(o,r,S),C&&(u=fb(u,r,C,k),b&&(b=fb(b,r,C,k))),f=this._newPolyline(u),v&&(p=this._newPolygon(u,b)),c||this._initOrUpdateEndLabel(t,r,Pu(D)),m.setClipPath(gb(this,r,!0,t));var T=t.getModel("emphasis"),L=T.get("focus"),A=T.get("blurScope"),I=T.get("disabled");f.useStyle(P(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),nl(f,t,"lineStyle"),f.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1),fs(f).seriesIndex=t.seriesIndex,Qs(f,L,A,I);var E=db(t.get("smooth")),R=t.get("smoothMonotone");if(f.setShape({smooth:E,smoothMonotone:R,connectNulls:k}),p){var Y=o.getCalculationInfo("stackedOnSeries"),F=0;p.useStyle(P(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),Y&&(F=db(Y.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:F,smoothMonotone:R,connectNulls:k}),nl(p,t,"areaStyle"),fs(p).seriesIndex=t.seriesIndex,Qs(p,L,A,I)}var V=function(t){i._changePolyState(t)};o.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=V)}),this._polyline.onHoverStateChange=V,this._data=o,this._coordSys=r,this._stackedOnPoints=b,this._points=u,this._step=C,this._valueOrigin=y,t.get("triggerLineEvent")&&(this.packEventData(t,f),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){fs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),a=zr(r,i);if(this._changePolyState("emphasis"),!(a instanceof Array)&&null!=a&&a>=0){var o=r.getLayout("points"),s=r.getItemGraphicEl(a);if(!s){var l=o[2*a],u=o[2*a+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel"),h=t.get("z");(s=new H_(r,a)).x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Ip.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),a=zr(r,i);if(this._changePolyState("normal"),null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else Ip.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Ps(this._polyline,t),e&&Ps(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new nb({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new rb({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,a=e.getBaseAxis(),o=a.inverse;"cartesian2d"===e.type?(i=a.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===a.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");U(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=U(u)?u(null):u;t.eachItemGraphicEl(function(t,a){var s=t;if(s){var h=void 0,d=void 0,f=void 0;if(n)if(r){var p=n,m=e.pointToCoord([t.x,t.y]);i?(h=p.startAngle,d=p.endAngle,f=-m[1]/180*Math.PI):(h=p.r0,d=p.r,f=m[0])}else i?(h=n.x,d=n.x+n.width,f=t.x):(h=n.y+n.height,d=n.y,f=t.y);var g=d===h?0:(f-h)/(d-h);o&&(g=1-g);var v=U(u)?u(a):l*g+c,y=s.getSymbolPath(),_=y.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:v}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:v}),y.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(mb(t)){var r=t.getData(),a=this._polyline,o=r.getLayout("points");if(!o)return a.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new ds({z2:200})).ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var l=function(t){for(var e,n=t.length/2;n>0&&(e=t[2*n-1],isNaN(t[2*n-2])||isNaN(e));n--);return n-1}(o);l>=0&&(bl(a,wl(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?F_(r,n):N_(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,a=i?r?"right":"left":"center",o=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||a,verticalAlign:t.get("verticalAlign")||o}}}(i,e)),a.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,a,o){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=a.get("precision"),f=a.get("distance")||0,p=o.getBaseAxis(),m=p.isHorizontal(),g=p.inverse,v=e.shape,y=g?m?v.x:v.y+v.height:m?v.x+v.width:v.y,_=(m?f:0)*(g?-1:1),b=(m?0:-f)*(g?-1:1),w=m?"x":"y",k=function(t,e,n){for(var i,r,a=t.length/2,o="x"===n?0:1,s=0,l=-1,u=0;u<a;u++)if(r=t[2*u+o],!isNaN(r)&&!isNaN(t[2*u+1-o]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,w),x=k.range,M=x[1]-x[0],S=void 0;if(M>=1){if(M>1&&!h){var C=pb(u,x[0]);s.attr({x:C[0]+_,y:C[1]+b}),r&&(S=c.getRawValue(x[0]))}else{(C=l.getPointOn(y,w))&&s.attr({x:C[0]+_,y:C[1]+b});var D=c.getRawValue(x[0]),O=c.getRawValue(x[1]);r&&(S=Qr(n,d,D,O,k.t))}i.lastFrameIndex=x[0]}else{var T=1===t||i.lastFrameIndex>0?x[0]:0;C=pb(u,T),r&&(S=c.getRawValue(T)),s.attr({x:C[0]+_,y:C[1]+b})}r&&Tl(s).setLabelText(S)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,a,o){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,a,o,s){for(var l=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),u=[],c=[],h=[],d=[],f=[],p=[],m=[],g=G_(r,e,o),v=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_<l.length;_++){var b=l[_],w=!0,k=void 0,x=void 0;switch(b.cmd){case"=":var M=v[k=2*b.idx],S=v[k+1],C=y[x=2*b.idx1],D=y[x+1];(isNaN(M)||isNaN(S))&&(M=C,S=D),u.push(M,S),c.push(C,D),h.push(n[k],n[k+1]),d.push(i[x],i[x+1]),m.push(e.getRawIndex(b.idx1));break;case"+":var O=b.idx,T=g.dataDimsForPoint,L=r.dataToPoint([e.get(T[0],O),e.get(T[1],O)]);x=2*O,u.push(L[0],L[1]),c.push(y[x],y[x+1]);var A=q_(g,r,e,O);h.push(A[0],A[1]),d.push(i[x],i[x+1]),m.push(e.getRawIndex(O));break;case"-":w=!1}w&&(f.push(b),p.push(p.length))}p.sort(function(t,e){return m[t]-m[e]});var I=u.length,P=K_(I),E=K_(I),R=K_(I),Y=K_(I),j=[];for(_=0;_<p.length;_++){var N=p[_],F=2*_,V=2*N;P[F]=u[V],P[F+1]=u[V+1],E[F]=c[V],E[F+1]=c[V+1],R[F]=h[V],R[F+1]=h[V+1],Y[F]=d[V],Y[F+1]=d[V+1],j[_]=f[N]}return{current:P,next:E,stackedOnCurrent:R,stackedOnNext:Y,status:j}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),h=c.current,d=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(r&&(h=fb(c.current,n,r,o),d=fb(c.stackedOnCurrent,n,r,o),f=fb(c.next,n,r,o),p=fb(c.stackedOnNext,n,r,o)),hb(h,f)>3e3||l&&hb(d,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=h;var m={shape:{points:f}};c.current!==h&&(m.shape.__points=c.next),s.stopAnimation(),cl(s,m,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),cl(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],v=c.status,y=0;y<v.length;y++)if("="===v[y].cmd){var _=t.getItemGraphicEl(v[y].idx1);_&&g.push({el:_,ptIdx:y})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<g.length;e++){var n=g[e].el,i=2*g[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Ip);function yb(t,e){return{seriesType:t,plan:Od(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=e||t.pipelineContext.large;if(i){var a=N(i.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),o=a.length,s=n.getCalculationInfo("stackResultDimension");E_(n,a[0])&&(a[0]=s),E_(n,a[1])&&(a[1]=s);var l=n.getStore(),u=n.getDimensionIndex(a[0]),c=n.getDimensionIndex(a[1]);return o&&{progress:function(t,e){for(var n=r&&K_((t.end-t.start)*o),a=[],s=[],h=t.start,d=0;h<t.end;h++){var f=void 0;if(1===o){var p=l.get(u,h);f=i.dataToPoint(p,null,s)}else a[0]=l.get(u,h),a[1]=l.get(c,h),f=i.dataToPoint(a,null,s);r?(n[d++]=f[0],n[d++]=f[1]):e.setItemLayout(h,f.slice())}r&&e.setLayout("points",n)}}}}}}var _b={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},bb=function(t){return Math.round(t.length/2)};function wb(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),a=t.coordinateSystem,o=i.count();if(o>10&&"cartesian2d"===a.type&&r){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(u[1]-u[0])*(c||1),d=Math.round(o/h);if(isFinite(d)&&d>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d));var f=void 0;G(r)?f=_b[r]:U(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,f,bb))}}}}}function kb(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function xb(t){return t.dim+t.index}function Mb(t,e){var n=[];return e.eachSeriesByType(t,function(t){Tb(t)&&n.push(t)}),n}function Sb(t){var e=function(t){var e={};j(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,a=i.getDimensionIndex(i.mapDimension(n.dim)),o=i.getStore(),s=0,l=o.count();s<l;++s){var u=o.get(a,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort(function(t,e){return t-e});for(var a=null,o=1;o<r.length;++o){var s=r[o]-r[o-1];s>0&&(a=null===a?s:Math.min(a,s))}n[i]=a}}return n}(t),n=[];return j(t,function(t){var i,r=t.coordinateSystem.getBaseAxis(),a=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var o=e[r.dim+"_"+r.index],s=Math.abs(a[1]-a[0]),l=r.scale.getExtent(),u=Math.abs(l[1]-l[0]);i=o?s/u*o:s}else{var c=t.getData();i=Math.abs(a[1]-a[0])/c.count()}var h=hr(t.get("barWidth"),i),d=hr(t.get("barMaxWidth"),i),f=hr(t.get("barMinWidth")||(Lb(t)?.5:1),i),p=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:h,barMaxWidth:d,barMinWidth:f,barGap:p,barCategoryGap:m,axisKey:xb(r),stackId:kb(t)})}),Cb(n)}function Cb(t){var e={};j(t,function(t,n){var i=t.axisKey,r=t.bandWidth,a=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[i]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barMinWidth;c&&(o[s].minWidth=c);var h=t.barGap;null!=h&&(a.gap=h);var d=t.barCategoryGap;null!=d&&(a.categoryGap=d)});var n={};return j(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=t.categoryGap;if(null==a){var o=H(i).length;a=Math.max(35-4*o,15)+"%"}var s=hr(a,r),l=hr(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),j(i,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,c--;else{var i=h;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==h&&(t.width=i,u-=i+l*i,c--)}}),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;j(i,function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)}),d&&(f-=d.width*l);var p=-f/2;j(i,function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:p,width:t.width},p+=t.width*(1+l)})}),n}function Db(t,e){var n=Mb(t,e),i=Sb(n);j(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=kb(t),a=i[xb(n)][r];e.setLayout({bandWidth:a.bandWidth,offset:a.offset,size:a.width})})}function Ob(t){return{seriesType:t,plan:Od(),reset:function(t){if(Tb(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),a=e.getDimensionIndex(e.mapDimension(r.dim)),o=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=E_(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),f=Lb(t),p=t.get("barMinHeight")||0,m=u&&e.getDimensionIndex(u),g=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=f&&K_(3*r),u=f&&s&&K_(3*r),y=f&&K_(r),_=n.master.getRect(),b=h?_.width:_.height,w=e.getStore(),k=0;null!=(i=t.next());){var x=w.get(c?m:a,i),M=w.get(o,i),S=d,C=void 0;c&&(C=+x-w.get(a,i));var D=void 0,O=void 0,T=void 0,L=void 0;if(h){var A=n.dataToPoint([x,M]);c&&(S=n.dataToPoint([C,M])[0]),D=S,O=A[1]+v,T=A[0]-S,L=g,Math.abs(T)<p&&(T=(T<0?-1:1)*p)}else A=n.dataToPoint([M,x]),c&&(S=n.dataToPoint([M,C])[1]),D=A[0]+v,O=S,T=g,L=A[1]-S,Math.abs(L)<p&&(L=(L<=0?-1:1)*p);f?(l[k]=D,l[k+1]=O,l[k+2]=h?T:L,u&&(u[k]=h?_.x:D,u[k+1]=h?O:_.y,u[k+2]=b),y[i]=i):e.setItemLayout(i,{x:D,y:O,width:T,height:L}),k+=3}f&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function Tb(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Lb(t){return t.pipelineContext&&t.pipelineContext.large}var Ab=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.getInitialData=function(t,e){return Y_(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),r=i.getLayout("offset"),a=i.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=r+a/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Sd);Sd.registerClass(Ab);var Ib=Ab,Pb=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.getInitialData=function(){return Y_(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Xl(Ib.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Ib),Eb=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Rb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return a(e,t),e.prototype.getDefaultShape=function(){return new Eb},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-r),s=r+o,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var f=Math.cos(l),p=Math.sin(l),m=Math.cos(u),g=Math.sin(u);d?(t.moveTo(f*r+n,p*r+i),t.arc(f*s+n,p*s+i,o,-Math.PI+l,l,!c)):t.moveTo(f*a+n,p*a+i),t.arc(n,i,a,l,u,!c),t.arc(m*s+n,g*s+i,o,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(Ro);function Yb(t,e,n){return e*Math.sin(t)*(n?-1:1)}function jb(t,e,n){return e*Math.cos(t)*(n?1:-1)}var Nb=Math.max,Fb=Math.min,Vb=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return a(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){xp(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,o,n);var d=t.get("clip",!0)||h,f=function(t,e){var n=t.getArea&&t.getArea();if(lb(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,o);a.removeClipPath();var p=t.get("roundCap",!0),m=t.get("showBackground",!0),g=t.getModel("backgroundStyle"),v=g.get("borderRadius")||0,y=[],_=this._backgroundEls,b=i&&i.isInitSort,w=i&&"changeAxisOrder"===i.type;function k(t){var e=Xb[l.type](o,t),n=function(t,e,n){return new("polar"===t.type?mf:Ko)({shape:ew(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",v),y[t]=n,n}o.diff(s).add(function(e){var n=o.getItemModel(e),i=Xb[l.type](o,e,n);if(m&&k(e),o.hasValue(e)&&qb[l.type](i)){var s=!1;d&&(s=Hb[l.type](f,i));var g=zb[l.type](t,o,e,i,r,c,u.model,!1,p);h&&(g.forceLabelAnimation=!0),Kb(g,o,e,n,i,t,r,"polar"===l.type),b?g.attr({shape:i}):h?Bb(h,c,g,i,e,r,!1,!1):hl(g,{shape:i},t,e),o.setItemGraphicEl(e,g),a.add(g),g.ignore=s}}).update(function(e,n){var i=o.getItemModel(e),x=Xb[l.type](o,e,i);if(m){var M=void 0;0===_.length?M=k(n):((M=_[n]).useStyle(g.getItemStyle()),"cartesian2d"===l.type&&M.setShape("r",v),y[e]=M);var S=Xb[l.type](o,e);cl(M,{shape:ew(r,S,l)},c,e)}var C=s.getItemGraphicEl(n);if(o.hasValue(e)&&qb[l.type](x)){var D=!1;if(d&&(D=Hb[l.type](f,x))&&a.remove(C),C?gl(C):C=zb[l.type](t,o,e,x,r,c,u.model,!!C,p),h&&(C.forceLabelAnimation=!0),w){var O=C.getTextContent();if(O){var T=Tl(O);null!=T.prevValue&&(T.prevValue=T.value)}}else Kb(C,o,e,i,x,t,r,"polar"===l.type);b?C.attr({shape:x}):h?Bb(h,c,C,x,e,r,!0,w):cl(C,{shape:x},t,e,null),o.setItemGraphicEl(e,C),C.ignore=D,a.add(C)}else a.remove(C)}).remove(function(e){var n=s.getItemGraphicEl(e);n&&ml(n,t,e)}).execute();var x=this._backgroundGroup||(this._backgroundGroup=new ar);x.removeAll();for(var M=0;M<y.length;++M)x.add(y[M]);a.add(x),this._backgroundEls=y,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),$b(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),$b(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&sb(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var a=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,a,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),function(t,e){var r=n(e);i.push({dataIndex:e,mappedValue:r=null==r?NaN:r,ordinalNumber:t})}),i.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:N(i,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=i.getOrdinalMeta().categories.length;o<s;++o){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(o)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>a)return!0;a=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),a=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=a;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){ml(e,t,fs(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Ip),Hb={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,a=t.y+t.height,o=Nb(e.x,t.x),s=Fb(e.x+e.width,r),l=Nb(e.y,t.y),u=Fb(e.y+e.height,a),c=s<o,h=u<l;return e.x=c&&o>r?s:o,e.y=h&&l>a?u:l,e.width=c?0:s-o,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=Fb(e.r,t.r),a=Nb(e.r0,t.r0);e.r=r,e.r0=a;var o=r-a<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),o}},zb={cartesian2d:function(t,e,n,i,r,a,o,s,l){var u=new Ko({shape:I({},i),z2:1});return u.__dataIndex=n,u.name="item",a&&(u.shape[r?"height":"width"]=0),u},polar:function(t,e,n,i,r,a,o,s,l){var u=!r&&l?Rb:mf,c=new u({shape:i,z2:1});c.name="item";var h,d,f=Zb(r);if(c.calculateTextPosition=(h=f,d=({isRoundCap:u===Rb}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return qi(t,e,n);var r=h(i),a=null!=e.distance?e.distance:5,o=this.shape,s=o.cx,l=o.cy,u=o.r,c=o.r0,f=(u+c)/2,p=o.startAngle,m=o.endAngle,g=(p+m)/2,v=d?Math.abs(u-c)/2:0,y=Math.cos,_=Math.sin,b=s+u*y(p),w=l+u*_(p),k="left",x="top";switch(r){case"startArc":b=s+(c-a)*y(g),w=l+(c-a)*_(g),k="center",x="top";break;case"insideStartArc":b=s+(c+a)*y(g),w=l+(c+a)*_(g),k="center",x="bottom";break;case"startAngle":b=s+f*y(p)+Yb(p,a+v,!1),w=l+f*_(p)+jb(p,a+v,!1),k="right",x="middle";break;case"insideStartAngle":b=s+f*y(p)+Yb(p,-a+v,!1),w=l+f*_(p)+jb(p,-a+v,!1),k="left",x="middle";break;case"middle":b=s+f*y(g),w=l+f*_(g),k="center",x="middle";break;case"endArc":b=s+(u+a)*y(g),w=l+(u+a)*_(g),k="center",x="bottom";break;case"insideEndArc":b=s+(u-a)*y(g),w=l+(u-a)*_(g),k="center",x="top";break;case"endAngle":b=s+f*y(m)+Yb(m,a+v,!0),w=l+f*_(m)+jb(m,a+v,!0),k="left",x="middle";break;case"insideEndAngle":b=s+f*y(m)+Yb(m,-a+v,!0),w=l+f*_(m)+jb(m,-a+v,!0),k="right",x="middle";break;default:return qi(t,e,n)}return(t=t||{}).x=b,t.y=w,t.align=k,t.verticalAlign=x,t}),a){var p=r?"r":"endAngle",m={};c.shape[p]=r?0:i.startAngle,m[p]=i[p],(s?cl:hl)(c,{shape:m},a)}return c}};function Bb(t,e,n,i,r,a,o,s){var l,u;a?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(o?cl:hl)(n,{shape:l},e,r,null),(o?cl:hl)(n,{shape:u},e?t.baseAxis.model:null,r)}function Wb(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var Ub=["x","y","width","height"],Gb=["cx","cy","r","startAngle","endAngle"],qb={cartesian2d:function(t){return!Wb(t,Ub)},polar:function(t){return!Wb(t,Gb)}},Xb={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,a)}(n,i):0,a=i.width>0?1:-1,o=i.height>0?1:-1;return{x:i.x+a*r/2,y:i.y+o*r/2,width:i.width-a*r,height:i.height-o*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function Zb(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function Kb(t,e,n,i,r,a,o,s){var l=e.getItemVisual(n,"style");s||t.setShape("r",i.get(["itemStyle","borderRadius"])||0),t.useStyle(l);var u=i.getShallow("cursor");u&&t.attr("cursor",u);var c=s?o?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":o?r.height>=0?"bottom":"top":r.width>=0?"right":"left",h=wl(i);bl(t,h,{labelFetcher:a,labelDataIndex:n,defaultText:N_(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var d=t.getTextContent();if(s&&d){var f=i.get(["label","position"]);t.textConfig.inside="middle"===f||null,function(t,e,n,i){if(X(i))t.setTextConfig({rotation:i});else if(W(e))t.setTextConfig({rotation:0});else{var r,a=t.shape,o=a.clockwise?a.startAngle:a.endAngle,s=a.clockwise?a.endAngle:a.startAngle,l=(o+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===f?c:f,Zb(o),i.get(["label","rotate"]))}Ll(d,h,a.getRawValue(n),function(t){return F_(e,t)});var p=i.getModel(["emphasis"]);Qs(t,p.get("focus"),p.get("blurScope"),p.get("disabled")),nl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",j(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Jb=function(){},Qb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return a(e,t),e.prototype.getDefaultShape=function(){return new Jb},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l<n.length;l+=3)o[i]=s,o[r]=n[l+2],a[i]=n[l+i],a[r]=n[l+r],t.rect(a[0],a[1],o[0],o[1])},e}(Ro);function $b(t,e,n,i){var r=t.getData(),a=r.getLayout("valueAxisHorizontal")?1:0,o=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new Qb({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var h=new Qb({shape:{points:r.getLayout("largePoints")},incremental:!!i,z2:1});h.baseDimIdx=a,h.largeDataIndices=o,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),fs(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",tw),h.on("mousemove",tw)),n&&n.push(h)}var tw=Rp(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,a=t.shape.points,o=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=a.length/3;c<h;c++){var d=3*c;if(l[i]=u,l[r]=a[d+2],s[i]=a[d+i],s[r]=a[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[c]}return-1}(this,t.offsetX,t.offsetY);fs(this).dataIndex=e>=0?e:null},30,!1);function ew(t,e,n){if(lb(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:e.r0,r:t?r.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}}var nw=Vb,iw=2*Math.PI,rw=Math.PI/180;function aw(t,e){return Vu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function ow(t,e){var n=aw(t,e),i=t.get("center"),r=t.get("radius");W(r)||(r=[0,r]),W(i)||(i=[i,i]);var a=hr(n.width,e.getWidth()),o=hr(n.height,e.getHeight()),s=Math.min(a,o);return{cx:hr(i[0],a)+n.x,cy:hr(i[1],o)+n.y,r0:hr(r[0],s/2),r:hr(r[1],s/2)}}function sw(t,e,n){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),r=aw(t,n),a=ow(t,n),o=a.cx,s=a.cy,l=a.r,u=a.r0,c=-t.get("startAngle")*rw,h=t.get("minAngle")*rw,d=0;e.each(i,function(t){!isNaN(t)&&d++});var f=e.getSum(i),p=Math.PI/(f||d)*2,m=t.get("clockwise"),g=t.get("roseType"),v=t.get("stillShowZeroSum"),y=e.getDataExtent(i);y[0]=0;var _=iw,b=0,w=c,k=m?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:o,cy:s,r0:u,r:g?NaN:l});else{(i="area"!==g?0===f&&v?p:t*p:iw/d)<h?(i=h,_-=h):b+=t;var r=w+k*i;e.setItemLayout(n,{angle:i,startAngle:w,endAngle:r,clockwise:m,cx:o,cy:s,r0:u,r:g?cr(t,y,[u,l]):l}),w=r}}),_<iw&&d)if(_<=.001){var x=iw/d;e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=x,i.startAngle=c+k*n*x,i.endAngle=c+k*(n+1)*x}})}else p=_/b,w=c,e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===h?h:t*p;i.startAngle=w,i.endAngle=w+k*r,w+=k*r}})})}function lw(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0})}}}}var uw=Math.PI/180;function cw(t,e,n,i,r,a,o,s,l,u){if(!(t.length<2)){for(var c=t.length,h=0;h<c;h++)"outer"===t[h].position&&"labelLine"===t[h].labelAlignTo&&(t[h].linePoints[1][0]+=t[h].label.x-u,t[h].label.x=u);Nv(t,l,l+o)&&function(t){for(var a={list:[],maxY:0},o={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?o:a,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,f=i+l.len,p=Math.abs(h)<f?Math.sqrt(c*c/(1-h*h/f/f)):f;u.rB=p,u.maxY=c}u.list.push(l)}d(a),d(o)}(t)}function d(t){for(var a=t.rB,o=a*a,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=c*c,d=Math.sqrt((1-Math.abs(u*u/o))*h),f=e+(d+l.len2)*r;hw(l,l.targetTextWidth-(f-l.label.x)*r,!0),l.label.x=f}}}function hw(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,a=t.rect,o=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=a.width+(o?0:l);if(e<c||n){var h=a.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",o)}else{var f=e-l;i.setStyle("width",e<c?f:n?f>t.unconstrainedWidth?null:f:null)}var p=i.getBoundingRect();a.width=p.width,a.height=p.height+((i.style.margin||0)+2.1),a.y-=(a.height-h)/2}}}function dw(t){return"center"===t.position}function fw(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;W(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:N(i,function(t){return Gi(t,r)})}}var pw=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var a=new ds;return r.setTextContent(a),r.updateData(e,n,i,!0),r}return a(e,t),e.prototype.updateData=function(t,e,n,i){var r=t.hostModel,a=t.getItemModel(e),o=a.getModel("emphasis"),s=t.getItemLayout(e),l=I(fw(a.getModel("itemStyle"),s,!0),s);if(isNaN(l.startAngle))this.setShape(l);else{if(i){this.setShape(l);var u=r.getShallow("animationType");r.ecModel.ssr?(hl(this,{scaleX:0,scaleY:0},r,{dataIndex:e,isFrom:!0}),this.originX=l.cx,this.originY=l.cy):"scale"===u?(this.shape.r=s.r0,hl(this,{shape:{r:s.r}},r,e)):null!=n?(this.setShape({startAngle:n,endAngle:n}),hl(this,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},r,e)):(this.shape.endAngle=s.startAngle,cl(this,{shape:{endAngle:s.endAngle}},r,e))}else gl(this),cl(this,{shape:l},r,e);this.useStyle(t.getItemVisual(e,"style")),nl(this,a);var c=(s.startAngle+s.endAngle)/2,h=r.get("selectedOffset"),d=Math.cos(c)*h,f=Math.sin(c)*h,p=a.getShallow("cursor");p&&this.attr("cursor",p),this._updateLabel(r,t,e),this.ensureState("emphasis").shape=I({r:s.r+(o.get("scale")&&o.get("scaleSize")||0)},fw(o.getModel("itemStyle"),s)),I(this.ensureState("select"),{x:d,y:f,shape:fw(a.getModel(["select","itemStyle"]),s)}),I(this.ensureState("blur"),{shape:fw(a.getModel(["blur","itemStyle"]),s)});var m=this.getTextGuideLine(),g=this.getTextContent();m&&I(m.ensureState("select"),{x:d,y:f}),I(g.ensureState("select"),{x:d,y:f}),Qs(this,o.get("focus"),o.get("blurScope"),o.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=e.getItemModel(n),r=i.getModel("labelLine"),a=e.getItemVisual(n,"style"),o=a&&a.fill,s=a&&a.opacity;bl(this,wl(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:o,defaultOpacity:s,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var l=this.getTextContent();this.setTextConfig({position:null,rotation:null}),l.attr({z2:10});var u=t.get(["label","position"]);if("outside"!==u&&"outer"!==u)this.removeTextGuideLine();else{var c=this.getTextGuideLine();c||(c=new Sf,this.setTextGuideLine(c)),Ev(this,Rv(i),{stroke:o,opacity:it(r.get(["lineStyle","opacity"]),s,1)})}},e}(mf),mw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return a(e,t),e.prototype.render=function(t,e,n,i){var r,a=t.getData(),o=this._data,s=this.group;if(!o&&a.count()>0){for(var l=a.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<a.count();++u)l=a.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===a.count()&&t.get("showEmptyCircle")){var c=new mf({shape:ow(t,n)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}a.diff(o).add(function(t){var e=new pw(a,t,r);a.setItemGraphicEl(t,e),s.add(e)}).update(function(t,e){var n=o.getItemGraphicEl(e);n.updateData(a,t,r),n.off("click"),s.add(n),a.setItemGraphicEl(t,n)}).remove(function(e){ml(o.getItemGraphicEl(e),t,e)}).execute(),function(t){var e,n,i=t.getData(),r=[],a=!1,o=(t.get("minShowLabelAngle")||0)*uw,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,h=s.y,d=s.height;function f(t){t.ignore=!0}i.each(function(t){var s=i.getItemGraphicEl(t),h=s.shape,d=s.getTextContent(),p=s.getTextGuideLine(),m=i.getItemModel(t),g=m.getModel("label"),v=g.get("position")||m.get(["emphasis","label","position"]),y=g.get("distanceToLabelLine"),_=g.get("alignTo"),b=hr(g.get("edgeDistance"),u),w=g.get("bleedMargin"),k=m.getModel("labelLine"),x=k.get("length");x=hr(x,u);var M=k.get("length2");if(M=hr(M,u),Math.abs(h.endAngle-h.startAngle)<o)return j(d.states,f),void(d.ignore=!0);if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(d)){var S,C,D,O,T=(h.startAngle+h.endAngle)/2,L=Math.cos(T),A=Math.sin(T);e=h.cx,n=h.cy;var I="inside"===v||"inner"===v;if("center"===v)S=h.cx,C=h.cy,O="center";else{var P=(I?(h.r+h.r0)/2*L:h.r*L)+e,E=(I?(h.r+h.r0)/2*A:h.r*A)+n;if(S=P+3*L,C=E+3*A,!I){var R=P+L*(x+l-h.r),Y=E+A*(x+l-h.r),N=R+(L<0?-1:1)*M;S="edge"===_?L<0?c+b:c+u-b:N+(L<0?-y:y),C=Y,D=[[P,E],[R,Y],[N,Y]]}O=I?"center":"edge"===_?L>0?"right":"left":L>0?"left":"right"}var F=Math.PI,V=0,H=g.get("rotate");if(X(H))V=H*(F/180);else if("center"===v)V=0;else if("radial"===H||!0===H)V=L<0?-T+F:-T;else if("tangential"===H&&"outside"!==v&&"outer"!==v){var z=Math.atan2(L,A);z<0&&(z=2*F+z),A>0&&(z=F+z),V=z-F}if(a=!!V,d.x=S,d.y=C,d.rotation=V,d.setStyle({verticalAlign:"middle"}),I){d.setStyle({align:O});var B=d.states.select;B&&(B.x+=d.x,B.y+=d.y)}else{var W=d.getBoundingRect().clone();W.applyTransform(d.getComputedTransform());var U=(d.style.margin||0)+2.1;W.y-=U/2,W.height+=U,r.push({label:d,labelLine:p,position:v,len:x,len2:M,minTurnAngle:k.get("minTurnAngle"),maxSurfaceAngle:k.get("maxSurfaceAngle"),surfaceNormal:new Ti(L,A),linePoints:D,textAlign:O,labelDistance:y,labelAlignTo:_,edgeDistance:b,bleedMargin:w,rect:W,unconstrainedWidth:W.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:I})}}),!a&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,a,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++){var f=t[d].label;dw(t[d])||(f.x<e?(c=Math.min(c,f.x),l.push(t[d])):(h=Math.max(h,f.x),u.push(t[d])))}for(d=0;d<t.length;d++)if(!dw(g=t[d])&&g.linePoints){if(null!=g.labelStyleWidth)continue;f=g.label;var p,m=g.linePoints;g.targetTextWidth=p="edge"===g.labelAlignTo?f.x<e?m[2][0]-g.labelDistance-o-g.edgeDistance:o+r-g.edgeDistance-m[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?f.x<e?c-o-g.bleedMargin:o+r-h-g.bleedMargin:f.x<e?f.x-o-g.bleedMargin:o+r-f.x-g.bleedMargin,hw(g,p)}for(cw(u,e,n,i,1,0,a,0,s,h),cw(l,e,n,i,-1,0,a,0,s,c),d=0;d<t.length;d++){var g;if(!dw(g=t[d])&&g.linePoints){var v=(f=g.label).style.padding,y=g.rect.width+(f.style.backgroundColor?0:v?v[1]+v[3]:0),_=(m=g.linePoints)[1][0]-m[2][0];"edge"===g.labelAlignTo?m[2][0]=f.x<e?o+g.edgeDistance+y+g.labelDistance:o+r-g.edgeDistance-y-g.labelDistance:(m[2][0]=f.x<e?f.x+g.labelDistance:f.x-g.labelDistance,m[1][0]=m[2][0]+_),m[1][1]=m[2][1]=f.y}}}(r,e,n,l,u,d,c,h);for(var p=0;p<r.length;p++){var m=r[p],g=m.label,v=m.labelLine,y=isNaN(g.x)||isNaN(g.y);if(g){g.setStyle({align:m.textAlign}),y&&(j(g.states,f),g.ignore=!0);var _=g.states.select;_&&(_.x+=g.x,_.y+=g.y)}if(v){var b=m.linePoints;y||!b?(j(v.states,f),v.ignore=!0):(Lv(b,m.minTurnAngle),Av(b,m.surfaceNormal,m.maxSurfaceAngle),v.setShape({points:b}),g.__hostTarget.textGuideLineConfig={anchor:new Ti(b[0][0],b[0][1])})}}}(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=a)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,a=Math.sqrt(i*i+r*r);return a<=n.r&&a>=n.r0}},e.type="pie",e}(Ip);function gw(t,e,n){e=W(e)&&{coordDimensions:e}||I({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=T_(i,e).dimensions,a=new O_(r,t);return a.initData(i,n),a}var vw=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),yw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new vw(z(this.getData,this),z(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return gw(this,{coordDimensions:["value"],encodeDefaulter:B(ec,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=[];return n.each(n.mapDimension("value"),function(t){r.push(t)}),i.percent=function(t,e,n){if(!t[e])return 0;var i=F(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===i)return 0;for(var r=Math.pow(10,n),a=N(t,function(t){return(isNaN(t)?0:t)/i*r*100}),o=100*r,s=N(a,function(t){return Math.floor(t)}),l=F(s,function(t,e){return t+e},0),u=N(a,function(t,e){return t-s[e]});l<o;){for(var c=Number.NEGATIVE_INFINITY,h=null,d=0,f=u.length;d<f;++d)u[d]>c&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/r}(r,e,n.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},e.prototype._defaultLabelLine=function(t){Ir(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Sd),_w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){return Y_(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Sd),bw=function(){},ww=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(e,t),e.prototype.getDefaultShape=function(){return new bw},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,a=this.symbolProxy,o=a.shape,s=t.getContext?t.getContext():t,l=this.softClipShape;if(s&&r[0]<4)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var u=i[n++],c=i[n++];isNaN(u)||isNaN(c)||l&&!l.contain(u,c)||(o.x=u-r[0]/2,o.y=c-r[1]/2,o.width=r[0],o.height=r[1],a.buildPath(t,o,!0))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,a=this.softClipShape;if(r){for(t=this._off;t<n.length;){var o=n[t++],s=n[t++];isNaN(o)||isNaN(s)||a&&!a.contain(o,s)||r.fillRect(o-i[0]/2,s-i[1]/2,i[0],i[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,a=Math.max(r[0],4),o=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-a/2,c=i[l+1]-o/2;if(t>=u&&e>=c&&t<=u+a&&e<=c+o)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(t=n[0],e=n[1])?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],a=i[1],o=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var h=n[c++],d=n[c++];o=Math.min(h,o),l=Math.max(h,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new Ni(o-r/2,s-a/2,l-o+r,u-s+a)}return t},e}(Ro),kw=function(){function t(){this.group=new ar}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(t){null!=t.startIndex&&(e=new Float32Array(e.buffer,4*t.startIndex*2,2*(t.endIndex-t.startIndex))),t.setShape("points",e),t.reset()})},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),a=i&&i.shape.points;if(a&&a.length<2e4){var o=a.length,s=new Float32Array(o+r.length);s.set(a),s.set(r,o),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new ww({cursor:"default"});return this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=jm(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var a=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var o=e.getVisual("style"),s=o&&o.fill;s&&t.setColor(s);var l=fs(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),xw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=yb("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new kw:new U_,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Ip),Mw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Xu),Sw=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),Cw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",qr).models[0]},e.type="cartesian2dAxis",e}(Xu);R(Cw,Sw);var Dw={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Ow=L({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Dw),Tw=L({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Dw),Lw={category:Ow,value:Tw,time:L({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Tw),log:P({logBase:10},Tw)},Aw=0;function Iw(t){return Z(t)&&null!=t.value?t.value:t+""}var Pw=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Aw}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&N(i,Iw);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!G(t)&&!n)return t;if(n&&!this._deduplication)return this.categories[e=this.categories.length]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(this.categories[e=this.categories.length]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=ht(this.categories))},t}(),Ew={value:1,category:1,time:1,log:1};function Rw(t,e,n,i){j(Ew,function(r,o){var s=L(L({},Lw[o],!0),i,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return a(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=zu(this),i=n?Wu(t):{};L(t,e.getTheme().get(o+"Axis")),L(t,this.getDefaultOption()),t.type=Yw(t),n&&Bu(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Pw.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=s,n}(n);t.registerComponentModel(l)}),t.registerSubTypeDefaulter(e+"Axis",Yw)}function Yw(t){return t.type||(t.data?"category":"value")}var jw=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();oa(jw);var Nw=jw;function Fw(t){return"interval"===t.type||"log"===t.type}function Vw(t){var e=Math.pow(10,wr(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,dr(n*e)}function Hw(t){return pr(t)+2}function zw(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Bw(t,e){return t>=e[0]&&t<=e[1]}function Ww(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Uw(t,e){return t*(e[1]-e[0])+e[0]}var Gw=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Pw({})),W(i)&&(i=new Pw({categories:N(i,function(t){return Z(t)?t.value:t})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return a(e,t),e.prototype.parse=function(t){return G(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Bw(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Ww(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Uw(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,a=this._ordinalMeta.categories.length,o=Math.min(a,e.length);r<o;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<a;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Nw);Nw.registerClass(Gw);var qw=Gw,Xw=dr,Zw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return a(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Bw(t,this._extent)},e.prototype.normalize=function(t){return Ww(t,this._extent)},e.prototype.scale=function(t){return Uw(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Hw(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;n[0]<i[0]&&a.push(t?{value:Xw(i[0]-e,r)}:{value:n[0]});for(var o=i[0];o<=i[1]&&(a.push({value:o}),(o=Xw(o+e,r))!==a[a.length-1].value);)if(a.length>1e4)return[];var s=a.length?a[a.length-1].value:i[1];return n[1]>s&&a.push(t?{value:Xw(s+e,r)}:{value:n[1]}),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var a=e[r-1],o=0,s=[],l=(e[r].value-a.value)/t;o<t-1;){var u=Xw(a.value+(o+1)*l);u>i[0]&&u<i[1]&&s.push(u),o++}n.push(s)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=pr(t.value)||0:"auto"===n&&(n=this._intervalPrecision),xu(Xw(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var a=function(t,e,n,i){var r={},a=r.interval=kr((t[1]-t[0])/e,!0);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var o=r.intervalPrecision=Hw(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),zw(t,0,e),zw(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[dr(Math.ceil(t[0]/a)*a,o),dr(Math.floor(t[1]/a)*a,o)],t),r}(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=Xw(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=Xw(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(Nw);Nw.registerClass(Zw);var Kw=Zw,Jw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return a(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return ou(t.value,eu[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(au(this._minLevelUnit))]||eu.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var a=null;if(G(n))a=n;else if(U(n))a=n(t.value,e,{level:t.level});else{var o=I({},tu);if(t.level>0)for(var s=0;s<nu.length;++s)o[nu[s]]="{primary|"+o[nu[s]]+"}";var l=n?!1===n.inherit?n:P(n,o):o,u=su(t.value,r);if(l[u])a=l[u];else if(l.inherit){for(s=iu.indexOf(u)-1;s>=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(W(a)){var c=null==t.level?0:t.level>=0?t.level:a.length+t.level;a=a[c=Math.min(c,a.length-1)]}}return ou(new Date(t.value),a,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._extent,e=[];if(!this._interval)return e;e.push({value:t[0],level:0});var n=this.getSetting("useUTC"),i=function(t,e,n,i){var r,a=iu,o=0;function s(t,e,n,r,a,o,s){for(var l=new Date(e),u=e,c=l[r]();u<n&&u<=i[1];)s.push({value:u}),l[a](c+=t),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,a){var o=[],l=!r.length;if(!function(t,e,n,i){var r=br(e),a=br(n),o=function(t){return lu(r,t,i)===lu(a,t,i)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},h=function(){return c()&&o("minute")},d=function(){return h()&&o("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return d()&&o("millisecond")}}(au(t),i[0],i[1],n)){l&&(r=[{value:rk(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var d=void 0,f=void 0,p=void 0;switch(t){case"year":d=Math.max(1,Math.round(e/864e5/365)),f=uu(n),p=gu(n);break;case"half-year":case"quarter":case"month":d=tk(e),f=cu(n),p=vu(n);break;case"week":case"half-week":case"day":d=$w(e),f=hu(n),p=yu(n);break;case"half-day":case"quarter-day":case"hour":d=ek(e),f=du(n),p=_u(n);break;case"minute":d=nk(e,!0),f=fu(n),p=bu(n);break;case"second":d=nk(e,!1),f=pu(n),p=wu(n);break;case"millisecond":d=ik(e),f=mu(n),p=ku(n)}s(d,c,h,f,p,0,o),"year"===t&&a.length>1&&0===u&&a.unshift({value:a[0].value-d})}}for(u=0;u<o.length;u++)a.push(o[u]);return o}}for(var u=[],c=[],h=0,d=0,f=0;f<a.length&&o++<1e4;++f){var p=au(a[f]);if((r=a[f])===au(r)&&(l(a[f],u[u.length-1]||[],c),p!==(a[f+1]?au(a[f+1]):null))){if(c.length){d=h,c.sort(function(t,e){return t.value-e.value});for(var m=[],g=0;g<c.length;++g){var v=c[g].value;0!==g&&c[g-1].value===v||(m.push(c[g]),v>=i[0]&&v<=i[1]&&h++)}var y=(i[1]-i[0])/e;if(h>1.5*y&&d>y/1.5)break;if(u.push(m),h>y||t===a[f])break}c=[]}}var _=V(N(u,function(t){return V(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),b=[],w=_.length-1;for(f=0;f<_.length;++f)for(var k=_[f],x=0;x<k.length;++x)b.push({value:k[x].value,level:w-f});b.sort(function(t,e){return t.value-e.value});var M=[];for(f=0;f<b.length;++f)0!==f&&b[f].value===b[f-1].value||M.push(b[f]);return M}(this._minLevelUnit,this._approxInterval,n,t);return(e=e.concat(i)).push({value:t[1],level:0}),e},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-864e5}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){var i=this._extent;this._approxInterval=(i[1]-i[0])/(t=t||10),null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var r=Qw.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(Qw,this._approxInterval,0,r),r-1);this._interval=Qw[a][1],this._minLevelUnit=Qw[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return X(t)?t:+br(t)},e.prototype.contain=function(t){return Bw(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Ww(this.parse(t),this._extent)},e.prototype.scale=function(t){return Uw(t,this._extent)},e.type="time",e}(Kw),Qw=[["second",1e3],["minute",6e4],["hour",36e5],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",15768e6],["year",31536e6]];function $w(t,e){return(t/=864e5)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function tk(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function ek(t){return(t/=36e5)>12?12:t>6?6:t>3.5?4:t>2?2:1}function nk(t,e){return(t/=e?6e4:1e3)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function ik(t){return kr(t,!0)}function rk(t,e,n){var i=new Date(t);switch(au(e)){case"year":case"month":i[vu(n)](0);case"day":i[yu(n)](1);case"hour":i[_u(n)](0);case"minute":i[bu(n)](0);case"second":i[wu(n)](0),i[ku(n)](0)}return i.getTime()}Nw.registerClass(Jw);var ak=Jw,ok=Nw.prototype,sk=Kw.prototype,lk=dr,uk=Math.floor,ck=Math.ceil,hk=Math.pow,dk=Math.log,fk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Kw,e._interval=0,e}return a(e,t),e.prototype.getTicks=function(t){var e=this._extent,n=this._originalScale.getExtent();return N(sk.getTicks.call(this,t),function(t){var i=t.value,r=dr(hk(this.base,i));return r=i===e[0]&&this._fixMin?mk(r,n[0]):r,{value:r=i===e[1]&&this._fixMax?mk(r,n[1]):r}},this)},e.prototype.setExtent=function(t,e){var n=this.base;t=dk(t)/dk(n),e=dk(e)/dk(n),sk.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=ok.getExtent.call(this);e[0]=hk(t,e[0]),e[1]=hk(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=mk(e[0],n[0])),this._fixMax&&(e[1]=mk(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=dk(t[0])/dk(e),t[1]=dk(t[1])/dk(e),ok.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=Math.pow(10,wr(n));for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[dr(ck(e[0]/i)*i),dr(uk(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){sk.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Bw(t=dk(t)/dk(this.base),this._extent)},e.prototype.normalize=function(t){return Ww(t=dk(t)/dk(this.base),this._extent)},e.prototype.scale=function(t){return t=Uw(t,this._extent),hk(this.base,t)},e.type="log",e}(Nw),pk=fk.prototype;function mk(t,e){return lk(t,pr(e))}pk.getMinorTicks=sk.getMinorTicks,pk.getLabel=sk.getLabel,Nw.registerClass(fk);var gk=fk,vk=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);U(r)?this._modelMinNum=wk(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=wk(t,r));var a=this._modelMaxRaw=e.get("max",!0);if(U(a)?this._modelMaxNum=wk(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=wk(t,a)),i)this._axisDataLen=e.getCategories().length;else{var o=e.get("boundaryGap"),s=W(o)?o:[o||0,o||0];this._boundaryGapInner="boolean"==typeof s[0]||"boolean"==typeof s[1]?[0,0]:[Gi(s[0],1),Gi(s[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),o="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=o,u=null!=s;null==o&&(o=t?i?0:NaN:e-r[0]*a),null==s&&(s=t?i?i-1:NaN:n+r[1]*a),(null==o||!isFinite(o))&&(o=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=tt(o)||tt(s)||t&&!i;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(o=h,l=!0),null!=d&&(s=d,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[_k[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[yk[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),yk={min:"_determinedMin",max:"_determinedMax"},_k={min:"_dataMin",max:"_dataMax"};function bk(t,e,n){var i=t.rawExtentInfo;return i||(i=new vk(t,e,n),t.rawExtentInfo=i,i)}function wk(t,e){return null==e?null:tt(e)?NaN:t.parse(e)}function kk(t,e){var n=t.type,i=bk(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,a=i.max,o=e.ecModel;if(o&&"time"===n){var s=Mb("bar",o),l=!1;if(j(s,function(t){l=l||t.getBaseAxis()===e.axis}),l){var u=Sb(s),c=function(t,e,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=function(t,e,n){if(t&&e)return t[xb(e)]}(i,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;j(o,function(t){s=Math.min(t.offset,s)});var l=-1/0;j(o,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,h=c/(1-(s+l)/a)-c;return{min:t-=h*(s/u),max:e+=h*(l/u)}}(r,a,e,u);r=c.min,a=c.max}}return{extent:[r,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function xk(t,e){var n=e,i=kk(t,n),r=i.extent,a=n.get("splitNumber");t instanceof gk&&(t.base=n.get("logBase"));var o=t.type,s=n.get("interval"),l="interval"===o||"time"===o;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function Mk(t,e){if(e=e||t.get("type"))switch(e){case"category":return new qw({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new ak({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Nw.getClass(e)||Kw)}}function Sk(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):G(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):U(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(Ck(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function Ck(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function Dk(t){var e=t.get("interval");return null==e?"auto":e}function Ok(t){return"category"===t.type&&0===Dk(t.getLabelModel())}function Tk(t,e){var n={};return j(t.mapDimensionsAll(e),function(e){n[R_(t,e)]=!0}),H(n)}var Lk=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return N(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),V(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),Ak=["x","y"];function Ik(t){return"interval"===t.type||"time"===t.type}var Pk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Ak,e}return a(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(Ik(t)&&Ik(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),a=this.dataToPoint([n[1],i[1]]),o=n[1]-n[0],s=i[1]-i[0];if(o&&s){var l=(a[0]-r[0])/o,u=(a[1]-r[1])/s,c=this._transform=[l,0,0,u,r[0]-n[0]*l,r[1]-i[0]*u];this._invTransform=yi([],c)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return At(n,t,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(i,e)),n[1]=o.toGlobalCoord(o.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),a=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return At(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-i;return new Ni(n,i,r,a)},e}(Lk),Ek=Br();function Rk(t,e){var n,i,r=Yk(t,"labels"),a=Dk(e);return jk(r,a)||(U(a)?n=Vk(t,a):(i="auto"===a?function(t){var e=Ek(t).autoInterval;return null!=e?e:Ek(t).autoInterval=t.calculateCategoryInterval()}(t):a,n=Fk(t,i)),Nk(r,a,{labels:n,labelCategoryInterval:i}))}function Yk(t,e){return Ek(t)[e]||(Ek(t)[e]=[])}function jk(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function Nk(t,e,n){return t.push({key:e,value:n}),n}function Fk(t,e,n){var i=Sk(t),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=a[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=Ok(t),d=o.get("showMinLabel")||h,f=o.get("showMaxLabel")||h;d&&u!==a[0]&&m(a[0]);for(var p=u;p<=a[1];p+=l)m(p);function m(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&p-l!==a[1]&&m(a[1]),s}function Vk(t,e,n){var i=t.scale,r=Sk(t),a=[];return j(i.getTicks(),function(t){var o=i.getLabel(t),s=t.value;e(t.value,o)&&a.push(n?s:{formattedLabel:r(t),rawLabel:o,tickValue:s})}),a}var Hk=[0,1];function zk(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var Bk=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return mr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&zk(n=n.slice(),i.count()),cr(t,Hk,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&zk(n=n.slice(),i.count());var r=cr(t,n,Hk,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=N(function(t,e){return"category"===t.type?function(t,e){var n,i,r=Yk(t,"ticks"),a=Dk(e),o=jk(r,a);if(o)return o;if(e.get("show")&&!t.scale.isBlank()||(n=[]),U(a))n=Vk(t,a,!0);else if("auto"===a){var s=Rk(t,t.getLabelModel());i=s.labelCategoryInterval,n=N(s.labels,function(t){return t.tickValue})}else n=Fk(t,i=a,!0);return Nk(r,a,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:N(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var a,o=t.getExtent();if(1===r)e[0].coord=o[0],a=e[1]={coord:o[0]};else{var s=(e[r-1].coord-e[0].coord)/(e[r-1].tickValue-e[0].tickValue);j(e,function(t){t.coord-=s/2});var l=t.scale.getExtent();e.push(a={coord:e[r-1].coord+s*(1+l[1]-e[r-1].tickValue)})}var u=o[0]>o[1];c(e[0].coord,o[0])&&(i?e[0].coord=o[0]:e.shift()),i&&c(o[0],e[0].coord)&&e.unshift({coord:o[0]}),c(o[1],a.coord)&&(i?a.coord=o[1]:e.pop()),i&&c(a.coord,o[1])&&e.push({coord:o[1]})}function c(t,e){return t=dr(t),e=dr(e),u?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),N(this.scale.getMinorTicks(t),function(t){return N(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return("category"===this.type?(t=this,e=t.getLabelModel(),n=Rk(t,e),!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n):function(t){var e=t.scale.getTicks(),n=Sk(t);return{labels:N(e,function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}})}}(this)).labels;var t,e,n},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=Sk(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,a=r.getExtent(),o=r.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(i)),h=Math.abs(u*Math.sin(i)),d=0,f=0;l<=a[1];l+=s){var p,m=zi(n({value:l}),e.font,"center","top");p=1.3*m.height,d=Math.max(d,1.3*m.width,7),f=Math.max(f,p,7)}var g=d/c,v=f/h;isNaN(g)&&(g=1/0),isNaN(v)&&(v=1/0);var y=Math.max(0,Math.floor(Math.min(g,v))),_=Ek(t.model),b=t.getExtent(),w=_.lastAutoInterval,k=_.lastTickCount;return null!=w&&null!=k&&Math.abs(w-y)<=1&&Math.abs(k-o)<=1&&w>y&&_.axisExtent0===b[0]&&_.axisExtent1===b[1]?y=w:(_.lastTickCount=o,_.lastAutoInterval=y,_.axisExtent0=b[0],_.axisExtent1=b[1]),y}(this)},t}(),Wk=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.index=0,o.type=r||"value",o.position=a||"bottom",o}return a(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(Bk);function Uk(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,a={},o=r.getAxesOnZeroOf()[0],s=r.position,l=o?"onZero":s,u=r.dim,c=i.getRect(),h=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,p="x"===u?[h[2]-f,h[3]+f]:[h[0]-f,h[1]+f];if(o){var m=o.toGlobalCoord(o.dataToCoord(0));p[d.onZero]=Math.max(Math.min(m,p[1]),p[0])}a.position=["y"===u?p[d[l]]:h[0],"x"===u?p[d[l]]:h[3]],a.rotation=Math.PI/2*("x"===u?0:1),a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],a.labelOffset=o?p[d[s]]-p[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),et(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var g=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===l?-g:g,a.z2=1,a}function Gk(t){return"cartesian2d"===t.get("coordinateSystem")}function qk(t){var e={xAxisModel:null,yAxisModel:null};return j(e,function(n,i){var r=i.replace(/Model$/,""),a=t.getReferringComponents(r,qr).models[0];e[i]=a}),e}var Xk=Math.log;function Zk(t,e,n){var i=Kw.prototype,r=i.getTicks.call(n),a=i.getTicks.call(n,!0),o=r.length-1,s=i.getInterval.call(n),l=kk(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var d=Xk(t.base);u=[Xk(u[0])/d,Xk(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:h});var f=i.getExtent.call(t);c&&(u[0]=f[0]),h&&(u[1]=f[1]);var p=i.getInterval.call(t),m=u[0],g=u[1];if(c&&h)p=(g-m)/o;else if(c)for(g=u[0]+p*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)p=Vw(p),g=u[0]+p*o;else if(h)for(m=u[1]-p*o;m>u[0]&&isFinite(m)&&isFinite(u[0]);)p=Vw(p),m=u[1]-p*o;else{t.getTicks().length-1>o&&(p=Vw(p));var v=p*o;(m=dr((g=Math.ceil(u[1]/p)*p)-v))<0&&u[0]>=0?(m=0,g=dr(v)):g>0&&u[1]<=0&&(g=0,m=-dr(v))}var y=(r[0].value-a[0].value)/s,_=(r[o].value-a[o].value)/s;i.setExtent.call(t,m+p*y,g+p*_),i.setInterval.call(t,p),(y||_)&&i.setNiceExtent.call(t,m+p,g-p)}function Kk(t,e){return t.getCoordSysModel()===e}function Jk(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=t[e],o=n.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)Qk(a[l])&&(r=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&Qk(a[u])&&!i[c(a[u])]){r=a[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function Qk(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var $k=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Ak,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=H(t),i=n.length;if(i){for(var r=[],a=i-1;a>=0;a--){var o=t[+n[a]],s=o.model,l=o.scale;Fw(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(o):(xk(l,s),Fw(l)&&(e=o))}r.length&&(e||xk((e=r.pop()).scale,e.model),j(r,function(t){Zk(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};j(n.x,function(t){Jk(n,"y",t,r)}),j(n.y,function(t){Jk(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),a=Vu(i,{width:e.getWidth(),height:e.getHeight()});this._rect=a;var o=this._axesList;function s(){j(o,function(t){var e=t.isHorizontal(),n=e?[0,a.width]:[0,a.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?a.x:a.y)})}s(),r&&(j(o,function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.scale;if(t.model.get(["axisLabel","show"])&&!e.isBlank()){var n,i,r=e.getExtent();i=e instanceof qw?e.count():(n=e.getTicks()).length;var a,o,s,l,u,c,h,d=t.getLabelModel(),f=Sk(t),p=1;i>40&&(p=Math.ceil(i/40));for(var m=0;m<i;m+=p){var g=f(n?n[m]:{value:r[0]+m},m),v=(o=d.getTextRect(g),s=(d.get("rotate")||0)*Math.PI/180,u=o.height,c=(l=o.width)*Math.abs(Math.cos(s))+Math.abs(u*Math.sin(s)),h=l*Math.abs(Math.sin(s))+Math.abs(u*Math.cos(s)),new Ni(o.x,o.y,c,h));a?a.union(v):a=v}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);a[n]-=e[n]+i,"top"===t.position?a.y+=e.height+i:"left"===t.position&&(a.x+=e.width+i)}}}),s()),j(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e)return this._coordsMap["x"+t+"y"+e];Z(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===t||i[n].getAxis("y").index===e)return i[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",qr).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",qr).models[0],o=t.gridModel;return i?E(this._coordsList,e=i.coordinateSystem)<0&&(e=null):r&&a?e=this.getCartesian(r.componentIndex,a.componentIndex):r?n=this.getAxis("x",r.componentIndex):a?n=this.getAxis("y",a.componentIndex):o&&o.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(Kk(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=a.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=a.left?"right":"left"),a[l]=!0;var u=new Wk(e,Mk(n),[0,0],n.get("type"),l);u.onBand="category"===u.type&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),o[e][i]=u,s[e]++}}}this._axesMap=o,j(o.x,function(e,n){j(o.y,function(r,a){var o="x"+n+"y"+a,s=new Pk(o);s.master=i,s.model=t,i._coordsMap[o]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){j(Tk(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}j(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if(Gk(t)){var i=qk(t),r=i.xAxisModel,a=i.yAxisModel;if(!Kk(r,e)||!Kk(a,e))return;var o=this.getCartesian(r.componentIndex,a.componentIndex),s=t.getData(),l=o.getAxis("x"),u=o.getAxis("y");n(s,l),n(s,u)}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return j(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(r);E(e,r)<0&&e.push(r),E(n,a)<0&&n.push(a)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,a){var o=new t(r,e,n);o.name="grid_"+a,o.resize(r,n,!0),r.coordinateSystem=o,i.push(o)}),e.eachSeries(function(t){if(Gk(t)){var e=qk(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel();t.coordinateSystem=r.coordinateSystem.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=Ak,t}(),tx=Math.PI,ex=function(){function t(t,e){this.group=new ar,this.opt=e,this.axisModel=t,P(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new ar({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!nx[t]},t.prototype.add=function(t){nx[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,a=vr(e-t);return yr(a)?(r=n>0?"top":"bottom",i="center"):yr(a-tx)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a<tx?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),nx={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var a=e.axis.getExtent(),o=i.transform,s=[a[0],0],l=[a[1],0];o&&(At(s,s,o),At(l,l,o));var u=I({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new Tf({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});c.anid="line",n.add(c);var h=e.get(["axisLine","symbol"]);if(null!=h){var d=e.get(["axisLine","symbolSize"]);G(h)&&(h=[h,h]),(G(d)||X(d))&&(d=[d,d]);var f=Fm(e.get(["axisLine","symbolOffset"])||0,d),p=d[0],m=d[1];j([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(e,i){if("none"!==h[i]&&null!=h[i]){var r=jm(h[i],-p/2,-m/2,p,m,u.stroke,!0),a=e.r+e.offset;r.attr({rotation:e.rotate,x:s[0]+a*Math.cos(t.rotation),y:s[1]-a*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,a=n.getModel("axisTick"),o=a.get("show");if("auto"===o&&i.handleAutoShown&&(o=i.handleAutoShown("axisTick")),o&&!r.scale.isBlank()){for(var s=a.getModel("lineStyle"),l=i.tickDirection*a.get("length"),u=ox(r.getTicksCoords(),e.transform,l,P(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}}(n,i,e,t),a=function(t,e,n,i){var r=n.axis;if(et(i.axisLabelShow,n.get(["axisLabel","show"]))&&!r.scale.isBlank()){var a=n.getModel("axisLabel"),o=a.get("margin"),s=r.getViewLabels(),l=(et(i.labelRotate,a.get("rotate"))||0)*tx/180,u=ex.innerTextLayout(i.rotation,l,i.labelDirection),c=n.getCategories&&n.getCategories(!0),h=[],d=ex.isLabelSilent(n),f=n.get("triggerEvent");return j(s,function(s,l){var p="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,m=s.formattedLabel,g=s.rawLabel,v=a;if(c&&c[p]){var y=c[p];Z(y)&&y.textStyle&&(v=new Ul(y.textStyle,a,n.ecModel))}var _=v.getTextColor()||n.get(["axisLine","lineStyle","color"]),b=r.dataToCoord(p),w=new ds({x:b,y:i.labelOffset+i.labelDirection*o,rotation:u.rotation,silent:d,z2:10+(s.level||0),style:kl(v,{text:m,align:v.getShallow("align",!0)||u.textAlign,verticalAlign:v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||u.textVerticalAlign,fill:U(_)?_("category"===r.type?g:"value"===r.type?p+"":p,l):_})});if(w.anid="label_"+p,f){var k=ex.makeAxisEventDataBase(n);k.targetType="axisLabel",k.value=g,k.tickIndex=l,"category"===r.type&&(k.dataIndex=p),fs(w).eventData=k}e.add(w),w.updateTransform(),h.push(w),t.add(w),w.decomposeTransform()}),h}}(n,i,e,t);(function(t,e,n){if(!Ok(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]),a=(e=e||[])[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=(n=n||[])[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(ix(a),ix(u)):rx(a,o)&&(i?(ix(o),ix(c)):(ix(a),ix(u))),!1===r?(ix(s),ix(h)):rx(l,s)&&(r?(ix(l),ix(d)):(ix(s),ix(h)))}})(e,a,r),function(t,e,n,i){var r=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!r.scale.isBlank()){var o=r.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=i*a.get("length"),u=P(s.getLineStyle(),P(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var h=ox(o[c],e.transform,l,u,"minorticks_"+c),d=0;d<h.length;d++)t.add(h[d])}}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])&&Fv(Yv(N(a,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})))},axisName:function(t,e,n,i){var r=et(t.axisName,e.get("name"));if(r){var a,o,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,h=e.axis.getExtent(),d=h[0]>h[1]?-1:1,f=["start"===s?h[0]-d*c:"end"===s?h[1]+d*c:(h[0]+h[1])/2,ax(s)?t.labelOffset+l*c:0],p=e.get("nameRotate");null!=p&&(p=p*tx/180),ax(s)?a=ex.innerTextLayout(t.rotation,null!=p?p:t.rotation,l):(a=function(t,e,n,i){var r,a,o=vr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return yr(o-tx/2)?(a=l?"bottom":"top",r="center"):yr(o-1.5*tx)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*tx&&o>tx/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}(t.rotation,s,p||0,h),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(a.rotation)),!isFinite(o)&&(o=null)));var m=u.getFont(),g=e.get("nameTruncate",!0)||{},v=g.ellipsis,y=et(t.nameTruncateMaxWidth,g.maxWidth,o),_=new ds({x:f[0],y:f[1],rotation:a.rotation,silent:ex.isLabelSilent(e),style:kl(u,{text:r,font:m,overflow:"truncate",width:y,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||a.textAlign,verticalAlign:u.get("verticalAlign")||a.textVerticalAlign}),z2:1});if(wp({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var b=ex.makeAxisEventDataBase(e);b.targetType="axisName",b.name=r,fs(_).eventData=b}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function ix(t){t&&(t.ignore=!0)}function rx(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=di([]);return gi(r,r,-t.rotation),n.applyTransform(pi([],r,t.getLocalTransform())),i.applyTransform(pi([],r,e.getLocalTransform())),n.intersect(i)}}function ax(t){return"middle"===t||"center"===t}function ox(t,e,n,i,r){for(var a=[],o=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=n,e&&(At(o,o,e),At(s,s,e));var c=new Tf({subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});c.anid=r+"_"+t[l].tickValue,a.push(c)}return a}var sx=ex;function lx(t,e){return"all"===t||W(t)&&E(t,e)>=0||t===e}function ux(t){var e=cx(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=hx(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function cx(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[dx(t)]}function hx(t){return!!t.get(["handle","show"])}function dx(t){return t.type+"||"+t.id}var fx={},px=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&ux(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var a=function(t){var e=cx(t);return e&&e.axisPointerModel}(t);a?(this._axisPointer||(this._axisPointer=new r)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){fx[t]=e},e.getAxisPointerClass=function(t){return t&&fx[t]},e.type="axis",e}(Dd),mx=Br();function gx(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:a,clamp:!0});if(u.length){var c=s.length,h=mx(t).splitAreaColors,d=ht(),f=0;if(h)for(var p=0;p<u.length;p++){var m=h.get(u[p].tickValue);if(null!=m){f=(m+(c-1)*p)%c;break}}var g=r.toGlobalCoord(u[0].coord),v=o.getAreaStyle();for(s=W(s)?s:[s],p=1;p<u.length;p++){var y=r.toGlobalCoord(u[p].coord),_=void 0,b=void 0,w=void 0,k=void 0;r.isHorizontal()?(b=l.y,k=l.height,g=(_=g)+(w=y-_)):(_=l.x,w=l.width,g=(b=g)+(k=y-b));var x=u[p-1].tickValue;null!=x&&d.set(x,f),e.add(new Ko({anid:null!=x?"area_"+x:null,shape:{x:_,y:b,width:w,height:k},style:P({fill:s[f]},v),autoBatch:!0,silent:!0})),f=(f+1)%c}mx(t).splitAreaColors=d}}}function vx(t){mx(t).splitAreaColors=null}var yx=["axisLine","axisTickLabel","axisName"],_x=["splitArea","splitLine","minorSplitLine"],bx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return a(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new ar,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),s=Uk(o,e),l=new sx(e,I({handleAutoShown:function(t){for(var n=o.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(Fw(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));j(yx,l.add,l),this._axisGroup.add(l.getGroup()),j(_x,function(t){e.get([t,"show"])&&kx[t](this,this._axisGroup,e,o)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||pp(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){vx(this)},e.type="cartesianAxis",e}(px),kx={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=W(s)?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),c=0,h=r.getTicksCoords({tickModel:a}),d=[],f=[],p=o.getLineStyle(),m=0;m<h.length;m++){var g=r.toGlobalCoord(h[m].coord);u?(d[0]=g,d[1]=l.y,f[0]=g,f[1]=l.y+l.height):(d[0]=l.x,d[1]=g,f[0]=l.x+l.width,f[1]=g);var v=c++%s.length;e.add(new Tf({anid:null!=h[m].tickValue?"line_"+h[m].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:P({stroke:s[v]},p),silent:!0}))}}},minorSplitLine:function(t,e,n,i){var r=n.axis,a=n.getModel("minorSplitLine").getModel("lineStyle"),o=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=a.getLineStyle(),d=0;d<l.length;d++)for(var f=0;f<l[d].length;f++){var p=r.toGlobalCoord(l[d][f].coord);s?(u[0]=p,u[1]=o.y,c[0]=p,c[1]=o.y+o.height):(u[0]=o.x,u[1]=p,c[0]=o.x+o.width,c[1]=p),e.add(new Tf({anid:"minor_line_"+l[d][f].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0}))}},splitArea:function(t,e,n,i){gx(t,e,n,i)}},xx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="xAxis",e}(bx),Mx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=xx.type,e}return a(e,t),e.type="yAxis",e}(bx),Sx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return a(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Ko({shape:t.coordinateSystem.getRect(),style:P({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Dd),Cx={offset:0};function Dx(t){t.registerComponentView(Sx),t.registerComponentModel(Mw),t.registerCoordinateSystem("cartesian2d",$k),Rw(t,"x",Cw,Cx),Rw(t,"y",Cw,Cx),t.registerComponentView(xx),t.registerComponentView(Mx),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function Ox(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();j(r,function(t,a){e.each(e.mapDimension(r[a].dim),function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,a);n[e][a]=Tx(r)?r:Lx(i)})}),e.each(function(t){var r=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(void 0,t[i],i,t))return t[i]}(n[t],function(t){return Tx(t)})||Lx(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])})}})}function Tx(t){return!isNaN(t[0])&&!isNaN(t[1])}function Lx(t){return[t.cx,t.cy]}function Ax(t){var e=t.polar;if(e){W(e)||(e=[e]);var n=[];j(e,function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],W(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)}),t.polar=n}j(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}var Ix=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var r=t.coordinateSystem,a=this.group,o=t.getData(),s=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=Nm(t.getItemVisual(e,"symbolSize")),r=jm(n,-1,-1,2,2),a=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:a*Math.PI/180||0}),r}}function u(e,n,r,a,o,s){r.removeAll();for(var u=0;u<n.length-1;u++){var c=l(a,o);c&&(c.__dimIdx=u,e[u]?(c.setPosition(e[u]),i[s?"initProps":"updateProps"](c,{x:n[u][0],y:n[u][1]},t,o)):c.setPosition(n[u]),r.add(c))}}function c(t){return N(t,function(t){return[r.cx,r.cy]})}o.diff(s).add(function(e){var n=o.getItemLayout(e);if(n){var i=new kf,r=new Sf,a={shape:{points:n}};i.shape.points=c(n),r.shape.points=c(n),hl(i,a,t,e),hl(r,a,t,e);var s=new ar,l=new ar;s.add(r),s.add(i),s.add(l),u(r.shape.points,n,l,o,e,!0),o.setItemGraphicEl(e,s)}}).update(function(e,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),a=i.childAt(1),l=i.childAt(2),c={shape:{points:o.getItemLayout(e)}};c.shape.points&&(u(r.shape.points,c.shape.points,l,o,e,!1),gl(a),gl(r),cl(r,c,t),cl(a,c,t),o.setItemGraphicEl(e,i))}).remove(function(t){a.remove(s.getItemGraphicEl(t))}).execute(),o.eachItemGraphicEl(function(t,e){var n=o.getItemModel(e),i=t.childAt(0),r=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;a.add(t),i.useStyle(P(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),nl(i,n,"lineStyle"),nl(r,n,"areaStyle");var c=n.getModel("areaStyle"),h=c.isEmpty()&&c.parentModel.isEmpty();r.ignore=h,j(["emphasis","select","blur"],function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();r.ensureState(t).ignore=i&&h}),r.useStyle(P(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var d=n.getModel("emphasis"),f=d.getModel("itemStyle").getItemStyle();s.eachChild(function(t){if(t instanceof zo){var i=t.style;t.useStyle(I({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=T(f);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),bl(t,wl(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})}),Qs(t,d.get("focus"),d.get("blurScope"),d.get("disabled"))}),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Ip),Px=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new vw(z(this.getData,this),z(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return gw(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),a=this.getData().getName(t),o=""===a?this.name:a,s=hd(this,t);return nd("section",{header:o,sortBlocks:!0,blocks:N(r,function(e){var n=i.get(i.mapDimension(e.dim),t);return nd("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})})})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(N(n.dimensions,function(t){return e.mapDimension(t)}),t),r=0,a=i.length;r<a;r++)if(!isNaN(i[r])){var o=n.getIndicatorAxes();return n.coordToPoint(o[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Sd),Ex=Lw.value;function Rx(t,e){return P({show:e},t)}var Yx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),a=this.get("axisLabel"),o=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),h=N(this.get("indicator")||[],function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=o;null!=h.color&&(d=P({color:h.color},o));var f=L(T(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:a,name:h.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:c},!1);if(s||(f.name=""),G(l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else U(l)&&(f.name=l(f.name,f));var m=new Ul(f,null,this.ecModel);return R(m,Sw.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:L({lineStyle:{color:"#bbb"}},Ex.axisLine),axisLabel:Rx(Ex.axisLabel,!1),axisTick:Rx(Ex.axisTick,!1),splitLine:Rx(Ex.splitLine,!0),splitArea:Rx(Ex.splitArea,!0),indicator:[]},e}(Xu),jx=["axisLine","axisTickLabel","axisName"],Nx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;j(N(e.getIndicatorAxes(),function(t){var n=t.model.get("showName")?t.name:"";return new sx(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(t){j(jx,t.add,t),this.group.add(t.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),a=t.getModel("splitArea"),o=r.getModel("lineStyle"),s=a.getModel("areaStyle"),l=r.get("show"),u=a.get("show"),c=o.get("color"),h=s.get("color"),d=W(c)?c:[c],f=W(h)?h:[h],p=[],m=[];if("circle"===i)for(var g=n[0].getTicksCoords(),v=e.cx,y=e.cy,_=0;_<g.length;_++)l&&p[D(p,d,_)].push(new Jd({shape:{cx:v,cy:y,r:g[_].coord}})),u&&_<g.length-1&&m[D(m,f,_)].push(new yf({shape:{cx:v,cy:y,r0:g[_].coord,r:g[_+1].coord}}));else{var b,w=N(n,function(t,n){var i=t.getTicksCoords();return b=null==b?i.length-1:Math.min(i.length-1,b),N(i,function(t){return e.coordToPoint(t.coord,n)})}),k=[];for(_=0;_<=b;_++){for(var x=[],M=0;M<n.length;M++)x.push(w[M][_]);x[0]&&x.push(x[0].slice()),l&&p[D(p,d,_)].push(new Sf({shape:{points:x}})),u&&k&&m[D(m,f,_-1)].push(new kf({shape:{points:x.concat(k)}})),k=x.slice().reverse()}}var S=o.getLineStyle(),C=s.getAreaStyle();j(m,function(t,e){this.group.add(ap(t,{style:P({stroke:"none",fill:f[e%f.length]},C),silent:!0}))},this),j(p,function(t,e){this.group.add(ap(t,{style:P({fill:"none",stroke:d[e%d.length]},S),silent:!0}))},this)}function D(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(Dd),Fx=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return a(e,t),e}(Bk),Vx=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=N(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new Fx(n,new Kw);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){return this.coordToPoint(this._indicatorAxes[e].dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,a=Math.atan2(-n,e),o=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(a-u.angle);c<o&&(r=u,s=l,o=c)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),a=Math.min(i,r)/2;this.cx=hr(n[0],i),this.cy=hr(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var o=t.get("radius");(G(o)||X(o))&&(o=[0,o]),this.r0=hr(o[0],a),this.r=hr(o[1],a),j(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n},this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;j(n,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var a=e.getData();j(n,function(t){t.scale.unionExtentFromData(a,a.mapDimension(t.dim))})}},this);var r=i.get("splitNumber"),a=new Kw;a.setExtent(0,r),a.setInterval(1),j(n,function(t,e){Zk(t.scale,t.model,a)})},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",function(r){var a=new t(r,e,n);i.push(a),r.coordinateSystem=a}),e.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},t.dimensions=[],t}();function Hx(t){t.registerCoordinateSystem("radar",Vx),t.registerComponentModel(Yx),t.registerComponentView(Nx),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each(function(t){e.setItemVisual(t,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}var zx="\0_ec_interaction_mutex";function Bx(t,e){return!!Wx(t)[e]}function Wx(t){return t[zx]||(t[zx]={})}function Ux(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(Jt(i.event),Gx(t,e,n,i,r))}function Gx(t,e,n,i,r){r.isAvailableBehavior=z(qx,null,n,i),t.trigger(e,r)}function qx(t,e,n){var i=n[t];return!t||i&&(!G(i)||e.event[i+"Key"])}rv({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},gt);var Xx=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=z(n._mousedownHandler,n),r=z(n._mousemoveHandler,n),a=z(n._mouseupHandler,n),o=z(n._mousewheelHandler,n),s=z(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=P(T(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",o),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",a),e.off("mousewheel",o),e.off("pinch",s)},n}return a(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(Qt(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&qx("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!Bx(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,a=e-i,o=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&Jt(t.event),Gx(this,"pan","moveOnMouseMove",t,{dx:a,dy:o,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){Qt(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=qx("zoomOnMouseWheel",t,this._opt),n=qx("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),a=t.offsetX,o=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;Ux(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:a,originY:o,isAvailableBehavior:null})}if(n){var l=Math.abs(i);Ux(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){Bx(this._zr,"globalPan")||Ux(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Yt);function Zx(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function Kx(t,e,n,i){var r=t.target,a=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,a){var s=a.min||0;o=Math.max(Math.min(a.max||1/0,o),s)}var l=o/t.zoom;t.zoom=o,r.x-=(n-r.x)*(l-1),r.y-=(i-r.y)*(l-1),r.scaleX*=l,r.scaleY*=l,r.dirty()}var Jx,Qx={axisPointer:1,tooltip:1,brush:1};function $x(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!Qx.hasOwnProperty(i.mainType)&&r&&r.model!==n}function tM(t){G(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var eM={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},nM=H(eM),iM={"alignment-baseline":"textBaseline","stop-color":"stopColor"},rM=H(iM),aM=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=tM(t);this._defsUsePending=[];var i=new ar;this._root=i;var r=[],a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(s)&&(s=null),hM(n,i,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],a){var h=mM(a);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=o&&null!=s&&(u=bM(l,{x:0,y:0,width:o,height:s}),!e.ignoreViewBox)){var d=i;(i=new ar).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==o||null==s||i.setClipPath(new Ko({shape:{x:0,y:0,width:o,height:s}})),{root:i,width:o,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,a){var o,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(a=!0),"defs"===s||"switch"===s)o=e;else{if(!r){var u=Jx[s];if(u&&mt(Jx,s)){o=u.call(this,t,e);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:o};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:o});e.add(o)}}var d=oM[s];if(d&&mt(oM,s)){var f=d.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=f)}}if(o&&o.isGroup)for(var m=t.firstChild;m;)1===m.nodeType?this._parseNode(m,o,n,l,r,a):3===m.nodeType&&a&&this._parseText(m,o),m=m.nextSibling},t.prototype._parseText=function(t,e){var n=new No({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});uM(e,n),hM(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var a=e.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&("middle"===o&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var a=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=a;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=void(Jx={g:function(t,e){var n=new ar;return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Ko;return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Jd;return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Tf;return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new tf;return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=cM(i));var r=new kf({shape:{points:n||[]},silent:!0});return uM(e,r),hM(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=cM(i));var r=new Sf({shape:{points:n||[]},silent:!0});return uM(e,r),hM(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new zo;return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(a);var o=new ar;return uM(e,o),hM(t,o,this._defsUsePending,!1,!0),o},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",o=new ar;return uM(e,o),hM(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(a),o},path:function(t,e){var n=qd(t.getAttribute("d")||"");return uM(e,n),hM(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),oM={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),a=new Vf(e,n,i,r);return sM(t,a),lM(t,a),a},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Hf(e,n,i);return sM(t,r),lM(t,r),r}};function sM(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function lM(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i,r=n.getAttribute("offset");i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var a={};_M(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function uM(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),P(e.__inheritedStyle,t.__inheritedStyle))}function cM(t){for(var e=mM(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),a=parseFloat(e[i+1]);n.push([r,a])}return n}function hM(t,e,n,i,r){var a=e,o=a.__inheritedStyle=a.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(gM,function(t,e,n){return i.push(e,n),""});for(var a=i.length-1;a>0;a-=2){var o=i[a-1],s=mM(i[a]);switch(r=r||[1,0,0,1,0,0],o){case"translate":mi(r,r,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":vi(r,r,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":gi(r,r,-parseFloat(s[0])*vM);break;case"skewX":pi(r,[1,0,Math.tan(parseFloat(s[0])*vM),1,0,0],r);break;case"skewY":pi(r,[1,Math.tan(parseFloat(s[0])*vM),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(s[0]),r[1]=parseFloat(s[1]),r[2]=parseFloat(s[2]),r[3]=parseFloat(s[3]),r[4]=parseFloat(s[4]),r[5]=parseFloat(s[5])}}e.setLocalTransform(r)}}(t,e),_M(t,o,s),i||function(t,e,n){for(var i=0;i<nM.length;i++)null!=(a=t.getAttribute(r=nM[i]))&&(e[eM[r]]=a);for(i=0;i<rM.length;i++){var r,a;null!=(a=t.getAttribute(r=rM[i]))&&(n[iM[r]]=a)}}(t,o,s)),a.style=a.style||{},null!=o.fill&&(a.style.fill=fM(a,"fill",o.fill,n)),null!=o.stroke&&(a.style.stroke=fM(a,"stroke",o.stroke,n)),j(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){null!=o[t]&&(a.style[t]=parseFloat(o[t]))}),j(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(t){null!=o[t]&&(a.style[t]=o[t])}),r&&(a.__selfStyle=s),o.lineDash&&(a.style.lineDash=N(mM(o.lineDash),function(t){return parseFloat(t)})),"hidden"!==o.visibility&&"collapse"!==o.visibility||(a.invisible=!0),"none"===o.display&&(a.ignore=!0)}var dM=/^url\(\s*#(.*?)\)/;function fM(t,e,n,i){var r=n&&n.match(dM);if(!r)return"none"===n&&(n=null),n;var a=st(r[1]);i.push([t,e,a])}var pM=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function mM(t){return t.match(pM)||[]}var gM=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,vM=Math.PI/180,yM=/([^\s:;]+)\s*:\s*([^:;]+)/g;function _M(t,e,n){var i,r=t.getAttribute("style");if(r)for(yM.lastIndex=0;null!=(i=yM.exec(r));){var a=i[1],o=mt(eM,a)?eM[a]:null;o&&(e[o]=i[2]);var s=mt(iM,a)?iM[a]:null;s&&(n[s]=i[2])}}function bM(t,e){var n=Math.min(e.width/t.width,e.height/t.height);return{scale:n,x:-(t.x+t.width/2)*n+(e.x+e.width/2),y:-(t.y+t.height/2)*n+(e.y+e.height/2)}}function wM(t,e){return Math.abs(t-e)<1e-8}function kM(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var a=1;a<t.length;a++){var o=t[a];i+=xo(r[0],r[1],o[0],o[1],e,n),r=o}var s=t[0];return wM(r[0],s[0])&&wM(r[1],s[1])||(i+=xo(r[0],r[1],s[0],s[1],e,n)),0!==i}var xM=[];function MM(t,e){for(var n=0;n<t.length;n++)At(t[n],t[n],e)}function SM(t,e,n,i){for(var r=0;r<t.length;r++){var a=t[r];i&&(a=i.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(It(e,e,a),Pt(n,n,a))}}var CM=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),DM=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},OM=function(t){this.type="linestring",this.points=t},TM=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return a(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],a=r.exterior,o=a&&a.length;o>n&&(t=r,n=o)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,a=t[r-1][0],o=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=a*u-l*o;e+=c,n+=(a+l)*c,i+=(o+u)*c,a=l,o=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0];return j(this.geometries,function(e){"polygon"===e.type?SM(e.exterior,n,i,t):j(e.points,function(e){SM(e,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Ni(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var a=n[i];if("polygon"===a.type){var o=a.interiors;if(kM(a.exterior,t[0],t[1])){for(var s=0;s<(o?o.length:0);s++)if(kM(o[s],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=r.width/r.height;n?i||(i=n/a):n=a*i;for(var o=new Ni(t,e,n,i),s=r.calculateTransform(o),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(MM(c.exterior,s),j(c.interiors,function(t){MM(t,s)})):j(c.points,function(t){MM(t,s)})}(r=this._rect).copy(o),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(CM),LM=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return a(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=di(xM),r=t;r&&!r.isGeoSVGGraphicRoot;)pi(i,r.getLocalTransform(),i),r=r.parent;return yi(i,i),At(n,n,i),n},e}(CM),AM=ht(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),IM=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=ht(),this._freedGraphics=[],this._mapName=t,this._parsedXML=tM(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=ht();return j(t,function(t){if(null==t.namedFrom){var i=new LM(t.name,t.el);e.push(i),n.set(t.name,i)}}),{regions:e,regionsMap:n}}(t.named),n=e.regionsMap;this._regions=e.regions,this._regionsMap=n}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{ot(null!=(n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new aM).parse(i,r))||{}).root))}catch(v){throw new Error("Invalid svg format\n"+v.message)}var a=new ar;a.add(n),a.isGeoSVGGraphicRoot=!0;var o=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,h=void 0,d=void 0,f=void 0;if(null!=o?(c=0,d=o):l&&(c=l.x,d=l.width),null!=s?(h=0,f=s):l&&(h=l.y,f=l.height),null==c||null==h){var p=n.getBoundingRect();null==c&&(c=p.x,d=p.width),null==h&&(h=p.y,f=p.height)}u=this._boundingRect=new Ni(c,h,d,f)}if(l){var m=bM(l,u);n.scaleX=n.scaleY=m.scale,n.x=m.x,n.y=m.y}a.setClipPath(new Ko({shape:u.plain()}));var g=[];return j(e.named,function(t){var e;null!=AM.get(t.svgNodeTagLower)&&(g.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1}))}),{root:a,boundingRect:u,named:g}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function PM(t,e,n){for(var i=0;i<t.length;i++)t[i]=EM(t[i],e[i],n)}function EM(t,e,n){for(var i=[],r=e[0],a=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,a=l+=a,i.push([s/n,l/n])}return i}for(var RM=[126,25],YM=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],jM=0;jM<YM.length;jM++)for(var NM=0;NM<YM[jM].length;NM++)YM[jM][NM][0]/=10.5,YM[jM][NM][1]/=-14,YM[jM][NM][0]+=RM[0],YM[jM][NM][1]+=RM[1];var FM={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]},VM=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]],HM=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=ht(),this._mapName=t,this._specialAreas=n,this._geoJSON=G(i=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i}return t.prototype.load=function(t,e){var n=this._parsedMap.get(e=e||"name");if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:zM(i)})}var r=ht(),a=[];return j(n.regions,function(e){var n=e.name;t&&mt(t,n)&&(e=e.cloneShallow(n=t[n])),a.push(e),r.set(n,e)}),{regions:a,boundingRect:n.boundingRect||new Ni(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?function(t,e){return N(V((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),j(e.features,function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=EM(r,i,n);break;case"Polygon":case"MultiLineString":PM(r,i,n);break;case"MultiPolygon":j(r,function(t,e){return PM(t,i[e],n)})}}),e.UTF8Encoding=!1,e}(t)).features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var a=i.coordinates;r.push(new DM(a[0],a.slice(1)));break;case"MultiPolygon":j(i.coordinates,function(t){t[0]&&r.push(new DM(t[0],t.slice(1)))});break;case"LineString":r.push(new OM([i.coordinates]));break;case"MultiLineString":r.push(new OM(i.coordinates))}var o=new TM(n[e||"name"],r,n.cp);return o.properties=n,o})}(i,t):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if("\u5357\u6d77\u8bf8\u5c9b"===e[n].name)return;e.push(new TM("\u5357\u6d77\u8bf8\u5c9b",N(YM,function(t){return{type:"polygon",exterior:t}}),RM))}}(n,e),j(e,function(t){var e=t.name;!function(t,e){if("china"===t){var n=FM[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}(n,t),function(t,e){"china"===t&&"\u53f0\u6e7e"===e.name&&e.geometries.push({type:"polygon",exterior:VM[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)},this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function zM(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}var BM=ht(),WM=function(t){return BM.get(t)},UM=function(t,e,n){var i=BM.get(t);if(i)return i.load(e,n)},GM=["rect","circle","line","ellipse","polygon","polyline","path"],qM=ht(GM),XM=ht(GM.concat(["g"])),ZM=ht(GM.concat(["g"])),KM=Br();function JM(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function QM(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}function $M(t,e,n,i){var r=i.getModel("itemStyle"),a=i.getModel(["emphasis","itemStyle"]),o=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=JM(r),u=JM(a),c=JM(s),h=JM(o),d=t.data;if(d){var f=d.getItemVisual(n,"style"),p=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=ug(p,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=h,Rs(e)}function tS(t,e,n,i,r,a,o){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),a)),c=s&&s.getItemLayout(a);if(l||u||c&&c.showLabel){var h=l?n:a,d=void 0;(!s||a>=0)&&(d=r);var f=o?{normal:{align:"center",verticalAlign:"middle"}}:null;bl(e,wl(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},f);var p=e.getTextContent();if(p&&(KM(p).ignore=p.ignore,e.textConfig&&o)){var m=e.getBoundingRect().clone();e.textConfig.layoutRect=m,e.textConfig.position=[(o[0]-m.x)/m.width*100+"%",(o[1]-m.y)/m.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function eS(t,e,n,i,r,a){t.data?t.data.setItemGraphicEl(a,e):fs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function nS(t,e,n,i,r){t.data||wp({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function iS(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var a=i.getModel("emphasis"),o=a.get("focus");return Qs(e,o,a.get("blurScope"),a.get("disabled")),t.isGeo&&function(t,e,n){var i=fs(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),o}function rS(t,e,n){var i,r=[];function a(){i=[]}function o(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),j(t,function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()}),!n&&s.polygonEnd(),r}var aS=function(){function t(t){var e=new ar;this.uid=ql("ec_map_draw"),this._controller=new Xx(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new ar),e.add(this._svgGroup=new ar)}return t.prototype.draw=function(t,e,n,i,r){var a="geo"===t.mainType,o=t.getData&&t.getData();a&&e.eachComponent({mainType:"series",subType:"map"},function(e){o||e.getHostGeoModel()!==t||(o=e.getData())});var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,d=c.roam;!l.childAt(0)||r?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):cl(u,d,t);var f=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:f,isGeo:a,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=ht(),n=ht(),i=this._regionsGroup,r=t.transformInfoRaw,a=t.mapOrGeoModel,o=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function c(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function h(t){return{shape:{points:c(t)}}}i.removeAll(),j(t.geo.regions,function(r){var c=r.name,d=e.get(c),f=n.get(c)||{},p=f.dataIdx,m=f.regionModel;d||(d=e.set(c,new ar),i.add(d),p=o?o.indexOfName(c):null,m=t.isGeo?a.getRegionModel(c):o?o.getItemModel(p):null,n.set(c,{dataIdx:p,regionModel:m}));var g=[],v=[];j(r.geometries,function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=rS(e,l)),j(e,function(t){g.push(new kf(h(t)))})}else{var n=t.points;l&&(n=rS(n,l,!0)),j(n,function(t){v.push(new Sf(h(t)))})}});var y=u(r.getCenter(),s&&s.project);function _(e,n){if(e.length){var i=new Nf({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});d.add(i),$M(t,i,p,m),tS(t,i,c,m,a,p,y),n&&(QM(i),j(i.states,QM))}}_(g),_(v,!0)}),e.each(function(e,i){var r=n.get(i),o=r.regionModel;eS(t,e,i,o,a,r.dataIdx),nS(t,e,i,o,a),iS(t,e,i,o,a)},this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=ht(),r=!1;j(this._svgGraphicRecord.named,function(e){var n=e.name,a=t.mapOrGeoModel,o=t.data,s=e.svgNodeTagLower,l=e.el,u=o?o.indexOfName(n):null,c=a.getRegionModel(n);null!=qM.get(s)&&l instanceof Ra&&$M(t,l,u,c),l instanceof Ra&&(l.culling=!0),l.z2EmphasisLift=0,e.namedFrom||(null!=ZM.get(s)&&tS(t,l,n,c,a,u,null),eS(t,l,n,c,a,u),nS(t,l,n,c,a),null!=XM.get(s)&&("self"===iS(t,l,n,c,a)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))},this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse(function(t){if(!t.isGroup){Rs(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}})}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=WM(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=WM(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,a=this._controllerHost;a.zoomLimit=t.get("scaleLimit"),a.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var o=t.mainType;function s(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}r.off("pan").on("pan",function(t){this._mouseDownFlag=!1,Zx(a,t.dx,t.dy),n.dispatchAction(I(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))},this),r.off("zoom").on("zoom",function(t){this._mouseDownFlag=!1,Kx(a,t.scale,t.originX,t.originY),n.dispatchAction(I(s(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))},this),r.setPointerChecker(function(e,r,a){return i.containPoint([r,a])&&!$x(e,n,t)})},t.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var e=t.getTextContent();e&&(e.ignore=KM(e).ignore)})},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",function(){r._mouseDownFlag=!0}),e.on("click",function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)}))},t}(),oS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(a=this._mapDraw)&&r.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new aS(n);r.add(a.group),a.draw(t,e,n,this,i),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),function(e,n){if(!isNaN(e)){var a=i.getItemLayout(n);if(a&&a.point){var o=a.point,s=a.offset,l=new Jd({style:{fill:t.getData().getVisual("style").fill},shape:{cx:o[0]+9*s,cy:o[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var u=t.mainSeries.getData(),c=i.getName(n),h=u.indexOfName(c),d=i.getItemModel(n),f=d.getModel("label"),p=u.getItemGraphicEl(h);bl(l,wl(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(t){Ps(l,t)}}r.add(l)}}})},e.type="map",e}(Ip),sS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return a(e,t),e.prototype.getInitialData=function(t){for(var e=gw(this,{coordDimensions:["value"],encodeDefaulter:B(ec,this)}),n=ht(),i=[],r=0,a=e.count();r<a;r++){var o=e.getName(r);n.set(o,!0)}return j(UM(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,function(t){var e=t.name;n.get(e)||i.push(e)}),e.appendValues([],i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),a=i.getName(t),o=this.seriesGroup,s=[],l=0;l<o.length;l++){var u=o[l].originalData.indexOfName(a),c=i.mapDimension("value");isNaN(o[l].originalData.get(c,u))||s.push(o[l].name)}return nd("section",{header:s.join(", "),noHeader:!s.length,blocks:[nd("nameValue",{name:a,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=jm(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Sd);function lS(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),j(e,function(t,e){for(var n,i,r,a=(n=N(t,function(t){return t.getData()}),i=t[0].get("mapValueCalculation"),r={},j(n,function(t){t.each(t.mapDimension("value"),function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)})}),n[0].map(n[0].mapDimension("value"),function(t,e){for(var a="ec-"+n[0].getName(e),o=0,s=1/0,l=-1/0,u=r[a].length,c=0;c<u;c++)s=Math.min(s,r[a][c]),l=Math.max(l,r[a][c]),o+=r[a][c];return 0===u?NaN:"min"===i?s:"max"===i?l:"average"===i?o/u:o})),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=0===o&&!t[o].getHostGeoModel(),t[o].setData(a.cloneShallow()),t[o].mainSeries=t[0]})}function uS(t){var e={};t.eachSeriesByType("map",function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};j(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),function(t,e){var a=i.getName(e),o=n.getRegion(a);if(o&&!isNaN(t)){var s=r[a]||0,l=n.dataToPoint(o.getCenter());r[a]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var a=n.getData();a.each(function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!r[e],a.setItemLayout(t,n)}),e[i]=!0}})}var cS=At;function hS(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var dS=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Oi,n._rawTransformable=new Oi,n.name=e,n}return a(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Ni(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Ni(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=this._rawTransformable;a.transform=r.calculateTransform(new Ni(t,e,n,i));var o=a.parent;a.parent=null,a.decomposeTransform(),a.parent=o,this._updateTransform()},e.prototype.setCenter=function(t){t&&(this._center=t,this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=At([],i,t),n=At([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),fi(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],yi(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Oi;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?cS(n,t,i):_t(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?cS([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=hS(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=hS(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Oi),fS={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},pS=["lng","lat"],mS=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=pS,r.type="geo",r._nameCoordMap=ht(),r.map=n;var a,o=i.projection,s=UM(n,i.nameMap,i.nameProperty),l=WM(n),u=(r.resourceType=l?l.type:null,r.regions=s.regions),c=fS[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=o,o)for(var h=0;h<u.length;h++){var d=u[h].getBoundingRect(o);(a=a||d.clone()).union(d)}else a=s.boundingRect;return r.setBoundingRect(a.x,a.y,a.width,a.height),r.aspectScale=o?1:nt(i.aspectScale,c.aspectScale),r._invertLongitute=!o&&c.invertLongitute,r}return a(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=this._invertLongitute;r=r.clone(),a&&(r.y=-r.y-r.height);var o=this._rawTransformable;o.transform=r.calculateTransform(new Ni(t,e,n,i));var s=o.parent;o.parent=null,o.decomposeTransform(),o.parent=s,a&&(o.scaleY=-o.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(G(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=gS(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=gS(e);return i===this?i.pointToData(n):null},e}(dS);function gS(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",qr).models[0]||{}).coordinateSystem:null}R(mS,dS);var vS=mS;function yS(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var a=this.projection;if(a){var o=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,n,o){for(var s=n-t,l=o-e,u=0;u<=100;u++){var c=u/100,h=a.project([t+s*c,e+l*c]);It(i,i,h),Pt(r,r,h)}};c(o,s,l,s),c(l,s,l,u),c(l,u,o,u),c(o,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}}var h,d,f,p=this.getBoundingRect(),m=t.get("layoutCenter"),g=t.get("layoutSize"),v=e.getWidth(),y=e.getHeight(),_=p.width/p.height*this.aspectScale,b=!1;if(m&&g&&(h=[hr(m[0],v),hr(m[1],y)],d=hr(g,Math.min(v,y)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(b=!0)),b)f={},_>1?(f.width=d,f.height=d/_):(f.height=d,f.width=d*_),f.y=h[1]-f.height/2,f.x=h[0]-f.width/2;else{var w=t.getBoxLayoutParams();w.aspect=_,f=Vu(w,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}var _S=new(function(){function t(){this.dimensions=pS}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",function(t,r){var a=t.get("map"),o=new vS(a+r,a,I({nameMap:t.get("nameMap")},i(t)));o.zoomLimit=t.get("scaleLimit"),n.push(o),t.coordinateSystem=o,o.model=t,o.resize=yS,o.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),j(r,function(t,r){var a=N(t,function(t){return t.get("nameMap")}),o=new vS(r,r,I({nameMap:A(a)},i(t[0])));o.zoomLimit=et.apply(null,N(t,function(t){return t.get("scaleLimit")})),n.push(o),o.resize=yS,o.resize(t[0],e),j(t,function(t){t.coordinateSystem=o,function(t,e){j(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}(o,t)})}),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),a=ht(),o=0;o<r.length;o++)a.set(r[o].name,r[o]);return j(UM(e,n,i).regions,function(t){var e=t.name;!a.get(e)&&r.push({name:e})}),r},t}()),bS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e,n){var i=WM(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),Ir(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=_S.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=F(e.regions||[],function(e,i){var r=i.name;return r&&(e.set(r,new Ul(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e},ht()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new Ul(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t).get("normal"===e?["label","formatter"]:["emphasis","label","formatter"]),i={name:t};return U(n)?(i.status=e,n(i)):G(n)?n.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Xu);function wS(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function kS(t,e,n){var i=t.getZoom(),r=t.getCenter(),a=e.zoom,o=t.projectedToPoint?t.projectedToPoint(r):t.dataToPoint(r);if(null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,t.setCenter(wS(t,o))),null!=a){if(n){var s=n.min||0;a=Math.max(Math.min(i*a,n.max||1/0),s)/i}t.scaleX*=a,t.scaleY*=a;var l=(e.originY-t.y)*(a-1);t.x-=(e.originX-t.x)*(a-1),t.y-=l,t.updateTransform(),t.setCenter(wS(t,o)),t.setZoom(a*i)}return{center:t.getCenter(),zoom:t.getZoom()}}var xS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return a(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new aS(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;Sm(t.target,function(t){return null!=(e=fs(t).eventData)},!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse(function(t){var e=fs(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0})},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(Dd);function MS(t,e,n){!function(t,e,n){if(e.svg){var i=new IM(t,e.svg);BM.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e,i=new HM(t,r,n),BM.set(t,i)}}(t,e,n)}function SS(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name),j(n.coordinateSystem.regions,function(t){i[t.name]=n.isSelected(t.name)||!1});var a=[];j(i,function(t,e){i[e]&&a.push(e)}),r.push({geoIndex:n.componentIndex,name:a})}),{selected:i,allSelected:r,name:t.name}})}t.registerCoordinateSystem("geo",_S),t.registerComponentModel(bS),t.registerComponentView(xS),t.registerImpl("registerMap",MS),t.registerImpl("getMap",function(t){return function(t){var e=BM.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()}(t)}),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){var i=e.coordinateSystem;if("geo"===i.type){var r=kS(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===n&&j(e.seriesGroup,function(t){t.setCenter(r.center),t.setZoom(r.zoom)})}})})}function CS(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,i=0,r=0;--n>=0;){var a=e[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,i+=a.hierNode.shift+(r+=a.hierNode.change)}}(t);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,a=t,o=a.parentNode.children[0],s=e,l=r.hierNode.modifier,u=a.hierNode.modifier,c=o.hierNode.modifier,h=s.hierNode.modifier;s=LS(s),a=AS(a),s&&a;){r=LS(r),o=AS(o),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-a.hierNode.prelim-u+i(s,a);d>0&&(PS(IS(s,t,n),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=r.hierNode.modifier,c+=o.hierNode.modifier}s&&!LS(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),a&&!AS(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-c,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function DS(t){t.setLayout({x:t.hierNode.prelim+t.parentNode.hierNode.modifier},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function OS(t){return arguments.length?t:ES}function TS(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function LS(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function AS(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function IS(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function PS(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function ES(t,e){return t.parentNode===e.parentNode?1:2}var RS=function(){this.parentPoint=[],this.childPoints=[]},YS=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new RS},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,a=n[0],o=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(a[0],a[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=hr(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(o[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(a[0],a[1]),h[l]=a[l],t.lineTo(h[0],h[1]),h[l]=o[l],t.lineTo(h[0],h[1]),t.lineTo(o[0],o[1]);for(var d=1;d<i-1;d++){var f=n[d];t.moveTo(f[0],f[1]),h[l]=f[l],t.lineTo(h[0],h[1])}},e}(Ro);function jS(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function NS(t,e,n,i,r){var a=!n,o=t.tree.getNodeByDataIndex(e),s=o.getModel(),l=o.getVisual("style").fill,u=!1===o.isExpand&&0!==o.children.length?l:"#fff",c=t.tree.root,h=o.parentNode===c?o:o.parentNode||o,d=t.getItemGraphicEl(h.dataIndex),f=h.getLayout(),p=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:f,m=o.getLayout();a?((n=new H_(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,cl(n,{x:m.x,y:m.y},r);var g=n.getSymbolPath();if("radial"===r.get("layout")){var v=c.children[0],y=v.getLayout(),_=v.children.length,b=void 0,w=void 0;if(m.x===y.x&&!0===o.isExpand){var k={x:(v.children[0].getLayout().x+v.children[_-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[_-1].getLayout().y)/2};(b=Math.atan2(k.y-y.y,k.x-y.x))<0&&(b=2*Math.PI+b),(w=k.x<y.x)&&(b-=Math.PI)}else(b=Math.atan2(m.y-y.y,m.x-y.x))<0&&(b=2*Math.PI+b),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(w=m.x<y.x)&&(b-=Math.PI):(w=m.x>y.x)||(b-=Math.PI);var x=w?"left":"right",M=s.getModel("label"),S=M.get("rotate"),C=S*(Math.PI/180),D=g.getTextContent();D&&(g.setTextConfig({position:M.get("position")||x,rotation:null==S?-b:C,origin:"center"}),D.setStyle("verticalAlign","middle"))}var O=s.get(["emphasis","focus"]),T="ancestor"===O?o.getAncestorsIndices():"descendant"===O?o.getDescendantIndices():null;T&&(fs(n).focus=T),function(t,e,n,i,r,a,o,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),m=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(m||(m=i.__edge=new Ef({shape:zS(c,h,d,r,r)})),cl(m,{shape:zS(c,h,d,a,o)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var g=e.children,v=[],y=0;y<g.length;y++){var _=g[y].getLayout();v.push([_.x,_.y])}m||(m=i.__edge=new YS({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:h,forkPosition:f}})),cl(m,{shape:{parentPoint:[o.x,o.y],childPoints:v}},t)}m&&(m.useStyle(P({strokeNoScale:!0,fill:null},p)),nl(m,l,"lineStyle"),Rs(m),s.add(m))}(r,o,c,n,p,f,m,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);i&&1===i.hoverState||Ps(n.__edge,e)}})}function FS(t,e,n,i,r){var a=VS(e.tree.root,t),o=a.source,s=a.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(o.dataIndex),c=l.__edge||(!1===o.isExpand||1===o.children.length?u.__edge:void 0),h=i.get("edgeShape"),d=i.get("layout"),f=i.get("orient"),p=i.get(["lineStyle","curveness"]);c&&("curve"===h?fl(c,{shape:zS(d,f,p,s,s),style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}):"polyline"===h&&"orthogonal"===i.get("layout")&&fl(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}))}}function VS(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function HS(t,e,n,i,r){var a=t.tree.getNodeByDataIndex(e),o=VS(t.tree.root,a).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};fl(n,{x:o.x+1,y:o.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),a.children.forEach(function(e){FS(e,t,i,r,s)}),FS(a,t,i,r,s)}function zS(t,e,n,i,r){var a,o,s,l,u,c,h,d;if("radial"===t){c=r.rawX,d=r.rawY;var f=TS(u=i.rawX,h=i.rawY),p=TS(u,h+(d-h)*n),m=TS(c,d+(h-d)*n),g=TS(c,d);return{x1:f.x||0,y1:f.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:m.x||0,cpy2:m.y||0}}return u=i.x,h=i.y,c=r.x,d=r.y,"LR"!==e&&"RL"!==e||(a=u+(c-u)*n,o=h,s=c+(u-c)*n,l=d),"TB"!==e&&"BT"!==e||(a=u,o=h+(d-h)*n,s=c,l=d+(h-d)*n),{x1:u,y1:h,x2:c,y2:d,cpx1:a,cpy1:o,cpx2:s,cpy2:l}}var BS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new ar,n}return a(e,t),e.prototype.init=function(t,e){this._controller=new Xx(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,a=this._mainGroup;"radial"===t.get("layout")?(a.x=r.x+r.width/2,a.y=r.y+r.height/2):(a.x=r.x,a.y=r.y),this._updateViewCoordSys(t),this._updateController(t,e,n);var o=this._data;i.diff(o).add(function(e){jS(i,e)&&NS(i,e,null,a,t)}).update(function(e,n){var r=o.getItemGraphicEl(n);jS(i,e)?NS(i,e,r,a,t):r&&HS(o,n,r,a,t)}).remove(function(e){var n=o.getItemGraphicEl(e);n&&HS(o,e,n,a,t)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl(function(e,i){e.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})})}),this._data=i},e.prototype._updateViewCoordSys=function(t){var e=t.getData(),n=[];e.each(function(t){var i=e.getItemLayout(t);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])});var i=[],r=[];Wa(n,i,r);var a=this._min,o=this._max;r[0]-i[0]==0&&(i[0]=a?a[0]:i[0]-1,r[0]=o?o[0]:r[0]+1),r[1]-i[1]==0&&(i[1]=a?a[1]:i[1]-1,r[1]=o?o[1]:r[1]+1);var s=t.coordinateSystem=new dS;s.zoomLimit=t.get("scaleLimit"),s.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1]),s.setCenter(t.get("center")),s.setZoom(t.get("zoom")),this.group.attr({x:s.x,y:s.y,scaleX:s.scaleX,scaleY:s.scaleY}),this._min=i,this._max=r},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,a=this._controllerHost,o=this.group;r.setPointerChecker(function(e,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!$x(e,n,t)}),r.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",function(e){Zx(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){Kx(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl(function(t,e){t.setSymbolScale(n)})},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(Ip),WS=Br();function US(t,e){if(WS(this).mainData===this){var n=I({},WS(this).datas);n[this.dataType]=e,KS(e,n,t)}else JS(e,this.dataType,WS(this).mainData,t);return e}function GS(t,e){return t.struct&&t.struct.update(),e}function qS(t,e){return j(WS(e).datas,function(n,i){n!==e&&JS(n.cloneShallow(),i,e,t)}),e}function XS(t){var e=WS(this).mainData;return null==t||null==e?e:WS(e).datas[t]}function ZS(){var t=WS(this).mainData;return null==t?[{data:t}]:N(H(WS(t).datas),function(e){return{type:e,data:WS(t).datas[e]}})}function KS(t,e,n){WS(t).datas={},j(e,function(e,i){JS(e,i,t,n)})}function JS(t,e,n,i){WS(n).datas[e]=t,WS(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=XS,t.getLinkedDataAll=ZS}var QS=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,KS(e,n,t),j(n,function(n){j(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,B(US,t))})}),e.wrapMethod("cloneShallow",B(qS,t)),j(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,B(GS,t))}),ot(n[e.dataType]===e)},$S=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){U(t)&&(n=e,e=t,t=null),G(t=t||{})&&(t={order:t});var i,r=t.order||"preorder",a=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var o=0;!i&&o<a.length;o++)a[o].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),tC=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),a=[],o=1;!function t(e,n){var i=e.value;o=Math.max(o,W(i)?i.length:1),a.push(e);var s=new $S(Fr(e.name,""),r);n?function(t,e){t.parentNode!==e&&(e.children.push(t),t.parentNode=e)}(s,n):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=T_(a,{coordDimensions:["value"],dimensionsCount:o}).dimensions,l=new O_(s,n);return l.initData(a),i&&i(l),QS({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();function eC(t,e,n){if(t&&E(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(G(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var a=t.targetNodeId;if(null!=a&&(r=i.getNodeById(a)))return{node:r}}}function nC(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function iC(t,e){return E(nC(t),e)>=0}function rC(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var aC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return a(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=new Ul(t.leaves||{},this,this.ecModel),i=tC.createTree(e,this,function(t){t.wrapMethod("getItemModel",function(t,e){var r=i.getNodeByDataIndex(e);return r&&r.children.length&&r.isExpand||(t.parentModel=n),t})}),r=0;i.eachNode("preorder",function(t){t.depth>r&&(r=t.depth)});var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return i.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a}),i.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],a=i.getNodeByDataIndex(t),o=a.getValue(),s=a.name;a&&a!==r;)s=a.parentNode.name+"."+s,a=a.parentNode;return nd("nameValue",{name:s,value:o,noValue:isNaN(o)||null==o})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=rC(i,this),n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Sd);function oC(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var a=r.length-1;a>=0;a--)i.push(r[a])}}function sC(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=function(t,e){return Vu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,a=0,o=null;"radial"===i?(r=2*Math.PI,a=Math.min(n.height,n.width)/2,o=OS(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=n.width,a=n.height,o=OS());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var a=i.length-1;a>=0;a--){var o=i[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(o)}}(s),function(t,e,n){for(var i,r=[t],a=[];i=r.pop();)if(a.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s<o.length;s++)r.push(o[s])}for(;i=a.pop();)e(i,n)}(l,CS,o),s.hierNode.modifier=-l.hierNode.prelim,oC(l,DS);var u=l,c=l,h=l;oC(l,function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)});var d=u===c?1:o(u,c)/2,f=d-u.getLayout().x,p=0,m=0,g=0,v=0;if("radial"===i)p=r/(c.getLayout().x+d+f),m=a/(h.depth-1||1),oC(l,function(t){var e=TS(g=(t.getLayout().x+f)*p,v=(t.depth-1)*m);t.setLayout({x:e.x,y:e.y,rawX:g,rawY:v},!0)});else{var y=t.getOrient();"RL"===y||"LR"===y?(m=a/(c.getLayout().x+d+f),p=r/(h.depth-1||1),oC(l,function(t){v=(t.getLayout().x+f)*m,t.setLayout({x:g="LR"===y?(t.depth-1)*p:r-(t.depth-1)*p,y:v},!0)})):"TB"!==y&&"BT"!==y||(p=r/(c.getLayout().x+d+f),m=a/(h.depth-1||1),oC(l,function(t){g=(t.getLayout().x+f)*p,t.setLayout({x:g,y:v="TB"===y?(t.depth-1)*m:a-(t.depth-1)*m},!0)}))}}}(t,e)})}function lC(t){t.eachSeriesByType("tree",function(t){var e=t.getData();e.tree.eachNode(function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();I(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)})})}var uC=["treemapZoomToNode","treemapRender","treemapMove"];function cC(t){var e=t.getData(),n={};e.tree.eachNode(function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=dc(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)})}function hC(t){var e=0;j(t.children,function(t){hC(t);var n=t.value;W(n)&&(n=n[0]),e+=n});var n=t.value;W(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),W(t.value)?t.value[0]=n:t.value=n}var dC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};hC(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},a=new Ul({itemStyle:r},this,e),o=N((i=t.levels=function(t,e){var n,i,r=Ar(e.get("color")),a=Ar(e.get(["aria","decal","decals"]));if(r){j(t=t||[],function(t){var e=new Ul(t),r=e.get("color"),a=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||a&&"none"!==a)&&(i=!0)});var o=t[0]||(t[0]={});return n||(o.color=r.slice()),!i&&a&&(o.decal=a.slice()),t}}(i,e))||[],function(t){return new Ul(t,a,e)},this),s=tC.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=s.getNodeByDataIndex(e);return t.parentModel=(n?o[n.depth]:null)||a,t})});return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return nd("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=rC(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},I(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=ht(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){cC(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Sd);function fC(t,e,n,i,r,a){var o=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!a&&o.splice(2,0,[t+n+5,e+i/2]),!r&&o.push([t,e+i/2]),o}function pC(t,e,n){fs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&rC(n,e)}}var mC=function(){function t(t){this.group=new ar,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),r.get("show")&&n){var o=r.getModel("itemStyle"),s=o.getModel("textStyle"),l={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,s),this._renderContent(t,l,o,s,i),Hu(a,l.pos,l.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Fr(i.getModel().get("name"),""),a=n.getTextRect(r),o=Math.max(a.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:i,text:r,width:o})}},t.prototype._renderContent=function(t,e,n,i,r){for(var a,o,s,l,u,c,h,d,f,p=0,m=e.emptyItemWidth,g=t.get(["breadcrumb","height"]),v=(u=(o=e.box).height,c=hr((a=e.pos).left,l=o.width),h=hr(a.top,u),d=hr(a.right,l),f=hr(a.bottom,u),(isNaN(c)||isNaN(parseFloat(a.left)))&&(c=0),(isNaN(d)||isNaN(parseFloat(a.right)))&&(d=l),(isNaN(h)||isNaN(parseFloat(a.top)))&&(h=0),(isNaN(f)||isNaN(parseFloat(a.bottom)))&&(f=u),s=Su(s||0),{width:Math.max(d-c-s[1]-s[3],0),height:Math.max(f-h-s[0]-s[2],0)}),y=e.totalWidth,_=e.renderList,b=_.length-1;b>=0;b--){var w=_[b],k=w.node,x=w.width,M=w.text;y>v.width&&(y-=x-m,x=m,M=null);var S=new kf({shape:{points:fC(p,0,x,g,b===_.length-1,0===b)},style:P(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ds({style:{text:M,fill:i.getTextColor(),font:i.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:B(r,k)});S.disableLabelAnimation=!0,this.group.add(S),pC(S,t,k),p+=x+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),gC=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var a=this._storage[i];a.el.animateTo(a.target,{duration:a.duration,delay:a.delay,easing:a.easing,setToFinal:!0,done:n,aborted:n})}return this},t}(),vC=ar,yC=Ko,_C=sa([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),bC=function(t){var e=_C(t);return e.stroke=e.fill=e.lineWidth=null,e},wC=Br(),kC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return a(e,t),e.prototype.render=function(t,e,n,i){if(!(E(e.findComponents({mainType:"series",subType:"treemap",query:i}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=eC(i,["treemapZoomToNode","treemapRootToNode"],t),a=i&&i.type,o=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===a&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,c=this._giveContainerGroup(o),h=t.get("animation"),d=this._doRender(c,t,u);!h||s||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?d.renderFinally():this._doAnimation(c,d,t,u),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new vC,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,a={nodeGroup:[],background:[],content:[]},o={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];!function t(i,r,u,c,h){function d(t){return t.getId()}function f(d,f){var p=null!=d?i[d]:null,m=null!=f?r[f]:null,g=function(t,i,r,u){return function(t,e,n,i,r,a,o,s,l,u){if(o){var c=o.getLayout(),h=t.getData(),d=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),c&&c.isInView){var f=c.width,p=c.height,m=c.borderWidth,g=c.invisible,v=o.getRawIndex(),y=s&&s.getRawIndex(),_=o.viewChildren,b=c.upperHeight,w=_&&_.length,k=d.getModel("itemStyle"),x=d.getModel(["emphasis","itemStyle"]),M=d.getModel(["blur","itemStyle"]),S=d.getModel(["select","itemStyle"]),C=k.get("borderRadius")||0,D=F("nodeGroup",vC);if(D){if(l.add(D),D.x=c.x||0,D.y=c.y||0,D.markRedraw(),wC(D).nodeWidth=f,wC(D).nodeHeight=p,c.isAboveViewRoot)return D;var O=F("background",yC,u,20);O&&function(e,n,i){var r=fs(n);if(r.dataIndex=o.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:p,r:C}),g)Y(n);else{n.invisible=!1;var a=o.getVisual("style"),s=a.stroke,l=bC(k);l.fill=s;var u=_C(x);u.fill=x.get("borderColor");var c=_C(M);c.fill=M.get("borderColor");var h=_C(S);h.fill=S.get("borderColor"),i?j(n,s,a.opacity,{x:m,y:0,width:f-2*m,height:b}):n.removeTextContent(),n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,Rs(n)}e.add(n)}(D,O,w&&c.upperLabelHeight);var T=d.getModel("emphasis"),L=T.get("focus"),A=T.get("blurScope"),P=T.get("disabled"),E="ancestor"===L?o.getAncestorsIndices():"descendant"===L?o.getDescendantIndices():L;if(w)rl(D)&&il(D,!1),O&&(il(O,!P),h.setItemGraphicEl(o.dataIndex,O),$s(O,E,A));else{var R=F("content",yC,u,30);R&&function(e,n){var i=fs(n);i.dataIndex=o.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(f-2*m,0),a=Math.max(p-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:r,height:a,r:C}),g)Y(n);else{n.invisible=!1;var s=o.getVisual("style"),l=s.fill,u=bC(k);u.fill=l,u.decal=s.decal;var c=_C(x),h=_C(M),d=_C(S);j(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=d,Rs(n)}e.add(n)}(D,R),O.disableMorphing=!0,O&&rl(O)&&il(O,!1),il(D,!P),h.setItemGraphicEl(o.dataIndex,D),$s(D,E,A)}return D}}}function Y(t){!t.invisible&&a.push(t)}function j(e,n,i,r){var a=d.getModel(r?"upperLabel":"label"),s=Fr(d.get("name"),null),l=a.getShallow("show");bl(e,wl(d,r?"upperLabel":"label"),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:o.dataIndex});var u=e.getTextContent();if(u){var h=u.style,f=at(h.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);h.width===t&&h.height===n||u.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",N(h,r,c);var p=u.getState("emphasis");N(p?p.style:null,r,c)}}function N(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var a=t.get("drillDownIcon",!0);e.text=a?a+" "+r:r}}function F(t,a,s,l){var u=null!=y&&n[t][y],c=r[t];return u?(n[t][y]=null,function(t,e){var n=t[v]={};e instanceof vC?(n.oldX=e.x,n.oldY=e.y):n.oldShape=I({},e.shape)}(c,u)):g||((u=new a)instanceof Ra&&(u.z2=function(t,e){return 100*t+e}(s,l)),function(t,e){var n=t[v]={},a=o.parentNode,s=e instanceof ar;if(a&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[a.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}(c,u)),e[t][v]=u}}(e,o,s,n,a,l,t,i,r,u)}(p,m,u,h);g&&t(p&&p.viewChildren||[],m&&m.viewChildren||[],g,c,h+1)}c?(r=i,j(i,function(t,e){!t.isRemoved()&&f(e,e)})):new r_(r,i,d,d).add(f).update(f).remove(B(f,null)).execute()}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var u=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&j(t,function(t,n){var i=e[n];j(t,function(t){t&&(i.push(t),wC(t).willDelete=!0)})}),e}(s);return this._oldTree=i,this._storage=o,{lastsForAnimation:a,willDeleteEls:u,renderFinally:function(){j(u,function(t){j(t,function(t){t.parent&&t.parent.remove(t)})}),j(l,function(t){t.invisible=!0,t.dirty()})}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),a=n.get("animationEasing"),o=(U(r)?0:r)||0,s=(U(a)?null:a)||"cubicOut",l=new gC;j(e.willDeleteEls,function(t,e){j(t,function(t,n){if(!t.invisible){var r,a=t.parent,u=wC(a);if(i&&"drillDown"===i.direction)r=a===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;u.willDelete||(c=u.nodeWidth/2,h=u.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,o,0,s)}})}),j(this._storage,function(t,n){j(t,function(t,i){var r=e.lastsForAnimation[n][i],a={};r&&(t instanceof ar?null!=r.oldX&&(a.x=t.x,a.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(a.shape=I({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),a.style={opacity:1}):1!==t.style.opacity&&(a.style={opacity:1})),l.add(t,a,o,0,s))})},this),this._state="animating",l.finished(z(function(){this._state="ready",e.renderFinally()},this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new Xx(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",z(this._onPan,this)),e.on("zoom",z(this._onZoom,this)));var n=new Ni(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,i){return n.contain(e,i)})},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var a=new Ni(r.x,r.y,r.width,r.height),o=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];mi(s,s,[-(e-=o.x),-(n-=o.y)]),vi(s,s,[t.scale,t.scale]),mi(s,s,[e,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var a=r.hostTree.data.getItemModel(r.dataIndex),o=a.get("link",!0),s=a.get("target",!0)||"blank";o&&Eu(o,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new mC(this.group))).render(t,e,n.node,function(e){"animating"!==i._state&&(iC(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.getRawIndex()];if(r){var a=r.transformCoordToLocal(t,e),o=r.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}},this),n},e.type="treemap",e}(Ip),xC=j,MC=Z,SC=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=T(e);this.type=i,this.mappingMethod=n,this._normalizeData=RC[n];var a=t.visualHandlers[i];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],"piecewise"===n?(CC(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,j(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(xC(e,function(t,e){n[t]=e}),!W(i)){var r=[];Z(i)?xC(i,function(t,e){var i=n[e];r[null!=i?i:-1]=t}):r[-1]=i,i=EC(t,r)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}(r):CC(r,!0):(ot("linear"!==n||r.dataExtent),CC(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return z(this._normalizeData,this)},t.listVisualTypes=function(){return H(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){Z(t)?j(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,a=W(e)?[]:Z(e)?{}:(r=!0,null);return t.eachVisual(e,function(t,e){var o=n.call(i,t,e);r?a=o:a[e]=o}),a},t.retrieveVisuals=function(e){var n,i={};return e&&xC(t.visualHandlers,function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)}),n?i:null},t.prepareVisualTypes=function(t){if(W(t))t=t.slice();else{if(!MC(t))return[];var e=[];xC(t,function(t,n){e.push(n)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,a=0,o=e.length;a<o;a++){var s=e[a].value;if(null!=s){if(s===t||G(s)&&s===t+"")return a;n&&h(s,a)}}for(a=0,o=e.length;a<o;a++){var l=e[a],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(YC(c[1],t,u[1]))return a}else if(u[1]===1/0){if(YC(c[0],u[0],t))return a}else if(YC(c[0],u[0],t)&&YC(c[1],t,u[1]))return a;n&&h(u[0],a),n&&h(u[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var a=Math.abs(e-t);a<r&&(r=a,i=n)}},t.visualHandlers={color:{applyVisual:TC("color"),getColorMapper:function(){var t=this.option;return z("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),LC.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=dn(e,t.parsedVisual,i),r?i:gn(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return gn(dn(t,this.option.parsedVisual),"rgba")},category:LC,piecewise:function(t,e){var n=PC.call(this,e);return null==n&&(n=gn(dn(t,this.option.parsedVisual),"rgba")),n},fixed:AC}},colorHue:DC(function(t,e){return pn(t,e)}),colorSaturation:DC(function(t,e){return pn(t,null,e)}),colorLightness:DC(function(t,e){return pn(t,null,null,e)}),colorAlpha:DC(function(t,e){return mn(t,e)}),decal:{applyVisual:TC("decal"),_normalizedToVisual:{linear:null,category:LC,piecewise:null,fixed:null}},opacity:{applyVisual:TC("opacity"),_normalizedToVisual:IC([0,1])},liftZ:{applyVisual:TC("liftZ"),_normalizedToVisual:{linear:AC,category:AC,piecewise:AC,fixed:AC}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:OC,category:LC,piecewise:function(t,e){var n=PC.call(this,e);return null==n&&(n=OC.call(this,t)),n},fixed:AC}},symbolSize:{applyVisual:TC("symbolSize"),_normalizedToVisual:IC([0,1])}},t}();function CC(t,e){var n=t.visual,i=[];Z(n)?xC(n,function(t){i.push(t)}):null!=n&&i.push(n),e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),EC(t,i)}function DC(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:IC([0,1])}}function OC(t){var e=this.option.visual;return e[Math.round(cr(t,[0,1],[0,e.length-1],!0))]||{}}function TC(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function LC(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function AC(){return this.option.visual[0]}function IC(t){return{linear:function(e){return cr(e,t,this.option.visual,!0)},category:LC,piecewise:function(e,n){var i=PC.call(this,n);return null==i&&(i=cr(e,t,this.option.visual,!0)),i},fixed:AC}}function PC(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[SC.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function EC(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=N(e,function(t){return un(t)})),e}var RC={linear:function(t){return cr(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=SC.findPieceIndex(t,e,!0);if(null!=n)return cr(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:gt};function YC(t,e,n){return t?e<=n:e<n}var jC=SC,NC=Br(),FC={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||VC(e,{},t.getViewRoot().getAncestors(),t)}};function VC(t,e,n,i){var r=t.getModel(),a=t.getLayout(),o=t.hostTree.data;if(a&&!a.invisible&&a.isInView){var s,l=r.getModel("itemStyle"),u=function(t,e,n){var i=I({},e),r=n.designatedVisualItemStyle;return j(["color","colorAlpha","colorSaturation"],function(n){r[n]=e[n];var a=t.get(n);r[n]=null,null!=a&&(i[n]=a)}),i}(l,e,i),c=o.ensureUniqueItemVisual(t.dataIndex,"style"),h=l.get("borderColor"),d=l.get("borderColorSaturation");null!=d&&(h=function(t,e){return null!=e?pn(e,null,null,t):null}(d,s=HC(u))),c.stroke=h;var f=t.viewChildren;if(f&&f.length){var p=function(t,e,n,i,r,a){if(a&&a.length){var o=BC(e,"color")||null!=r.color&&"none"!==r.color&&(BC(e,"colorAlpha")||BC(e,"colorSaturation"));if(o){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:o.name,dataExtent:u,visual:o.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new jC(h);return NC(d).drColorMappingBy=c,d}}}(0,r,a,0,u,f);j(f,function(t,e){if(t.depth>=n.length||t===n[t.depth]){var a=function(t,e,n,i,r,a){var o=I({},e);if(r){var s=r.type,l="color"===s&&NC(r).drColorMappingBy,u="index"===l?i:"id"===l?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));o[s]=r.mapValueToVisual(u)}return o}(r,u,t,e,p,i);VC(t,a,n,i)}})}else s=HC(u),c.fill=s}}function HC(t){var e=zC(t,"color");if(e){var n=zC(t,"colorAlpha"),i=zC(t,"colorSaturation");return i&&(e=pn(e,null,null,i)),n&&(e=mn(e,n)),e}}function zC(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function BC(t,e){var n=t.get(e);return W(n)&&n.length?{name:e,range:n}:null}var WC=Math.max,UC=Math.min,GC=et,qC=j,XC=["itemStyle","borderWidth"],ZC=["itemStyle","gapWidth"],KC=["upperLabel","show"],JC=["upperLabel","height"],QC={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),a=n.getHeight(),o=t.option,s=Vu(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=o.size||[],u=hr(GC(s.width,l[0]),r),c=hr(GC(s.height,l[1]),a),h=i&&i.type,d=eC(i,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===h||"treemapMove"===h?i.rootRect:null,p=t.getViewRoot(),m=nC(p);if("treemapMove"!==h){var g="treemapZoomToNode"===h?function(t,e,n,i,r){var a,o=(e||{}).node,s=[i,r];if(!o||o===n)return s;for(var l=i*r,u=l*t.option.zoomToNodeRatio;a=o.parentNode;){for(var c=0,h=a.children,d=0,f=h.length;d<f;d++)c+=h[d].getValue();var p=o.getValue();if(0===p)return s;u*=c/p;var m=a.getModel(),g=m.get(XC);(u+=4*g*g+(3*g+Math.max(g,iD(m)))*Math.pow(u,.5))>9007199254740991&&(u=9007199254740991),o=a}u<l&&(u=l);var v=Math.pow(u/l,.5);return[i*v,r*v]}(t,d,p,u,c):f?[f.width,f.height]:[u,c],v=o.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var y={squareRatio:o.squareRatio,sort:v,leafDepth:o.leafDepth};p.hostTree.clearLayouts();var _={x:0,y:0,width:g[0],height:g[1],area:g[0]*g[1]};p.setLayout(_),$C(p,y,!1,0),_=p.getLayout(),qC(m,function(t,e){var n=(m[e+1]||p).getValue();t.setLayout(I({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))})}var b=t.getData().tree.root;b.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,a=r.getLayout();if(!a)return i;for(var o=[a.width/2,a.height/2],s=r;s;){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(s,f,d),!0),t.setLayoutInfo(s),nD(b,new Ni(-s.x,-s.y,r,a),m,p,0)}};function $C(t,e,n,i){var r,a;if(!t.isRemoved()){var o=t.getLayout();r=o.width,a=o.height;var s=t.getModel(),l=s.get(XC),u=s.get(ZC)/2,c=iD(s),h=Math.max(l,c),d=l-u,f=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0);var p=(r=WC(r-2*d,0))*(a=WC(a-d-f,0)),m=function(t,e,n,i,r,a){var o=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=a;if(r&&!l)return t.viewChildren=[];!function(t,e){e&&t.sort(function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})}(o=V(o,function(t){return!t.isRemoved()}),s);var u=function(t,e,n){for(var i=0,r=0,a=e.length;r<a;r++)i+=e[r].getValue();var o,s=t.get("visualDimension");return e&&e.length?"value"===s&&n?(o=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&o.reverse()):(o=[1/0,-1/0],qC(e,function(t){var e=t.getValue(s);e<o[0]&&(o[0]=e),e>o[1]&&(o[1]=e)})):o=[NaN,NaN],{sum:i,dataExtent:o}}(e,o,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var a=t.get("visibleMin"),o=r.length,s=o,l=o-1;l>=0;l--){var u=r["asc"===i?o-l-1:l].getValue();u/n*e<a&&(s=l,n-=u)}return r.splice("asc"===i?0:s,o-s),n}(e,n,u.sum,s,o),0===u.sum)return t.viewChildren=[];for(var c=0,h=o.length;c<h;c++){var d=o[c].getValue()/u.sum*n;o[c].setLayout({area:d})}return l&&(o.length&&t.setLayout({isLeafRoot:!0},!0),o.length=0),t.viewChildren=o,t.setLayout({dataExtent:u.dataExtent},!0),o}(t,s,p,e,n,i);if(m.length){var g={x:d,y:f,width:r,height:a},v=UC(r,a),y=1/0,_=[];_.area=0;for(var b=0,w=m.length;b<w;){var k=m[b];_.push(k),_.area+=k.getLayout().area;var x=tD(_,v,e.squareRatio);x<=y?(b++,y=x):(_.area-=_.pop().getLayout().area,eD(_,v,g,u,!1),v=UC(g.width,g.height),_.length=_.area=0,y=1/0)}if(_.length&&eD(_,v,g,u,!0),!n){var M=s.get("childrenVisibleMin");null!=M&&p<M&&(n=!0)}for(b=0,w=m.length;b<w;b++)$C(m[b],e,n,i+1)}}}function tD(t,e,n){for(var i=0,r=1/0,a=0,o=void 0,s=t.length;a<s;a++)(o=t[a].getLayout().area)&&(o<r&&(r=o),o>i&&(i=o));var l=t.area*t.area,u=e*e*n;return l?WC(u*i/l,l/(u*r)):1/0}function eD(t,e,n,i,r){var a=e===n.width?0:1,o=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],c=e?t.area/e:0;(r||c>n[l[o]])&&(c=n[l[o]]);for(var h=0,d=t.length;h<d;h++){var f=t[h],p={},m=c?f.getLayout().area/c:0,g=p[l[o]]=WC(c-2*i,0),v=n[s[a]]+n[l[a]]-u,y=h===d-1||v<m?v:m,_=p[l[a]]=WC(y-2*i,0);p[s[o]]=n[s[o]]+UC(i,g/2),p[s[a]]=u+UC(i,_/2),u+=y,f.setLayout(p,!0)}n[s[o]]+=c,n[l[o]]-=c}function nD(t,e,n,i,r){var a=t.getLayout(),o=n[r],s=o&&o===t;if(!(o&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var l=new Ni(e.x-a.x,e.y-a.y,e.width,e.height);qC(t.viewChildren||[],function(t){nD(t,l,n,i,r+1)})}}function iD(t){return t.get(KC)?t.get(JC):0}function rD(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf(function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){X(n)&&(n=r[n]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(n))return!1}return!0})})}function aD(t){var e={};t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each(function(i){var a=n.getName(i);r["ec-"+a]=i;var o=n.getItemModel(i),s=o.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(a,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=o.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}}),n.count()&&i.each(function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){G(e)&&(e=r["ec-"+e]);var a=n.getItemVisual(e,"style");I(i.ensureUniqueItemVisual(t,"style"),a);for(var o=["symbol","symbolSize","symbolKeepAspect"],s=0;s<o.length;s++)i.setItemVisual(t,o[s],n.getItemVisual(e,o[s]))}})})}function oD(t){return t instanceof Array||(t=[t,t]),t}function sD(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),i=oD(t.get("edgeSymbol")),r=oD(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each(function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),a=oD(i.getShallow("symbol",!0)),o=oD(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(I(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style"),l.stroke=u&&u.fill}a[0]&&r.setVisual("fromSymbol",a[0]),a[1]&&r.setVisual("toSymbol",a[1]),o[0]&&r.setVisual("fromSymbolSize",o[0]),o[1]&&r.setVisual("toSymbolSize",o[1])})})}var lD=function(t){return t.get("autoCurveness")||null},uD=function(t,e){var n=lD(t),i=20,r=[];if(X(n))i=n;else if(W(n))return void(t.__curvenessList=n);e>i&&(i=e);var a=i%2?i+2:i+3;r=[];for(var o=0;o<a;o++)r.push((o%2?o+1:o)/10*(o%2?-1:1));t.__curvenessList=r},cD=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join("--\x3e")},hD=function(t){var e=t.split("--\x3e");return[e[0],e[2],e[1]].join("--\x3e")},dD=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function fD(t,e,n,i){var r=lD(e),a=W(r);if(!r)return null;var o=function(t,e){var n=cD(t.node1,t.node2,e);return e.__edgeMap[n]}(t,e);if(!o)return null;for(var s=-1,l=0;l<o.length;l++)if(o[l]===n){s=l;break}var u=function(t,e){return dD(cD(t.node1,t.node2,e),e)+dD(cD(t.node2,t.node1,e),e)}(t,e);uD(e,u),t.lineStyle=t.lineStyle||{};var c=cD(t.node1,t.node2,e),h=e.__curvenessList,d=a||u%2?0:1;if(o.isForward)return h[d+s];var f=hD(c),p=dD(f,e),m=h[s+p+d];return i?a?r&&0===r[0]?(p+d)%2?m:-m:((p%2?0:1)+d)%2?m:-m:(p+d)%2?m:-m:h[s+p+d]}function pD(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),mD(n,t)}}function mD(t,e){t.eachEdge(function(t,n){var i=it(t.getModel().get(["lineStyle","curveness"]),-fD(t,e,n,!0),0),r=bt(t.node1.getLayout()),a=bt(t.node2.getLayout()),o=[r,a];+i&&o.push([(r[0]+a[0])/2-(r[1]-a[1])*i,(r[1]+a[1])/2-(a[0]-r[0])*i]),t.setLayout(o)})}function gD(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];j(n.dimensions,function(t){r=r.concat(i.mapDimensionsAll(t))});for(var a=0;a<i.count();a++){for(var o=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],a);isNaN(u)||(s=!0),o.push(u)}i.setItemLayout(a,s?n.dataToPoint(o):[NaN,NaN])}mD(i.graph,t)}else e&&"none"!==e||pD(t)})}function vD(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function yD(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var _D=Math.PI,bD=[];function wD(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),r=t.getData(),a=r.graph,o=i.width/2+i.x,s=i.height/2+i.y,l=Math.min(i.width,i.height)/2,u=r.count();r.setLayout({cx:o,cy:s}),u&&(kD[e](t,a,r,l,o,s,u),a.eachEdge(function(e,n){var i,r=it(e.getModel().get(["lineStyle","curveness"]),fD(e,t,n),0),a=bt(e.node1.getLayout()),l=bt(e.node2.getLayout());+r&&(i=[o*(r*=3)+(a[0]+l[0])/2*(1-r),s*r+(a[1]+l[1])/2*(1-r)]),e.setLayout([a,l,i])}))}}var kD={value:function(t,e,n,i,r,a,o){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||o);e.eachNode(function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+a]),s+=n})},symbolSize:function(t,e,n,i,r,a,o){var s=0;bD.length=o;var l=vD(t);e.eachNode(function(t){var e=yD(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=_D/2),bD[t.dataIndex]=n,s+=2*n});var u=(2*_D-s)/o/2,c=0;e.eachNode(function(t){var e=u+bD[t.dataIndex];c+=e,t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+a]),c+=e})}};function xD(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&wD(t,"symbolSize")})}var MD=kt;function SD(t){t.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,a=i.edgeData,o=t.getModel("force"),s=o.get("initLayout");t.preservedPoints?r.each(function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])}):s&&"none"!==s?"circular"===s&&wD(t,"value"):pD(t);var l=r.getDataExtent("value"),u=a.getDataExtent("value"),c=o.get("repulsion"),h=o.get("edgeLength"),d=W(c)?c:[c,c],f=W(h)?h:[h,h];f=[f[1],f[0]];var p=r.mapArray("value",function(t,e){var n=r.getItemLayout(e),i=cr(t,l,d);return isNaN(i)&&(i=(d[0]+d[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),m=a.mapArray("value",function(e,n){var r=i.getEdgeByIndex(n),a=cr(e,u,f);isNaN(a)&&(a=(f[0]+f[1])/2);var o=r.getModel(),s=it(r.getModel().get(["lineStyle","curveness"]),-fD(r,t,n,!0),0);return{n1:p[r.node1.dataIndex],n2:p[r.node2.dataIndex],d:a,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}}),g=e.getBoundingRect(),v=function(t,e,n){for(var i=t,r=e,a=n.rect,o=a.width,s=a.height,l=[a.x+o/2,a.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<i.length;c++){var h=i[c];h.p||(h.p=yt(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=bt(h.p),h.edges=null}var d,f,p=null==n.friction?.6:n.friction,m=p;return{warmUp:function(){m=.8*p},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){d=t},afterStep:function(t){f=t},step:function(t){d&&d(i,r);for(var e,n,a,o=[],s=i.length,c=0;c<r.length;c++){var h=r[c];if(!h.ignoreForceLayout){xt(o,(_=h.n2).p,(v=h.n1).p);var p=Mt(o)-h.d,g=_.w/(v.w+_.w);isNaN(g)&&(g=0),Ct(o,o),!v.fixed&&MD(v.p,v.p,o,g*p*m),!_.fixed&&MD(_.p,_.p,o,-(1-g)*p*m)}}for(c=0;c<s;c++)(k=i[c]).fixed||(xt(o,l,k.p),MD(k.p,k.p,o,u*m));for(c=0;c<s;c++)for(var v=i[c],y=c+1;y<s;y++){var _;xt(o,(_=i[y]).p,v.p),0===(p=Mt(o))&&(e=o,n=Math.random()-.5,a=Math.random()-.5,e[0]=n,e[1]=a,p=1);var b=(v.rep+_.rep)/p/p;!v.fixed&&MD(v.pp,v.pp,o,b),!_.fixed&&MD(_.pp,_.pp,o,-b)}var w=[];for(c=0;c<s;c++){var k;(k=i[c]).fixed||(xt(w,k.p,k.pp),MD(k.p,k.p,w,m),_t(k.pp,k.p))}var x=(m*=.992)<.01;f&&f(i,r,x),t&&t(x)}}}(p,m,{rect:g,gravity:o.get("gravity"),friction:o.get("friction")});v.beforeStep(function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&_t(t[n].p,i.getNodeByIndex(n).getLayout())}),v.afterStep(function(t,e,a){for(var o=0,s=t.length;o<s;o++)t[o].fixed||i.getNodeByIndex(o).setLayout(t[o].p),n[r.getId(o)]=t[o].p;for(o=0,s=e.length;o<s;o++){var l=e[o],u=i.getEdgeByIndex(o),c=l.n1.p,h=l.n2.p,d=u.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],_t(d[0],c),_t(d[1],h),+l.curveness&&(d[2]=[(c[0]+h[0])/2-(c[1]-h[1])*l.curveness,(c[1]+h[1])/2-(h[0]-c[0])*l.curveness]),u.setLayout(d)}}),t.forceLayout=v,t.preservedPoints=n,v.step()}else t.forceLayout=null})}function CD(t,e){var n=[];return t.eachSeriesByType("graph",function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),a=[],o=[];Wa(r.mapArray(function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]}),a,o),o[0]-a[0]==0&&(o[0]+=1,a[0]-=1),o[1]-a[1]==0&&(o[1]+=1,a[1]-=1);var s=(o[0]-a[0])/(o[1]-a[1]),l=function(t,e,n){return Vu(I(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(a=[l.x,l.y],o=[l.x+l.width,l.y+l.height]);var u=o[0]-a[0],c=o[1]-a[1],h=l.width,d=l.height,f=t.coordinateSystem=new dS;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(a[0],a[1],u,c),f.setViewRect(l.x,l.y,h,d),f.setCenter(t.get("center")),f.setZoom(t.get("zoom")),n.push(f)}}),n}var DD,OD=Tf.prototype,TD=Ef.prototype,LD=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function AD(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}a(function(){return null!==DD&&DD.apply(this,arguments)||this},DD=LD);var ID=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new LD},e.prototype.buildPath=function(t,e){AD(e)?OD.buildPath.call(this,t,e):TD.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return AD(this.shape)?OD.pointAt.call(this,t):TD.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=AD(e)?[e.x2-e.x1,e.y2-e.y1]:TD.tangentAt.call(this,t);return Ct(n,n)},e}(Ro),PD=["fromSymbol","toSymbol"];function ED(t){return"_"+t+"Type"}function RD(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),a=e.getItemVisual(n,t+"Rotate"),o=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=Nm(r),u=Fm(o||0,l),c=jm(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==a||isNaN(a)?void 0:+a*Math.PI/180||0,c.name=t,c}}function YD(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var jD=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return a(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new ID({name:"line",subPixelOptimize:!0});return YD(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,hl(r,{shape:{percent:1}},i,e),this.add(r),j(PD,function(n){var i=RD(n,t,e);this.add(i),this[ED(n)]=t.getItemVisual(e,n)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),a=t.getItemLayout(e),o={shape:{}};YD(o.shape,a),cl(r,o,i,e),j(PD,function(n){var i=t.getItemVisual(e,n),r=ED(n);if(this[r]!==i){this.remove(this.childOfName(n));var a=RD(n,t,e);this.add(a)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),a=n&&n.emphasisLineStyle,o=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var d=t.getItemModel(e),f=d.getModel("emphasis");a=f.getModel("lineStyle").getLineStyle(),o=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),u=f.get("disabled"),c=f.get("focus"),h=f.get("blurScope"),l=wl(d)}var p=t.getItemVisual(e,"style"),m=p.stroke;r.useStyle(p),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=a,r.ensureState("blur").style=o,r.ensureState("select").style=s,j(PD,function(t){var e=this.childOfName(t);if(e){e.setColor(m),e.style.opacity=p.opacity;for(var n=0;n<_s.length;n++){var i=_s[n],a=r.getState(i);if(a){var o=a.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=o.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(l.opacity=o.opacity)}}e.markRedraw()}},this);var g=i.getRawValue(e);bl(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:m||"#000",defaultOpacity:p.opacity,defaultText:(null==g?t.getName(e):isFinite(g)?dr(g):g)+""});var v=this.getTextContent();if(v){var y=l.normal;v.__align=v.style.align,v.__verticalAlign=v.style.verticalAlign,v.__position=y.get("position")||"middle";var _=y.get("distance");W(_)||(_=[_,_]),v.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Qs(this,c,h,u)},e.prototype.highlight=function(){Ns(this)},e.prototype.downplay=function(){Fs(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");YD(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.getTextContent();if(t||e||n&&!n.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var a=this.childOfName("line");if(this.__dirty||a.__dirty){var o=a.shape.percent,s=a.pointAt(0),l=a.pointAt(o),u=xt([],l,s);if(Ct(u,u),t&&(t.setPosition(s),k(t,0),t.scaleX=t.scaleY=i*o,t.markRedraw()),e&&(e.setPosition(l),k(e,1),e.scaleX=e.scaleY=i*o,e.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var c=void 0,h=void 0,d=n.__labelDistance,f=d[0]*i,p=d[1]*i,m=o/2,g=a.tangentAt(m),v=[g[1],-g[0]],y=a.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var _=g[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(g[1],g[0]);l[0]<s[0]&&(b=Math.PI+b),n.rotation=b}var w=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-p,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=p,h="top";break;default:w=0,h="middle"}switch(n.__position){case"end":n.x=u[0]*f+l[0],n.y=u[1]*p+l[1],c=u[0]>.8?"left":u[0]<-.8?"right":"center",h=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":n.x=-u[0]*f+s[0],n.y=-u[1]*p+s[1],c=u[0]>.8?"right":u[0]<-.8?"left":"center",h=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*_+s[0],n.y=s[1]+w,c=g[0]<0?"right":"left",n.originX=-f*_,n.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=y[0],n.y=y[1]+w,c="center",n.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*_+l[0],n.y=l[1]+w,c=g[0]>=0?"right":"left",n.originX=f*_,n.originY=-w}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||h,align:n.__align||c})}}}function k(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(ar);function ND(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:wl(e)}}function FD(t){return isNaN(t[0])||isNaN(t[1])}function VD(t){return t&&!FD(t[0])&&!FD(t[1])}var HD=function(){function t(t){this.group=new ar,this._LineCtor=t||jD}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=t,i||n.removeAll();var r=ND(t);t.diff(i).add(function(n){e._doAdd(t,n,r)}).update(function(n,a){e._doUpdate(i,t,a,n,r)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=ND(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++)if(VD(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){xp(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(VD(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var a=t.getItemGraphicEl(n);VD(e.getItemLayout(i))?(a?a.updateData(e,i,r):a=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,a),this.group.add(a)):this.group.remove(a)},t}(),zD=[],BD=[],WD=[],UD=Ne,GD=Tt,qD=Math.abs;function XD(t,e,n){for(var i,r=t[0],a=t[1],o=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1)zD[0]=UD(r[0],a[0],o[0],c),zD[1]=UD(r[1],a[1],o[1],c),(f=qD(GD(zD,e)-l))<s&&(s=f,i=c);for(var h=0;h<32;h++){var d=i+u;BD[0]=UD(r[0],a[0],o[0],i),BD[1]=UD(r[1],a[1],o[1],i),WD[0]=UD(r[0],a[0],o[0],d),WD[1]=UD(r[1],a[1],o[1],d);var f=GD(BD,e)-l;if(qD(f)<.01)break;var p=GD(WD,e)-l;u/=2,f<0?p>=0?i+=u:i-=u:p>=0?i-=u:i+=u}return i}function ZD(t,e){var n=[],i=He,r=[[],[],[]],a=[[],[]],o=[];e/=2,t.eachEdge(function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[bt(l[0]),bt(l[1])],l[2]&&l.__original.push(bt(l[2])));var h=l.__original;if(null!=l[2]){if(_t(r[0],h[0]),_t(r[1],h[2]),_t(r[2],h[1]),u&&"none"!==u){var d=yD(t.node1),f=XD(r,h[0],d*e);i(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}c&&"none"!==c&&(d=yD(t.node2),f=XD(r,h[1],d*e),i(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]),_t(l[0],r[0]),_t(l[1],r[2]),_t(l[2],r[1])}else _t(a[0],h[0]),_t(a[1],h[1]),xt(o,a[1],a[0]),Ct(o,o),u&&"none"!==u&&(d=yD(t.node1),kt(a[0],a[0],o,d*e)),c&&"none"!==c&&(d=yD(t.node2),kt(a[1],a[1],o,-d*e)),_t(l[0],a[0]),_t(l[1],a[1])})}function KD(t){return"view"===t.type}var JD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){var n=new U_,i=new HD,r=this.group;this._controller=new Xx(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var a=this._symbolDraw,o=this._lineDraw,s=this.group;if(KD(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):cl(s,l,t)}ZD(t.getGraph(),vD(t));var u=t.getData();a.updateData(u);var c=t.getEdgeData();o.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d),u.graph.eachNode(function(t){var e=t.dataIndex,n=t.getGraphicEl(),r=t.getModel();if(n){n.off("drag").off("dragend");var a=r.get("draggable");a&&n.on("drag",function(){h&&(h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(e),u.setItemLayout(e,[n.x,n.y]))}).on("dragend",function(){h&&h.setUnfixed(e)}),n.setDraggable(a&&!!h),"adjacency"===r.get(["emphasis","focus"])&&(fs(n).focus=t.getAdjacentDataIndices())}}),u.graph.eachEdge(function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(fs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})});var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),p=u.getLayout("cx"),m=u.getLayout("cy");u.eachItemGraphicEl(function(t,e){var n=u.getItemModel(e).get(["label","rotate"])||0,i=t.getSymbolPath();if(f){var r=u.getItemLayout(e),a=Math.atan2(r[1]-m,r[0]-p);a<0&&(a=2*Math.PI+a);var o=r[0]<p;o&&(a-=Math.PI);var s=o?"left":"right";i.setTextConfig({rotation:-a,position:s,origin:"center"});var l=i.ensureState("emphasis");I(l.textConfig||(l.textConfig={}),{position:s})}else i.setTextConfig({rotation:n*=Math.PI/180})}),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step(function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())})}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,a=this._controllerHost,o=this.group;r.setPointerChecker(function(e,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!$x(e,n,t)}),KD(t.coordinateSystem)?(r.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",function(e){Zx(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){Kx(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),ZD(t.getGraph(),vD(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()})):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=vD(t);e.eachItemGraphicEl(function(t,e){t&&t.setSymbolScale(n)})},e.prototype.updateLayout=function(t){ZD(t.getGraph(),vD(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Ip);function QD(t){return"_EC_"+t}var $D=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){var n=this._nodesMap;if(!n[QD(t=null==t?""+e:""+t)]){var i=new tO(t,e);return i.hostGraph=this,this.nodes.push(i),n[QD(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[QD(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(X(t)&&(t=this.nodes[t]),X(e)&&(e=this.nodes[e]),t instanceof tO||(t=i[QD(t)]),e instanceof tO||(e=i[QD(e)]),t&&e){var a=t.id+"-"+e.id,o=new eO(t,e,n);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),r[a]=o,o}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof tO&&(t=t.id),e instanceof tO&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof tO||(e=this._nodesMap[QD(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!t.call(i,e,null))for(var o=[e];o.length;){var s=o.shift(),l=s[r];for(a=0;a<l.length;a++){var u=l[a],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;o.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,a=n.length;r<a;r++)n[r].dataIndex=-1;for(r=0,a=t.count();r<a;r++)n[t.getRawIndex(r)].dataIndex=r;for(e.filterSelf(function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}),r=0,a=i.length;r<a;r++)i[r].dataIndex=-1;for(r=0,a=e.count();r<a;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var a=i[r];e.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return e},t}(),tO=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),eO=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function nO(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}R(tO,nO("hostGraph","data")),R(eO,nO("hostGraph","edgeData"));var iO=$D;function rO(t,e,n,i,r){for(var a=new iO(i),o=0;o<t.length;o++)a.addNode(et(t[o].id,t[o].name,o),o);var s=[],l=[],u=0;for(o=0;o<e.length;o++){var c=e[o],h=c.source,d=c.target;a.addEdge(h,d,u)&&(l.push(c),s.push(et(Fr(c.id,null),h+" > "+d)),u++)}var f,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=Y_(t,n);else{var m=xc.get(p),g=m&&m.dimensions||[];E(g,"value")<0&&g.concat(["value"]);var v=T_(t,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;(f=new O_(v,n)).initData(t)}var y=new O_(["value"],n);return y.initData(l,s),r&&r(f,y),QS({mainData:f,struct:a,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var aO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new vw(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Ir(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){lD(this)&&(this.__curvenessList=[],this.__edgeMap={},uD(this));var a=rO(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Ul.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=a,i}function a(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=a,t.getModel=i,t})});return j(a.edges,function(t){!function(t,e,n,i){if(lD(n)){var r=cD(t,e,n),a=n.__edgeMap,o=a[hD(r)];a[r]&&!o?a[r].isForward=!0:o&&a[r]&&(o.isForward=!0,a[r].isForward=!1),a[r]=a[r]||[],a[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)},this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),a=i.graph.getEdgeByIndex(t),o=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),nd("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return pd({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=N(this.option.categories||[],function(t){return null!=t.value?t:I({value:0},t)}),e=new O_(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Sd),oO={type:"graphRoam",event:"graphRoam",update:"none"},sO=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},lO=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return a(e,t),e.prototype.getDefaultShape=function(){return new sO},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,a=e.width,o=e.angle,s=e.x-n(o)*a*(a>=r/3?1:2),l=e.y-i(o)*a*(a>=r/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(o)*a,e.y+i(o)*a),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(o)*a,e.y-i(o)*a),t.lineTo(s,l)},e}(Ro);function uO(t,e){var n=null==t?"":t+"";return e&&(G(e)?n=e.replace("{value}",n):U(e)&&(n=e(t))),n}var cO=2*Math.PI,hO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),a=Math.min(i,r);return{cx:hr(n[0],e.getWidth()),cy:hr(n[1],e.getHeight()),r:hr(t.get("radius"),a/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){for(var a=this.group,o=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?Rb:mf,h=u.get("show"),d=u.getModel("lineStyle"),f=d.get("width"),p=(l-s)%cO||l===s?(l-s)%cO:cO,m=s,g=0;h&&g<i.length;g++){var v=new c({shape:{startAngle:m,endAngle:l=s+p*Math.min(Math.max(i[g][0],0),1),cx:r.cx,cy:r.cy,clockwise:o,r0:r.r-f,r:r.r},silent:!0});v.setStyle({fill:i[g][1]}),v.setStyle(d.getLineStyle(["color","width"])),a.add(v),m=l}var y=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};if(!o){var _=s;s=l,l=_}this._renderTicks(t,e,n,y,r,s,l,o,f),this._renderTitleAndDetail(t,e,n,y,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,y,r,s,l,o,f)},e.prototype._renderTicks=function(t,e,n,i,r,a,o,s,l){for(var u,c,h=this.group,d=r.cx,f=r.cy,p=r.r,m=+t.get("min"),g=+t.get("max"),v=t.getModel("splitLine"),y=t.getModel("axisTick"),_=t.getModel("axisLabel"),b=t.get("splitNumber"),w=y.get("splitNumber"),k=hr(v.get("length"),p),x=hr(y.get("length"),p),M=a,S=(o-a)/b,C=S/w,D=v.getModel("lineStyle").getLineStyle(),O=y.getModel("lineStyle").getLineStyle(),T=v.get("distance"),L=0;L<=b;L++){if(u=Math.cos(M),c=Math.sin(M),v.get("show")){var A=new Tf({shape:{x1:u*(p-(I=T?T+l:l))+d,y1:c*(p-I)+f,x2:u*(p-k-I)+d,y2:c*(p-k-I)+f},style:D,silent:!0});"auto"===D.stroke&&A.setStyle({stroke:i(L/b)}),h.add(A)}if(_.get("show")){var I=_.get("distance")+T,P=uO(dr(L/b*(g-m)+m),_.get("formatter")),E=i(L/b);h.add(new ds({style:kl(_,{text:P,x:u*(p-k-I)+d,y:c*(p-k-I)+f,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:E}),silent:!0}))}if(y.get("show")&&L!==b){I=(I=y.get("distance"))?I+l:l;for(var R=0;R<=w;R++){u=Math.cos(M),c=Math.sin(M);var Y=new Tf({shape:{x1:u*(p-I)+d,y1:c*(p-I)+f,x2:u*(p-x-I)+d,y2:c*(p-x-I)+f},silent:!0,style:O});"auto"===O.stroke&&Y.setStyle({stroke:i((L+R/w)/b)}),h.add(Y),M+=C}M-=C}else M+=S}},e.prototype._renderPointer=function(t,e,n,i,r,a,o,s,l){var u=this.group,c=this._data,h=this._progressEls,d=[],f=t.get(["pointer","show"]),p=t.getModel("progress"),m=p.get("show"),g=t.getData(),v=g.mapDimension("value"),y=+t.get("min"),_=+t.get("max"),b=[y,_],w=[a,o];function k(e,n){var i,a=g.getItemModel(e).getModel("pointer"),o=hr(a.get("width"),r.r),s=hr(a.get("length"),r.r),l=t.get(["pointer","icon"]),u=a.get("offsetCenter"),c=hr(u[0],r.r),h=hr(u[1],r.r),d=a.get("keepAspect");return(i=l?jm(l,c-o/2,h-s,o,s,null,d):new lO({shape:{angle:-Math.PI/2,width:o,r:s,x:c,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function x(t,e){var n=p.get("roundCap")?Rb:mf,i=p.get("overlap"),o=i?p.get("width"):l/g.count(),u=new n({shape:{startAngle:a,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:i?r.r-o:r.r-(t+1)*o,r:i?r.r:r.r-t*o}});return i&&(u.z2=_-g.get(v,t)%_),u}(m||f)&&(g.diff(c).add(function(e){var n=g.get(v,e);if(f){var i=k(e,a);hl(i,{rotation:-((isNaN(+n)?w[0]:cr(n,b,w,!0))+Math.PI/2)},t),u.add(i),g.setItemGraphicEl(e,i)}if(m){var r=x(e,a),o=p.get("clip");hl(r,{shape:{endAngle:cr(n,b,w,o)}},t),u.add(r),ps(t.seriesIndex,g.dataType,e,r),d[e]=r}}).update(function(e,n){var i=g.get(v,e);if(f){var r=c.getItemGraphicEl(n),o=r?r.rotation:a,s=k(e,o);s.rotation=o,cl(s,{rotation:-((isNaN(+i)?w[0]:cr(i,b,w,!0))+Math.PI/2)},t),u.add(s),g.setItemGraphicEl(e,s)}if(m){var l=h[n],y=x(e,l?l.shape.endAngle:a),_=p.get("clip");cl(y,{shape:{endAngle:cr(i,b,w,_)}},t),u.add(y),ps(t.seriesIndex,g.dataType,e,y),d[e]=y}}).execute(),g.each(function(t){var e=g.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),a=n.get("blurScope"),o=n.get("disabled");if(f){var s=g.getItemGraphicEl(t),l=g.getItemVisual(t,"style"),u=l.fill;if(s instanceof zo){var c=s.style;s.useStyle(I({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(cr(g.get(v,t),b,[0,1],!0))),s.z2EmphasisLift=0,nl(s,e),Qs(s,r,a,o)}if(m){var h=d[t];h.useStyle(g.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,nl(h,e),Qs(h,r,a,o)}}),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),a=n.get("offsetCenter"),o=n.get("keepAspect"),s=jm(r,e.cx-i/2+hr(a[0],e.r),e.cy-i/2+hr(a[1],e.r),i,i,null,o);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var a=this,o=t.getData(),s=o.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new ar,h=[],d=[],f=t.isAnimationEnabled(),p=t.get(["pointer","showAbove"]);o.diff(this._data).add(function(t){h[t]=new ds({silent:!0}),d[t]=new ds({silent:!0})}).update(function(t,e){h[t]=a._titleEls[e],d[t]=a._detailEls[e]}).execute(),o.each(function(e){var n=o.getItemModel(e),a=o.get(s,e),m=new ar,g=i(cr(a,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),_=r.cx+hr(y[0],r.r),b=r.cy+hr(y[1],r.r);(O=h[e]).attr({z2:p?0:2,style:kl(v,{x:_,y:b,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(O)}var w=n.getModel("detail");if(w.get("show")){var k=w.get("offsetCenter"),x=r.cx+hr(k[0],r.r),M=r.cy+hr(k[1],r.r),S=hr(w.get("width"),r.r),C=hr(w.get("height"),r.r),D=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:g,O=d[e],T=w.get("formatter");O.attr({z2:p?0:2,style:kl(w,{x:x,y:M,text:uO(a,T),width:isNaN(S)?null:S,height:isNaN(C)?null:C,align:"center",verticalAlign:"middle"},{inheritColor:D})}),Ll(O,{normal:w},a,function(t){return uO(t,T)}),f&&Al(O,e,o,t,{getFormattedLabel:function(t,e,n,i,r,o){return uO(o?o.interpolatedValue:a,T)}}),m.add(O)}c.add(m)}),this.group.add(c),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(Ip),dO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return a(e,t),e.prototype.getInitialData=function(t,e){return gw(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Sd),fO=["itemStyle","opacity"],pO=function(t){function e(e,n){var i=t.call(this)||this,r=i,a=new Sf,o=new ds;return r.setTextContent(o),i.setTextGuideLine(a),i.updateData(e,n,!0),i}return a(e,t),e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=t.getItemModel(e),a=t.getItemLayout(e),o=r.getModel("emphasis"),s=r.get(fO);s=null==s?1:s,n||gl(this),this.useStyle(t.getItemVisual(e,"style")),this.style.lineJoin="round",n?(this.setShape({points:a.points}),this.style.opacity=0,hl(this,{style:{opacity:s}},i,e)):cl(this,{style:{opacity:s},shape:{points:a.points}},i,e),nl(this,r),this._updateLabel(t,e),Qs(this,o.get("focus"),o.get("blurScope"),o.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this.getTextGuideLine(),i=this.getTextContent(),r=t.hostModel,a=t.getItemModel(e),o=t.getItemLayout(e).label,s=t.getItemVisual(e,"style"),l=s.fill;bl(i,wl(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:s.opacity,defaultText:t.getName(e)},{normal:{align:o.textAlign,verticalAlign:o.verticalAlign}}),this.setTextConfig({local:!0,inside:!!o.inside,insideStroke:l,outsideFill:l});var u=o.linePoints;n.setShape({points:u}),this.textGuideLineConfig={anchor:u?new Ti(u[0][0],u[0][1]):null},cl(i,{style:{x:o.x,y:o.y}},r,e),i.attr({rotation:o.rotation,originX:o.x,originY:o.y,z2:10}),Ev(this,Rv(a),{stroke:l})},e}(kf),mO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,a=this.group;i.diff(r).add(function(t){var e=new pO(i,t);i.setItemGraphicEl(t,e),a.add(e)}).update(function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),a.add(n),i.setItemGraphicEl(t,n)}).remove(function(e){ml(r.getItemGraphicEl(e),t,e)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Ip),gO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new vw(z(this.getData,this),z(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return gw(this,{coordDimensions:["value"],encodeDefaulter:B(ec,this)})},e.prototype._defaultLabelLine=function(t){Ir(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),a=n.getSum(r);return i.percent=a?+(n.get(r,e)/a*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Sd);function vO(t,e){t.eachSeriesByType("funnel",function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),a=function(t,e){return Vu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),o=t.get("orient"),s=a.width,l=a.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),r=[],a="ascending"===e,o=0,s=t.count();o<s;o++)r[o]=o;return U(e)?r.sort(e):"none"!==e&&r.sort(function(t,e){return a?i[t]-i[e]:i[e]-i[t]}),r}(n,r),c=a.x,h=a.y,d="horizontal"===o?[hr(t.get("minSize"),l),hr(t.get("maxSize"),l)]:[hr(t.get("minSize"),s),hr(t.get("maxSize"),s)],f=n.getDataExtent(i),p=t.get("min"),m=t.get("max");null==p&&(p=Math.min(f[0],0)),null==m&&(m=f[1]);var g=t.get("funnelAlign"),v=t.get("gap"),y=(("horizontal"===o?s:l)-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===o){var r=cr(n.get(i,t)||0,[p,m],d,!0),a=void 0;switch(g){case"top":a=h;break;case"center":a=h+(l-r)/2;break;case"bottom":a=h+(l-r)}return[[e,a],[e,a+r]]}var u,f=cr(n.get(i,t)||0,[p,m],d,!0);switch(g){case"left":u=c;break;case"center":u=c+(s-f)/2;break;case"right":u=c+s-f}return[[u,e],[u+f,e]]};"ascending"===r&&(y=-y,v=-v,"horizontal"===o?c+=s:h+=l,u=u.reverse());for(var b=0;b<u.length;b++){var w=u[b],k=u[b+1],x=n.getItemModel(w);if("horizontal"===o){var M=x.get(["itemStyle","width"]);null==M?M=y:(M=hr(M,s),"ascending"===r&&(M=-M));var S=_(w,c),C=_(k,c+M);c+=M+v,n.setItemLayout(w,{points:S.concat(C.slice().reverse())})}else{var D=x.get(["itemStyle","height"]);null==D?D=y:(D=hr(D,l),"ascending"===r&&(D=-D)),S=_(w,h),C=_(k,h+D),h+=D+v,n.setItemLayout(w,{points:S.concat(C.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each(function(n){var i,r,a,o,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=t.getItemLayout(n),h=c.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(r=(h[0][0]+h[3][0])/2+5,a=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===l?(r=(h[1][0]+h[2][0])/2-5,a=(h[1][1]+h[2][1])/2,i="right"):(r=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,a=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),o=[[r,a],[r,a]];else{var f=void 0,p=void 0,m=void 0,g=void 0,v=u.get("length");"left"===l?(p=(h[3][1]+h[0][1])/2,r=(m=(f=(h[3][0]+h[0][0])/2)-v)-5,i="right"):"right"===l?(p=(h[1][1]+h[2][1])/2,r=(m=(f=(h[1][0]+h[2][0])/2)+v)+5,i="left"):"top"===l?(f=(h[3][0]+h[0][0])/2,a=(g=(p=(h[3][1]+h[0][1])/2)-v)-5,i="center"):"bottom"===l?(f=(h[1][0]+h[2][0])/2,a=(g=(p=(h[1][1]+h[2][1])/2)+v)+5,i="center"):"rightTop"===l?(f="horizontal"===e?h[3][0]:h[1][0],p="horizontal"===e?h[3][1]:h[1][1],"horizontal"===e?(a=(g=p-v)-5,i="center"):(r=(m=f+v)+5,i="top")):"rightBottom"===l?(f=h[2][0],p=h[2][1],"horizontal"===e?(a=(g=p+v)+5,i="center"):(r=(m=f+v)+5,i="bottom")):"leftTop"===l?(f=h[0][0],p="horizontal"===e?h[0][1]:h[1][1],"horizontal"===e?(a=(g=p-v)-5,i="center"):(r=(m=f-v)-5,i="right")):"leftBottom"===l?(f="horizontal"===e?h[1][0]:h[3][0],p="horizontal"===e?h[1][1]:h[2][1],"horizontal"===e?(a=(g=p+v)+5,i="center"):(r=(m=f-v)-5,i="right")):(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,"horizontal"===e?(a=(g=p+v)+5,i="center"):(r=(m=f+v)+5,i="left")),"horizontal"===e?r=m=f:a=g=p,o=[[f,p],[m,g]]}c.label={linePoints:o,x:r,y:a,verticalAlign:"middle",textAlign:i,inside:d}})}(n)})}function yO(t,e,n,i){for(var r,a=[],o=0;o<n.length;o++){var s=n[o],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||a.push(i.dataToPoint(l,s))}return a}function _O(t,e,n,i,r){var a=yO(t,n,i,r),o=new Sf({shape:{points:a},z2:10});return e.add(o),t.setItemGraphicEl(n,o),o}function bO(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),tt(e=Sr(e))&&(e=0),{smooth:e}}function wO(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),a=r.getModel("emphasis");nl(t,r,"lineStyle"),Qs(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}var kO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new ar,n._initialized=!1,n}return a(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,a=t.getData(),o=this._data,s=t.coordinateSystem,l=s.dimensions,u=bO(t);if(a.diff(o).add(function(t){wO(_O(a,r,t,l,s),a,t,u)}).update(function(e,n){var i=o.getItemGraphicEl(n),r=yO(a,e,l,s);a.setItemGraphicEl(e,i),cl(i,{shape:{points:r}},t,e),gl(i),wO(i,a,e,u)}).remove(function(t){var e=o.getItemGraphicEl(t);r.remove(e)}).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var i=t.model,a=t.getRect(),o=new Ko({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),s="horizontal"===i.get("layout")?"width":"height";return o.setShape(s,0),hl(o,{shape:{width:a.width,height:a.height}},e,function(){setTimeout(function(){r.removeClipPath()})}),o}(s,t);r.setClipPath(c)}this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,a=r.dimensions,o=bO(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=_O(i,this._dataGroup,l,a,r);u.incremental=!0,wO(u,i,l,o),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Ip);function xO(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return j(e.dimensions,function(t){var e=+t.replace("dim","");n[t]=e}),n}}var MO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(e,t),e.prototype.getInitialData=function(t,e){return Y_(null,this,{useEncodeDefaulter:z(xO,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(e,r){t===e&&i.push(n.getRawIndex(r))}),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(Sd),SO=["lineStyle","opacity"],CO={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var a=e.getItemModel(n).get(SO,!0);null!=a&&(r=a)}e.ensureUniqueItemVisual(n,"style").opacity=r},t.start,t.end)}}}};function DO(t){!function(t){if(!t.parallel){var e=!1;j(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}(t),function(t){j(Ar(t.parallelAxis),function(e){if(Z(e)){var n=e.parallelIndex||0,i=Ar(t.parallel)[n];i&&i.parallelAxisDefault&&L(e,i.parallelAxisDefault,!1)}})}(t)}var OO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},j(TO,function(t,e){n.getZr().on(e,this._handlers[e]=z(t,this))},this)),Yp(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){jp(this,"_throttledDispatchExpand"),j(this._handlers,function(t,n){e.getZr().off(n,t)}),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(I({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Dd),TO={mousedown:function(t){LO(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(LO(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&LO(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function LO(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var AO=OO,IO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){t&&L(this.option,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){j(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];j(V(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this),function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Xu),PO=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o.axisIndex=a,o}return a(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(Bk);function EO(t,e,n,i,r,a){t=t||0;var o=n[1]-n[0];if(null!=r&&(r=YO(r,[0,o])),null!=a&&(a=Math.max(a,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=YO(s,[0,o]),r=a=YO(s,[r,a]),i=0}e[0]=YO(e[0],n),e[1]=YO(e[1],n);var l=RO(e,i);e[i]+=t;var u,c=r||0,h=n.slice();return l.sign<0?h[0]+=c:h[1]-=c,e[i]=YO(e[i],h),u=RO(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=RO(e,i),null!=a&&u.span>a&&(e[1-i]=e[i]+u.sign*a),e}function RO(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function YO(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var jO=j,NO=Math.min,FO=Math.max,VO=Math.floor,HO=Math.ceil,zO=dr,BO=Math.PI;function WO(t,e){return NO(FO(t,e[0]),e[1])}function UO(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function GO(t,e){var n,i,r=e.axisExpandWidth,a=e.axisCollapseWidth,o=e.winInnerIndices,s=a,l=!1;return t<o[0]?(n=t*a,i=a):t<=o[1]?(n=e.axisExpandWindow0Pos+t*r-e.axisExpandWindow[0],s=r,l=!0):(n=e.layoutLength-(e.axisCount-1-t)*a,i=a),{position:n,axisNameAvailableWidth:s,axisLabelShow:l,nameTruncateMaxWidth:i}}var qO=function(){function t(t,e,n){this.type="parallel",this._axesMap=ht(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.parallelAxisIndex;jO(t.dimensions,function(t,n){var r=i[n],a=e.getComponent("parallelAxis",r),o=this._axesMap.set(t,new PO(t,Mk(a),[0,0],a.get("type"),r));o.onBand="category"===o.type&&a.get("boundaryGap"),o.inverse=a.get("inverse"),a.axis=o,o.model=a,o.coordinateSystem=a.coordinateSystem=this},this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,a=t[1-r],o=t[r];return a>=n&&a<=n+e.axisLength&&o>=i&&o<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();jO(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),xk(e.scale,e.model)},this)}},this)},t.prototype.resize=function(t,e){this._rect=Vu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],a=e.get("layout"),o="horizontal"===a?0:1,s=n[r[o]],l=[0,s],u=this.dimensions.length,c=WO(e.get("axisExpandWidth"),l),h=WO(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=WO(f[1]-f[0],l),f[1]=f[0]+t):(t=WO(c*(h-1),l),(f=[c*(e.get("axisExpandCenter")||VO(u/2))-t/2])[1]=f[0]+t);var p=(s-t)/(u-h);p<3&&(p=0);var m=[VO(zO(f[0]/c,1))+1,HO(zO(f[1]/c,1))-1];return{layout:a,pixelDimIndex:o,layoutBase:n[i[o]],layoutLength:s,axisBase:n[i[1-o]],axisLength:n[r[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:p,axisExpandWindow:f,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:p/c*f[0]}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),jO(n,function(e,n){var a=(i.axisExpandable?GO:UO)(n,i),o={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},s=[o[r].x+t.x,o[r].y+t.y],l={horizontal:BO/2,vertical:0}[r],u=[1,0,0,1,0,0];gi(u,u,l),mi(u,u,s),this._axesLayout[e]={position:s,rotation:l,transform:u,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,a=this.dimensions,o=[],s=[];j(a,function(e){o.push(t.mapDimension(e)),s.push(r.get(e).model)});for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var c=void 0;if(l){c="active";for(var h=t.getValues(o,u),d=0,f=a.length;d<f;d++)if("inactive"===s[d].getActiveState(h[d])){c="inactive";break}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return hp([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return T(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],a=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var o,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",o=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",o=s-r*(1-c[2])):(o=s-r*c[1])>=0&&(o=s-r*(1-c[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?EO(o,i,a,"all"):l="none";else{var d=i[1]-i[0];(i=[FO(0,a[1]*s/d-d/2)])[1]=NO(a[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}(),XO={create:function(t,e){var n=[];return t.eachComponent("parallel",function(i,r){var a=new qO(i,t,e);a.name="parallel_"+r,a.resize(i,e),i.coordinateSystem=a,a.model=i,n.push(a)}),t.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",qr).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},ZO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return a(e,t),e.prototype.getAreaSelectStyle=function(){return sa([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=T(t);if(e)for(var n=e.length-1;n>=0;n--)fr(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(Xu);R(ZO,Sw);var KO=ZO,JO=Math.min,QO=Math.max,$O=Math.pow,tT={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},eT={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},nT={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},iT=0,rT=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new ar,n._uid="brushController_"+iT++,j(AT,function(t,e){this._handlers[e]=z(t,this)},n),n}return a(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){Wx(t).globalPan=n}(e,0,this._uid),j(this._handlers,function(t,n){e.on(n,t)}),this._brushType=t.brushType,this._brushOption=L(T(nT),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=Wx(t);i.globalPan===n&&(i.globalPan=null)}(t,0,this._uid),j(this._handlers,function(e,n){t.off(n,e)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};j(t,function(t){e[t.panelId]=T(t)})}else this._panels=null;return this},e.prototype.mount=function(t){this._enableGlobalPan=(t=t||{}).enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=N(t,function(t){return L(T(nT),t,!0)});var e=this._covers,n=this._covers=[],i=this,r=this._creatingCover;return new r_(e,t,function(t,e){return a(t.__brushOption,e)},a).add(o).update(o).remove(function(t){e[t]!==r&&i.group.remove(e[t])}).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function o(a,o){var s=t[a];if(null!=o&&e[o]===r)n[a]=e[o];else{var l=n[a]=null!=o?(e[o].__brushOption=s,e[o]):oT(i,aT(i,s));uT(i,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),fT(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Yt);function aT(t,e){var n=PT[e.brushType].createCover(t,e);return n.__brushOption=e,lT(n,e),t.group.add(n),n}function oT(t,e){var n=cT(e);return n.endCreating&&(n.endCreating(t,e),lT(e,e.__brushOption)),e}function sT(t,e){var n=e.__brushOption;cT(e).updateCoverShape(t,e,n.range,n)}function lT(t,e){var n=e.z;null==n&&(n=1e4),t.traverse(function(t){t.z=n,t.z2=n})}function uT(t,e){cT(e).updateCommon(t,e),sT(t,e)}function cT(t){return PT[t.__brushOption.brushType]}function hT(t,e,n){var i,r=t._panels;if(!r)return!0;var a=t._transform;return j(r,function(t){t.isTargetByCursor(e,n,a)&&(i=t)}),i}function dT(t,e){var n=t._panels;if(!n)return!0;var i=e.__brushOption.panelId;return null==i||n[i]}function fT(t){var e=t._covers,n=e.length;return j(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function pT(t,e){var n=N(t._covers,function(t){var e=t.__brushOption,n=T(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function mT(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function gT(t,e,n,i){var r=new ar;return r.add(new Ko({name:"main",style:bT(n),silent:!0,draggable:!0,cursor:"move",drift:B(xT,t,e,r,["n","s","w","e"]),ondragend:B(pT,e,{isEnd:!0})})),j(i,function(n){r.add(new Ko({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:B(xT,t,e,r,n),ondragend:B(pT,e,{isEnd:!0})}))}),r}function vT(t,e,n,i){var r=i.brushStyle.lineWidth||0,a=QO(r,6),o=n[0][0],s=n[1][0],l=o-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-a+r/2,f=h-a+r/2,p=c-o,m=h-s,g=p+r,v=m+r;_T(t,e,"main",o,s,p,m),i.transformable&&(_T(t,e,"w",l,u,a,v),_T(t,e,"e",d,u,a,v),_T(t,e,"n",l,u,g,a),_T(t,e,"s",l,f,g,a),_T(t,e,"nw",l,u,a,a),_T(t,e,"ne",d,u,a,a),_T(t,e,"sw",l,f,a,a),_T(t,e,"se",d,f,a,a))}function yT(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(bT(n)),r.attr({silent:!i,cursor:i?"move":"default"}),j([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var r=e.childOfName(n.join("")),a=1===n.length?kT(t,n[0]):function(t,e){var n=[kT(t,e[0]),kT(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?eT[a]+"-resize":null})})}function _T(t,e,n,i,r,a,o){var s,l,u,c=e.childOfName(n);c&&c.setShape((s=CT(t,e,[[i,r],[i+a,r+o]]),{x:l=JO(s[0][0],s[1][0]),y:u=JO(s[0][1],s[1][1]),width:QO(s[0][0],s[1][0])-l,height:QO(s[0][1],s[1][1])-u}))}function bT(t){return P({strokeNoScale:!0},t.brushStyle)}function wT(t,e,n,i){var r=[JO(t,n),JO(e,i)],a=[QO(t,n),QO(e,i)];return[[r[0],a[0]],[r[1],a[1]]]}function kT(t,e){return{left:"w",right:"e",top:"n",bottom:"s"}[dp({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return cp(t.group)}(t))]}function xT(t,e,n,i,r,a){var o=n.__brushOption,s=t.toRectRange(o.range),l=ST(e,r,a);j(i,function(t){var e=tT[t];s[e[0]][e[1]]+=l[e[0]]}),o.range=t.fromRectRange(wT(s[0][0],s[1][0],s[0][1],s[1][1])),uT(e,n),pT(e,{isEnd:!1})}function MT(t,e,n,i){var r=e.__brushOption.range,a=ST(t,n,i);j(r,function(t){t[0]+=a[0],t[1]+=a[1]}),uT(t,e),pT(t,{isEnd:!1})}function ST(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),a=i.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function CT(t,e,n){var i=dT(t,e);return i&&!0!==i?i.clipPath(n,t._transform):T(n)}function DT(t){var e=t.event;e.preventDefault&&e.preventDefault()}function OT(t,e,n){return t.childOfName("main").contain(e,n)}function TT(t,e,n,i){var r,a=t._creatingCover,o=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],a=n[1]-i[1];return $O(r*r+a*a,.5)>6}(t)||a){if(o&&!a){"single"===s.brushMode&&fT(t);var l=T(s);l.brushType=LT(l.brushType,o),l.panelId=!0===o?null:o.panelId,a=t._creatingCover=aT(t,l),t._covers.push(a)}if(a){var u=PT[LT(t._brushType,o)];a.__brushOption.range=u.getCreatingRange(CT(t,a,t._track)),i&&(oT(t,a),u.updateCommon(t,a)),sT(t,a),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&hT(t,e,n)&&fT(t)&&(r={isEnd:i,removeOnClick:!0});return r}function LT(t,e){return"auto"===t?e.defaultBrushType:t}var AT={mousedown:function(t){if(this._dragging)IT(this,t);else if(!t.target||!t.target.draggable){DT(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=hT(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,a=hT(t,e,n);if(!t._dragging)for(var o=0;o<r.length;o++){var s=r[o].__brushOption;if(a&&(!0===a||s.panelId===a.panelId)&&PT[s.brushType].contain(r[o],n[0],n[1]))return}a&&i.setCursorStyle("crosshair")}}(this,t,e),this._dragging){DT(t);var n=TT(this,t,e,!1);n&&pT(this,n)}},mouseup:function(t){IT(this,t)}};function IT(t,e){if(t._dragging){DT(e);var n=t.group.transformCoordToLocal(e.offsetX,e.offsetY),i=TT(t,e,n,!0);t._dragging=!1,t._track=[],t._creatingCover=null,i&&pT(t,i)}}var PT={lineX:ET(0),lineY:ET(1),rect:{createCover:function(t,e){function n(t){return t}return gT({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=mT(t);return wT(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){vT(t,e,n,i)},updateCommon:yT,contain:OT},polygon:{createCover:function(t,e){var n=new ar;return n.add(new Sf({name:"main",style:bT(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new kf({name:"main",draggable:!0,drift:B(MT,t,e),ondragend:B(pT,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:CT(t,e,n)})},updateCommon:yT,contain:OT}};function ET(t){return{createCover:function(e,n){return gT({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=mT(e);return[JO(n[0][t],n[1][t]),QO(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var a,o=dT(e,n);if(!0!==o&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(t);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,a];t&&l.reverse(),vT(e,n,l,r)},updateCommon:yT,contain:OT}}var RT=rT;function YT(t){return t=FT(t),function(e){return mp(e,t)}}function jT(t,e){return t=FT(t),function(n){var i=null!=e?e:n,r=i?t.x:t.y;return[r,r+((i?t.width:t.height)||0)]}}function NT(t,e,n){var i=FT(t);return function(t,r){return i.contain(r[0],r[1])&&!$x(t,e,n)}}function FT(t){return Ni.create(t)}var VT=["axisLine","axisTickLabel","axisName"],HT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new RT(n.getZr())).on("brush",z(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new ar,this.group.add(this._axisGroup),t.get("show")){var a=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),o=a.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=I({strokeContainThreshold:l},o.getAxisLayout(t.axis.dim)),c=new sx(t,u);j(VT,c.add,c),this._axisGroup.add(c.getGroup()),this._refreshBrushController(u,s,t,a,l,n),pp(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,a){var o=n.axis.getExtent(),s=o[1]-o[0],l=Math.min(30,.1*Math.abs(s)),u=Ni.create({x:o[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:YT(u),isTargetByCursor:NT(u,a,i),getLinearBrushOtherExtent:jT(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return N(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}(n))},e.prototype._onBrush=function(t){var e=this.axisModel,n=e.axis,i=N(t.areas,function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]});(!e.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:i})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Dd),zT={type:"axisAreaSelect",event:"axisAreaSelected"},BT={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function WT(t){t.registerComponentView(AO),t.registerComponentModel(IO),t.registerCoordinateSystem("parallel",XO),t.registerPreprocessor(DO),t.registerComponentModel(KO),t.registerComponentView(HT),Rw(t,"parallel",KO,BT),function(t){t.registerAction(zT,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),t.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})}(t)}var UT=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},GT=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new UT},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){Ns(this)},e.prototype.downplay=function(){Fs(this)},e}(Ro),qT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return a(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),a=this.group,o=t.layoutInfo,s=o.width,l=o.height,u=t.getData(),c=t.getData("edge"),h=t.get("orient");this._model=t,a.removeAll(),a.x=o.x,a.y=o.y,r.eachEdge(function(e){var n=new GT,i=fs(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,o,u,d,f,p,m,g,v=e.getModel(),y=v.getModel("lineStyle"),_=y.get("curveness"),b=e.node1.getLayout(),w=e.node1.getModel(),k=w.get("localX"),x=w.get("localY"),M=e.node2.getLayout(),S=e.node2.getModel(),C=S.get("localX"),D=S.get("localY"),O=e.getLayout();switch(n.shape.extent=Math.max(1,O.dy),n.shape.orient=h,"vertical"===h?(f=r=(null!=k?k*s:b.x)+O.sy,p=(o=(null!=x?x*l:b.y)+b.dy)*(1-_)+(d=null!=D?D*l:M.y)*_,m=u=(null!=C?C*s:M.x)+O.ty,g=o*_+d*(1-_)):(f=(r=(null!=k?k*s:b.x)+b.dx)*(1-_)+(u=null!=C?C*s:M.x)*_,p=o=(null!=x?x*l:b.y)+O.sy,m=r*_+u*(1-_),g=d=(null!=D?D*l:M.y)+O.ty),n.setShape({x1:r,y1:o,x2:u,y2:d,cpx1:f,cpy1:p,cpx2:m,cpy2:g}),n.useStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var T=e.node1.getVisual("color"),L=e.node2.getVisual("color");G(T)&&G(L)&&(n.style.fill=new Vf(0,0,+("horizontal"===h),+("vertical"===h),[{color:T,offset:0},{color:L,offset:1}]))}var A=v.getModel("emphasis");nl(n,v,"lineStyle",function(t){return t.getItemStyle()}),a.add(n),c.setItemGraphicEl(e.dataIndex,n);var I=A.get("focus");Qs(n,"adjacency"===I?e.getAdjacentDataIndices():I,A.get("blurScope"),A.get("disabled")),fs(n).dataType="edge"}),r.eachNode(function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),o=i.get("localY"),c=i.getModel("emphasis"),h=new Ko({shape:{x:null!=r?r*s:n.x,y:null!=o?o*l:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle(),z2:10});bl(h,wl(i),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),nl(h,i),a.add(h),u.setItemGraphicEl(e.dataIndex,h),fs(h).dataType="node";var d=c.get("focus");Qs(h,"adjacency"===d?e.getAdjacentDataIndices():d,c.get("blurScope"),c.get("disabled"))}),u.eachItemGraphicEl(function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,a){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")}),!this._data&&t.isAnimationEnabled()&&a.setClipPath(function(t,e,n){var i=new Ko({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return hl(i,{shape:{width:t.width+20}},e,function(){a.removeClipPath()}),i}(a.getBoundingRect(),t)),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Ip),XT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var a=this.levelModels,o=0;o<r.length;o++)null!=r[o].depth&&r[o].depth>=0&&(a[r[o].depth]=new Ul(r[o],this,e));if(i&&n)return rO(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=n.levelModels[i.depth];r&&(t.parentModel=r)}return t}),e.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=n.levelModels[i.depth];r&&(t.parentModel=r)}return t})}).data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),a=r.data,o=r.value;return nd("nameValue",{name:a.source+" -- "+a.target,value:o,noValue:i(o)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return nd("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Sd);function ZT(t,e){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Vu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var a=r.width,o=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){j(t,function(t){var e=aL(t.outEdges,rL),n=aL(t.inEdges,rL),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)})}(l),function(t,e,n,i,r,a,o,s,l){(function(t,e,n,i,r,a,o){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);for(var f=-1;u.length;){for(var p=0;p<u.length;p++){var m=u[p],g=m.hostGraph.data.getRawDataItem(m.dataIndex),v=null!=g.depth&&g.depth>=0;v&&g.depth>f&&(f=g.depth),m.setLayout({depth:v?g.depth:h},!0),m.setLayout("vertical"===a?{dy:n}:{dx:n},!0);for(var y=0;y<m.outEdges.length;y++){var _=m.outEdges[y];s[e.indexOf(_)]=0;var b=_.node2;0==--l[t.indexOf(b)]&&c.indexOf(b)<0&&c.push(b)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var w=f>h-1?f:h-1;o&&"left"!==o&&function(t,e,n,i){if("right"===e){for(var r=[],a=t,o=0;a.length;){for(var s=0;s<a.length;s++){var l=a[s];l.setLayout({skNodeHeight:o},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}a=r,r=[],++o}j(t,function(t){KT(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)})}else"justify"===e&&function(t,e){j(t,function(t){KT(t)||t.outEdges.length||t.setLayout({depth:e},!0)})}(t,i)}(t,o,0,w),function(t,e,n){j(t,function(t){var i=t.getLayout().depth*e;t.setLayout("vertical"===n?{y:i}:{x:i},!0)})}(t,"vertical"===a?(r-n)/w:(i-n)/w,a)})(t,e,n,r,a,s,l),function(t,e,n,i,r,a,o){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=Jr(t,function(t){return t.getLayout()[i]});return r.keys.sort(function(t,e){return t-e}),j(r.keys,function(t){n.push(r.buckets.get(t))}),n}(t,o);(function(t,e,n,i,r,a){var o=1/0;j(t,function(t){var e=t.length,s=0;j(t,function(t){s+=t.getLayout().value});var l="vertical"===a?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<o&&(o=l)}),j(t,function(t){j(t,function(t,e){var n=t.getLayout().value*o;"vertical"===a?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))})}),j(e,function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)})})(s,e,n,i,r,o),JT(s,r,n,i,o);for(var l=1;a>0;a--)QT(s,l*=.99,o),JT(s,r,n,i,o),oL(s,l,o),JT(s,r,n,i,o)}(t,e,a,r,i,o,s),function(t,e){var n="vertical"===e?"x":"y";j(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]})}),j(t,function(t){var e=0,n=0;j(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),j(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t,s)}(l,u,n,i,a,o,0!==V(l,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function KT(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function JT(t,e,n,i,r){var a="vertical"===r?"x":"y";j(t,function(t){var o,s,l;t.sort(function(t,e){return t.getLayout()[a]-e.getLayout()[a]});for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",d=0;d<c;d++)(l=u-(s=t[d]).getLayout()[a])>0&&(o=s.getLayout()[a]+l,s.setLayout("vertical"===r?{x:o}:{y:o},!0)),u=s.getLayout()[a]+s.getLayout()[h]+e;if((l=u-e-("vertical"===r?i:n))>0)for(o=s.getLayout()[a]-l,s.setLayout("vertical"===r?{x:o}:{y:o},!0),u=o,d=c-2;d>=0;--d)(l=(s=t[d]).getLayout()[a]+s.getLayout()[h]+e-u)>0&&(o=s.getLayout()[a]-l,s.setLayout("vertical"===r?{x:o}:{y:o},!0)),u=s.getLayout()[a]})}function QT(t,e,n){j(t.slice().reverse(),function(t){j(t,function(t){if(t.outEdges.length){var i=aL(t.outEdges,$T,n)/aL(t.outEdges,rL);if(isNaN(i)){var r=t.outEdges.length;i=r?aL(t.outEdges,tL,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-iL(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-iL(t,n))*e;t.setLayout({y:o},!0)}}})})}function $T(t,e){return iL(t.node2,e)*t.getValue()}function tL(t,e){return iL(t.node2,e)}function eL(t,e){return iL(t.node1,e)*t.getValue()}function nL(t,e){return iL(t.node1,e)}function iL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function rL(t){return t.getValue()}function aL(t,e,n){for(var i=0,r=t.length,a=-1;++a<r;){var o=+e(t[a],n);isNaN(o)||(i+=o)}return i}function oL(t,e,n){j(t,function(t){j(t,function(t){if(t.inEdges.length){var i=aL(t.inEdges,eL,n)/aL(t.inEdges,rL);if(isNaN(i)){var r=t.inEdges.length;i=r?aL(t.inEdges,nL,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-iL(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-iL(t,n))*e;t.setLayout({y:o},!0)}}})})}function sL(t){t.eachSeriesByType("sankey",function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,i=-1/0;j(e,function(t){var e=t.getLayout().value;e<n&&(n=e),e>i&&(i=e)}),j(e,function(e){var r=new jC({type:"color",mappingMethod:"linear",dataExtent:[n,i],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),a=e.getModel().get(["itemStyle","color"]);null!=a?(e.setVisual("color",a),e.setVisual("style",{fill:a})):(e.setVisual("color",r),e.setVisual("style",{fill:r}))})}})}var lL=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),a=e.getComponent("yAxis",this.get("yAxisIndex")),o=r.get("type"),s=a.get("type");"category"===o?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=a.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],h=l[1-u],d=[r,a],f=d[u].get("type"),p=d[1-u].get("type"),m=t.data;if(m&&i){var g=[];j(m,function(t,e){var n;W(t)?(n=t.slice(),t.unshift(e)):W(t.value)?((n=I({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,g.push(n)}),t.data=g}var v=this.defaultValueDimensions,y=[{name:c,type:s_(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:s_(p),dimsDef:v.slice()}];return gw(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:B(tc,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),uL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return a(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Sd);R(uL,lL,!0);var cL=uL,hL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,a=this._data;this._data||r.removeAll();var o="horizontal"===t.get("layout")?1:0;i.diff(a).add(function(t){if(i.hasValue(t)){var e=pL(i.getItemLayout(t),i,t,o,!0);i.setItemGraphicEl(t,e),r.add(e)}}).update(function(t,e){var n=a.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(gl(n),mL(s,n,i,t)):n=pL(s,i,t,o),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&r.remove(e)}).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.type="boxplot",e}(Ip),dL=function(){},fL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return a(e,t),e.prototype.getDefaultShape=function(){return new dL},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Ro);function pL(t,e,n,i,r){var a=t.ends,o=new fL({shape:{points:r?gL(a,i,t):a}});return mL(t,o,e,n,r),o}function mL(t,e,n,r,a){(0,i[a?"initProps":"updateProps"])(e,{shape:{points:t.ends}},n.hostModel,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var o=n.getItemModel(r),s=o.getModel("emphasis");nl(e,o),Qs(e,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function gL(t,e,n){return N(t,function(t){return(t=t.slice())[e]=n.initBaseline,t})}var vL=hL;function yL(t,e){}var _L=j;function bL(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var i=t.getBaseAxis(),r=E(n,i);r<0&&(n[r=n.length]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);_L(e,function(t){var e=t.seriesModels;e.length&&(function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,a=t.boxWidthList=[],o=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;_L(i,function(t){l=Math.max(l,t.getData().count())});var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}_L(i,function(t){var n=t.get("boxWidth");W(n)||(n=[n,n]),s.push([hr(n[0],e)||0,hr(n[1],e)||0])});var c=.8*e-2,h=c/r*.3,d=(c-h*(r-1))/r,f=d/2-c/2;_L(i,function(t,e){o.push(f),f+=h+d,a.push(Math.min(Math.max(d,s[e][0]),s[e][1]))})}(t),_L(e,function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),a=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=r.mapDimension(l[o]),c=r.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var h=0;h<r.count();h++){var d=r.get(u,h),f=_(d,c[2],h),p=_(d,c[0],h),m=_(d,c[1],h),g=_(d,c[3],h),v=_(d,c[4],h),y=[];b(y,m,!1),b(y,g,!0),y.push(p,m,v,g),w(y,p),w(y,v),w(y,f),r.setItemLayout(h,{initBaseline:f[s],ends:y})}function _(t,n,a){var l,u=r.get(n,a),c=[];return c[o]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c))[o]+=e,l}function b(t,e,n){var i=e.slice(),r=e.slice();i[o]+=a,r[o]-=a,n?t.push(i,r):t.push(r,i)}function w(t,e){var n=e.slice(),i=e.slice();n[o]-=a,i[o]+=a,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])}))})}var wL={type:"echarts:boxplot",transform:function(t){var e=t.upstream;"arrayRows"!==e.sourceFormat&&pc("");var n=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,a="none"===r||0===r,o=0;o<t.length;o++){var s=fr(t[o].slice()),l=xr(s,.25),u=xr(s,.5),c=xr(s,.75),h=s[0],d=s[s.length-1],f=(null==r?1.5:r)*(c-l),p=a?h:Math.max(h,l-f),m=a?d:Math.min(d,c+f),g=e.itemNameFormatter,v=U(g)?g({value:o}):G(g)?g.replace("{value}",o+""):o+"";n.push([v,p,l,u,c,m]);for(var y=0;y<s.length;y++){var _=s[y];(_<p||_>m)&&i.push([v,_])}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},kL=["color","borderColor"],xL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){xp(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),a=t.get("clip",!0),o=t.coordinateSystem,s=o.getArea&&o.getArea();this._data||i.removeAll(),e.diff(n).add(function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(a&&DL(s,o))return;var l=CL(o,0,!0);hl(l,{shape:{points:o.ends}},t,n),OL(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}}).update(function(o,l){var u=n.getItemGraphicEl(l);if(e.hasValue(o)){var c=e.getItemLayout(o);a&&DL(s,c)?i.remove(u):(u?(cl(u,{shape:{points:c.ends}},t,o),gl(u)):u=CL(c),OL(u,e,o,r),i.add(u),e.setItemGraphicEl(o,u))}else i.remove(u)}).remove(function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)}).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),IL(t,this.group);var e=t.get("clip",!0)?sb(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var a=CL(i.getItemLayout(n));OL(a,i,n,r),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){IL(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Ip),ML=function(){},SL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return a(e,t),e.prototype.getDefaultShape=function(){return new ML},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Ro);function CL(t,e,n){var i=t.ends;return new SL({shape:{points:n?TL(i,t):i},z2:100})}function DL(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function OL(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,nl(t,r)}function TL(t,e){return N(t,function(t){return(t=t.slice())[1]=e.initBaseline,t})}var LL=function(){},AL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return a(e,t),e.prototype.getDefaultShape=function(){return new LL},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Ro);function IL(t,e,n,i){var r=t.getData().getLayout("largePoints"),a=new AL({shape:{points:r},__sign:1});e.add(a);var o=new AL({shape:{points:r},__sign:-1});e.add(o),PL(1,a,t),PL(-1,o,t),i&&(a.incremental=!0,o.incremental=!0),n&&n.push(a,o)}function PL(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),a=n.getModel("itemStyle").getItemStyle(kL);e.useStyle(a),e.style.fill=null,e.style.stroke=r}var EL=xL,RL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return a(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Sd);R(RL,lL,!0);var YL=RL;function jL(t){t&&W(t.series)&&j(t.series,function(t){Z(t)&&"k"===t.type&&(t.type="candlestick")})}var NL=["itemStyle","borderColor"],FL=["itemStyle","borderColor0"],VL=["itemStyle","color"],HL=["itemStyle","color0"],zL={seriesType:"candlestick",plan:Od(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?VL:HL)}function i(t,e){return e.get(t>0?NL:FL)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var a=e.getItemModel(r),o=e.getItemLayout(r).sign,s=a.getItemStyle();s.fill=n(o,a),s.stroke=i(o,a)||s.fill,I(e.ensureUniqueItemVisual(r,"style"),s)}}}}};function BL(t,e,n,i,r){return n>i?-1:n<i?1:e>0?t.get(r,e-1)<=i?1:-1:1}var WL={seriesType:"candlestick",plan:Od(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),a=hr(nt(t.get("barMaxWidth"),r),r),o=hr(nt(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?hr(s,r):Math.max(Math.min(r/2,a),o)}(t,n),r=["x","y"],a=n.getDimensionIndex(n.mapDimension(r[0])),o=N(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=o[0],l=o[1],u=o[2],c=o[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(a<0||o.length<4))return{progress:t.pipelineContext.large?function(t,n){for(var i,r,o=K_(4*t.count),h=0,d=[],f=[],p=n.getStore();null!=(r=t.next());){var m=p.get(a,r),g=p.get(s,r),v=p.get(l,r),y=p.get(u,r),_=p.get(c,r);isNaN(m)||isNaN(y)||isNaN(_)?(o[h++]=NaN,h+=3):(o[h++]=BL(p,r,g,v,l),d[0]=m,d[1]=y,i=e.dataToPoint(d,null,f),o[h++]=i?i[0]:NaN,o[h++]=i?i[1]:NaN,d[1]=_,i=e.dataToPoint(d,null,f),o[h++]=i?i[1]:NaN)}n.setLayout("largePoints",o)}:function(t,n){for(var r,o=n.getStore();null!=(r=t.next());){var h=o.get(a,r),d=o.get(s,r),f=o.get(l,r),p=o.get(u,r),m=o.get(c,r),g=Math.min(d,f),v=Math.max(d,f),y=x(g,h),_=x(v,h),b=x(p,h),w=x(m,h),k=[];M(k,_,0),M(k,y,1),k.push(C(w),C(_),C(b),C(y)),n.setItemLayout(r,{sign:BL(o,r,d,f,l),initBaseline:d>f?_[1]:y[1],ends:k,brushRect:S(p,m,h)})}function x(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function M(t,e,n){var r=e.slice(),a=e.slice();r[0]=up(r[0]+i/2,1,!1),a[0]=up(a[0]-i/2,1,!0),n?t.push(r,a):t.push(a,r)}function S(t,e,n){var r=x(t,n),a=x(e,n);return r[0]-=i/2,a[0]-=i/2,{x:r[0],y:r[1],width:i,height:a[1]-r[1]}}function C(t){return t[0]=up(t[0],1),t}}}}};function UL(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}var GL=function(t){function e(e,n){var i=t.call(this)||this,r=new H_(e,n),a=new ar;return i.add(r),i.add(a),i.updateData(e,n),i}return a(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),a=0;a<i;a++){var o=jm(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-a/i*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(o)}UL(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var a=i[r];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}UL(n,t)},e.prototype.highlight=function(){Ns(this)},e.prototype.downplay=function(){Fs(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),a=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),s=Nm(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=a.getModel("emphasis");r.setScale(s),r.traverse(function(t){t.setStyle("fill",u)});var h=Fm(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var f={};f.showEffectOn=i.get("showEffectOn"),f.rippleScale=a.get(["rippleEffect","scale"]),f.brushType=a.get(["rippleEffect","brushType"]),f.period=1e3*a.get(["rippleEffect","period"]),f.effectOffset=e/t.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=o,f.color=u,f.rippleEffectColor=a.get(["rippleEffect","color"]),f.rippleNumber=a.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===t&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,Qs(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(ar),qL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(){this._symbolDraw=new U_(GL)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=yb("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e,n=t.coordinateSystem;n&&n.getRoamTransform&&(this.group.transform=(fi(e=[1,0,0,1,0,0],n.getRoamTransform()),e),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Ip),XL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){return Y_(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(Sd),ZL=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return a(e,t),e.prototype.createLine=function(t,e,n){return new jD(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");W(i)||(i=[i,i]);var a=t.getItemVisual(e,"style"),o=n.get("color")||a&&a.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=jm(r,-.5,-.5,1,1,o)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",o),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(o),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),a=1e3*e.get("period"),o=e.get("loop"),s=e.get("constantSpeed"),l=et(e.get("delay"),function(e){return e/t.count()*a/3});if(i.ignore=!0,this._updateAnimationPoints(i,r),s>0&&(a=this._getLineLength(i)/s*1e3),a!==this._period||o!==this._loop){i.stopAnimation();var u=void 0;u=U(l)?l(n):l,i.__t>0&&(u=-a*i.__t),this._animateSymbol(i,a,u,o)}this._period=a,this._loop=o}},e.prototype._animateSymbol=function(t,e,n,i){if(e>0){t.__t=0;var r=this,a=t.animate("",i).when(e,{__t:1}).delay(n).during(function(){r._updateSymbolPosition(t)});i||a.done(function(){r.remove(t)}),a.start()}},e.prototype._getLineLength=function(t){return Ot(t.__p1,t.__cp1)+Ot(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,a=[t.x,t.y],o=a.slice(),s=Ne,l=Fe;a[0]=s(e[0],i[0],n[0],r),a[1]=s(e[1],i[1],n[1],r);var u=l(e[0],i[0],n[0],r),c=l(e[1],i[1],n[1],r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*Ot(o,a),1===r&&(a[0]=o[0]+(a[0]-o[0])/2,a[1]=o[1]+(a[1]-o[1])/2)):t.scaleY=1===t.__lastT?2*Ot(e,a):this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=a[0],t.y=a[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(ar),KL=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return a(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new Sf({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;cl(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),a=n&&n.emphasisLineStyle,o=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");a=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),o=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=a,Qs(this,o,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(ar),JL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return a(e,t),e.prototype.createLine=function(t,e,n){return new KL(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++)i+=Ot(e[r-1],e[r]),n.push(i);if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var a,o=this._lastFrame;if(e<this._lastFramePercent){for(a=Math.min(o+1,r-1);a>=0&&!(i[a]<=e);a--);a=Math.min(a,r-2)}else{for(a=o;a<r&&!(i[a]>e);a++);a=Math.min(a-1,r-2)}var s=(e-i[a])/(i[a+1]-i[a]),l=n[a],u=n[a+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1],t.rotation=-Math.atan2(u[1]-l[1],u[0]-l[0])-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},e}(ZL),QL=function(){this.polyline=!1,this.curveness=0,this.segs=[]},$L=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new QL},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var a=i[n++];if(a>0){t.moveTo(i[n++],i[n++]);for(var o=1;o<a;o++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];t.moveTo(s,l),r>0?t.quadraticCurveTo((s+u)/2-(l-c)*r,(l+c)/2-(u-s)*r,u,c):t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,a=this.style.lineWidth;if(n.polyline)for(var o=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],c=i[s++],h=1;h<l;h++)if(go(u,c,d=i[s++],f=i[s++],a,t,e))return o;o++}else for(o=0,s=0;s<i.length;){u=i[s++],c=i[s++];var d=i[s++],f=i[s++];if(r>0){if(yo(u,c,(u+d)/2-(c-f)*r,(c+f)/2-(d-u)*r,d,f,a,t,e))return o}else if(go(u,c,d,f,a,t,e))return o;o++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(t=n[0],e=n[1])?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o<e.length;){var s=e[o++],l=e[o++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),a=Math.max(l,a)}t=this._rect=new Ni(n,i,r,a)}return t},e}(Ro),tA=function(){function t(){this.group=new ar}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var a=r.length,o=new Float32Array(a+i.length);o.set(r),o.set(i,a),n.setShape({segs:o})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new $L({cursor:"default"});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var a=fs(t);a.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){a.dataIndex=null;var n=t.hoverDataIdx;n>0&&(a.dataIndex=n+t.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),eA={seriesType:"lines",plan:Od(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,a){var o=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var f=t.getLineCoords(c,o);n&&(s[h++]=f);for(var p=0;p<f;p++)d=e.dataToPoint(o[p],!1,d),s[h++]=d[0],s[h++]=d[1]}a.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var m=a.getItemModel(c),g=(f=t.getLineCoords(c,o),[]);if(n)for(var v=0;v<f;v++)g.push(e.dataToPoint(o[v]));else{g[0]=e.dataToPoint(o[0]),g[1]=e.dataToPoint(o[1]);var y=m.get(["lineStyle","curveness"]);+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}a.setItemLayout(c,g)}}}}}},nA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),a=t.get("zlevel"),o=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(a).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o>0&&(l||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&sb(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var a=eA.reset(t,e,n);a.progress&&a.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),a=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new tA:new HD(r?i?JL:KL:i?ZL:jD),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Ip),iA="undefined"==typeof Uint32Array?Array:Uint32Array,rA="undefined"==typeof Float64Array?Array:Float64Array;function aA(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=N(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),A([e,t[0],t[1]])}))}var oA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(e,t),e.prototype.init=function(e){e.data=e.data||[],aA(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(aA(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=dt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=dt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var a=this._getCoordsFromItemModel(t);for(r=0;r<a.length;r++)e[r]=e[r]||[],e[r][0]=a[r][0],e[r][1]=a[r][1];return a.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),X(t[0])){for(var n=t.length,i=new iA(n),r=new rA(n),a=0,o=0,s=0,l=0;l<n;){s++;var u=t[l++];i[o++]=a+e,i[o++]=u;for(var c=0;c<u;c++){var h=t[l++],d=t[l++];r[a++]=h,r[a++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,o),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new O_(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var a=t.value;return null!=a?a instanceof Array?a[r]:a:void 0}),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var a=i.get("fromName"),o=i.get("toName"),s=[];return null!=a&&s.push(a),null!=o&&s.push(o),nd("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Sd);function sA(t){return t instanceof Array||(t=[t,t]),t}var lA={seriesType:"lines",reset:function(t){var e=sA(t.get("symbol")),n=sA(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=sA(n.getShallow("symbol",!0)),r=sA(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},uA=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=m.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,a){var o=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var f=0;f<d;++f){var p=t[f],m=p[0],g=p[1],v=i(p[2]);h.globalAlpha=v,h.drawImage(o,m-u,g-u)}if(!c.width||!c.height)return c;for(var y=h.getImageData(0,0,c.width,c.height),_=y.data,b=0,w=_.length,k=this.minOpacity,x=this.maxOpacity-k;b<w;){v=_[b+3]/256;var M=4*Math.floor(255*v);if(v>0){var S=a(v)?s:l;v>0&&(v=v*x+k),_[b++]=S[M],_[b++]=S[M+1],_[b++]=S[M+2],_[b++]=S[M+3]*v*256}else b+=4}return h.putImageData(y,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=m.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,o=0;o<256;o++)t[e](o/255,!0,r),i[a++]=r[0],i[a++]=r[1],i[a++]=r[2],i[a++]=r[3];return i},t}();function cA(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var hA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):cA(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(cA(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){xp(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var a,o,s,l,u=t.coordinateSystem;if(lb(u,"cartesian2d")){var c=u.getAxis("x"),h=u.getAxis("y");a=c.getBandWidth(),o=h.getBandWidth(),s=c.scale.getExtent(),l=h.scale.getExtent()}for(var d=this.group,f=t.getData(),p=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),g=t.getModel(["select","itemStyle"]).getItemStyle(),v=t.get(["itemStyle","borderRadius"]),y=wl(t),_=t.getModel("emphasis"),b=_.get("focus"),w=_.get("blurScope"),k=_.get("disabled"),x=lb(u,"cartesian2d")?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],M=n;M<i;M++){var S=void 0,C=f.getItemVisual(M,"style");if(lb(u,"cartesian2d")){var D=f.get(x[0],M),O=f.get(x[1],M);if(isNaN(f.get(x[2],M))||D<s[0]||D>s[1]||O<l[0]||O>l[1])continue;var T=u.dataToPoint([D,O]);S=new Ko({shape:{x:Math.floor(Math.round(T[0])-a/2),y:Math.floor(Math.round(T[1])-o/2),width:Math.ceil(a),height:Math.ceil(o)},style:C})}else{if(isNaN(f.get(x[1],M)))continue;S=new Ko({z2:1,shape:u.dataToRect([f.get(x[0],M)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(M),A=L.getModel("emphasis");p=A.getModel("itemStyle").getItemStyle(),m=L.getModel(["blur","itemStyle"]).getItemStyle(),g=L.getModel(["select","itemStyle"]).getItemStyle(),v=L.get(["itemStyle","borderRadius"]),b=A.get("focus"),w=A.get("blurScope"),k=A.get("disabled"),y=wl(L)}S.shape.r=v;var I=t.getRawValue(M),P="-";I&&null!=I[2]&&(P=I[2]+""),bl(S,y,{labelFetcher:t,labelDataIndex:M,defaultOpacity:C.opacity,defaultText:P}),S.ensureState("emphasis").style=p,S.ensureState("blur").style=m,S.ensureState("select").style=g,Qs(S,b,w,k),S.incremental=r,r&&(S.states.emphasis.hoverLayer=!0),d.add(S),f.setItemGraphicEl(M,S),this._progressiveEls&&this._progressiveEls.push(S)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,o=e.getData(),s=this._hmLayer||this._hmLayer||new uA;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),f=Math.min(l.height+l.y,i.getHeight()),p=d-c,m=f-h,g=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],v=o.mapArray(g,function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=h,r.push(i),r}),y=n.getExtent(),_="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=N(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,a=0;return function(t){var i;for(i=a;i<r;i++)if((o=e[i].interval)[0]<=t&&t<=o[1]){a=i;break}if(i===r)for(i=a-1;i>=0;i--){var o;if((o=e[i].interval)[0]<=t&&t<=o[1]){a=i;break}}return i>=0&&i<r&&n[i]}}(y,n.getPieceList(),n.option.selected);s.update(v,p,m,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:a.color.getColorMapper()},_);var b=new zo({style:{width:p,height:m,x:c,y:h,image:s.canvas},silent:!0});this.group.add(b)},e.type="heatmap",e}(Ip),dA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.getInitialData=function(t,e){return Y_(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=xc.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Sd),fA=["itemStyle","borderWidth"],pA=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],mA=new Jd;function gA(t,e,n,i){var r=t.getItemLayout(e),a=n.get("symbolRepeat"),o=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var a,o=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[o.wh]<=0);if(W(s)){var h=[vA(l,s[0])-u,vA(l,s[1])-u];h[1]<h[0]&&h.reverse(),a=h[c]}else a=null!=s?vA(l,s)-u:e?i.coordSysExtent[o.index][c]-u:n[o.wh];r.boundingLength=a,e&&(r.repeatCutLength=n[o.wh]),r.pxSign=a>0?1:-1}(n,a,r,i,h),function(t,e,n,i,r,a,o,s,l,u){var c,h=l.valueDim,d=l.categoryDim,f=Math.abs(n[d.wh]),p=t.getItemVisual(e,"symbolSize");(c=W(p)?p.slice():null==p?["100%","100%"]:[p,p])[d.index]=hr(c[d.index],f),c[h.index]=hr(c[h.index],i?f:Math.abs(a)),u.symbolSize=c,(u.symbolScale=[c[0]/s,c[1]/s])[h.index]*=(l.isHorizontal?-1:1)*o}(t,e,r,a,0,h.boundingLength,h.pxSign,u,i,h),function(t,e,n,i,r){var a=t.get(fA)||0;a&&(mA.attr({scaleX:e[0],scaleY:e[1],rotation:n}),mA.updateTransform(),a/=mA.getLineScale(),a*=e[i.valueDim.index]),r.valueLineWidth=a||0}(n,h.symbolScale,l,i,h);var d=h.symbolSize,f=Fm(n.get("symbolOffset"),d);return function(t,e,n,i,r,a,o,s,l,u,c,h){var d=c.categoryDim,f=c.valueDim,p=h.pxSign,m=Math.max(e[f.index]+s,0),g=m;if(i){var v=Math.abs(l),y=et(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var b=hr(y,e[f.index]),w=Math.max(m+2*b,0),k=_?0:2*b,x=Cr(i),M=x?i:IA((v+k)/w);w=m+2*(b=(v-M*m)/2/(_?M:Math.max(M-1,1))),k=_?0:2*b,x||"fixed"===i||(M=u?IA((Math.abs(u)+k)/w):0),g=M*w-k,h.repeatTimes=M,h.symbolMargin=b}var S=p*(g/2),C=h.pathPosition=[];C[d.index]=n[d.wh]/2,C[f.index]="start"===o?S:"end"===o?l-S:l/2,a&&(C[0]+=a[0],C[1]+=a[1]);var D=h.bundlePosition=[];D[d.index]=n[d.xy],D[f.index]=n[f.xy];var O=h.barRectShape=I({},n);O[f.wh]=p*Math.max(Math.abs(n[f.wh]),Math.abs(C[f.index]+S)),O[d.wh]=n[d.wh];var T=h.clipShape={};T[d.xy]=-n[d.xy],T[d.wh]=c.ecSize[d.wh],T[f.xy]=0,T[f.wh]=n[f.wh]}(n,d,r,a,0,f,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function vA(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function yA(t){var e=t.symbolPatternSize,n=jm(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function _A(t,e,n,i){var r=t.__pictorialBundle,a=n.pathPosition,o=e.valueDim,s=n.repeatTimes||0,l=0,u=n.symbolSize[e.valueDim.index]+n.valueLineWidth+2*n.symbolMargin;for(TA(t,function(t){t.__pictorialAnimationIndex=l,t.__pictorialRepeatTimes=s,l<s?LA(t,null,d(l),n,i):LA(t,null,{scaleX:0,scaleY:0},n,i,function(){r.remove(t)}),l++});l<s;l++){var c=yA(n);c.__pictorialAnimationIndex=l,c.__pictorialRepeatTimes=s,r.add(c);var h=d(l);LA(c,{x:h.x,y:h.y,scaleX:0,scaleY:0},{scaleX:h.scaleX,scaleY:h.scaleY,rotation:h.rotation},n,i)}function d(t){var e=a.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=s-1-t),e[o.index]=u*(r-s/2+.5)+a[o.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function bA(t,e,n,i){var r=t.__pictorialBundle,a=t.__pictorialMainPath;a?LA(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(a=t.__pictorialMainPath=yA(n),r.add(a),LA(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function wA(t,e,n){var i=I({},e.barRectShape),r=t.__pictorialBarRect;r?LA(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Ko({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function kA(t,e,n,r){if(n.symbolClip){var a=t.__pictorialClipPath,o=I({},n.clipShape),s=e.valueDim,l=n.animationModel,u=n.dataIndex;if(a)cl(a,{shape:o},l,u);else{o[s.wh]=0,a=new Ko({shape:o}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var c={};c[s.wh]=n.clipShape[s.wh],i[r?"updateProps":"initProps"](a,{shape:c},l,u)}}}function xA(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=MA,n.isAnimationEnabled=SA,n}function MA(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function SA(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function CA(t,e,n,i){var r=new ar,a=new ar;return r.add(a),r.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?_A(r,e,n):bA(r,0,n),wA(r,n,i),kA(r,e,n,i),r.__pictorialShapeStr=OA(t,n),r.__pictorialSymbolMeta=n,r}function DA(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var a=[];TA(i,function(t){a.push(t)}),i.__pictorialMainPath&&a.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),j(a,function(t){fl(t,{scaleX:0,scaleY:0},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function OA(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function TA(t,e,n){j(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function LA(t,e,n,r,a,o){e&&t.attr(e),r.symbolClip&&!a?n&&t.attr(n):n&&i[a?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,o)}function AA(t,e,n){var i=n.dataIndex,r=n.itemModel,a=r.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=a.get("focus"),h=a.get("blurScope"),d=a.get("scale");TA(t,function(t){if(t instanceof zo){var e=t.style;t.useStyle(I({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=o,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2});var f=e.valueDim.posDesc[+(n.boundingLength>0)];bl(t.__pictorialBarRect,wl(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:N_(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),Qs(t,c,h,a.get("disabled"))}function IA(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var PA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),a=this._data,o=t.coordinateSystem,s=o.getBaseAxis().isHorizontal(),l=o.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:pA[+s],categoryDim:pA[1-+s]};return r.diff(a).add(function(t){if(r.hasValue(t)){var e=xA(r,t),n=gA(r,t,e,u),a=CA(r,u,n);r.setItemGraphicEl(t,a),i.add(a),AA(a,u,n)}}).update(function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var o=xA(r,t),s=gA(r,t,o,u),l=OA(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){cl(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},n.animationModel,n.dataIndex),n.symbolRepeat?_A(t,e,n,!0):bA(t,0,n,!0),wA(t,n,!0),kA(t,e,n,!0)}(n,u,s):n=CA(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),AA(n,u,s)}else i.remove(n)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&DA(a,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){DA(i,fs(e).dataIndex,t,e)}):n.removeAll()},e.type="pictorialBar",e}(Ip),EA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return a(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Xl(Ib.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Ib),RA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,a=this.group,o=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}a.x=0,a.y=l.y+u[0];var h=new r_(this._layersSeries||[],o,c,c),d=[];function f(e,n,s){var l=r._layers;if("remove"!==e){for(var u,c,h=[],f=[],p=o[n].indices,m=0;m<p.length;m++){var g=i.getItemLayout(p[m]),v=g.x,y=g.y0,_=g.y;h.push(v,y),f.push(v,y+_),u=i.getItemVisual(p[m],"style")}var b=i.getItemLayout(p[0]),w=t.getModel("label").get("margin"),k=t.getModel("emphasis");if("add"===e){var x=d[n]=new ar;c=new rb({shape:{points:h,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),x.add(c),a.add(x),t.isAnimationEnabled()&&c.setClipPath(function(t,e,n){var i=new Ko({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return hl(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,function(){c.removeClipPath()}),i}(c.getBoundingRect(),t))}else c=(x=l[s]).childAt(0),a.add(x),d[n]=x,cl(c,{shape:{points:h,stackedOnPoints:f}},t),gl(c);bl(c,wl(t),{labelDataIndex:p[m-1],defaultText:i.getName(p[m-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var M=c.getTextContent();M&&(M.x=b.x-w,M.y=b.y0+b.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),nl(c,t),Qs(c,k.get("focus"),k.get("blurScope"),k.get("disabled"))}else a.remove(l[n])}h.add(z(f,this,"add")).update(z(f,this,"update")).remove(z(f,this,"remove")).execute(),this._layersSeries=o,this._layers=d},e.type="themeRiver",e}(Ip),YA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new vw(z(this.getData,this),z(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=Jr(t,function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]}),r=[];i.buckets.each(function(t,e){r.push({name:e,dataList:t})});for(var a=r.length,o=0;o<a;++o){for(var s=r[o].name,l=0;l<r[o].dataList.length;++l)n[u=r[o].dataList[l][0]+""]=o;for(var u in n)n.hasOwnProperty(u)&&n[u]!==o&&(n[u]=o,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",qr).models[0].get("type"),i=V(t.data,function(t){return void 0!==t[2]}),r=this.fixData(i||[]),a=[],o=this.nameMap=ht(),s=0,l=0;l<r.length;++l)a.push(r[l][2]),o.get(r[l][2])||(o.set(r[l][2],s),s++);var u=T_(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:s_(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new O_(u,this);return c.initData(r),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),a=Jr(n,function(e){return t.get("name",e)}),o=[];return a.buckets.each(function(e,n){e.sort(function(e,n){return t.get(r,e)-t.get(r,n)}),o.push({name:n,indices:e})}),o},e.prototype.getAxisTooltipData=function(t,e,n){W(t)||(t=t?[t]:[]);for(var i,r=this.getData(),a=this.getLayerSeries(),o=[],s=a.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=a[l].indices.length,d=0;d<h;++d){var f=r.get(t[0],a[l].indices[d]),p=Math.abs(f-e);p<=u&&(i=f,u=p,c=a[l].indices[d])}o.push(c)}return{dataIndices:o,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return nd("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(Sd);function jA(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var a=t.get("boundaryGap"),o=n.getAxis();i.boundaryGap=a,"horizontal"===o.orient?(a[0]=hr(a[0],r.height),a[1]=hr(a[1],r.height),NA(e,t,r.height-a[0]-a[1])):(a[0]=hr(a[0],r.width),a[1]=hr(a[1],r.width),NA(e,t,r.width-a[0]-a[1])),e.setLayout("layoutInfo",i)})}function NA(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,a=e.getLayerSeries(),o=t.mapDimension("single"),s=t.mapDimension("value"),l=N(a,function(e){return N(e.indices,function(e){var n=r.dataToPoint(t.get(o,e));return n[1]=t.get(s,e),n})}),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],a=0,o=0;o<n;++o){for(var s=0,l=0;l<e;++l)s+=t[l][o][1];s>a&&(a=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(a-i[u])/2;a=0;for(var c=0;c<n;++c){var h=i[c]+r[c];h>a&&(a=h)}return{y0:r,max:a}}(l),c=u.y0,h=n/u.max,d=a.length,f=a[0].indices.length,p=0;p<f;++p){t.setItemLayout(a[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:i=c[p]*h,y:l[0][p][1]*h});for(var m=1;m<d;++m)t.setItemLayout(a[m].indices[p],{layerIndex:m,x:l[m][p][0],y0:i+=l[m-1][p][1]*h,y:l[m][p][1]*h})}}var FA=function(t){function e(e,n,i,r){var a=t.call(this)||this;a.z2=2,a.textConfig={inside:!0},fs(a).seriesIndex=n.seriesIndex;var o=new ds({z2:4,silent:e.getModel().get(["label","silent"])});return a.setTextContent(o),a.updateData(!0,e,n,i,r),a}return a(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var a=this;fs(a).dataIndex=e.dataIndex;var o=e.getModel(),s=o.getModel("emphasis"),l=e.getLayout(),u=I({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var h=e.getVisual("decal");h&&(c.decal=ug(h,r));var d=fw(o.getModel("itemStyle"),u,!0);I(u,d),j(_s,function(t){var e=a.ensureState(t),n=o.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=fw(n,u);i&&(e.shape=i)}),t?(a.setShape(u),a.shape.r=l.r0,cl(a,{shape:{r:l.r}},n,e.dataIndex)):(cl(a,{shape:u},n),gl(a)),a.useStyle(c),this._updateLabel(n);var f=o.getShallow("cursor");f&&a.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var p=s.get("focus");Qs(this,"ancestor"===p?e.getAncestorsIndices():"descendant"===p?e.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),a=r.endAngle-r.startAngle,o=(r.startAngle+r.endAngle)/2,s=Math.cos(o),l=Math.sin(o),u=this,c=u.getTextContent(),h=this.node.dataIndex,d=i.get("minAngle")/180*Math.PI,f=i.get("show")&&!(null!=d&&Math.abs(a)<d);function p(t,e){var n=t.get(e);return null==n?i.get(e):n}c.ignore=!f,j(bs,function(i){var d=n.getModel("normal"===i?"label":[i,"label"]),f="normal"===i,m=f?c:c.ensureState(i),g=t.getFormattedLabel(h,i);f&&(g=g||e.node.name),m.style=kl(d,{},null,"normal"!==i,!0),g&&(m.style.text=g);var v=d.get("show");null==v||f||(m.ignore=!v);var y,_=p(d,"position"),b=f?u:u.states[i],w=b.style.fill;b.textConfig={outsideFill:"inherit"===d.get("color")?w:null,inside:"outside"!==_};var k=p(d,"distance")||0,x=p(d,"align");"outside"===_?(y=r.r+k,x=o>Math.PI/2?"right":"left"):x&&"center"!==x?"left"===x?(y=r.r0+k,o>Math.PI/2&&(x="right")):"right"===x&&(y=r.r-k,o>Math.PI/2&&(x="left")):(y=a===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,x="center"),m.style.align=x,m.style.verticalAlign=p(d,"verticalAlign")||"middle",m.x=y*s+r.cx,m.y=y*l+r.cy;var M=p(d,"rotate"),S=0;"radial"===M?(S=-o)<-Math.PI/2&&(S+=Math.PI):"tangential"===M?(S=Math.PI/2-o)>Math.PI/2?S-=Math.PI:S<-Math.PI/2&&(S+=Math.PI):X(M)&&(S=M*Math.PI/180),m.rotation=S}),c.dirtyStyle()},e}(mf),VA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var a=t.getData(),o=a.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode(function(t){c.push(t)}),function(i,r){function s(t){return t.getId()}function c(s,c){!function(i,r){if(u||!i||i.getValue()||(i=null),i!==o&&r!==o)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),a.setItemGraphicEl(i.dataIndex,r.piece)):(c=r)&&c.piece&&(l.remove(c.piece),c.piece=null);else if(i){var s=new FA(i,t,e,n);l.add(s),a.setItemGraphicEl(i.dataIndex,s)}var c}(null==s?null:i[s],null==c?null:r[c])}0===i.length&&0===r.length||new r_(r,i,s,s).add(c).update(c).remove(B(c,null)).execute()}(c,this._oldChildren||[]),function(i,a){a.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new FA(i,t,e,n),l.add(r.virtualPiece)),a.piece.off("click"),r.virtualPiece.on("click",function(t){r._rootToNode(a.parentNode)})):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(o,s),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var a=i.getModel(),o=a.get("link");o&&Eu(o,a.get("target",!0)||"_blank")}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,a=Math.sqrt(i*i+r*r);return a<=n.r&&a>=n.r0}},e.type="sunburst",e}(Ip);function HA(t){var e=0;j(t.children,function(t){HA(t);var n=t.value;W(n)&&(n=n[0]),e+=n});var n=t.value;W(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),W(t.value)?t.value[0]=n:t.value=n}var zA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};HA(n);var i=this._levelModels=N(t.levels||[],function(t){return new Ul(t,this,e)},this),r=tC.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=r.getNodeByDataIndex(e),a=i[n.depth];return a&&(t.parentModel=a),t})});return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=rC(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){cC(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Sd),BA=Math.PI/180;function WA(t,e,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),i=t.get("radius");W(i)||(i=[0,i]),W(e)||(e=[e,e]);var r=n.getWidth(),a=n.getHeight(),o=Math.min(r,a),s=hr(e[0],r),l=hr(e[1],a),u=hr(i[0],o/2),c=hr(i[1],o/2),h=-t.get("startAngle")*BA,d=t.get("minAngle")*BA,f=t.getData().tree.root,p=t.getViewRoot(),m=p.depth,g=t.get("sort");null!=g&&UA(p,g);var v=0;j(p.children,function(t){!isNaN(t.getValue())&&v++});var y=p.getValue(),_=Math.PI/(y||v)*2,b=p.depth>0,w=(c-u)/(p.height-(b?-1:1)||1),k=t.get("clockwise"),x=t.get("stillShowZeroSum"),M=k?1:-1;if(b){var S=2*Math.PI;f.setLayout({angle:S,startAngle:h,endAngle:h+S,clockwise:k,cx:s,cy:l,r0:u,r:u+w})}!function e(n,i){if(n){var r=i;if(n!==f){var a=n.getValue(),c=0===y&&x?_:a*_;c<d&&(c=d),r=i+M*c;var h=n.depth-m-(b?-1:1),p=u+w*h,g=u+w*(h+1),v=t.getLevelModel(n);if(v){var S=v.get("r0",!0),C=v.get("r",!0),D=v.get("radius",!0);null!=D&&(S=D[0],C=D[1]),null!=S&&(p=hr(S,o/2)),null!=C&&(g=hr(C,o/2))}n.setLayout({angle:c,startAngle:i,endAngle:r,clockwise:k,cx:s,cy:l,r0:p,r:g})}if(n.children&&n.children.length){var O=0;j(n.children,function(t){O+=e(t,i+O)})}return r-i}}(p,h)})}function UA(t,e){var n=t.children||[];t.children=function(t,e){if(U(e)){var n=N(t,function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}});return n.sort(function(t,n){return e(t.params,n.params)}),N(n,function(e){return t[e.index]})}var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}(n,e),n.length&&j(t.children,function(t){UA(t,e)})}function GA(t){var e={};t.eachSeriesByType("sunburst",function(t){var n=t.getData(),i=n.tree;i.eachNode(function(r){var a=r.getModel().getModel("itemStyle").getItemStyle();a.fill||(a.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var a=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&G(a)&&(a=hn(a,(t.depth-1)/(i-1)*.5)),a}(r,t,i.root.height)),I(n.ensureUniqueItemVisual(r.dataIndex,"style"),a)})})}var qA={color:"fill",borderColor:"stroke"},XA={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},ZA=Br(),KA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Y_(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=ZA(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Sd);function JA(t,e){return e=e||[0,0],N(["x","y"],function(n,i){var r=this.getAxis(n),a=e[i],o=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o))},this)}function QA(t,e){return e=e||[0,0],N([0,1],function(n){var i=e[n],r=t[n]/2,a=[],o=[];return a[n]=i-r,o[n]=i+r,a[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])},this)}function $A(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function tI(t,e){return e=e||[0,0],N(["Radius","Angle"],function(n,i){var r=this["get"+n+"Axis"](),a=e[i],o=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o));return"Angle"===n&&(s=s*Math.PI/180),s},this)}function eI(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||mt(t,"text")))}function nI(t,e,n){var i,r,a,o=t;if("text"===e)a=o;else{a={},mt(o,"text")&&(a.text=o.text),mt(o,"rich")&&(a.rich=o.rich),mt(o,"textFill")&&(a.fill=o.textFill),mt(o,"textStroke")&&(a.stroke=o.textStroke),mt(o,"fontFamily")&&(a.fontFamily=o.fontFamily),mt(o,"fontSize")&&(a.fontSize=o.fontSize),mt(o,"fontStyle")&&(a.fontStyle=o.fontStyle),mt(o,"fontWeight")&&(a.fontWeight=o.fontWeight),r={type:"text",style:a,silent:!0},i={};var s=mt(o,"textPosition");n?i.position=s?o.textPosition:"inside":s&&(i.position=o.textPosition),mt(o,"textPosition")&&(i.position=o.textPosition),mt(o,"textOffset")&&(i.offset=o.textOffset),mt(o,"textRotation")&&(i.rotation=o.textRotation),mt(o,"textDistance")&&(i.distance=o.textDistance)}return iI(a,t),j(a.rich,function(t){iI(t,t)}),{textConfig:i,textContent:r}}function iI(t,e){e&&(e.font=e.textFont||e.font,mt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),mt(e,"textAlign")&&(t.align=e.textAlign),mt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),mt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),mt(e,"textWidth")&&(t.width=e.textWidth),mt(e,"textHeight")&&(t.height=e.textHeight),mt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),mt(e,"textPadding")&&(t.padding=e.textPadding),mt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),mt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),mt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),mt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),mt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),mt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),mt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function rI(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,a=t.fill||"#000";aI(i,e);var o=null==i.textFill;return r?o&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=a),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(o&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,j(e.rich,function(t){aI(t,t)}),i}function aI(t,e){e&&(mt(e,"fill")&&(t.textFill=e.fill),mt(e,"stroke")&&(t.textStroke=e.fill),mt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),mt(e,"font")&&(t.font=e.font),mt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),mt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),mt(e,"fontSize")&&(t.fontSize=e.fontSize),mt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),mt(e,"align")&&(t.textAlign=e.align),mt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),mt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),mt(e,"width")&&(t.textWidth=e.width),mt(e,"height")&&(t.textHeight=e.height),mt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),mt(e,"padding")&&(t.textPadding=e.padding),mt(e,"borderColor")&&(t.textBorderColor=e.borderColor),mt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),mt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),mt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),mt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),mt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),mt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),mt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),mt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),mt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),mt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var oI={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},sI=H(oI),lI=(F(Ci,function(t,e){return t[e]=1,t},{}),Ci.join(", "),["","style","shape","extra"]),uI=Br();function cI(t,e,n,i,r){var a=t+"Animation",o=ll(t,i,r)||{},s=uI(e).userDuring;return o.duration>0&&(o.during=s?z(vI,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=t),I(o,n[a]),o}function hI(t,e,n,i){var r=(i=i||{}).dataIndex,a=i.isInit,o=i.clearStyle,s=n.isAnimationEnabled(),l=uI(t),u=e.style;l.userDuring=e.during;var c={},h={};if(function(t,e,n){for(var i=0;i<sI.length;i++){var r=sI[i],a=oI[r],o=e[r];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(i=0;i<Ci.length;i++){var s=Ci[i];null!=e[s]&&(n[s]=e[s])}}(0,e,h),_I("shape",e,h),_I("extra",e,h),!a&&s&&(function(t,e,n){for(var i=e.transition,r=pI(i)?Ci:Ar(i||[]),a=0;a<r.length;a++){var o=r[a];"style"!==o&&"shape"!==o&&"extra"!==o&&(n[o]=t[o])}}(t,e,c),yI("shape",t,e,c),yI("extra",t,e,c),function(t,e,n,i){if(n){var r,a=t.style;if(a){var o=n.transition,s=e.transition;if(o&&!pI(o)){var l=Ar(o);!r&&(r=i.style={});for(var u=0;u<l.length;u++)r[f=l[u]]=a[f]}else if(t.getAnimationStyleProps&&(pI(s)||pI(o)||E(s,"style")>=0)){var c=t.getAnimationStyleProps(),h=c?c.style:null;if(h){!r&&(r=i.style={});var d=H(n);for(u=0;u<d.length;u++){var f;h[f=d[u]]&&(r[f]=a[f])}}}}}}(t,e,u,c)),h.style=u,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,a=0;a<r.length;a++){var o=r[a];"style"===o.targetName&&o.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,h,o),function(t,e){mt(e,"silent")&&(t.silent=e.silent),mt(e,"ignore")&&(t.ignore=e.ignore),t instanceof Ra&&mt(e,"invisible")&&(t.invisible=e.invisible),t instanceof Ro&&mt(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(a){var d={};j(lI,function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(d[t]=d[t]||{}),I(t?d[t]:d,n.enterFrom))});var f=cI("enter",t,e,n,r);f.duration>0&&t.animateFrom(d,f)}else!function(t,e,n,i,r){if(r){var a=cI("update",t,e,i,n);a.duration>0&&t.animateFrom(r,a)}}(t,e,r||0,n,c);dI(t,e),u?t.dirty():t.markRedraw()}function dI(t,e){for(var n=uI(t).leaveToProps,i=0;i<lI.length;i++){var r=lI[i],a=r?e[r]:e;a&&a.leaveTo&&(n||(n=uI(t).leaveToProps={}),r&&(n[r]=n[r]||{}),I(r?n[r]:n,a.leaveTo))}}function fI(t,e,n,i){if(t){var r=t.parent,a=uI(t).leaveToProps;if(a){var o=cI("update",t,e,n,0);o.done=function(){r.remove(t),i&&i()},t.animateTo(a,o)}else r.remove(t),i&&i()}}function pI(t){return"all"===t}var mI={},gI={setTransform:function(t,e){return mI.el[t]=e,this},getTransform:function(t){return mI.el[t]},setShape:function(t,e){var n=mI.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=mI.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=mI.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=mI.el.style;if(e)return e[t]},setExtra:function(t,e){return(mI.el.extra||(mI.el.extra={}))[t]=e,this},getExtra:function(t){var e=mI.el.extra;if(e)return e[t]}};function vI(){var t=this.el;if(t){var e=uI(t).userDuring,n=this.userDuring;e===n?(mI.el=t,n(gI)):this.el=this.userDuring=null}}function yI(t,e,n,i){var r=n[t];if(r){var a,o=e[t];if(o){var s=n.transition,l=r.transition;if(l)if(!a&&(a=i[t]={}),pI(l))I(a,o);else for(var u=Ar(l),c=0;c<u.length;c++)a[d=u[c]]=f=o[d];else if(pI(s)||E(s,t)>=0){!a&&(a=i[t]={});var h=H(o);for(c=0;c<h.length;c++){var d,f;bI(r[d=h[c]],f=o[d])&&(a[d]=f)}}}}}function _I(t,e,n){var i=e[t];if(i)for(var r=n[t]={},a=H(i),o=0;o<a.length;o++){var s=a[o];r[s]=Nn(i[s])}}function bI(t,e){return Y(t)?t!==e:null!=t&&isFinite(t)}var wI=Br(),kI=["percent","easing","shape","style","extra"];function xI(t){t.stopAnimation("keyframe"),t.attr(wI(t))}function MI(t,e,n){if(n.isAnimationEnabled()&&e)if(W(e))j(e,function(e){MI(t,e,n)});else{var i=e.keyframes,r=e.duration;if(n&&null==r){var a=ll("enter",n,0);r=a&&a.duration}if(i&&r){var o=wI(t);j(lI,function(n){var a;n&&!t[n]||(i.sort(function(t,e){return t.percent-e.percent}),j(i,function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=H(l);if(n||(u=V(u,function(t){return E(kI,t)<0})),u.length){a||((a=t.animate(n,e.loop,!0)).scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==a&&s[c].targetName===a.targetName&&s[c].stopTracks(u);n&&(o[n]=o[n]||{});var h=n?o[n]:o;j(u,function(e){h[e]=((n?t[n]:t)||{})[e]}),a.whenWithKeys(r*i.percent,l,u,i.easing)}}}),a&&a.delay(e.delay||0).duration(r).start(e.easing))})}}}var SI=["normal","emphasis","blur","select"],CI={normal:["itemStyle"],emphasis:["emphasis","itemStyle"],blur:["blur","itemStyle"],select:["select","itemStyle"]},DI={normal:["label"],emphasis:["emphasis","label"],blur:["blur","label"],select:["select","label"]},OI=["x","y"],TI={normal:{},emphasis:{},blur:{},select:{}},LI={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:z(JA,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:z(QA,t)}}},singleAxis:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:z($A,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),a=n.dataToAngle(i[1]),o=t.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:z(tI,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function AI(t){return t instanceof Ro}function II(t){return t instanceof Ra}var PI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,a=t.getData(),o=this.group,s=NI(t,a,e,n);r||o.removeAll(),a.diff(r).add(function(e){VI(n,null,e,s(e,i),t,o,a)}).remove(function(e){var n=r.getItemGraphicEl(e);fI(n,ZA(n).option,t)}).update(function(e,l){var u=r.getItemGraphicEl(l);VI(n,u,e,s(e,i),t,o,a)}).execute();var l=t.get("clip",!0)?sb(t.coordinateSystem,!1,t):null;l?o.setClipPath(l):o.removeClipPath(),this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var a=e.getData(),o=NI(e,a,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=VI(null,null,u,o(u,r),e,this.group,a);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){xp(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(Ip);function EI(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=ZI(i);e=np(a,null,r,i.layout||"center"),ZA(e).customPathData=a}else if("image"===n)e=new zo({}),ZA(e).customImagePath=t.style.image;else if("text"===n)e=new ds({});else if("group"===n)e=new ar;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=ep(n);o||pc(""),e=new o}return ZA(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function RI(t,e,n,i,r,a,o){xI(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=OI);var l=i&&i.style;if(l){if("text"===e.type){var u=l;mt(u,"textFill")&&(u.fill=u.textFill),mt(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,h=AI(e)?l.decal:null;t&&h&&(h.dirty=!0,c=ug(h,t)),l.__decalPattern=c}II(e)&&l&&(c=l.__decalPattern)&&(l.decal=c),hI(e,i,a,{dataIndex:n,isInit:o,clearStyle:!0}),MI(e,i.keyframeAnimation,a)}function YI(t,e,n,i,r){var a=e.isGroup?null:e,o=r&&r[t].cfg;if(a){var s=a.ensureState(t);if(!1===i){var l=a.getState(t);l&&(l.style=null)}else s.style=i||null;o&&(s.textConfig=o),Rs(a)}}function jI(t,e,n){var i="normal"===n,r=i?e:WI(e,n),a=r?r.z2:null;null!=a&&((i?t:t.ensureState(n)).z2=a||0)}function NI(t,e,n,i){var r=t.get("renderItem"),a=t.coordinateSystem,o={};a&&(o=a.prepareCustoms?a.prepareCustoms(a):LI[a.type](a));for(var s,l,u=P({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){null==i&&(i=s);var r=e.getItemVisual(i,"style"),a=r&&r.fill,o=r&&r.opacity,l=y(i,"normal").getItemStyle();null!=a&&(l.fill=a),null!=o&&(l.opacity=o);var u={inheritColor:G(a)?a:"#000"},c=_(i,"normal"),h=kl(c,null,u,!1,!0);h.text=c.getShallow("show")?nt(t.getFormattedLabel(i,"normal"),N_(e,i)):null;var d=xl(c,u,!1);return w(n,l),l=rI(l,h,d),n&&b(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s);var i=e.getDimensionInfo(t=t||0);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var a=e.get(i.name,n),o=i&&i.ordinalMeta;return o?o.categories[a]:a},styleEmphasis:function(n,i){null==i&&(i=s);var r=y(i,"emphasis").getItemStyle(),a=_(i,"emphasis"),o=kl(a,null,null,!0,!0);o.text=a.getShallow("show")?it(t.getFormattedLabel(i,"emphasis"),t.getFormattedLabel(i,"normal"),N_(e,i)):null;var l=xl(a,null,!0);return w(n,r),r=rI(r,o,l),n&&b(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),mt(qA,t)){var i=e.getItemVisual(n,"style");return i?i[qA[t]]:null}if(mt(XA,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===a.type)return function(t){var e=[],n=t.axis;if("category"===n.type){for(var i=n.getBandWidth(),r=0;r<t.count;r++)e.push(P({bandWidth:i,axisKey:"axis0",stackId:"__ec_stack_"+r},t));var a=Cb(e),o=[];for(r=0;r<t.count;r++){var s=a.axis0["__ec_stack_"+r];s.offsetCenter=s.offset+s.width/2,o.push(s)}return o}}(P({axis:a.getBaseAxis()},t))},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Ol(t,n)}},o.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:FI(t.getData())},h={},d={},f={},p={},m=0;m<SI.length;m++){var g=SI[m];f[g]=t.getModel(CI[g]),p[g]=t.getModel(DI[g])}function v(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=v(t).getModel(CI[n])):v(t).getModel(CI[n]):f[n]}function _(t,n){return e.hasItemOption?t===s?d[n]||(d[n]=v(t).getModel(DI[n])):v(t).getModel(DI[n]):p[n]}return function(t,n){return s=t,l=null,h={},d={},r&&r(P({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function b(t,e){for(var n in e)mt(e,n)&&(t[n]=e[n])}function w(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function FI(t){var e={};return j(t.dimensions,function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}}),e}function VI(t,e,n,i,r,a,o){if(i){var s=HI(t,e,n,i,r,a);return s&&o.setItemGraphicEl(n,s),s&&Qs(s,i.focus,i.blurScope,i.emphasisDisabled),s}a.remove(e)}function HI(t,e,n,i,r,a){var o=-1,s=e;e&&zI(e,i,r)&&(o=E(a.childrenRef(),e),e=null);var l,u,c=!e,h=e;h?h.clearStates():(h=EI(i),s&&((u=h).copyTransform(l=s),II(u)&&II(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,AI(u)&&AI(l)&&u.setShape(l.shape)))),!1===i.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),TI.normal.cfg=TI.normal.conOpt=TI.emphasis.cfg=TI.emphasis.conOpt=TI.blur.cfg=TI.blur.conOpt=TI.select.cfg=TI.select.conOpt=null,TI.isLegacy=!1,function(t,e,n,i,r,a){if(!t.isGroup){BI(n,null,a),BI(n,"emphasis",a);var o=a.normal.conOpt;if(null!=o||null!=a.emphasis.conOpt||null!=a.select.conOpt||null!=a.blur.conOpt){var s=t.getTextContent();if(!1===o)s&&t.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},s?s.clearStates():(s=EI(o),t.setTextContent(s)),RI(null,s,e,o,null,i,r);for(var l=o&&o.style,u=0;u<SI.length;u++){var c=SI[u];"normal"!==c&&YI(c,s,0,UI(o,a[c].conOpt,c),null)}l?s.dirty():s.markRedraw()}}}}(h,n,i,r,c,TI),function(t,e,n,i,r){var a=n.clipPath;if(!1===a)t&&t.getClipPath()&&t.removeClipPath();else if(a){var o=t.getClipPath();o&&zI(o,a,i)&&(o=null),o||(o=EI(a),t.setClipPath(o)),RI(null,o,e,a,null,i,r)}}(h,n,i,r,c),RI(t,h,n,i,TI,r,c),mt(i,"info")&&(ZA(h).info=i.info);for(var d=0;d<SI.length;d++){var f=SI[d];"normal"!==f&&YI(f,h,0,UI(i,WI(i,f),f),TI)}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZLevel;i.z=n.currentZ,i.zlevel=r;var a=e.z2;null!=a&&(i.z2=a||0);for(var o=0;o<SI.length;o++)jI(i,e,SI[o])}}(h,i,r),"group"===i.type&&function(t,e,n,i,r){var a=i.children,o=a?a.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(o||l||u){if(l)return c={api:t,oldChildren:e.children()||[],newChildren:a||[],dataIndex:n,seriesModel:r,group:e},void new r_(c.oldChildren,c.newChildren,GI,GI,c).add(qI).update(qI).remove(XI).execute();var c;u&&e.removeAll();for(var h=0;h<o;h++)a[h]&&HI(t,e.childAt(h),n,a[h],r,e);for(var d=e.childCount()-1;d>=h;d--)fI(e.childAt(d),ZA(e).option,r)}}(t,h,n,i,r),o>=0?a.replaceAt(h,o):a.add(h),h}function zI(t,e,n){var i,r=ZA(t),a=e.type,o=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=a&&a!==r.customGraphicType||"path"===a&&(i=o)&&(mt(i,"pathData")||mt(i,"d"))&&ZI(o)!==r.customPathData||"image"===a&&mt(s,"image")&&s.image!==r.customImagePath}function BI(t,e,n){var i=e?WI(t,e):t,r=e?UI(t,i,"emphasis"):t.style,a=t.type,o=i?i.textConfig:null,s=t.textContent,l=s?e?WI(s,e):s:null;if(r&&(n.isLegacy||eI(r,a,!!o,!!l))){n.isLegacy=!0;var u=nI(r,a,!e);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}!e&&l&&!l.type&&(l.type="text");var c=e?n[e]:n.normal;c.cfg=o,c.conOpt=l}function WI(t,e){return e?t?t[e]:null:t}function UI(t,e,n){var i=e&&e.style;return null==i&&"emphasis"===n&&t&&(i=t.styleEmphasis),i}function GI(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function qI(t,e){var n=this.context;HI(n.api,null!=e?n.oldChildren[e]:null,n.dataIndex,null!=t?n.newChildren[t]:null,n.seriesModel,n.group)}function XI(t){var e=this.context,n=e.oldChildren[t];fI(n,ZA(n).option,e.seriesModel)}function ZI(t){return t&&(t.pathData||t.d)}var KI=Br(),JI=T,QI=z;function $I(t,e,n,i){tP(KI(n).lastProp,i)||(KI(n).lastProp=i,e?cl(n,i,t):(n.stopAnimation(),n.attr(i)))}function tP(t,e){if(Z(t)&&Z(e)){var n=!0;return j(e,function(e,i){n=n&&tP(t[i],e)}),!!n}return t===e}function eP(t,e){t[e.get(["label","show"])?"show":"hide"]()}function nP(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function iP(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}var rP=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||"hide"===a)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(o){var h=B($I,e,c);this.updatePointerEl(o,l,h),this.updateLabelEl(o,l,h,e)}else o=this._group=new ar,this.createPointerEl(o,l,t,e),this.createLabelEl(o,l,t,e),n.getZr().add(o);iP(o,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(r&&i.getBandWidth()>o)return!0;if(a){var s=cx(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var a=e.pointer;if(a){var o=KI(t).pointerEl=new i[a.type](JI(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=KI(t).labelEl=new ds(JI(e.label));t.add(r),eP(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=KI(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=KI(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),eP(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),o=n.get("status");if(!a.get("show")||!o||"hide"===o)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=vp(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Jt(t.event)},onmousedown:QI(this._onHandleDragMove,this,0,0),drift:QI(this._onHandleDragMove,this),ondragend:QI(this._onHandleDragEnd,this)}),i.add(r)),iP(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=a.get("size");W(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Yp(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){$I(this._axisPointerModel,!e&&this._moveAnimation,this._handle,nP(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(nP(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(nP(i)),KI(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),jp(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function aP(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function oP(t,e,n,i,r){var a=sP(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),o=n.getModel("label"),s=Su(o.get("padding")||0),l=o.getFont(),u=zi(a,l),c=r.position,h=u.width+s[1]+s[3],d=u.height+s[0]+s[2],f=r.align;"right"===f&&(c[0]-=h),"center"===f&&(c[0]-=h/2);var p=r.verticalAlign;"bottom"===p&&(c[1]-=d),"middle"===p&&(c[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),a=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,h,d,i);var m=o.get("backgroundColor");m&&"auto"!==m||(m=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:kl(o,{text:a,font:l,fill:o.getTextColor(),padding:s,backgroundColor:m}),z2:10}}function sP(t,e,n,i,r){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:r.precision}),o=r.formatter;if(o){var s={value:Ck(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};j(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=e&&e.getDataParams(t.dataIndexInside);i&&s.seriesData.push(i)}),G(o)?a=o.replace("{value}",a):U(o)&&(a=o(s))}return a}function lP(t,e,n){var i=[1,0,0,1,0,0];return gi(i,i,n.rotation),mi(i,i,n.position),hp([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function uP(t,e,n,i,r,a){var o=sx.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),oP(e,i,r,a,{position:lP(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function cP(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function hP(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function dP(t,e,n,i,r,a){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:a,clockwise:!0}}var fP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.grid,s=i.get("type"),l=pP(o,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var c=aP(i),h=mP[s](a,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}uP(e,t,Uk(o.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=Uk(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=lP(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,a=r.grid,o=r.getGlobalExtent(!0),s=pP(a,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(o[1],u[l]),u[l]=Math.max(o[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];return h[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(rP);function pP(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var mP={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:cP([e,n[0]],[e,n[1]],gP(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth());return{type:"Rect",shape:hP([e-i/2,n[0]],[i,n[1]-n[0]],gP(t))}}};function gP(t){return"x"===t.dim?0:1}var vP=fP,yP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Xu),_P=Br(),bP=j;function wP(t,e,n){if(!d.node){var i=e.getZr();_P(i).records||(_P(i).records={}),function(t,e){function n(n,i){t.on(n,function(n){var r=function(t){var e={showTip:[],hideTip:[]};return{dispatchAction:function n(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))},pendings:e}}(e);bP(_P(t).records,function(t){t&&i(t,n,r.dispatchAction)}),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)})}_P(t).initialized||(_P(t).initialized=!0,n("click",B(xP,"click")),n("mousemove",B(xP,"mousemove")),n("globalout",kP))}(i,e),(_P(i).records[t]||(_P(i).records[t]={})).handler=n}}function kP(t,e,n){t.handler("leave",null,n)}function xP(t,e,n,i){e.handler(t,n,i)}function MP(t,e){if(!d.node){var n=e.getZr();(_P(n).records||{})[t]&&(_P(n).records[t]=null)}}var SP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";wP("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){MP("axisPointer",e)},e.prototype.dispose=function(t,e){MP("axisPointer",e)},e.type="axisPointer",e}(Dd);function CP(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var a=n.getData(),o=zr(a,t);if(null==o||o<0||W(o))return{point:[]};var s=a.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,h="x"===c||"radius"===c?1:0,d=a.mapDimension(u.dim),f=[];f[h]=a.get(d,o),f[1-h]=a.get(a.getCalculationInfo("stackResultDimension"),o),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(a.getValues(N(l.dimensions,function(t){return a.mapDimension(t)}),o))||[];else if(s){var p=s.getBoundingRect().clone();p.applyTransform(s.transform),i=[p.x+p.width/2,p.y+p.height/2]}return{point:i,el:s}}var DP=Br();function OP(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,o=t.dispatchAction||z(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){PP(r)&&(r=CP({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=PP(r),u=a.axesInfo,c=s.axesInfo,h="leave"===i||PP(r),d={},f={},p={list:[],map:{}},m={showPointer:B(LP,f),showTooltip:B(AP,p)};j(s.coordSysMap,function(t,e){var n=l||t.containPoint(r);j(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,a=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!h&&n&&(!u||a)){var o=a&&a.value;null!=o||l||(o=i.pointToData(r)),null!=o&&TP(t,o,m,!1,d)}})});var g={};return j(c,function(t,e){var n=t.linkGroup;n&&!f[e]&&j(n.axesInfo,function(e,i){var r=f[i];if(e!==t&&r){var a=r.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,IP(e),IP(t)))),g[t.key]=a}})}),j(g,function(t,e){TP(c[e],t,m,!0,d)}),function(t,e,n){var i=n.axesInfo=[];j(e,function(e,n){var r=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}(f,c,d),function(t,e,n,i){if(!PP(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(p,r,t,o),function(t,e,n){var i=n.getZr(),r=DP(i).axisPointerLastHighlights||{},a=DP(i).axisPointerLastHighlights={};j(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&j(n.seriesDataIndices,function(t){a[t.seriesIndex+" | "+t.dataIndex]=t})});var o=[],s=[];j(r,function(t,e){!a[e]&&s.push(t)}),j(a,function(t,e){!r[e]&&o.push(t)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),o.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:o})}(c,0,n),d}}function TP(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var o=function(t,e){var n=e.axis,i=n.dim,r=t,a=[],o=Number.MAX_VALUE,s=-1;return j(e.seriesModels,function(e,l){var u,c,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);c=d.dataIndices,u=d.nestestValue}else{if(!(c=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(h[0],c[0])}if(null!=u&&isFinite(u)){var f=t-u,p=Math.abs(f);p<=o&&((p<o||f>=0&&s<0)&&(o=p,s=f,r=u,a.length=0),j(c,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:r}}(e,t),s=o.payloadBatch,l=o.snapToValue;s[0]&&null==r.seriesIndex&&I(r,s[0]),!i&&t.snap&&a.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,o,l)}else n.showPointer(t,e)}function LP(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function AP(t,e,n,i){var r=n.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=dx(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function IP(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function PP(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function EP(t){px.registerAxisPointerClass("CartesianAxisPointer",vP),t.registerComponentModel(yP),t.registerComponentView(SP),t.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!W(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),a=r.get("link",!0)||[],o=[];j(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var s=dx(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",i);if(j(n.getAxes(),B(f,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var c="axis"===u.get("trigger"),h="cross"===u.get(["axisPointer","type"]),d=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||h)&&j(d.baseAxes,B(f,!h||"cross",c)),h&&j(d.otherAxes,B(f,"cross",!1))}}function f(i,s,c){var h=c.model.getModel("axisPointer",r),d=h.get("show");if(d&&("auto"!==d||i||hx(h))){null==s&&(s=h.get("triggerTooltip"));var f=(h=i?function(t,e,n,i,r,a){var o=e.getModel("axisPointer"),s={};j(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){s[t]=T(o.get(t))}),s.snap="category"!==t.type&&!!a,"cross"===o.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=o.get(["label","show"]);if(l.show=null==u||u,!a){var c=s.lineStyle=o.get("crossStyle");c&&P(l,c.textStyle)}}return t.model.getModel("axisPointer",new Ul(s,n,i))}(c,u,r,e,i,s):h).get("snap"),p=dx(c.model),m=s||f||"category"===c.type,g=t.axesInfo[p]={key:p,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:s,involveSeries:m,snap:f,useHandle:hx(h),seriesModels:[],linkGroup:null};l[p]=g,t.seriesInvolved=t.seriesInvolved||m;var v=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var a=t[r]||{};if(lx(a[i+"AxisId"],n.id)||lx(a[i+"AxisIndex"],n.componentIndex)||lx(a[i+"AxisName"],n.name))return r}}(a,c);if(null!=v){var y=o[v]||(o[v]={axesInfo:{}});y.axesInfo[p]=g,y.mapper=a[v].mapper,g.linkGroup=y}}}})}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&j(t.coordSysAxesInfo[dx(n.model)],function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})})}(n,t),n}(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OP)}var RP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis;"angle"===a.dim&&(this.animationThreshold=Math.PI/18);var o=a.polar,s=o.getOtherAxis(a).getExtent(),l=a.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var c=aP(i),h=YP[u](a,o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=function(t,e,n,i,r){var a=e.axis,o=a.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===a.dim){var d=[1,0,0,1,0,0];gi(d,d,s),mi(d,d,[i.cx,i.cy]),l=hp([o,-r],d);var f=e.getModel("axisLabel").get("rotate")||0,p=sx.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var m=h[1];l=i.coordToPoint([m+r,o]);var g=i.cx,v=i.cy;u=Math.abs(l[0]-g)/m<.3?"center":l[0]>g?"left":"right",c=Math.abs(l[1]-v)/m<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,o,i.get(["label","margin"]));oP(t,n,i,r,d)},e}(rP),YP={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:cP(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),a=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:dP(e.cx,e.cy,i[0],i[1],(-n-r/2)*a,(r/2-n)*a)}:{type:"Sector",shape:dP(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},jP=RP,NP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Xu),FP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",qr).models[0]},e.type="polarAxis",e}(Xu);R(FP,Sw);var VP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="angleAxis",e}(FP),HP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="radiusAxis",e}(FP),zP=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return a(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(Bk);zP.prototype.dataToRadius=Bk.prototype.dataToCoord,zP.prototype.radiusToData=Bk.prototype.coordToData;var BP=zP,WP=Br(),UP=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return a(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this.getLabelModel(),e=this.scale,n=e.getExtent(),i=e.count();if(n[1]-n[0]<1)return 0;var r=n[0],a=this.dataToCoord(r+1)-this.dataToCoord(r),o=Math.abs(a),s=zi(null==r?"":r+"",t.getFont(),"center","top"),l=Math.max(s.height,7)/o;isNaN(l)&&(l=1/0);var u=Math.max(0,Math.floor(l)),c=WP(this.model),h=c.lastAutoInterval,d=c.lastTickCount;return null!=h&&null!=d&&Math.abs(h-u)<=1&&Math.abs(d-i)<=1&&h>u?u=h:(c.lastTickCount=i,c.lastAutoInterval=u),u},e}(Bk);UP.prototype.dataToAngle=Bk.prototype.dataToCoord,UP.prototype.angleToData=Bk.prototype.coordToData;var GP=UP,qP=["radius","angle"];function XP(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var ZP=function(){function t(t){this.dimensions=qP,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new BP,this._angleAxis=new GP,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);i.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<a?1:-1;l<a||l>o;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}},t.prototype.convertToPixel=function(t,e,n){return XP(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return XP(e)===this?this.pointToData(n):null},t}();function KP(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();j(Tk(e,"radius"),function(t){r.scale.unionExtentFromData(e,t)}),j(Tk(e,"angle"),function(t){i.scale.unionExtentFromData(e,t)})}}),xk(i.scale,i.model),xk(r.scale,r.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),o=360/i.scale.count();i.inverse?a[1]+=o:a[1]-=o,i.setExtent(a[0],a[1])}}function JP(t,e){if(t.type=e.get("type"),t.scale=Mk(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var QP={dimensions:qP,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var r=new ZP(i+"");r.update=KP;var a=r.getRadiusAxis(),o=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");JP(a,s),JP(o,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),a=n.getHeight();t.cx=hr(i[0],r),t.cy=hr(i[1],a);var o=t.getRadiusAxis(),s=Math.min(r,a)/2,l=e.get("radius");null==l?l=[0,"100%"]:W(l)||(l=[0,l]);var u=[hr(l[0],s),hr(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",qr).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},$P=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function tE(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function eE(t){return t.getRadiusAxis().inverse?0:1}function nE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var iE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return a(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),o=n.getMinorTicksCoords(),s=N(n.getViewLabels(),function(t){t=T(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t});nE(s),nE(a),j($P,function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||rE[e](this.group,t,i,a,o,r,s)},this)}},e.type="angleAxis",e}(px),rE={axisLine:function(t,e,n,i,r,a){var o,s=e.getModel(["axisLine","lineStyle"]),l=eE(n),u=l?0:1;(o=0===a[u]?new Jd({shape:{cx:n.cx,cy:n.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new yf({shape:{cx:n.cx,cy:n.cy,r:a[l],r0:a[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(o)},axisTick:function(t,e,n,i,r,a){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=a[eE(n)],u=N(i,function(t){return new Tf({shape:tE(n,[l,l+s],t.coord)})});t.add(ap(u,{style:P(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,a){if(r.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=a[eE(n)],c=[],h=0;h<r.length;h++)for(var d=0;d<r[h].length;d++)c.push(new Tf({shape:tE(n,[u,u+l],r[h][d].coord)}));t.add(ap(c,{style:P(s.getModel("lineStyle").getLineStyle(),P(o.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,a,o){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),c=e.get("triggerEvent");j(o,function(i,r){var o=l,h=i.tickValue,d=a[eE(n)],f=n.coordToPoint([d+u,i.coord]),p=n.cx,m=n.cy,g=Math.abs(f[0]-p)/d<.3?"center":f[0]>p?"left":"right",v=Math.abs(f[1]-m)/d<.3?"middle":f[1]>m?"top":"bottom";if(s&&s[h]){var y=s[h];Z(y)&&y.textStyle&&(o=new Ul(y.textStyle,l,l.ecModel))}var _=new ds({silent:sx.isLabelSilent(e),style:kl(o,{x:f[0],y:f[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:g,verticalAlign:v})});if(t.add(_),c){var b=sx.makeAxisEventDataBase(e);b.targetType="axisLabel",b.value=i.rawLabel,fs(_).eventData=b}},this)},splitLine:function(t,e,n,i,r,a){var o=e.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<i.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new Tf({shape:tE(n,a,i[c].coord)}))}for(c=0;c<u.length;c++)t.add(ap(u[c],{style:P({stroke:s[c%s.length]},o.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,a){if(r.length){for(var o=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new Tf({shape:tE(n,a,r[l][u].coord)}));t.add(ap(s,{style:o.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,a){if(i.length){var o=e.getModel("splitArea").getModel("areaStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,h=-i[0].coord*c,d=Math.min(a[0],a[1]),f=Math.max(a[0],a[1]),p=e.get("clockwise"),m=1,g=i.length;m<=g;m++){var v=m===g?i[0].coord:i[m].coord,y=l++%s.length;u[y]=u[y]||[],u[y].push(new mf({shape:{cx:n.cx,cy:n.cy,r0:d,r:f,startAngle:h,endAngle:-v*c,clockwise:p},silent:!0})),h=-v*c}for(m=0;m<u.length;m++)t.add(ap(u[m],{style:P({fill:s[m%s.length]},o.getAreaStyle()),silent:!0}))}}},aE=iE,oE=["axisLine","axisTickLabel","axisName"],sE=["splitLine","splitArea","minorSplitLine"],lE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return a(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new ar;this.group.add(i);var r=t.axis,a=r.polar,o=a.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=o.getExtent()[0],c=r.getExtent(),h=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(a,t,u),d=new sx(t,h);j(oE,d.add,d),i.add(d.getGroup()),pp(n,i,t),j(sE,function(e){t.get([e,"show"])&&!r.scale.isBlank()&&uE[e](this.group,t,a,u,c,s,l)},this)}},e.type="radiusAxis",e}(px),uE={splitLine:function(t,e,n,i,r,a){var o=e.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<a.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new Jd({shape:{cx:n.cx,cy:n.cy,r:a[c].coord}}))}for(c=0;c<u.length;c++)t.add(ap(u[c],{style:P({stroke:s[c%s.length],fill:null},o.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,a,o){if(o.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<o.length;u++)for(var c=0;c<o[u].length;c++)l.push(new Jd({shape:{cx:n.cx,cy:n.cy,r:o[u][c].coord}}));t.add(ap(l,{style:P({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,a){if(a.length){var o=e.getModel("splitArea").getModel("areaStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=a[0].coord,h=1;h<a.length;h++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new mf({shape:{cx:n.cx,cy:n.cy,r0:c,r:a[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=a[h].coord}for(h=0;h<u.length;h++)t.add(ap(u[h],{style:P({fill:s[h%s.length]},o.getAreaStyle()),silent:!0}))}}},cE=lE;function hE(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function dE(t,e){return e.dim+t.model.componentIndex}var fE=function(t,e,n){var i={},r=function(t){var e={};j(t,function(t,n){var i=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),o=dE(r,a),s=a.getExtent(),l="category"===a.type?a.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[o]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[o]=u;var h=hE(t);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var d=hr(t.get("barWidth"),l),f=hr(t.get("barMaxWidth"),l),p=t.get("barGap"),m=t.get("barCategoryGap");d&&!c[h].width&&(d=Math.min(u.remainedWidth,d),c[h].width=d,u.remainedWidth-=d),f&&(c[h].maxWidth=f),null!=p&&(u.gap=p),null!=m&&(u.categoryGap=m)});var n={};return j(e,function(t,e){n[e]={};var i=t.stacks,r=hr(t.categoryGap,t.bandWidth),a=hr(t.gap,1),o=t.remainedWidth,s=t.autoWidthCount,l=(o-r)/(s+(s-1)*a);l=Math.max(l,0),j(i,function(t,e){var n=t.maxWidth;n&&n<l&&(n=Math.min(n,o),t.width&&(n=Math.min(n,t.width)),o-=n,t.width=n,s--)}),l=(o-r)/(s+(s-1)*a),l=Math.max(l,0);var u,c=0;j(i,function(t,e){t.width||(t.width=l),u=t,c+=t.width*(1+a)}),u&&(c-=u.width*a);var h=-c/2;j(i,function(t,i){n[e][i]=n[e][i]||{offset:h,width:t.width},h+=t.width*(1+a)})}),n}(V(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),o=dE(n,a),s=hE(t),l=r[o][s],u=l.offset,c=l.width,h=n.getOtherAxis(a),d=t.coordinateSystem.cx,f=t.coordinateSystem.cy,p=t.get("barMinHeight")||0,m=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var g=e.mapDimension(h.dim),v=e.mapDimension(a.dim),y=E_(e,g),_="radius"!==a.dim||!t.get("roundCap",!0),b=h.dataToCoord(0),w=0,k=e.count();w<k;w++){var x=e.get(g,w),M=e.get(v,w),S=x>=0?"p":"n",C=b;y&&(i[s][M]||(i[s][M]={p:b,n:b}),C=i[s][M][S]);var D=void 0,O=void 0,T=void 0,L=void 0;if("radius"===h.dim){var A=h.dataToCoord(x)-b,I=a.dataToCoord(M);Math.abs(A)<p&&(A=(A<0?-1:1)*p),D=C,O=C+A,L=(T=I-u)-c,y&&(i[s][M][S]=O)}else{var P=h.dataToCoord(x,_)-b,E=a.dataToCoord(M);Math.abs(P)<m&&(P=(P<0?-1:1)*m),O=(D=E+u)+c,T=C,L=C+P,y&&(i[s][M][S]=L)}e.setItemLayout(w,{cx:d,cy:f,r0:D,r:O,startAngle:-T*Math.PI/180,endAngle:-L*Math.PI/180,clockwise:T>=L})}}})},pE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},mE={splitNumber:5},gE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="polar",e}(Dd);function vE(t,e){e=e||{};var n=t.axis,i={},r=n.position,a=n.orient,o=t.coordinateSystem.getRect(),s=[o.x,o.x+o.width,o.y,o.y+o.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};i.position=["vertical"===a?l.vertical[r]:s[0],"horizontal"===a?l.horizontal[r]:s[3]],i.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),et(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var u=e.rotate;return null==u&&(u=t.get(["axisLabel","rotate"])),i.labelRotation="top"===r?-u:u,i.z2=1,i}var yE=["axisLine","axisTickLabel","axisName"],_E=["splitArea","splitLine"],bE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return a(e,t),e.prototype.render=function(e,n,i,r){var a=this.group;a.removeAll();var o=this._axisGroup;this._axisGroup=new ar;var s=vE(e),l=new sx(e,s);j(yE,l.add,l),a.add(this._axisGroup),a.add(l.getGroup()),j(_E,function(t){e.get([t,"show"])&&wE[t](this,this.group,this._axisGroup,e)},this),pp(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){vx(this)},e.type="singleAxis",e}(px),wE={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var a=i.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),c=[],h=0,d=r.getTicksCoords({tickModel:a}),f=[],p=[],m=0;m<d.length;++m){var g=r.toGlobalCoord(d[m].coord);u?(f[0]=g,f[1]=l.y,p[0]=g,p[1]=l.y+l.height):(f[0]=l.x,f[1]=g,p[0]=l.x+l.width,p[1]=g);var v=h++%s.length;c[v]=c[v]||[],c[v].push(new Tf({subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:p[0],y2:p[1]},silent:!0}))}var y=o.getLineStyle(["color"]);for(m=0;m<c.length;++m)e.add(ap(c[m],{style:P({stroke:s[m%s.length]},y),silent:!0}))}},splitArea:function(t,e,n,i){gx(t,n,i,i)}},kE=bE,xE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Xu);R(xE,Sw.prototype);var ME=xE,SE=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o.position=a||"bottom",o}return a(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(Bk),CE=["single"];function DE(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var OE=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=CE,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=new SE(this.dimension,Mk(t),[0,0],t.get("type"),t.get("position"));i.onBand="category"===i.type&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},t.prototype.update=function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();j(e.mapDimensionsAll(this.dimension),function(t){this._axis.scale.unionExtentFromData(e,t)},this),xk(this._axis.scale,this._axis.model)}},this)},t.prototype.resize=function(t,e){this._rect=Vu({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return DE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return DE(e)===this?this.pointToData(n):null},t}(),TE={create:function(t,e){var n=[];return t.eachComponent("singleAxis",function(i,r){var a=new OE(i,t,e);a.name="single_"+r,a.resize(i,e),i.coordinateSystem=a,n.push(a)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",qr).models[0];t.coordinateSystem=e&&e.coordinateSystem}}),n},dimensions:CE},LE=["x","y"],AE=["width","height"],IE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.coordinateSystem,s=RE(o,1-EE(a)),l=o.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=aP(i),h=PE[u](a,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}uP(e,t,vE(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=vE(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=lP(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,a=r.coordinateSystem,o=EE(r),s=RE(a,o),l=[t.x,t.y];l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=RE(a,1-o),c=(u[1]+u[0])/2,h=[c,c];return h[o]=l[o],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(rP),PE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:cP([e,n[0]],[e,n[1]],EE(t))}},shadow:function(t,e,n){var i=t.getBandWidth();return{type:"Rect",shape:hP([e-i/2,n[0]],[i,n[1]-n[0]],EE(t))}}};function EE(t){return t.isHorizontal()?0:1}function RE(t,e){var n=t.getRect();return[n[LE[e]],n[LE[e]]+n[AE[e]]]}var YE=IE,jE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="single",e}(Dd);function NE(t,e){var n,i=t.cellSize;1===(n=W(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=N([0,1],function(t){return function(t,e){return null!=t[ju[e][0]]||null!=t[ju[e][1]]&&null!=t[ju[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});Bu(t,e,{type:"box",ignoreSize:r})}var FE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(e,n,i){var r=Wu(e);t.prototype.init.apply(this,arguments),NE(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),NE(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Xu),VE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,a=r.getRangeInfo(),o=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,s,o,i),this._renderWeekText(t,s,a,o,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),o=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Ko({shape:{x:l[0],y:l[1],width:a,height:o},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,a=t.coordinateSystem,o=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=a.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(a.getDateInfo(e)),r._firstDayPoints.push(a.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,o,i)}d(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),o,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),o,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Sf({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),a=[],o=0;o<7;o++){var s=i.getNextNDay(r.time,o),l=i.dataToRect([s.time],!1);a[2*s.day]=l.tl,a[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return a},e.prototype._formatterLabel=function(t,e){return G(t)&&t?(n=t,j(e,function(t,e){n=n.replace("{"+e+"}",t)}),n):U(t)?t(e):e.nameMap;var n},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var a=e[0],o=e[1],s=["center","bottom"];"bottom"===i?(o+=r,s=["center","top"]):"left"===i?a-=r:"right"===i?(a+=r,s=["center","top"]):o-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:a,y:o,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),o=r.get("position");o||(o="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var f=r.get("formatter"),p=this._formatterLabel(f,{start:e.start.y,end:e.end.y,nameMap:d}),m=new ds({z2:30,style:kl(r,{text:p})});m.attr(this._yearTextPositionControl(m,h[o],n,o,a)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var a="left",o="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(a="center"),"start"===i&&(o="bottom")):(s+=r,e&&(o="middle"),"start"===i&&(a="right")),{x:s,y:l,align:a,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),o=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];a&&!G(a)||(a&&(e=$l(a)||e),a=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,h="horizontal"===n?0:1;o="start"===s?-o:o;for(var d="center"===l,f=0;f<u[c].length-1;f++){var p=u[c][f].slice(),m=this._firstDayOfMonth[f];d&&(p[h]=(this._firstDayPoints[f][h]+u[0][f+1][h])/2);var g=r.get("formatter"),v=a[+m.m-1],y={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:v},_=this._formatterLabel(g,y),b=new ds({z2:30,style:I(kl(r,{text:_}),this._monthTextPositionControl(p,d,n,s,o))});i.add(b)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var a="center",o="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,a=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,o=u?"bottom":"top"),{x:s,y:l,align:a,verticalAlign:o}},e.prototype._renderWeekText=function(t,e,n,i,r){var a=t.getModel("dayLabel");if(a.get("show")){var o=t.coordinateSystem,s=a.get("position"),l=a.get("nameMap"),u=a.get("margin"),c=o.getFirstDayOfWeek();l&&!G(l)||(l&&(e=$l(l)||e),l=e.get(["time","dayOfWeekShort"])||N(e.get(["time","dayOfWeekAbbr"]),function(t){return t[0]}));var h=o.getNextNDay(n.end.time,7-n.lweek).time,d=[o.getCellWidth(),o.getCellHeight()];u=hr(u,Math.min(d[1],d[0])),"start"===s&&(h=o.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var f=0;f<7;f++){var p,m=o.getNextNDay(h,f),g=o.dataToRect([m.time],!1).center;p=Math.abs((f+c)%7);var v=new ds({z2:30,style:I(kl(a,{text:l[p]}),this._weekTextPositionControl(g,i,s,u,d))});r.add(v)}}},e.type="calendar",e}(Dd);function HE(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var zE=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=br(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),a=r<10?"0"+r:""+r,o=t.getDay();return{y:e+"",m:i,d:a,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+a,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),a=this._model.getBoxLayoutParams(),o="horizontal"===this._orient?[n,7]:[7,n];j([0,1],function(t){u(r,t)&&(a[i[t]]=r[t]*o[t])});var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=Vu(a,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}j([0,1],function(t){u(r,t)||(r[t]=l[i[t]]/o[t])}),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){W(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+864e5))return[NaN,NaN];var r=n.day,a=this._getRangeInfo([i.start.time,n.formatedDate]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=HE(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=HE(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(W(e)&&1===e.length&&(e=e[0]),W(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var a=this.getNextNDay(r,-1);t=[i.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/864e5)-Math.floor(n[0].time/864e5)+1,r=new Date(n[0].time),a=r.getDate(),o=n[1].date.getDate();r.setDate(a+i-1);var s=r.getDate();if(s!==o)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==o&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,a=new Date(i.start.time);return a.setDate(+i.start.d+r),this.getDateInfo(a)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",function(r){var a=new t(r,e,n);i.push(a),r.coordinateSystem=a}),e.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},t.dimensions=["time","value"],t}();function BE(t,e){var n;return j(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}var WE=["transition","enterFrom","leaveTo"],UE=WE.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function GE(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?WE:UE,r=0;r<i.length;r++){var a=i[r];null==t[a]&&null!=e[a]&&(t[a]=e[a])}}var qE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return a(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,a=[];this._flatten(i,a,null);var o=Yr(r,a,"normalMerge"),s=this._elOptionsToUpdate=[];j(o,function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=I({},n),r=t[e],a=n.$action||"merge";"merge"===a?r?(L(r,i,!0),Bu(r,i,{ignoreSize:!0}),Uu(n,r),GE(n,r),GE(n,r,"shape"),GE(n,r,"style"),GE(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===a?t[e]=i:"remove"===a&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[BE(e,["left","right"]),BE(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))},this),n.elements=V(r,function(t){return t&&delete t.$action,null!=t})},e.prototype._flatten=function(t,e,n){j(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}},this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(Xu),XE={path:null,compoundPath:null,group:ar,image:zo,text:ds},ZE=Br(),KE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(){this._elMap=ht()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),a=t.get("zlevel");j(e,function(e){var o=Fr(e.id,null),s=null!=o?n.get(o):null,l=Fr(e.parentId,null),u=null!=l?n.get(l):i,c=e.type,h=e.style;"text"===c&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=e.textContent,f=e.textConfig;if(h&&eI(h,c,!!f,!!d)){var p=nI(h,c,!0);!f&&p.textConfig&&(f=e.textConfig=p.textConfig),!d&&p.textContent&&(d=p.textContent)}var m=function(t){return t=I({},t),j(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Yu),function(e){delete t[e]}),t}(e),g=e.$action||"merge",v="merge"===g,y="replace"===g;if(v){var _=s;(C=!s)?_=QE(o,u,e.type,n):(_&&(ZE(_).isNew=!1),xI(_)),_&&(hI(_,m,t,{isInit:C}),tR(_,e,r,a))}else if(y){$E(s,e,n,t);var b=QE(o,u,e.type,n);b&&(hI(b,m,t,{isInit:!0}),tR(b,e,r,a))}else"remove"===g&&(dI(s,e),$E(s,e,n,t));var w=n.get(o);if(w&&d)if(v){var k=w.getTextContent();k?k.attr(d):w.setTextContent(new ds(d))}else y&&w.setTextContent(new ds(d));if(w){var x=e.clipPath;if(x){var M=x.type,S=void 0,C=!1;if(v){var D=w.getClipPath();S=(C=!D||ZE(D).type!==M)?JE(M):D}else y&&(C=!0,S=JE(M));w.setClipPath(S),hI(S,x,t,{isInit:C}),MI(S,x.keyframeAnimation,t)}var O=ZE(w);w.setTextConfig(f),O.option=e,function(t,e,n){var i=fs(t).eventData;t.silent||t.ignore||i||(i=fs(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=n.info)}(w,t,e),wp({el:w,componentModel:t,itemName:w.name,itemTooltipOption:e.tooltip}),MI(w,e.keyframeAnimation,t)}})}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,a=e.getWidth(),o=e.getHeight(),s=["x","y"],l=0;l<n.length;l++)if((p=null!=(f=Fr((d=n[l]).id,null))?r.get(f):null)&&p.isGroup){var u=(m=p.parent)===i,c=ZE(p),h=ZE(m);c.width=hr(c.option.width,u?a:h.width)||0,c.height=hr(c.option.height,u?o:h.height)||0}for(l=n.length-1;l>=0;l--){var d,f,p;if(p=null!=(f=Fr((d=n[l]).id,null))?r.get(f):null){h=ZE(m=p.parent);var m,g={},v=Hu(p,d,m===i?{width:a,height:o}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},g);if(!ZE(p).isNew&&v){for(var y=d.transition,_={},b=0;b<s.length;b++){var w=s[b],k=g[w];y&&(pI(y)||E(y,w)>=0)?_[w]=k:p[w]=k}cl(p,_,t,0)}else p.attr(g)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(n){$E(n,ZE(n).option,e,t._lastGraphicModel)}),this._elMap=ht()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Dd);function JE(t){var e=new(mt(XE,t)?XE[t]:ep(t))({});return ZE(e).type=t,e}function QE(t,e,n,i){var r=JE(n);return e.add(r),i.set(t,r),ZE(r).id=t,ZE(r).isNew=!0,r}function $E(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse(function(t){$E(t,e,n,i)}),fI(t,e,i),n.removeKey(ZE(t).id))}function tR(t,e,n,i){if(!t.isGroup){var r=t;r.cursor=nt(e.cursor,Ra.prototype.cursor),r.z=nt(e.z,n||0),r.zlevel=nt(e.zlevel,i||0);var a=e.z2;null!=a&&(r.z2=a||0)}j(H(e),function(n){var i=e[n];0===n.indexOf("on")&&U(i)&&(t[n]=i)}),t.draggable=e.draggable,null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var eR=["x","y","radius","angle","single"],nR=["cartesian2d","polar","singleAxis"];function iR(t){return t+"Axis"}function rR(t){var e=t.ecModel,n={infoList:[],infoMap:ht()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(iR(t),i);if(r){var a=r.getCoordSysModel();if(a){var o=a.uid,s=n.infoMap.get(o);s||(n.infoList.push(s={model:a,axisModels:[]}),n.infoMap.set(o,s)),s.axisModels.push(r)}}}),n}var aR=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function oR(t){var e={};return j(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var sR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return a(e,t),e.prototype.init=function(t,e,n){var i=oR(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=oR(t);L(this.option,t,!0),L(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;j([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=ht();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return j(eR,function(n){var i=this.getReferringComponents(iR(n),Xr);if(i.specified){e=!0;var r=new aR;j(i.models,function(t){r.add(t.componentIndex)}),t.set(n,r)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";a(n.findComponents({mainType:r+"Axis"}),r)}function a(e,n){var r=e[0];if(r){var a=new aR;if(a.add(r.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var o=r.getReferringComponents("grid",qr).models[0];o&&j(e,function(t){r.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",qr).models[0]&&a.add(t.componentIndex)})}}}i&&a(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),i&&j(eR,function(e){if(i){var r=n.findComponents({mainType:iR(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var a=new aR;a.add(r[0].componentIndex),t.set(e,a),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){!t&&(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");j([["start","startValue"],["end","endValue"]],function(i,r){var a=null!=t[i[0]],o=null!=t[i[1]];a&&!o?e[r]="percent":!a&&o?e[r]="value":n?e[r]=n[r]:a&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(iR(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){j(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(iR(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;j([["start","startValue"],["end","endValue"]],function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;j(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],a=this._targetAxisInfoMap.get(r),o=0;o<a.indexList.length;o++){var s=this.getAxisProxy(r,a.indexList[o]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Xu),lR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="dataZoom.select",e}(sR),uR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(Dd),cR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="dataZoom.select",e}(uR),hR=j,dR=fr,fR=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(function(t){var e=t.get("coordinateSystem");return E(nR,e)>=0}(e)){var n=iR(this._dimName),i=e.getReferringComponents(n,qr).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return T(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[];hR(["start","end"],function(l,u){var c=t[l],h=t[l+"Value"];"percent"===r[u]?(null==c&&(c=a[u]),h=i.parse(cr(c,a,n))):(e=!0,c=cr(h=null==h?n[u]:i.parse(h),n,a)),s[u]=h,o[u]=c}),dR(s),dR(o);var l=this._minMaxSpan;function u(t,e,n,r,a){var o=a?"Span":"ValueSpan";EO(0,t,n,"all",l["min"+o],l["max"+o]);for(var s=0;s<2;s++)e[s]=cr(t[s],n,r,!0),a&&(e[s]=i.parse(e[s]))}return e?u(s,o,n,a,!1):u(o,s,a,n,!0),{valueWindow:s,percentWindow:o}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];hR(n,function(t){!function(t,e,n){e&&j(Tk(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}(i,t.getData(),e)});var r=t.getAxisModel(),a=bk(r.axis.scale,r,i).calculate();return[a.min,a.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow;"none"!==r&&hR(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var o=e.getStore(),s=N(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,r,l=0;l<i.length;l++){var u=o.get(s[l],t),c=!isNaN(u),h=u<a[0],d=u>a[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n})}else hR(i,function(n){if("empty"===r)t.setData(e=e.map(n,function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN}));else{var i={};i[n]=a,e.selectRange(i)}});hR(i,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;hR(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=cr(n[0]+a,n,[0,100],!0):null!=r&&(a=cr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=mr(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}(),pR={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,r){var a=t.getComponent(iR(i),r);e(i,r,a,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,a){r.__dzAxisProxy||(r.__dzAxisProxy=new fR(e,i,a,t),n.push(r.__dzAxisProxy))});var i=ht();return j(n,function(t){j(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}},mR=!1;function gR(t){mR||(mR=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,pR),function(t){t.registerAction("dataZoom",function(t,e){j(function(t,e){var n,i=ht(),r=[],a=ht();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||s(t)});do{n=!1,t.eachComponent("dataZoom",o)}while(n);function o(t){!a.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis(function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)}),e}(t)&&(s(t),n=!0)}function s(t){a.set(t.uid,!0),r.push(t),t.eachTargetAxis(function(t,e){(i.get(t)||i.set(t,[]))[e]=!0})}return r}(e,t),function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function vR(t){t.registerComponentModel(lR),t.registerComponentView(cR),gR(t)}var yR=function(){},_R={};function bR(t,e){_R[t]=e}function wR(t){return _R[t]}var kR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;j(this.option.feature,function(t,n){var i=wR(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),L(t,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Xu);function xR(t,e){var n=Su(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),new Ko({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var MR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var a=+t.get("itemSize"),o=t.get("feature")||{},s=this._features||(this._features={}),l=[];j(o,function(t,e){l.push(e)}),new r_(this._featureNames||[],l).add(u).update(u).remove(B(u,null)).execute(),this._featureNames=l,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=Vu(i,a,r);Fu(e.get("orient"),t,e.get("itemGap"),o.width,o.height),Hu(t,i,a,r)}(r,t,n),r.add(xR(r.getBoundingRect(),t)),r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),o=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.states.emphasis;if(l&&!U(l)&&e){var u=l.style||(l.style={}),c=zi(e,ds.makeFont(u)),h=t.x+r.x,d=!1;t.y+r.y+a+c.height>n.getHeight()&&(o.position="top",d=!0);var f=d?-5-c.height:a+8;h+c.width/2>n.getWidth()?(o.position=["100%",f],u.align="right"):h-c.width/2<0&&(o.position=[0,f],u.align="left")}})}function u(u,c){var h,d=l[u],f=l[c],p=o[d],m=new Ul(p,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(p.title=i.newTitle),d&&!f){if(function(t){return 0===t.indexOf("my")}(d))h={onclick:m.option.onclick,featureName:d};else{var g=wR(d);if(!g)return;h=new g}s[d]=h}else if(!(h=s[f]))return;h.uid=ql("toolbox-feature"),h.model=m,h.ecModel=e,h.api=n;var v=h instanceof yR;d||!f?!m.get("show")||v&&h.unusable?v&&h.remove&&h.remove(e,n):(function(i,o,s){var l,u,c=i.getModel("iconStyle"),h=i.getModel(["emphasis","iconStyle"]),d=o instanceof yR&&o.getIcons?o.getIcons():i.get("icon"),f=i.get("title")||{};G(d)?(l={})[s]=d:l=d,G(f)?(u={})[s]=f:u=f;var p=i.iconPaths={};j(l,function(s,l){var d=vp(s,{},{x:-a/2,y:-a/2,width:a,height:a});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=h.getItemStyle();var f=new ds({style:{text:u[l],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});d.setTextContent(f),wp({el:d,componentModel:t,itemName:l,formatterParamsExtra:{title:u[l]}}),d.__title=u[l],d.on("mouseover",function(){var e=h.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";f.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),d.setTextConfig({position:h.get("textPosition")||n}),f.ignore=!t.get("showTitle"),Ns(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",l])&&Fs(this),f.hide()}),("emphasis"===i.get(["iconStatus",l])?Ns:Fs)(d),r.add(d),d.on("click",z(o.onclick,o,e,n,l)),p[l]=d})}(m,h,d),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Ns:Fs)(i[t])},h instanceof yR&&h.render&&h.render(m,e,n,i)):v&&h.dispose&&h.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){j(this._features,function(t){t instanceof yR&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.remove=function(t,e){j(this._features,function(n){n instanceof yR&&n.remove&&n.remove(t,e)}),this.group.removeAll()},e.prototype.dispose=function(t,e){j(this._features,function(n){n instanceof yR&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(Dd),SR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",o=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=d.browser;if(U(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=i+"."+a,l.target="_blank",l.href=o;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||r){var c=o.split(","),h=c[0].indexOf("base64")>-1,f=r?decodeURIComponent(c[1]):c[1];h&&(f=window.atob(f));var p=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var m=f.length,g=new Uint8Array(m);m--;)g[m]=f.charCodeAt(m);var v=new Blob([g]);window.navigator.msSaveOrOpenBlob(v,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var _=y.contentWindow,b=_.document;b.open("image/svg+xml","replace"),b.write(f),b.close(),_.focus(),b.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var w=n.get("lang"),k='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',x=window.open();x.document.write(k),x.document.title=i}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(yR),CR=[["line","bar"],["stack"]],DR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return j(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(OR[n]){var a,o={series:[]};j(CR,function(t){E(t,n)>=0&&j(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(t){var e=OR[n](t.subType,t.id,t,i);e&&(P(e,t.option),o.series.push(e));var r=t.coordinateSystem;if(r&&"cartesian2d"===r.type&&("line"===n||"bar"===n)){var a=r.getAxesByScale("ordinal")[0];if(a){var s=a.dim+"Axis",l=t.getReferringComponents(s,qr).models[0].componentIndex;o[s]=o[s]||[];for(var u=0;u<=l;u++)o[s][l]=o[s][l]||{};o[s][l].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(a=L({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:o,newTitle:a,featureName:"magicType"})}},e}(yR),OR={line:function(t,e,n,i){if("bar"===t)return L({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return L({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r="__ec_magicType_stack__"===n.get("stack");if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),L({id:e,stack:r?"":"__ec_magicType_stack__"},i.get(["option","stack"])||{},!0)}};rv({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var TR=DR,LR=new Array(60).join("-");function AR(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var IR=new RegExp("[\t]+","g"),PR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var a=document.createElement("h4"),o=i.get("lang")||[];a.innerHTML=o[0]||i.get("title"),a.style.cssText="margin:10px 20px",a.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var a=r.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r.getOtherAxis(a),series:[]},i.push({axisDim:a.dim,axisIndex:a.index})),e[o].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:V([(n=r.seriesGroupByCategoryAxis,i=[],j(n,function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,a=[" "].concat(N(t.series,function(t){return t.name})),o=[n.model.getCategories()];j(t.series,function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(r),function(t){return t}))});for(var s=[a.join("\t")],l=0;l<o[0].length;l++){for(var u=[],c=0;c<o.length;c++)u.push(o[c][l]);s.push(u.join("\t"))}i.push(s.join("\n"))}),i.join("\n\n"+LR+"\n\n")),(e=r.other,N(e,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,r=e.getName(arguments[t-1]),a=0;a<t-1;a++)i[a]=arguments[a];n.push((r?r+"\t":"")+i.join("\t"))}),n.join("\n")}).join("\n\n"+LR+"\n\n"))],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join("\n\n"+LR+"\n\n"),meta:r.meta}}(t);if(U(u)){var d=u(e.getOption());G(d)?s.innerHTML=d:Q(d)&&s.appendChild(d)}else{l.readOnly=i.get("readOnly");var f=l.style;f.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),l.value=h.value,s.appendChild(l)}var p=h.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");g+=";background-color:"+i.get("buttonColor"),g+=";color:"+i.get("buttonTextColor");var _=this;function b(){n.removeChild(r),_._dom=null}Kt(v,"click",b),Kt(y,"click",function(){if(null==c&&null!=u||null!=c&&null==u)b();else{var t;try{t=U(c)?c(s,e.getOption()):function(t,e){var n=t.split(new RegExp("\n*"+LR+"\n*","g")),i={series:[]};return j(n,function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf("\t")>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=N(AR(e.shift()).split(IR),function(t){return{name:t,data:[]}}),r=0;r<e.length;r++){var a=AR(e[r]).split(IR);n.push(a.shift());for(var o=0;o<a.length;o++)i[o]&&(i[o].data[r]=a[o])}return{series:i,categories:n}}(t),a=e[n],o=a.axisDim+"Axis";a&&(i[o]=i[o]||[],i[o][a.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else r=function(t){for(var e=t.split(/\n+/g),n=AR(e.shift()),i=[],r=0;r<e.length;r++){var a=AR(e[r]);if(a){var o=a.split(IR),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t),i.series.push(r)}),i}(l.value,p)}catch(n){throw b(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),b()}}),v.innerHTML=o[1],y.innerHTML=o[2],y.style.cssText=v.style.cssText=g,!i.get("readOnly")&&m.appendChild(y),m.appendChild(v),r.appendChild(a),r.appendChild(s),r.appendChild(m),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(yR);function ER(t,e){return N(t,function(t,n){var i=e&&e[n];if(Z(i)&&!W(i)){Z(t)&&!W(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=P(t,i),r&&delete t.name,t}return t})}rv({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];j(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:ER(t.data,r)})}else n.push(I({type:"scatter"},t))}),e.mergeOption(P({series:n},t.newOption))});var RR=PR,YR=j,jR=Br();function NR(t){var e=jR(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var FR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.onclick=function(t,e){!function(t){jR(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(yR);rv({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var VR=FR,HR=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],zR=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=WR(e,t);j(UR,function(t,e){(!n||!n.include||E(n.include,e)>=0)&&t(r,i._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=XR[t.brushType](0,n,e);t.__rangeOffset={offset:KR[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){j(t,function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&j(i.coordSyses,function(i){var r=XR[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){j(t,function(t){var n,i,r,a,o=this.findTargetInfo(t,e);if(t.range=t.range||[],o&&!0!==o){t.panelId=o.panelId;var s=XR[t.brushType](0,o.coordSys,t.coordRange),l=t.__rangeOffset;t.range=l?KR[t.brushType](s.values,l.offset,(n=l.xyMinMax,i=QR(s.xyMinMax),r=QR(n),a=[i[0]/r[0],i[1]/r[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):s.values}},this)},t.prototype.makePanelOpts=function(t,e){return N(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:YT(i),isTargetByCursor:NT(i,t,n.coordSysModel),getLinearBrushOtherExtent:jT(i)}})},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&E(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=WR(e,t),r=0;r<n.length;r++){var a=n[r],o=t.panelId;if(o){if(a.panelId===o)return a}else for(var s=0;s<GR.length;s++)if(GR[s](i,a))return a}return!0},t}();function BR(t){return t[0]>t[1]&&t.reverse(),t}function WR(t,e){return Ur(t,e,{includeMainTypes:HR})}var UR={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,a=ht(),o={},s={};(n||i||r)&&(j(n,function(t){var e=t.axis.grid.model;a.set(e.id,e),o[e.id]=!0}),j(i,function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0}),j(r,function(t){a.set(t.id,t),o[t.id]=!0,s[t.id]=!0}),a.each(function(t){var r=[];j(t.coordinateSystem.getCartesians(),function(t,e){(E(n,t.getAxis("x").model)>=0||E(i,t.getAxis("y").model)>=0)&&r.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:qR.grid,xAxisDeclared:o[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){j(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:qR.geo})})}},GR=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],qR={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(cp(t)),e}},XR={lineX:B(ZR,0),lineY:B(ZR,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),a=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),o=[BR([r[0],a[0]]),BR([r[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:N(n,function(n){var a=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],a[0]),r[1][0]=Math.min(r[1][0],a[1]),r[0][1]=Math.max(r[0][1],a[0]),r[1][1]=Math.max(r[1][1],a[1]),a}),xyMinMax:r}}};function ZR(t,e,n,i){var r=n.getAxis(["x","y"][t]),a=BR(N([0,1],function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))})),o=[];return o[t]=a,o[1-t]=[NaN,NaN],{values:a,xyMinMax:o}}var KR={lineX:B(JR,0),lineY:B(JR,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return N(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function JR(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function QR(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var $R,tY=zR,eY=j,nY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new RT(n.getZr()),this._brushController.on("brush",z(this._onBrush,this)).mount()),function(t,e,n,i,r){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var o=new tY(rY(t),e,{include:["grid"]}).makePanelOpts(r,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(o).enableBrush(!(!a||!o.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return NR(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){iY[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new tY(rY(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}}),function(t,e){var n=NR(t);YR(e,function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var o=a.getPercentRange();n[0][i]={dataZoomId:i,start:o[0],end:o[1]}}}}),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var a=e.getAxis(t),o=a.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,o,i),l=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=EO(0,r.slice(),a.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];eY(t,function(t,n){e.push(T(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(yR),iY={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(function(t){var e=NR(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return YR(n,function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}}),i}(this.ecModel))}};function rY(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}$R=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],a=Ur(t,rY(i));return eY(a.xAxisModels,function(t){return o(t,"xAxis","xAxisIndex")}),eY(a.yAxisModels,function(t){return o(t,"yAxis","yAxisIndex")}),r}function o(t,e,n){var a=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:"\0_ec_\0toolbox-dataZoom_"+e+a};o[n]=a,r.push(o)}},ot(null==lc.get("dataZoom")&&$R),lc.set("dataZoom",$R);var aY=nY,oY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Xu);function sY(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function lY(t){if(d.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var uY=lY(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function cY(t,e){if(!t)return e;e=Mu(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var hY=cY(lY(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),dY=cY(uY,"transform"),fY="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(d.transform3dSupported?"will-change:transform;":"");function pY(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!d.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var a=d.transform3dSupported,o="translate"+(a?"3d":"")+"("+i+","+r+(a?",0":"")+")";return n?"top:0;left:0;"+dY+":"+o+";":[["top",0],["left",0],[uY,o]]}function mY(t,e,n,i,r){var a=e&&e.painter;if(n){var o=a&&a.getViewportRoot();o&&function(t,e,n,i,r){Ht(Vt,e,i,r,!0)&&Ht(t,n,Vt[0],Vt[1])}(t,o,document.body,i,r)}else{t[0]=i,t[1]=r;var s=a&&a.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var gY=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,d.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),a=this._appendToBody=n&&n.appendToBody;mY(this._styleCoord,r,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(i):t.appendChild(i),this._container=t;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!o._enterable){var e=r.handler;Zt(r.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return t.prototype.update=function(t){var e,n,i=this._container,r=(n=(e=i).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n.position:null,a=i.style;"absolute"!==a.position&&"absolute"!==r&&(a.position="relative"),t.get("alwaysShowContent")&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=fY+function(t,e,n){var i=[],r=t.get("transitionDuration"),a=t.get("backgroundColor"),o=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),c=t.getModel("textStyle"),h=dd(t,"html");return i.push("box-shadow:"+l+"px "+u+"px "+o+"px "+s),e&&r&&i.push(function(t,e){var n=" "+t/2+"s cubic-bezier(0.23,1,0.32,1)",i="opacity"+n+",visibility"+n;return e||(n=" "+t+"s cubic-bezier(0.23,1,0.32,1)",i+=d.transformSupported?","+dY+n:",left"+n+",top"+n),hY+":"+i}(r,n)),a&&i.push("background-color:"+a),j(["width","color","radius"],function(e){var n="border-"+e,r=Mu(n),a=t.get(r);null!=a&&i.push(n+":"+a+("color"===e?"":"px"))}),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+r),j(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}(c)),null!=h&&i.push("padding:"+Su(h).join("px ")+"px"),i.join(";")+";"}(t,!this._firstShow,this._longHide)+pY(r[0],r[1],!0)+"border-color:"+Pu(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var a=this.el;if(null!=t){var o="";if(G(r)&&"item"===n.get("trigger")&&!sY(n)&&(o=function(t,e,n){if(!G(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=Pu(e);var a,o,s="left"===(a=n)?"right":"right"===a?"left":"top"===a?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",c=dY+":";E(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===s?225:45)+"deg)");var h=o*Math.PI/180,d=l+r,f=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),p=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;",(u+=";"+s+":-"+Math.round(100*((f-Math.SQRT2*r)/2+Math.SQRT2*r-(f-d)/2))/100+"px")+";"+c+";","border-bottom:"+p,"border-right:"+p,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),G(t))a.innerHTML=t+o;else if(t){a.innerHTML="",W(t)||(t=[t]);for(var s=0;s<t.length;s++)Q(t[s])&&t[s].parentNode!==a&&a.appendChild(t[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}}else a.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(mY(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;j(pY(n[0],n[1]),function(t){i[t[0]]=t[1]})}},t.prototype._moveIfResized=function(){var t=this._styleCoord[3];this.moveTo(this._styleCoord[2]*this._zr.getWidth(),t*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",d.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(z(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();function vY(t){return Math.max(0,t)}function yY(t){var e=vY(t.shadowBlur||0),n=vY(t.shadowOffsetX||0),i=vY(t.shadowOffsetY||0);return{left:vY(e-n),right:vY(e+n),top:vY(e-i),bottom:vY(e+i)}}function _Y(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var bY=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),_Y(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){t.get("alwaysShowContent")&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var a=this;Z(t)&&pc(""),this.el&&this._zr.remove(this.el);var o=n.getModel("textStyle");this.el=new ds({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:o.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:dd(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),j(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){a.el.style[t]=n.get(t)}),j(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){a.el.style[t]=o.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=yY(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;_Y(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,a=vY(r.borderWidth||0),o=yY(r);n.x=t+a+o.left,n.y=e+a+o.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[3];this.moveTo(this._styleCoord[2]*this._zr.getWidth(),t*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(z(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}(),wY=new Ko({shape:{x:-1,y:-1,width:2,height:2}});function kY(t,e,n){var i,r=e.ecModel;n?(i=new Ul(n,r,r),i=new Ul(e.option,i,r)):i=e;for(var a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof Ul&&(o=o.get("tooltip",!0)),G(o)&&(o={formatter:o}),o&&(i=new Ul(o,i,r)))}return i}function xY(t,e){return t.dispatchAction||z(e.dispatchAction,e)}function MY(t){return"center"===t||"middle"===t}var SY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){if(!d.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?d.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new bY(e):new gY(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!d.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Yp(this,"_updatePosition",50,"fixRate"):jp(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");wP("itemTooltip",this._api,z(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!d.node&&n.getDom()){var r=xY(i,n);this._ticket="";var a=i.dataByCoordSys,o=function(t,e,n){var i=Gr(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var a,o=Zr(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(o)return n.getViewOfComponentModel(o).group.traverse(function(e){var n=fs(e).tooltipConfig;if(n&&n.name===t.name)return a=e,!0}),a?{componentMainType:r,componentIndex:o.componentIndex,el:a}:void 0}}(i,e,n);if(o){var s=o.el.getBoundingRect().clone();s.applyTransform(o.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:o.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=wY;l.x=i.x,l.y=i.y,l.update(),fs(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=CP(i,e),c=u.point[0],h=u.point[1];null!=c&&null!=h&&this._tryShow({offsetX:c,offsetY:h,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(xY(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,a=i.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s&&"axis"===kY([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,a;this._lastDataByCoordSys=null,Sm(n,function(t){return null!=fs(t).dataIndex?(r=t,!0):null!=fs(t).tooltipConfig?(a=t,!0):void 0},!0),r?this._showSeriesItemTooltip(t,r,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=z(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],a=kY([e.tooltipOption],i),o=this._renderMode,s=[],l=nd("section",{blocks:[],noHeader:!0}),u=[],c=new fd;j(t,function(t){j(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var a=sP(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=nd("section",{header:a,noHeader:!st(a),sortBlocks:!0,blocks:[]});l.blocks.push(h),j(t.seriesDataIndices,function(l){var d=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=d.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=Ck(e.axis,{value:r}),p.axisValueLabel=a,p.marker=c.makeTooltipMarker("item",Pu(p.color),o);var m=bh(d.formatTooltip(f,!0,null)),g=m.frag;if(g){var v=kY([d],i).get("valueFormatter");h.blocks.push(v?I({valueFormatter:v},g):g)}m.text&&u.push(m.text),s.push(p)}})}})}),l.blocks.reverse(),u.reverse();var h=e.position,d=a.get("order"),f=ld(l,c,o,d,n.get("useUTC"),a.get("textStyle"));f&&u.unshift(f);var p=u.join("richText"===o?"\n\n":"<br/>");this._showOrMove(a,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(a,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(a,p,s,Math.random()+"",r[0],r[1],h,null,c)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=fs(e),a=r.seriesIndex,o=i.getSeriesByIndex(a),s=r.dataModel||o,l=r.dataIndex,u=r.dataType,c=s.getData(u),h=this._renderMode,d=t.positionDefault,f=kY([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=f.get("trigger");if(null==p||"item"===p){var m=s.getDataParams(l,u),g=new fd;m.marker=g.makeTooltipMarker("item",Pu(m.color),h);var v=bh(s.formatTooltip(l,!1,u)),y=f.get("order"),_=f.get("valueFormatter"),b=v.frag,w=b?ld(_?I({valueFormatter:_},b):b,g,h,y,i.get("useUTC"),f.get("textStyle")):v.text,k="item_"+s.name+"_"+l;this._showOrMove(f,function(){this._showTooltipContent(f,w,m,k,t.offsetX,t.offsetY,t.position,t.target,g)}),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:a,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=fs(e),r=i.tooltipConfig.option||{};G(r)&&(r={content:r,formatter:r});var a=[r],o=this._ecModel.getComponent(i.componentMainType,i.componentIndex);o&&a.push(o),a.push({formatter:r.content});var s=t.positionDefault,l=kY(a,this._tooltipModel,s?{position:s}:null),u=l.get("content"),c=Math.random()+"",h=new fd;this._showOrMove(l,function(){var n=T(l.get("formatterParams")||{});this._showTooltipContent(l,u,n,c,t.offsetX,t.offsetY,t.position,e,h)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,a,o,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");o=o||t.get("position");var h=e,d=this._getNearestPoint([r,a],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(G(c)){var f=t.ecModel.get("useUTC"),p=W(n)?n[0]:n;h=c,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(h=ou(p.axisValue,h,f)),h=Iu(h,n,!0)}else if(U(c)){var m=z(function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,o),this._updatePosition(t,o,r,a,u,n,s))},this);this._ticket=i,h=c(n,i,m)}else h=c;u.setContent(h,l,t,d,o),u.show(t,d),this._updatePosition(t,o,r,a,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||W(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:W(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,a,o){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),c=t.get("align"),h=t.get("verticalAlign"),d=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),U(e)&&(e=e([n,i],a,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),W(e))n=hr(e[0],s),i=hr(e[1],l);else if(Z(e)){var f=e;f.width=u[0],f.height=u[1];var p=Vu(f,{width:s,height:l});n=p.x,i=p.y,c=null,h=null}else if(G(e)&&o){var m=function(t,e,n,i){var r=n[0],a=n[1],o=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-a/2;break;case"top":s=e.x+u/2-r/2,l=e.y-a-o;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+o;break;case"left":s=e.x-r-o,l=e.y+c/2-a/2;break;case"right":s=e.x+u+o,l=e.y+c/2-a/2}return[s,l]}(e,d,u,t.get("borderWidth"));n=m[0],i=m[1]}else m=function(t,e,n,i,r,a,o){var s=n.getSize(),l=s[0],u=s[1];return null!=a&&(t+l+a+2>i?t-=l+a:t+=a),null!=o&&(e+u+o>r?e-=u+o:e+=o),[t,e]}(n,i,r,s,l,c?null:20,h?null:20),n=m[0],i=m[1];c&&(n-=MY(c)?u[0]/2:"right"===c?u[0]:0),h&&(i-=MY(h)?u[1]/2:"bottom"===h?u[1]:0),sY(t)&&(m=function(t,e,n,i,r){var a=n.getSize(),o=a[0],s=a[1];return t=Math.min(t+o,i)-o,e=Math.min(e+s,r)-s,[t=Math.max(t,0),e=Math.max(e,0)]}(n,i,r,s,l),n=m[0],i=m[1]),r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&j(n,function(n,a){var o=n.dataByAxis||[],s=(t[a]||{}).dataByAxis||[];(r=r&&o.length===s.length)&&j(o,function(t,n){var a=s[n]||{},o=t.seriesDataIndices||[],l=a.seriesDataIndices||[];(r=r&&t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&o.length===l.length)&&j(o,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&j(t.seriesDataIndices,function(t){var n=t.seriesIndex,a=e[n],o=i[n];a&&o&&o.data!==a.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!d.node&&e.getDom()&&(jp(this,"_updatePosition"),this._tooltipContent.dispose(),MP("itemTooltip",e))},e.type="tooltip",e}(Dd),CY=["rect","polygon","keep","clear"];function DY(t,e){var n=Ar(t?t.brush:[]);if(n.length){var i=[];j(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))});var r=t&&t.toolbox;W(r)&&(r=r[0]),r||(t.toolbox=[r={feature:{}}]);var a,o,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,i),o={},j(a=u,function(t){o[t]=1}),a.length=0,j(o,function(t,e){a.push(e)}),e&&!u.length&&u.push.apply(u,CY)}}var OY=j;function TY(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function LY(t,e,n){var i={};return OY(e,function(e){var r,a=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);OY(t[e],function(t,i){if(jC.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),a[i]=new jC(r),"opacity"===i&&((r=T(r)).type="colorAlpha",a.__hidden.__alphaForOpacity=new jC(r))}})}),i}function AY(t,e,n){var i;j(n,function(t){e.hasOwnProperty(t)&&TY(e[t])&&(i=!0)}),i&&j(n,function(n){e.hasOwnProperty(n)&&TY(e[n])?t[n]=T(e[n]):delete t[n]})}var IY={lineX:PY(0),lineY:PY(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&kM(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,a=t.y,o=t.width,s=t.height,l=i[0];return!!(kM(i,r,a)||kM(i,r+o,a)||kM(i,r,a+s)||kM(i,r+o,a+s)||Ni.create(t).contain(l[0],l[1])||yp(r,a,r+o,a,i)||yp(r,a,r,a+s,i)||yp(r+o,a,r+o,a+s,i)||yp(r,a+s,r+o,a+s,i))||void 0}}};function PY(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e)return EY(e[t],i.range)},rect:function(i,r,a){if(i){var o=a.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),EY(s[0],o)||EY(s[1],o)||EY(o[0],s)||EY(o[1],s)}}}}function EY(t,e){return e[0]<=t&&t<=e[1]}var RY=["inBrush","outOfBrush"];function YY(t){t.eachComponent({mainType:"brush"},function(e){(e.brushTargetManager=new tY(e.option,t)).setInputRanges(e.areas,t)})}function jY(t,e,n){var i,r,a=[];t.eachComponent({mainType:"brush"},function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})}),YY(t),t.eachComponent({mainType:"brush"},function(e,n){var o={brushId:e.id,brushIndex:n,brushName:e.name,areas:T(e.areas),selected:[]};a.push(o);var s=e.option,l=s.brushLink,u=[],c=[],h=[],d=!1;n||(i=s.throttleType,r=s.throttleDelay);var f=N(e.areas,function(t){var e=VY[t.brushType],n=P({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return IY[e].point(i,n,t)},rect:function(i){return IY[e].rect(i,n,t)}};return n}(n),n}),p=LY(e.option,RY,function(t){t.mappingMethod="fixed"});function m(t){return"all"===l||!!u[t]}function g(t){return!!t.length}W(l)&&j(l,function(t){u[t]=1}),t.eachSeries(function(n,i){var r=h[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;d=d||n.hasAxisBrushed(),m(e)&&n.eachActiveState(t.getData(),function(t,e){"active"===t&&(c[e]=1)})}(n,i):function(n,i,r){if(n.brushSelector&&!function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(W(n)?E(n,e)<0:e!==n)}(e,i)&&(j(f,function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),d=d||g(r)}),m(i)&&g(r))){var a=n.getData();a.each(function(t){FY(n,r,a,t)&&(c[t]=1)})}}(n,i,r)}),t.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};o.selected.push(n);var i=h[e],r=t.getData(),a=m(e)?function(t){return c[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return FY(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(m(e)?d:g(i))&&function(t,e,n,i,r,a){var o,s={};function l(t){return bm(n,o,t)}function u(t,e){km(n,o,t,e)}j(t,function(t){var n=jC.prepareVisualTypes(e[t]);s[t]=n}),n.each(function(t,r){var a=n.getRawDataItem(o=t);if(!a||!1!==a.visualMap)for(var c=i.call(void 0,t),h=e[c],d=s[c],f=0,p=d.length;f<p;f++){var m=d[f];h[m]&&h[m].applyVisual(t,l,u)}})}(RY,p,r,a)})}),function(t,e,n,i,r){if(r){var a=t.getZr();a.__ecInBrushSelectEvent||(a.__ecBrushSelect||(a.__ecBrushSelect=NY),Yp(a,"__ecBrushSelect",n,e)(t,i))}}(e,i,r,a,n)}function NY(t,e){if(!t.isDisposed()){var n=t.getZr();n.__ecInBrushSelectEvent=!0,t.dispatchAction({type:"brushSelect",batch:e}),n.__ecInBrushSelectEvent=!1}}function FY(t,e,n,i){for(var r=0,a=e.length;r<a;r++){var o=e[r];if(t.brushSelector(i,n,o.selectors,o))return!0}}var VY={rect:function(t){return HY(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){var a=n[i];a[0]<(e=e||[[1/0,-1/0],[1/0,-1/0]])[0][0]&&(e[0][0]=a[0]),a[0]>e[0][1]&&(e[0][1]=a[0]),a[1]<e[1][0]&&(e[1][0]=a[1]),a[1]>e[1][1]&&(e[1][1]=a[1])}return e&&HY(e)}};function HY(t){return new Ni(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var zY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,(this._brushController=new RT(e.getZr())).on("brush",z(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){YY(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:T(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:T(n),$from:e})},e.type="brush",e}(Dd);function BY(t,e){return L({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Ul(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var WY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return a(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&AY(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=N(t,function(t){return BY(this.option,t)},this))},e.prototype.setBrushOption=function(t){this.brushOption=BY(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Xu),UY=["rect","polygon","lineX","lineY","keep","clear"],GY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t,e,n){var i,r,a;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",a=a||!!t.areas.length}),this._brushType=i,this._brushMode=r,j(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?a:e===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return j(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:UY.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(yR),qY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Xu),XY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),a=t.getModel("subtextStyle"),o=t.get("textAlign"),s=nt(t.get("textBaseline"),t.get("textVerticalAlign")),l=new ds({style:kl(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),h=new ds({style:kl(a,{text:c,fill:a.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),f=t.get("sublink"),p=t.get("triggerEvent",!0);l.silent=!d&&!p,h.silent=!f&&!p,d&&l.on("click",function(){Eu(d,"_"+t.get("target"))}),f&&h.on("click",function(){Eu(f,"_"+t.get("subtarget"))}),fs(l).eventData=fs(h).eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(h);var m=i.getBoundingRect(),g=t.getBoxLayoutParams();g.width=m.width,g.height=m.height;var v=Vu(g,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));o||("middle"===(o=t.get("left")||t.get("right"))&&(o="center"),"right"===o?v.x+=v.width:"center"===o&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var y={align:o,verticalAlign:s};l.setStyle(y),h.setStyle(y),m=i.getBoundingRect();var _=v.margin,b=t.getItemStyle(["color","opacity"]);b.fill=t.get("backgroundColor");var w=new Ko({shape:{x:m.x-_[3],y:m.y-_[0],width:m.width+_[1]+_[3],height:m.height+_[0]+_[2],r:t.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Dd),ZY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],j(n,function(e,n){var i,a=Fr(Er(e),"");Z(e)?(i=T(e)).value=n:i=n,t.push(i),r.push(a)})):t=n,(this._data=new O_([{name:"value",type:{category:"ordinal",time:"time",value:"number"}[i]||"number"}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Xu),KY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="timeline.slider",e.defaultOption=Xl(ZY.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(ZY);R(KY,_h.prototype);var JY=KY,QY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="timeline",e}(Dd),$Y=function(t){function e(e,n,i,r){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a}return a(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(Bk),tj=Math.PI,ej=Br();function nj(t,e,n,i,r,a){var o=e.get("color");r?(r.setColor(o),n.add(r),a&&a.onUpdate(r)):((r=jm(t.get("symbol"),-1,-1,2,2,o)).setStyle("strokeNoScale",!0),n.add(r),a&&a.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=L({rectHover:!0,z2:100},i,!0);var l=Nm(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var u=Fm(t.get("symbolOffset"),l);u&&(i.x=(i.x||0)+u[0],i.y=(i.y||0)+u[1]);var c=t.get("symbolRotate");return i.rotation=(c||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function ij(t,e,n,i,r,a){if(!t.dragging){var o=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(a||!o.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var rj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),a=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return nd("nameValue",{noName:!0,value:o.scale.getLabel({value:t})})},j(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](i,r,o,t)},this),this._renderAxisLabel(i,a,o,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,a,o=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Vu(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==o||"auto"===o?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":G(o)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][o]:o)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:tj/2},d="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),p=f.get("show",!0),m=p?f.get("itemSize"):0,g=p?f.get("itemGap"):0,v=m+g,y=t.get(["label","rotate"])||0;y=y*tj/180;var _=f.get("position",!0),b=p&&f.get("showPlayBtn",!0),w=p&&f.get("showPrevBtn",!0),k=p&&f.get("showNextBtn",!0),x=0,M=d;"left"===_||"bottom"===_?(b&&(i=[0,0],x+=v),w&&(r=[x,0],x+=v),k&&(a=[M-m,0],M-=v)):(b&&(i=[M-m,0],M-=v),w&&(r=[0,0],x+=v),k&&(a=[M-m,0],M-=v));var S=[x,M];return t.get("inverse")&&S.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:a,axisExtent:S,controlSize:m,controlGap:g}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var a=[1,0,0,1,0,0],o=r.x,s=r.y+r.height;mi(a,a,[-o,-s]),gi(a,a,-tj/2),mi(a,a,[o,s]),(r=r.clone()).applyTransform(a)}var l=g(r),u=g(n.getBoundingRect()),c=g(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var f,p=t.labelPosOpt;function m(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function g(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}null==p||G(p)?(v(h,u,l,1,f="+"===p?0:1),v(d,c,l,1,1-f)):(v(h,u,l,1,f=p>=0?0:1),d[1]=h[1]+p),n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=t.rotation,m(n),m(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new qw({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new ak({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Kw}}(e,i);r.getTicks=function(){return n.mapArray(["value"],function(t){return{value:t}})};var a=n.getDataExtent("value");r.setExtent(a[0],a[1]),r.calcNiceTicks();var o=new $Y("value",r,t.axisExtent,i);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new ar;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var a=new Tf({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:I({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(a);var o=this._progressLine=new Tf({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:P({lineCap:"round",lineWidth:a.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(o)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,a=i.getData(),o=n.scale.getTicks();this._tickSymbols=[],j(o,function(t){var o=n.dataToCoord(t.value),s=a.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),h={x:o,y:0,onclick:z(r._changeTimeline,r,t.value)},d=nj(s,l,e,h);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=c.getItemStyle(),Js(d);var f=fs(d);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(d)})},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var a=i.getData(),o=n.getViewLabels();this._tickLabels=[],j(o,function(i){var o=i.tickValue,s=a.getItemModel(o),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),d=new ds({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:z(r._changeTimeline,r,o),silent:!1,style:kl(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=kl(u),d.ensureState("progress").style=kl(c),e.add(d),Js(d),ej(d).dataIndex=o,r._tickLabels.push(d)})}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,a=t.rotation,o=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function c(t,n,l,u){if(t){var c=Gi(nt(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,a=vp(t.get(["controlStyle",e]),i||{},new Ni(n[0],n[1],n[2],n[3]));return r&&a.setStyle(r),a}(i,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-a:0,rectHover:!0,style:o,onclick:l});h.ensureState("emphasis").style=s,e.add(h),Js(h)}}c(t.nextBtnPosition,"next",z(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",z(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",z(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),a=i.getCurrentIndex(),o=r.getItemModel(a).getModel("checkpointStyle"),s=this;this._currentPointer=nj(o,o,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=z(s._handlePointerDrag,s),t.ondragend=z(s._handlePointerDragend,s),ij(t,s._progressLine,a,n,i,!0)},onUpdate:function(t){ij(t,s._progressLine,a,n,i)}})},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=fr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw(),this._progressLine.shape.x2=n,this._progressLine.dirty();var r=this._findNearestTick(n),a=this.model;(e||r!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(r)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return hp(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],function(n,a){var o=r.dataToCoord(n),s=Math.abs(o-t);s<i&&(i=s,e=a)}),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",ej(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(QY);function aj(t){var e=t&&t.timeline;W(e)||(e=e?[e]:[]),j(e,function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),oj(t),sj(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});sj(i,"position")||(i.position=t.controlPosition),"none"!==i.position||sj(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}j(t.data||[],function(t){Z(t)&&!W(t)&&(!sj(t,"value")&&sj(t,"name")&&(t.value=t.name),oj(t))})}(t)})}function oj(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),a={normal:1,emphasis:1};j(i,function(t,e){a[e]||sj(r,e)||(r[e]=t)}),n.label&&!sj(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function sj(t,e){return t.hasOwnProperty(e)}function lj(t,e){if(!t)return!1;for(var n=W(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function uj(t){Ir(t,"label",["show"])}var cj=Br(),hj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(d.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),a=cj(t)[r];n&&n.data?(a?a._mergeOption(n,e,!0):(i&&uj(n),j(n.data,function(t){t instanceof Array?(uj(t[0]),uj(t[1])):uj(t)}),I(a=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),cj(t)[r]=a):cj(t)[r]=null},this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),a=i.getName(t);return nd("section",{header:this.name,blocks:[nd("nameValue",{name:a,value:r,noName:!a,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return cj(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Xu);R(hj,_h.prototype);var dj=hj,fj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(dj);function pj(t,e,n,i,r,a){var o=[],s=E_(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=bj(e,s,t),u=e.indicesOfNearest(s,l)[0];o[r]=e.get(n,u),o[a]=e.get(s,u);var c=e.get(i,u),h=pr(e.get(i,u));return(h=Math.min(h,20))>=0&&(o[a]=+o[a].toFixed(h)),[o,c]}var mj={min:B(pj,"min"),max:B(pj,"max"),average:B(pj,"average"),median:B(pj,"median")};function gj(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!W(e.coord)&&i){var r=i.dimensions,a=vj(e,n,i,t);if((e=T(e)).type&&mj[e.type]&&a.baseAxis&&a.valueAxis){var o=E(r,a.baseAxis.dim),s=E(r,a.valueAxis.dim),l=mj[e.type](n,a.baseDataDim,a.valueDataDim,o,s);e.coord=l[0],e.value=l[1]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],c=0;c<2;c++)mj[u[c]]&&(u[c]=bj(n,n.mapDimension(r[c]),u[c]));e.coord=u}}return e}function vj(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function yj(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function _j(t,e){return t?function(t,n,i,r){return Mh(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Mh(t.value,e[r])}}function bj(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var wj=Br(),kj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(){this.markerGroupMap=ht()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each(function(t){wj(t).keep=!1}),e.eachSeries(function(t){var r=dj.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)}),r.each(function(t){!wj(t).keep&&i.group.remove(t.group)})},e.prototype.markKeep=function(t){wj(t).keep=!0},e.prototype.blurSeries=function(t){var e=this;j(t,function(t){var n=dj.getMarkerModelFromSeries(t,e.type);n&&n.getData().eachItemGraphicEl(function(t){t&&Vs(t)})})},e.type="marker",e}(Dd);function xj(t,e,n){var i=e.coordinateSystem;t.each(function(r){var a,o=t.getItemModel(r),s=hr(o.get("x"),n.getWidth()),l=hr(o.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),c=t.get(i.dimensions[1],r);a=i.dataToPoint([u,c])}}else a=[s,l];isNaN(s)||(a[0]=s),isNaN(l)||(a[1]=l),t.setItemLayout(r,a)})}var Mj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=dj.getMarkerModelFromSeries(t,"markPoint");e&&(xj(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new U_),u=function(t,e,n){var i;i=t?N(t&&t.dimensions,function(t){return I(I({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new O_(i,n),a=N(n.get("data"),B(gj,e));t&&(a=V(a,B(yj,t)));var o=_j(!!t,i);return r.initData(a,null,o),r}(r,t,e);e.setData(u),xj(e.getData(),t,i),u.each(function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(U(i)||U(r)||U(a)||U(s)){var c=e.getRawValue(t),h=e.getDataParams(t);U(i)&&(i=i(c,h)),U(r)&&(r=r(c,h)),U(a)&&(a=a(c,h)),U(s)&&(s=s(c,h))}var d=n.getModel("itemStyle").getItemStyle(),f=wm(o,"color");d.fill||(d.fill=f),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:a,symbolOffset:s,symbolKeepAspect:l,style:d})}),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl(function(t){t.traverse(function(t){fs(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(kj),Sj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(dj),Cj=Br(),Dj=function(t,e,n,i){var r,a=t.getData();if(W(i))r=i;else{var o=i.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=et(i.yAxis,i.xAxis);else{var u=vj(i,a,e,t);s=u.valueAxis,l=bj(a,R_(a,u.valueDataDim),o)}var c="x"===s.dim?0:1,h=1-c,d=T(i),f={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,f.coord[h]=1/0;var p=n.get("precision");p>=0&&X(l)&&(l=+l.toFixed(Math.min(p,20))),d.coord[c]=f.coord[c]=l,r=[d,f,{type:o,valueIndex:i.valueIndex,value:l}]}else r=[]}var m=[gj(t,r[0]),gj(t,r[1]),I({},r[2])];return m[2].type=m[2].type||null,L(m[2],m[0]),L(m[2],m[1]),m};function Oj(t){return!isNaN(t)&&!isFinite(t)}function Tj(t,e,n,i){var r=1-t,a=i.dimensions[t];return Oj(e[r])&&Oj(n[r])&&e[t]===n[t]&&i.getAxis(a).containData(e[t])}function Lj(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(Tj(1,n,i,t)||Tj(0,n,i,t)))return!0}return yj(t,e[0])&&yj(t,e[1])}function Aj(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=hr(s.get("x"),r.getWidth()),u=hr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=t.get((d=o.dimensions)[0],e),h=t.get(d[1],e);a=o.dataToPoint([c,h])}if(lb(o,"cartesian2d")){var d,f=o.getAxis("x"),p=o.getAxis("y");Oj(t.get((d=o.dimensions)[0],e))?a[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):Oj(t.get(d[1],e))&&(a[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];t.setItemLayout(e,a)}var Ij=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=dj.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=Cj(e).from,a=Cj(e).to;r.each(function(e){Aj(r,e,!0,t,n),Aj(a,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new HD);this.group.add(l.group);var u=function(t,e,n){var i;i=t?N(t&&t.dimensions,function(t){return I(I({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new O_(i,n),a=new O_(i,n),o=new O_([],n),s=N(n.get("data"),B(Dj,e,t,n));t&&(s=V(s,B(Lj,t)));var l=_j(!!t,i);return r.initData(N(s,function(t){return t[0]}),null,l),a.initData(N(s,function(t){return t[1]}),null,l),o.initData(N(s,function(t){return t[2]})),o.hasItemOption=!0,{from:r,to:a,line:o}}(r,t,e),c=u.from,h=u.to,d=u.line;Cj(e).from=c,Cj(e).to=h,e.setData(d);var f=e.get("symbol"),p=e.get("symbolSize"),m=e.get("symbolRotate"),g=e.get("symbolOffset");function v(e,n,r){var a=e.getItemModel(n);Aj(e,n,r,t,i);var s=a.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=wm(o,"color")),e.setItemVisual(n,{symbolKeepAspect:a.get("symbolKeepAspect"),symbolOffset:nt(a.get("symbolOffset",!0),g[r?0:1]),symbolRotate:nt(a.get("symbolRotate",!0),m[r?0:1]),symbolSize:nt(a.get("symbolSize"),p[r?0:1]),symbol:nt(a.get("symbol",!0),f[r?0:1]),style:s})}W(f)||(f=[f,f]),W(p)||(p=[p,p]),W(m)||(m=[m,m]),W(g)||(g=[g,g]),u.from.each(function(t){v(c,t,!0),v(h,t,!1)}),d.each(function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[c.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})}),l.updateData(d),u.line.eachItemGraphicEl(function(t,n){t.traverse(function(t){fs(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(kj),Pj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(dj),Ej=Br(),Rj=function(t,e,n,i){var r=gj(t,i[0]),a=gj(t,i[1]),o=r.coord,s=a.coord;o[0]=et(o[0],-1/0),o[1]=et(o[1],-1/0),s[0]=et(s[0],1/0),s[1]=et(s[1],1/0);var l=A([{},r,a]);return l.coord=[r.coord,a.coord],l.x0=r.x,l.y0=r.y,l.x1=a.x,l.y1=a.y,l};function Yj(t){return!isNaN(t)&&!isFinite(t)}function jj(t,e,n,i){var r=1-t;return Yj(e[r])&&Yj(n[r])}function Nj(t,e){var n=e.coord[0],i=e.coord[1];return!!(lb(t,"cartesian2d")&&n&&i&&(jj(1,n,i)||jj(0,n,i)))||yj(t,{coord:n,x:e.x0,y:e.y0})||yj(t,{coord:i,x:e.x1,y:e.y1})}function Fj(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=hr(s.get(n[0]),r.getWidth()),u=hr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(n,e));else{var c=[f=t.get(n[0],e),p=t.get(n[1],e)];o.clampData&&o.clampData(c,c),a=o.dataToPoint(c,!0)}if(lb(o,"cartesian2d")){var h=o.getAxis("x"),d=o.getAxis("y"),f=t.get(n[0],e),p=t.get(n[1],e);Yj(f)?a[0]=h.toGlobalCoord(h.getExtent()["x0"===n[0]?0:1]):Yj(p)&&(a[1]=d.toGlobalCoord(d.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];return a}var Vj=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Hj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=dj.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=N(Vj,function(r){return Fj(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,{group:new ar});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r;if(t){var a=N(t&&t.dimensions,function(t){var n=e.getData();return I(I({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})});r=N(["x0","y0","x1","y1"],function(t,e){return{name:t,type:a[e%2].type}}),i=new O_(r,n)}else i=new O_(r=[{name:"value",type:"float"}],n);var o=N(n.get("data"),B(Rj,e,t,n));return t&&(o=V(o,B(Nj,t))),i.initData(o,null,t?function(t,e,n,i){return Mh(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Mh(t.value,r[i])}),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each(function(e){var n=N(Vj,function(n){return Fj(u,e,n,t,i)}),a=r.getAxis("x").scale,s=r.getAxis("y").scale,l=a.getExtent(),c=s.getExtent(),h=[a.parse(u.get("x0",e)),a.parse(u.get("x1",e))],d=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];fr(h),fr(d),u.setItemLayout(e,{points:n,allClipped:!!(l[0]>h[1]||l[1]<h[0]||c[0]>d[1]||c[1]<d[0])});var f=u.getItemModel(e).getModel("itemStyle").getItemStyle(),p=wm(o,"color");f.fill||(f.fill=p,G(f.fill)&&(f.fill=mn(f.fill,.4))),f.stroke||(f.stroke=p),u.setItemVisual(e,"style",f)}),u.diff(Ej(l).data).add(function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new kf({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}}).update(function(t,n){var i=Ej(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?cl(i,{shape:{points:r.points}},e,t):i=new kf({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))}).remove(function(t){var e=Ej(l).data.getItemGraphicEl(t);l.group.remove(e)}).execute(),u.eachItemGraphicEl(function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),bl(t,wl(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:G(r.fill)?mn(r.fill,1):"#000"}),nl(t,i),Qs(t,null,null,i.get(["emphasis","disabled"])),fs(t).dataModel=e}),Ej(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(kj),zj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),W(e)&&j(e,function(t,i){G(t)&&(t={type:t}),e[i]=L(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r;if(n.push(i.name),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&Vr(i)&&e.push(i.name)}),this._availableNames=n;var i=N(this.get("data")||e,function(t){return(G(t)||X(t))&&(t={name:t}),new Ul(t,this,this.ecModel)},this);this._data=i},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&j(this._data,function(t){e[t.get("name")]=!1}),e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this.option.selected;j(this._data,function(e){t[e.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this.option.selected;j(this._data,function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&E(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Xu),Bj=B,Wj=j,Uj=ar;function Gj(t,e,n,i){Zj(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),Xj(t,e,n,i)}function qj(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function Xj(t,e,n,i){qj(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function Zj(t,e,n,i){qj(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var Kj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return a(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new Uj),this.group.add(this._selectorGroup=new Uj),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var o=t.get("selector",!0),s=t.get("selectorPosition",!0);!o||s&&"auto"!==s||(s="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,o,a,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),h=Vu(l,u,c),d=this.layoutInner(t,r,h,i,o,s),f=Vu(P({width:d.width,height:d.height},l),u,c);this.group.x=f.x-d.x,this.group.y=f.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=xR(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,a,o){var s=this.getContentGroup(),l=ht(),u=e.get("selectedMode"),c=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&c.push(t.id)}),Wj(e.getData(),function(r,a){var o=r.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var h=new Uj;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(o)[0];if(!l.get(o))if(d){var f=d.getData(),p=f.getVisual("legendLineStyle")||{},m=f.getVisual("legendIcon"),g=f.getVisual("style");this._createItem(d,o,a,r,e,t,p,g,m,u).on("click",Bj(Gj,o,null,i,c)).on("mouseover",Bj(Xj,d.name,null,i,c)).on("mouseout",Bj(Zj,d.name,null,i,c)),l.set(o,!0)}else n.eachRawSeries(function(n){if(!l.get(o)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(o))return;var h=s.indexOfName(o),d=s.getItemVisual(h,"style"),f=s.getItemVisual(h,"legendIcon"),p=un(d.fill);p&&0===p[3]&&(p[3]=.2,d=I(I({},d),{fill:gn(p,"rgba")})),this._createItem(n,o,a,r,e,t,{},d,f,u).on("click",Bj(Gj,null,o,i,c)).on("mouseover",Bj(Xj,null,o,i,c)).on("mouseout",Bj(Zj,null,o,i,c)),l.set(o,!0)}},this)},this),r&&this._createSelector(r,e,i,a,o)},e.prototype._createSelector=function(t,e,n,i,r){var a=this.getSelectorGroup();Wj(t,function(t){var i=t.type,r=new ds({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});a.add(r),bl(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Js(r)})},e.prototype._createItem=function(t,e,n,i,r,a,o,s,l,u){var c,h,d,f=t.visualDrawType,p=r.get("itemWidth"),m=r.get("itemHeight"),g=r.isSelected(e),v=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),_=i.get("icon"),b=function(t,e,n,i,r,a){function o(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),Wj(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var s=e.getModel("itemStyle").getItemStyle(),l=0===t.lastIndexOf("empty",0)?"fill":"stroke";s.decal=i.decal,"inherit"===s.fill&&(s.fill=i[r]),"inherit"===s.stroke&&(s.stroke=i[l]),"inherit"===s.opacity&&(s.opacity=("fill"===r?i:n).opacity),o(s,i);var u=e.getModel("lineStyle"),c=u.getLineStyle();if(o(c,n),"auto"===s.fill&&(s.fill=i.fill),"auto"===s.stroke&&(s.stroke=i.fill),"auto"===c.stroke&&(c.stroke=i.fill),!a){var h=e.get("inactiveBorderWidth");s.lineWidth="auto"===h?i.lineWidth>0&&s[l]?2:0:s.lineWidth,s.fill=e.get("inactiveColor"),s.stroke=e.get("inactiveBorderColor"),c.stroke=u.get("inactiveColor"),c.lineWidth=u.get("inactiveWidth")}return{itemStyle:s,lineStyle:c}}(l=_||l||"roundRect",i,o,s,f,g),w=new Uj,k=i.getModel("textStyle");if(!U(t.getLegendIcon)||_&&"inherit"!==_){var x="inherit"===_&&t.getData().getVisual("symbol")?"inherit"===v?t.getData().getVisual("symbolRotate"):v:0;w.add(((d=jm(h=(c={itemWidth:p,itemHeight:m,icon:l,iconRotate:x,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}).icon||"roundRect",0,0,c.itemWidth,c.itemHeight,c.itemStyle.fill,c.symbolKeepAspect)).setStyle(c.itemStyle),d.rotation=(c.iconRotate||0)*Math.PI/180,d.setOrigin([c.itemWidth/2,c.itemHeight/2]),h.indexOf("empty")>-1&&(d.style.stroke=d.style.fill,d.style.fill="#fff",d.style.lineWidth=2),d))}else w.add(t.getLegendIcon({itemWidth:p,itemHeight:m,icon:l,iconRotate:v,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));var M="left"===a?p+5:-5,S=a,C=r.get("formatter"),D=e;G(C)&&C?D=C.replace("{name}",null!=e?e:""):U(C)&&(D=C(e));var O=i.get("inactiveColor");w.add(new ds({style:kl(k,{text:D,x:M,y:m/2,fill:g?k.getTextColor():O,align:S,verticalAlign:"middle"})}));var T=new Ko({shape:w.getBoundingRect(),invisible:!0}),L=i.getModel("tooltip");return L.get("show")&&wp({el:T,componentModel:r,itemName:e,itemTooltipOption:L.option}),w.add(T),w.eachChild(function(t){t.silent=!0}),T.silent=!u,this.getContentGroup().add(w),Js(w),w.__legendDataIndex=n,w},e.prototype.layoutInner=function(t,e,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();Fu(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var l=o.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),o.markRedraw(),r){Fu("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",m=0===f?"height":"width",g=0===f?"y":"x";"end"===a?h[f]+=l[p]+d:u[f]+=c[p]+d,h[1-f]+=l[m]/2-c[m]/2,s.x=h[0],s.y=h[1],o.x=u[0],o.y=u[1];var v={x:0,y:0};return v[p]=l[p]+d+c[p],v[m]=Math.max(l[m],c[m]),v[g]=Math.min(0,c[g]+h[1-f]),v}return o.x=u[0],o.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Dd);function Jj(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function Qj(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name)),j(n.getData(),function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r[e]=r.hasOwnProperty(e)?r[e]&&i:i}})}),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function $j(t){t.registerComponentModel(zj),t.registerComponentView(Kj),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,Jj),t.registerSubTypeDefaulter("legend",function(){return"plain"}),function(t){t.registerAction("legendToggleSelect","legendselectchanged",B(Qj,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",B(Qj,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",B(Qj,"inverseSelect")),t.registerAction("legendSelect","legendselected",B(Qj,"select")),t.registerAction("legendUnSelect","legendunselected",B(Qj,"unSelect"))}(t)}function tN(t,e,n){var i=[1,1];i[t.getOrient().index]=0,Bu(e,n,{type:"box",ignoreSize:!!i})}var eN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=Wu(e);t.prototype.init.call(this,e,n,i),tN(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),tN(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Xl(zj.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(zj),nN=ar,iN=["width","height"],rN=["x","y"],aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return a(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new nN),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new nN)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,o,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,a,o,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),h=W(c)?c:[c,c];f("pagePrev",0);var d=n.getModel("pageTextStyle");function f(t,e){var i=t+"DataIndex",a=vp(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:z(l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});a.name=t,u.add(a)}u.add(new ds({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var o=this.getSelectorGroup(),s=t.getOrient().index,l=iN[s],u=rN[s],c=iN[1-s],h=rN[1-s];r&&Fu("horizontal",o,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),f=o.getBoundingRect(),p=[-f.x,-f.y],m=T(n);r&&(m[l]=n[l]-f[l]-d);var g=this._layoutContentAndController(t,i,m,s,l,c,h,u);if(r){if("end"===a)p[s]+=g[l]+d;else{var v=f[l]+d;p[s]-=v,g[u]-=v}g[l]+=f[l]+d,p[1-s]+=g[h]+g[c]/2-f[c]/2,g[c]=Math.max(g[c],f[c]),g[h]=Math.min(g[h],f[h]+p[1-s]),o.x=p[0],o.y=p[1],o.markRedraw()}return g},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,o,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;Fu(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),Fu("horizontal",c,t.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=c.getBoundingRect(),f=this._showController=h[r]>n[r],p=[-h.x,-h.y];e||(p[i]=l[s]);var m=[0,0],g=[-d.x,-d.y],v=nt(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?g[i]+=n[r]-d[r]:m[i]+=d[r]+v),g[1-i]+=h[a]/2-d[a]/2,l.setPosition(p),u.setPosition(m),c.setPosition(g);var y={x:0,y:0};if(y[r]=f?n[r]:h[r],y[a]=Math.max(h[a],d[a]),y[o]=Math.min(0,d[o]+g[1-i]),u.__rectSize=n[r],f){var _={x:0,y:0};_[r]=Math.max(n[r]-d[r]-v,0),_[a]=y[a],u.setClipPath(new Ko({shape:_})),u.__rectSize=_[r]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(t);return null!=b.pageIndex&&cl(l,{x:b.contentPosition[0],y:b.contentPosition[1]},f?t:null),this._updatePageInfoView(t,b),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;j(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],a=n.childOfName(i);a&&(a.setStyle("fill",t.get(r?"pageIconColor":"pageIconInactiveColor",!0)),a.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,o=null!=a?a+1:0,s=e.pageCount;i&&r&&i.setStyle("text",G(r)?r.replace("{current}",null==o?"":o+"").replace("{total}",null==s?"":s+""):r({current:o,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,a=iN[r],o=rN[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var f=y(u);d.contentPosition[r]=-f.s;for(var p=s+1,m=f,g=f,v=null;p<=c;++p)(!(v=y(l[p]))&&g.e>m.s+i||v&&!_(v,m.s))&&(m=g.i>m.i?g:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=m.i),++d.pageCount),g=v;for(p=s-1,m=f,g=f,v=null;p>=-1;--p)(v=y(l[p]))&&_(g,v.s)||!(m.i<g.i)||(g=m,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=m.i),++d.pageCount,++d.pageIndex),m=v;return d;function y(t){if(t){var e=t.getBoundingRect(),n=e[o]+t[o];return{s:n,e:n+e[a],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild(function(i,r){var a=i.__legendDataIndex;null==n&&null!=a&&(n=r),a===t&&(e=r)}),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(Kj);function oN(t){hv($j),t.registerComponentModel(eN),t.registerComponentView(aN),function(t){t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})}(t)}var sN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="dataZoom.inside",e.defaultOption=Xl(sR.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(sR),lN=Br();function uN(t,e,n){lN(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}function cN(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function hN(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function dN(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var fN=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return a(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),uN(i,e,{pan:z(pN.pan,this),zoom:z(pN.zoom,this),scrollMove:z(pN.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=lN(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var a=n.get(i[r]),o=a.dataZoomInfoMap;if(o){var s=e.uid;o.get(s)&&(o.removeKey(s),o.keys().length||cN(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(uR),pN={zoom:function(t,e,n,i){var r=this.range,a=r.slice(),o=t.axisModels[0];if(o){var s=gN[e](null,[i.originX,i.originY],o,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/i.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return EO(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:mN(function(t,e,n,i,r,a){var o=gN[i]([a.oldX,a.oldY],[a.newX,a.newY],e,r,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:mN(function(t,e,n,i,r,a){return gN[i]([0,0],[a.scrollDelta,a.scrollDelta],e,r,n).signal*(t[1]-t[0])*a.scrollDelta})};function mN(t){return function(e,n,i,r){var a=this.range,o=a.slice(),s=e.axisModels[0];if(s)return EO(t(o,s,e,n,i,r),o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}var gN={grid:function(t,e,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,n,i,r){var a=n.axis,o=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}},vN=fN;function yN(t){gR(t),t.registerComponentModel(sN),t.registerComponentView(vN),function(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=lN(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=ht());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){j(rR(t).infoList,function(n){var r=n.model.uid,a=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:B(dN,e),dispatchAction:B(hN,t),dataZoomInfoMap:null,controller:null},i=n.controller=new Xx(t.getZr());return j(["pan","zoom","scrollMove"],function(t){i.on(t,function(e){var i=[];n.dataZoomInfoMap.each(function(r){if(e.isAvailableBehavior(r.model.option)){var a=(r.getRange||{})[t],o=a&&a(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&o&&i.push({dataZoomId:r.model.id,start:o[0],end:o[1]})}}),i.length&&n.dispatchAction(i)})}),n}(e,n.model));(a.dataZoomInfoMap||(a.dataZoomInfoMap=ht())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var a=r.keys()[0];null!=a&&(e=r.get(a))}if(e){var o=function(t){var e,n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each(function(t){var r=t.model,a=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");n["type_"+a]>n["type_"+e]&&(e=a),i=i&&r.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(r);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),Yp(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else cN(i,t)})})}(t)}var _N=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Xl(sR.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(sR),bN=Ko,wN=["line","bar","candlestick","scatter"],kN={easing:"cubicOut",duration:100,delay:0};function xN(t){return"vertical"===t?"ns-resize":"ew-resize"}var MN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return a(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=z(this._onBrush,this),this._onBrushEnd=z(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Yp(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){jp(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new ar;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},a="horizontal"===this._orient?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},o=Wu(t.option);j(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=a[t])});var s=Vu(o,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr("horizontal"!==n||r?"horizontal"===n&&r?{scaleY:o?1:-1,scaleX:-1}:"vertical"!==n||r?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var s=t.getBoundingRect([a]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new bN({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new bN({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:z(this._onClickPanel,this)}),a=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),a=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=a){var o=this._shadowPolygonPts,s=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var l=r.getDataExtent(a),u=.3*(l[1]-l[0]);l=[l[0]-u,l[1]+u];var c,h=[0,e[1]],d=[[e[0],0],[0,0]],f=[],p=e[0]/(r.count()-1),m=0,g=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(g>0&&e%g)m+=p;else{var n=null==t||isNaN(t)||""===t,i=n?0:cr(t,l,h,!0);n&&!c&&e?(d.push([d[d.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&c&&(d.push([m,0]),f.push([m,0])),d.push([m,i]),f.push([m,i]),m+=p,c=n}}),o=this._shadowPolygonPts=d,s=this._shadowPolylinePts=f}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var v=this.dataZoomModel,y=0;y<3;y++){var _=b(1===y);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function b(t){var e=v.getModel(t?"selectedDataBackground":"dataBackground"),n=new ar,i=new kf({shape:{points:o},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Sf({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis(function(r,a){j(t.getAxisProxy(r,a).getTargetSeriesModels(),function(t){if(!(n||!0!==e&&E(wN,t.get("type"))<0)){var o,s=i.getComponent(iR(r),a).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(o=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:o}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,a=this._size,o=this.dataZoomModel,s=this.api,l=o.get("borderRadius")||0,u=o.get("brushSelect"),c=e.filler=new bN({silent:u,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new bN({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:l},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),j([0,1],function(e){var a=o.get("handleIcon");!Em[a]&&a.indexOf("path://")<0&&a.indexOf("image://")<0&&(a="path://"+a);var s=jm(a,-1,0,2,2,null,!0);s.attr({cursor:xN(this._orient),draggable:!0,drift:z(this._onDragMove,this,e),ondragend:z(this._onDragEnd,this),onmouseover:z(this._showDataInfo,this,!0),onmouseout:z(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=o.get("handleSize");this._handleHeight=hr(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(o.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),Js(s);var c=o.get("handleColor");null!=c&&(s.style.fill=c),r.add(n[e]=s);var h=o.getModel("textStyle");t.add(i[e]=new ds({silent:!0,invisible:!0,style:kl(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))},this);var h=c;if(u){var d=hr(o.get("moveHandleSize"),a[1]),f=e.moveHandle=new Ko({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:d}}),p=.8*d,m=e.moveHandleIcon=jm(o.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);m.silent=!0,m.y=a[1]+d/2-.5,f.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(a[1]/2,Math.max(d,10));(h=e.moveZone=new Ko({invisible:!0,shape:{y:a[1]-g,height:d+g}})).on("mouseover",function(){s.enterEmphasis(f)}).on("mouseout",function(){s.leaveEmphasis(f)}),r.add(f),r.add(m),r.add(h)}h.attr({draggable:!0,cursor:xN(this._orient),drift:z(this._onDragMove,this,"all"),ondragstart:z(this._showDataInfo,this,!0),ondragend:z(this._onDragEnd,this),onmouseover:z(this._showDataInfo,this,!0),onmouseout:z(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[cr(t[0],[0,100],e,!0),cr(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];EO(e,i,r,n.get("zoomLock")?"all":t,null!=a.minSpan?cr(a.minSpan,o,r,!0):null,null!=a.maxSpan?cr(a.maxSpan,o,r,!0):null);var s=this._range,l=this._range=fr([cr(i[0],r,o,!0),cr(i[1],r,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=fr(n.slice()),r=this._size;j([0,1],function(t){var i=this._handleHeight;e.handles[t].attr({scaleX:i/2,scaleY:i/2,x:n[t]+(t?-1:1),y:r[1]/2-i/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var a={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var o=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<o.length;l++){var u=o[l],c=u.getClipPath();c||(c=new Ko,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(e.get("showDetail")){var o=e.findRepresentativeAxisProxy();if(o){var s=o.getAxisModel().axis,l=this._range,u=t?o.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:o.getDataValueWindow();a=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=fr(this._handleEnds.slice());function h(t){var e=cp(n.handles[t].parent,this.group),o=dp(0===t?"right":"left",e),s=this._handleWidth/2+5,l=hp([c[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:"horizontal"===r?"middle":o,align:"horizontal"===r?o:"center",text:a[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return U(i)?i(t,a):G(i)?i.replace("{value}",a):a},e.prototype._showDataInfo=function(t){var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!(t=this._dragging||t)),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,Jt(i.event);var r=hp([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),a=this._updateInterval(t,r[0]),o=this.dataZoomModel.get("realtime");this._updateView(!o),a&&o&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=this._updateInterval("all",n[0]-(i[0]+i[1])/2);this._updateView(),r&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){this._brushStart=new Ti(t.offsetX,t.offsetY),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=fr([cr(n.x,i,r,!0),cr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Jt(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=n.brushRect;i||(i=n.brushRect=new bN({silent:!0,style:this.dataZoomModel.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var r=this._brushStart,a=this._displayables.sliderGroup,o=a.transformCoordToLocal(t,e),s=a.transformCoordToLocal(r.x,r.y),l=this._size;o[0]=Math.max(Math.min(l[0],o[0]),0),i.setShape({x:s[0],y:0,width:o[0]-s[0],height:l[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?kN:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=rR(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(uR);function SN(t){t.registerComponentModel(_N),t.registerComponentView(MN),gR(t)}var CN={get:function(t,e,n){var i=T((DN[t]||{})[e]);return n&&W(i)?i[i.length-1]:i}},DN={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},ON=CN,TN=jC.mapVisual,LN=jC.eachVisual,AN=W,IN=j,PN=fr,EN=cr,RN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){!e&&AY(this.option,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=z(t,this),this.controllerVisuals=LY(this.option.controller,e,t),this.targetVisuals=LY(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,n){e.push(n)}):e=Ar(t),e},e.prototype.eachTargetSeries=function(t,e){j(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,a=r.precision,o=this.dataBound,s=r.formatter;n=n||["<",">"],W(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return G(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):U(s)?i?s(t[0],t[1]):s(t):i?t[0]===o[0]?n[0]+" "+l[1]:t[1]===o[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===o[0]?"min":t===o[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=PN([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=t.getDimensionInfo(n[i]);if(!r.isCalculationCoord)return r.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});L(i,n),L(r,n);var a=this.isCategory();function o(n){AN(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}o.call(this,i),o.call(this,r),(function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},IN(i,function(t,e){if(jC.isValidType(e)){var n=ON.get(e,"inactive",a);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}).call(this,i,"inRange","outOfRange"),(function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";IN(this.stateList,function(o){var s=this.itemSize,l=t[o];l||(l=t[o]={color:a?i:[i]}),null==l.symbol&&(l.symbol=e&&T(e)||(a?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&T(n)||(a?s[0]:[s[0],s[0]])),l.symbol=TN(l.symbol,function(t){return"none"===t?r:t});var u=l.symbolSize;if(null!=u){var c=-1/0;LN(u,function(t){t>c&&(c=t)}),l.symbolSize=TN(u,function(t){return EN(t,[0,c],[0,s[0]],!0)})}},this)}).call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Xu),YN=[20,140];function jN(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],a=[],o=0;o<=200&&r<n[1];o++)a.push(r),r+=i;return a.push(n[1]),a}var NN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=YN[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=YN[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):W(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),j(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=fr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},e.prototype.getVisualMeta=function(t){var e=jN(0,0,this.getExtent()),n=jN(0,0,this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,o=0,s=n.length,l=e.length;o<l&&(!n.length||e[o]<=n[0]);o++)e[o]<n[a]&&r(e[o],"outOfRange");for(var u=1;a<s;a++,u=0)u&&i.length&&r(n[a],"outOfRange"),r(n[a],"inRange");for(u=1;o<l;o++)(!n.length||n[n.length-1]<e[o])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[o],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Xl(RN.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(RN),FN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return a(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=Su(e.get("padding")||0),i=t.getBoundingRect();t.add(new Ko({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,a={};if("color"===e){var o=r.get("contentColor");a.color=o}function s(t){return a[t]}function l(t,e){a[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)];return j(jC.prepareVisualTypes(u),function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),jC.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)}),a[e]},e.prototype.positionGroup=function(t){var e=this.api;Hu(t,this.visualMapModel.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(Dd),VN=[["left","right","width"],["top","bottom","height"]];function HN(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var a={width:e.getWidth(),height:e.getHeight()},o="horizontal"===i.orient?1:0,s=VN[o],l=[0,null,10],u={},c=0;c<3;c++)u[VN[1-o][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var h=[["x","width",3],["y","height",0]][o],d=Vu(u,a,i.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*a[h[1]]?0:1]}function zN(t,e){return j(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}var BN=cr,WN=j,UN=Math.min,GN=Math.max;function qN(t,e,n,i){return new kf({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){Jt(t.event)},ondragend:i})}function XN(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function ZN(t){return"vertical"===t?"ns-resize":"ew-resize"}var KN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return a(e,t),e.prototype.doRender=function(t,e,n,i){this._api=n,i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,a=r.get("textGap"),o=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new ds({style:{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i,font:h.getFont(),fill:h.getTextColor()}}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,a=this._useHandle,o=HN(e,this.api,i),s=n.mainGroup=this._createBarGroup(o),l=new ar;s.add(l),l.add(n.outOfRange=qN()),l.add(n.inRange=qN(null,a?ZN(this._orient):null,z(this._dragHandle,this,"all",!1),z(this._dragHandle,this,"all",!0))),l.setClipPath(new Ko({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("\u56fd"),c=GN(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,c,r),this._createHandle(e,s,1,i,c,r)),this._createIndicator(e,s,i,c,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,a){var o=z(this._dragHandle,this,n,!1),s=z(this._dragHandle,this,n,!0),l=Gi(t.get("handleSize"),i[0]),u=jm(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=ZN(this._orient);u.attr({cursor:c,draggable:!0,drift:o,ondragend:s,onmousemove:function(t){Jt(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),il(u,!0),e.add(u);var h=this.visualMapModel.textStyleModel,d=new ds({cursor:c,draggable:!0,drift:o,onmousemove:function(t){Jt(t.event)},ondragend:s,style:{x:0,y:0,text:"",font:h.getFont(),fill:h.getTextColor()}});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var f=[l,0],p=this._shapes;p.handleThumbs[n]=u,p.handleLabelPoints[n]=f,p.handleLabels[n]=d},e.prototype._createIndicator=function(t,e,n,i,r){var a=Gi(t.get("indicatorSize"),n[0]),o=jm(t.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);o.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(o instanceof zo){var l=o.style;o.useStyle(I({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else o.useStyle(s);e.add(o);var u=this.visualMapModel.textStyleModel,c=new ds({silent:!0,invisible:!0,style:{x:0,y:0,text:"",font:u.getFont(),fill:u.getTextColor()}});this.group.add(c);var h=[("horizontal"===r?i/2:6)+n[0]/2,0],d=this._shapes;d.indicator=o,d.indicatorLabel=c,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():XN(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[BN(e[0],n,i,!0),BN(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];EO(e=e||0,i,r,t,0);var a=n.getExtent();this._dataInterval=[BN(i[0],r,a,!0),BN(i[1],r,a,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],a=t?r:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(a,o)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,r),o=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,o);return{barColor:new Vf(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var a=t[0]+i*r;if(a>t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new ar("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,a=n.handleLabels,o=i.itemSize,s=i.getExtent();WN([0,1],function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=BN(t[l],[0,o[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/o[0],u.x=o[0]-h/2;var d=hp(n.handleLabelPoints[l],cp(u,this.group));a[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,a=r.getExtent(),o=r.itemSize,s=[0,o[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),d=BN(t,a,s,!0),f=o[0]-h/2,p={x:u.x,y:u.y};u.y=d,u.x=f;var m=hp(l.indicatorLabelPoint,cp(u,this.group)),g=l.indicatorLabel;g.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;g.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?v:"middle",align:y?"center":v});var _={x:f,y:d,style:{fill:c}},b={style:{x:m[0],y:m[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};u.x=p.x,u.y=p.y,u.animateTo(_,w),g.animateTo(b,w)}else u.attr(_),g.attr(b);this._firstShowIndicator=!1;var k=this._shapes.handleLabels;if(k)for(var x=0;x<k.length;x++)this._api.enterBlur(k[x])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=UN(GN(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel;if(n.option.hoverLink){var i=[0,n.itemSize[1]],r=n.getExtent();t=UN(GN(i[0],t),i[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");return r&&(i=BN(r,e,n,!0)/2),i}(n,r,i),o=[t-a,t+a],s=BN(t,i,r,!0),l=[BN(o[0],i,r,!0),BN(o[1],i,r,!0)];o[0]<i[0]&&(l[0]=-1/0),o[1]>i[1]&&(l[1]=1/0),e&&(l[0]===-1/0?this._showIndicator(s,l[1],"< ",a):l[1]===1/0?this._showIndicator(s,l[0],"> ",a):this._showIndicator(s,s,"\u2248 ",a));var u=this._hoverLinkDataIndices,c=[];(e||XN(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var h=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[a(n),a(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var a=Fr(t[i].seriesId,null);if(null==a)return;for(var o=Ar(t[i].dataIndex),s=n&&n[a],l=0,u=o.length;l<u;l++){var c=o[l];s&&s[c]?s[c]=null:(e[a]||(e[a]={}))[c]=1}}}function a(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=a(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(u,c);this._dispatchHighDown("downplay",zN(h[0],n)),this._dispatchHighDown("highlight",zN(h[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=fs(e).dataIndex){var i=fs(e),r=this.ecModel.getSeriesByIndex(i.seriesIndex);if(n.isTargetSeries(r)){var a=r.getData(i.dataType),o=a.getStore().get(n.getDataDimensionIndex(a),i.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",zN(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=cp(e,i?null:this.group);return W(t)?hp(t,r,n):dp(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(FN),JN={type:"selectDataRange",event:"dataRangeSelected",update:"update"},QN=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})},$N=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",function(e){var i,r,a,o,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,a=z(e.getValueState,e),o=e.getDataDimensionIndex(t.getData()),s={},j(i,function(t){var e=jC.prepareVisualTypes(r[t]);s[t]=e}),{progress:function(t,e){var n,i;function l(t){return bm(e,i,t)}function u(t,n){km(e,i,t,n)}null!=o&&(n=e.getDimensionIndex(o));for(var c=e.getStore();null!=(i=t.next());){var h=e.getRawDataItem(i);if(!h||!1!==h.visualMap)for(var d=null!=o?c.get(n,i):i,f=a(d),p=r[f],m=s[f],g=0,v=m.length;g<v;g++){var y=m[g];p[y]&&p[y].applyVisual(d,l,u)}}}}))}),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(z(tF,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimensionIndex(n);a>=0&&(r.dimension=a,i.push(r))}}),t.getData().setVisual("visualMeta",i)}}];function tF(t,e,n,i){for(var r=e.targetVisuals[i],a=jC.prepareVisualTypes(r),o={color:wm(t.getData(),"color")},s=0,l=a.length;s<l;s++){var u=a[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,d)}return o.color;function h(t){return o[t]}function d(t,e){o[t]=e}}var eF=j;function nF(t){var e=t&&t.visualMap;W(e)||(e=e?[e]:[]),eF(e,function(t){if(t){iF(t,"splitList")&&!iF(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&W(e)&&eF(e,function(t){Z(t)&&(iF(t,"start")&&!iF(t,"min")&&(t.min=t.start),iF(t,"end")&&!iF(t,"max")&&(t.max=t.end))})}})}function iF(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var rF=!1;function aF(t){rF||(rF=!0,t.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(JN,QN),j($N,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(nF))}function oF(t){t.registerComponentModel(NN),t.registerComponentView(KN),aF(t)}var sF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return a(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],lF[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=T(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=N(this._pieceList,function(t){return t=T(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=jC.listVisualTypes(),r=this.isCategory();function a(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}j(e.pieces,function(t){j(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),j(n,function(t,n){var i=!1;j(this.stateList,function(t){i=i||a(e,t,n)||a(e.target,t,n)},this),!i&&j(this.stateList,function(t){(e[t]||(e[t]={}))[n]=ON.get(n,"inRange"===t?"active":"inactive",r)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,j(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var a=!1;j(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(a?r[n]=!1:a=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=T(t)},e.prototype.getValueState=function(t){var e=jC.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries(function(i){var r=[],a=i.getData();a.each(this.getDataDimensionIndex(a),function(e,i){jC.findPieceIndex(e,n)===t&&r.push(i)},this),e.push({seriesId:i.id,dataIndex:r})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var a=r[0].interval[0];a!==-1/0&&r.unshift({interval:[-1/0,a]}),(a=r[r.length-1].interval[1])!==1/0&&r.push({interval:[a,1/0]})}else r.push({interval:[-1/0,1/0]});var o=-1/0;return j(r,function(t){var e=t.interval;e&&(e[0]>o&&s([o,e[0]],"outOfRange"),s(e.slice()),o=e[1])},this),{stops:e,outerColors:n}}function s(r,a){var o=i.getRepresentValue({interval:r});a||(a=i.getValueState(o));var s=t(o,a);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Xl(RN.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(RN),lF={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var a=(i[1]-i[0])/r;+a.toFixed(n)!==a&&n<5;)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var o=0,s=i[0];o<r;s+=a,o++)t.push({interval:[s,o===r-1?i[1]:s+a],close:[1,1]});e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),Mr(t),j(t,function(t,e){t.index=e,t.text=this.formatValueText(t.interval)},this)},categories:function(t){var e=this.option;j(e.categories,function(e){t.push({text:this.formatValueText(e,!0),value:e})},this),uF(e,t)},pieces:function(t){var e=this.option;j(e.pieces,function(e,n){Z(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var a=i.interval=[],o=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var h=[["gte","gt","min"],["lte","lt","max"]][c],d=0;d<3&&null==a[c];d++)a[c]=e[h[d]],o[c]=s[d],u[c]=2===d;null==a[c]&&(a[c]=l[c])}u[0]&&a[1]===1/0&&(o[0]=0),u[1]&&a[0]===-1/0&&(o[1]=0),a[0]===a[1]&&o[0]&&o[1]&&(i.value=a[0])}i.visual=jC.retrieveVisuals(e),t.push(i)},this),uF(e,t),Mr(t),j(t,function(t){var e=t.close;t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,[["<","\u2264"][e[1]],[">","\u2265"][e[0]]])},this)}};function uF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var cF=sF,hF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),a=i.getTextColor(),o=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=et(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,o),j(l.viewPieceList,function(i){var l=i.piece,u=new ar;u.onclick=z(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(u,h,[0,0,s[0],s[1]]),c){var d=this.visualMapModel.getValueState(h);u.add(new ds({style:{x:"right"===o?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:o,font:r,fill:a,opacity:"outOfRange"===d?.5:1}}))}t.add(u)},this),u&&this._renderEndsText(t,u[1],s,c,o),Fu(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:zN(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return HN(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var a=new ar,o=this.visualMapModel.textStyleModel;a.add(new ds({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e,font:o.getFont(),fill:o.getTextColor()}})),t.add(a)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=N(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(jm(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=T(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[r]=!0,j(i,function(t,e){i[e]=e===r})):i[r]=!i[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})},e.type="visualMap.piecewise",e}(FN);function dF(t){t.registerComponentModel(cF),t.registerComponentView(hF),aF(t)}var fF={label:{enabled:!0},decal:{show:!1}},pF=Br(),mF={};function gF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=T(fF);L(i.label,t.getLocaleModel().get("aria"),!1),L(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=ht();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||e.set(t.type,n={}),pF(t).scope=n}}),t.eachRawSeries(function(e){if(!t.isSeriesFiltered(e))if(U(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=dc(e.ecModel,e.name,mF,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var a=e.getRawData(),o={},s=pF(e).scope;n.each(function(t){var e=n.getRawIndex(t);o[e]=t});var l=a.count();a.each(function(t){var i=o[t],r=a.getName(t)||t+"",c=dc(e.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(h,c))})}}function u(t,e){var n=t?I(I({},e),t):e;return n.dirty=!0,n}})}}(),function(){var i=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=P(a.option,i),a.get("enabled")){var o=e.getZr().dom;if(a.get("description"))o.setAttribute("aria-label",a.get("description"));else{var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,c=a.get(["series","maxCount"])||10,h=Math.min(l,c);if(!(l<1)){var d=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();s=d?r(a.get(["general","withTitle"]),{title:d}):a.get(["general","withoutTitle"]);var f=[];s+=r(a.get(l>1?["series","multiple","prefix"]:["series","single","prefix"]),{seriesCount:l}),t.eachSeries(function(e,n){if(n<h){var i=void 0,o=e.get("name")?"withName":"withoutName";i=r(i=a.get(l>1?["series","multiple",o]:["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,t.getLocaleModel().get(["series","typeNames"])[_]||"\u81ea\u5b9a\u4e49\u56fe")});var s=e.getData();s.count()>u?i+=r(a.get(["data","partialData"]),{displayCnt:u}):i+=a.get(["data","allData"]);for(var c=a.get(["data","separator","middle"]),d=a.get(["data","separator","end"]),p=[],m=0;m<s.count();m++)if(m<u){var g=s.getName(m),v=s.getValues(m),y=a.get(["data",g?"withName":"withoutName"]);p.push(r(y,{name:g,value:v.join(c)}))}i+=p.join(c)+d,f.push(i)}var _});var p=a.getModel(["series","multiple","separator"]),m=p.get("middle"),g=p.get("end");s+=f.join(m)+g,o.setAttribute("aria-label",s)}}}}()}function r(t,e){if(!G(t))return t;var n=t;return j(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}}function vF(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},j(["description","general","series","data"],function(t){null!=e[t]&&(e.label[t]=e[t])})}}var yF={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},_F=function(){function t(t){null==(this._condVal=G(t)?new RegExp(t):"[object RegExp]"===y.call(t)?t:null)&&pc("")}return t.prototype.evaluate=function(t){var e=typeof t;return G(e)?this._condVal.test(t):!!X(e)&&this._condVal.test(t+"")},t}(),bF=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),wF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),kF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),xF=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),MF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function SF(t,e){if(!0===t||!1===t){var n=new bF;return n.value=t,n}return DF(t)||pc(""),t.and?CF("and",t,e):t.or?CF("or",t,e):t.not?function(t,e){var n=t.not;DF(n)||pc("");var i=new xF;return i.child=SF(n,e),i.child||pc(""),i}(t,e):function(t,e){for(var n=e.prepareGetValue(t),i=[],r=H(t),a=t.parser,o=a?Ch(a):null,s=0;s<r.length;s++){var l=r[s];if("parser"!==l&&!e.valueGetterAttrMap.get(l)){var u=mt(yF,l)?yF[l]:l,c=t[l],h=o?o(c):c,d=Ah(u,h)||"reg"===u&&new _F(h);d||pc(""),i.push(d)}}i.length||pc("");var f=new MF;return f.valueGetterParam=n,f.valueParser=o,f.getValue=e.getValue,f.subCondList=i,f}(t,e)}function CF(t,e,n){var i=e[t];W(i)||pc(""),i.length||pc("");var r="and"===t?new wF:new kF;return r.children=N(i,function(t){return SF(t,n)}),r.children.length||pc(""),r}function DF(t){return Z(t)&&!Y(t)}var OF=function(){function t(t,e){this._cond=SF(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}(),TF={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,a=(n=t.config,i={valueGetterAttrMap:ht({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;mt(t,"dimension")||pc("");var n=r.getDimensionInfo(e);return n||pc(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new OF(n,i)),o=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),a.evaluate()&&o.push(e);return{data:o}}},LF={type:"echarts:sort",transform:function(t){var e=t.upstream,n=Ar(t.config);n.length||pc("");var i=[];j(n,function(t){var n=t.dimension,r=t.order,a=t.parser,o=t.incomparable;null==n&&pc(""),"asc"!==r&&"desc"!==r&&pc(""),o&&"min"!==o&&"max"!==o&&pc(""),"asc"!==r&&"desc"!==r&&pc("");var s=e.getDimensionInfo(n);s||pc("");var l=a?Ch(a):null;a&&!l&&pc(""),i.push({dimIdx:s.index,parser:l,comparator:new Th(r,o)})});var r=e.sourceFormat;"arrayRows"!==r&&"objectRows"!==r&&pc("");for(var a=[],o=0,s=e.count();o<s;o++)a.push(e.getRawDataItem(o));return a.sort(function(t,n){for(var r=0;r<i.length;r++){var a=i[r],o=e.retrieveValueFromItem(t,a.dimIdx),s=e.retrieveValueFromItem(n,a.dimIdx);a.parser&&(o=a.parser(o),s=a.parser(s));var l=a.comparator.evaluate(o,s);if(0!==l)return l}return 0}),{data:a}}},AF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return a(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new Zh(this),Kh(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),Kh(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:"column"},e}(Xu),IF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return a(e,t),e.type="dataset",e}(Dd),PF=mo.CMD;function EF(t,e){return Math.abs(t-e)<1e-5}function RF(t){var e,n,i,r,a,o=t.data,s=t.len(),l=[],u=0,c=0,h=0,d=0;function f(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function p(t,n,i,r){EF(t,i)&&EF(n,r)||e.push(t,n,i,r,i,r)}function m(t,n,i,r,a,o){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,c=Math.cos(t),h=Math.sin(t),d=Math.cos(n),f=Math.sin(n),p=d*a+i,m=f*o+r,g=a*l*u,v=o*l*u;e.push(c*a+i-g*h,h*o+r+v*c,p+g*f,m-v*d,p,m)}for(var g=0;g<s;){var v=o[g++],y=1===g;switch(y&&(h=u=o[g],d=c=o[g+1],v!==PF.L&&v!==PF.C&&v!==PF.Q||(e=[h,d])),v){case PF.M:u=h=o[g++],c=d=o[g++],f(h,d);break;case PF.L:p(u,c,n=o[g++],i=o[g++]),u=n,c=i;break;case PF.C:e.push(o[g++],o[g++],o[g++],o[g++],u=o[g++],c=o[g++]);break;case PF.Q:n=o[g++],i=o[g++],r=o[g++],a=o[g++],e.push(u+2/3*(n-u),c+2/3*(i-c),r+2/3*(n-r),a+2/3*(i-a),r,a),u=r,c=a;break;case PF.A:var _=o[g++],b=o[g++],w=o[g++],k=o[g++],x=o[g++],M=o[g++]+x;g+=1;var S=!o[g++];n=Math.cos(x)*w+_,i=Math.sin(x)*k+b,y?f(h=n,d=i):p(u,c,n,i),u=Math.cos(M)*w+_,c=Math.sin(M)*k+b;for(var C=(S?-1:1)*Math.PI/2,D=x;S?D>M:D<M;D+=C)m(D,S?Math.max(D+C,M):Math.min(D+C,M),_,b,w,k);break;case PF.R:h=u=o[g++],d=c=o[g++],n=h+o[g++],i=d+o[g++],f(n,d),p(n,d,n,i),p(n,i,h,i),p(h,i,h,d),p(h,d,n,d);break;case PF.Z:e&&p(u,c,h,d),u=h,c=d}}return e&&e.length>2&&l.push(e),l}function YF(t,e,n,i,r,a,o,s,l,u){if(EF(t,n)&&EF(e,i)&&EF(r,o)&&EF(a,s))l.push(o,s);else{var c=2/u,h=c*c,d=o-t,f=s-e,p=Math.sqrt(d*d+f*f);d/=p,f/=p;var m=n-t,g=i-e,v=r-o,y=a-s,_=m*m+g*g,b=v*v+y*y;if(_<h&&b<h)l.push(o,s);else{var w=d*m+f*g,k=-d*v-f*y;if(_-w*w<h&&w>=0&&b-k*k<h&&k>=0)l.push(o,s);else{var x=[],M=[];Re(t,n,r,o,.5,x),Re(e,i,a,s,.5,M),YF(x[0],M[0],x[1],M[1],x[2],M[2],x[3],M[3],l,u),YF(x[4],M[4],x[5],M[5],x[6],M[6],x[7],M[7],l,u)}}}}function jF(t,e,n){var i=Math.abs(t[e]/t[1-e]),r=Math.ceil(Math.sqrt(i*n)),a=Math.floor(n/r);0===a&&(a=1,r=n);for(var o=[],s=0;s<r;s++)o.push(a);var l=n-r*a;if(l>0)for(s=0;s<l;s++)o[s%r]+=1;return o}function NF(t,e,n){for(var i=t.r0,r=t.r,a=t.startAngle,o=Math.abs(t.endAngle-a),s=o*r,l=r-i,u=s>Math.abs(l),c=jF([s,l],u?0:1,e),h=(u?o:l)/c.length,d=0;d<c.length;d++)for(var f=(u?l:o)/c[d],p=0;p<c[d];p++){var m={};u?(m.startAngle=a+h*d,m.endAngle=a+h*(d+1),m.r0=i+f*p,m.r=i+f*(p+1)):(m.startAngle=a+f*p,m.endAngle=a+f*(p+1),m.r0=i+h*d,m.r=i+h*(d+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function FF(t,e,n,i){return t*i-n*e}function VF(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,c=o-r,h=s-a,d=FF(c,h,l,u);if(Math.abs(d)<1e-6)return null;var f=FF(t-r,e-a,c,h)/d;return f<0||f>1?null:new Ti(f*l+t,f*u+e)}function HF(t,e,n){var i=new Ti;Ti.sub(i,n,e),i.normalize();var r=new Ti;return Ti.sub(r,t,e),r.dot(i)}function zF(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function BF(t){var e=t.points,n=[],i=[];Wa(e,n,i);var r=new Ni(n[0],n[1],i[0]-n[0],i[1]-n[1]),a=r.width,o=r.height,s=r.x,l=r.y,u=new Ti,c=new Ti;return a>o?(u.x=c.x=s+a/2,u.y=l,c.y=l+o):(u.y=c.y=l+o/2,u.x=s,c.x=s+a),function(t,e,n){for(var i=t.length,r=[],a=0;a<i;a++){var o=t[a],s=t[(a+1)%i],l=VF(o[0],o[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:HF(l,e,n),pt:l,idx:a})}if(r.length<2)return[{points:t},{points:t}];r.sort(function(t,e){return t.projPt-e.projPt});var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var d=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],p=[d],m=[f];for(a=u.idx+1;a<=c.idx;a++)zF(p,t[a].slice());for(zF(p,f),zF(p,d),a=c.idx+1;a<=u.idx+i;a++)zF(m,t[a%i].slice());return zF(m,d),zF(m,f),[{points:p},{points:m}]}(e,u,c)}function WF(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),a=t(e);WF(t,a[0],r,i),WF(t,a[1],n-r,i)}return i}function UF(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function GF(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],a=[],o=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=Math.ceil(l/((s-2)/6))+1,c=[o[0],o[1]],h=l,d=2;d<s;){var f=o[d-2],p=o[d-1],m=o[d++],g=o[d++],v=o[d++],y=o[d++],_=o[d++],b=o[d++];if(h<=0)c.push(m,g,v,y,_,b);else{for(var w=Math.min(h,u-1)+1,k=1;k<=w;k++){var x=k/w;Re(f,m,v,_,x,r),Re(p,g,y,b,x,a),c.push(r[1],a[1],r[2],a[2],f=r[3],p=a[3]),m=r[5],g=a[5],v=r[6],y=a[6]}h-=w-1}}return o===t?[c,e]:[t,c]}function qF(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],a=[],o=0;o<e.length;)a[o++]=i,a[o++]=r;return a}function XF(t){for(var e=0,n=0,i=0,r=t.length,a=0,o=r-2;a<r;o=a,a+=2){var s=t[o],l=t[o+1],u=t[a],c=t[a+1],h=s*c-u*l;e+=h,n+=(s+u)*h,i+=(l+c)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function ZF(t,e,n,i){for(var r=(t.length-2)/6,a=1/0,o=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,d=0;d<s;d+=2){var f=0===d?c:(c+d-2)%l+2,p=e[d]-i[0]-(t[f]-n[0]),m=e[d+1]-i[1]-(t[f+1]-n[1]);h+=p*p+m*m}h<a&&(a=h,o=u)}return o}function KF(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function JF(t){return t.__isCombineMorphing}function QF(t,e,n){var i="__mOriginal_"+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var a=n.replace,o=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=a?a.apply(this,e):r.apply(this,e),o&&o.apply(this,e),t}}function $F(t,e){var n="__mOriginal_"+e;t[n]&&(t[e]=t[n],t[n]=null)}function tV(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var a=i[r],o=i[r+1];i[r++]=e[0]*a+e[2]*o+e[4],i[r++]=e[1]*a+e[3]*o+e[5]}}function eV(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,a=[],o=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,h=void 0;l?u?(i=c=(n=GF(l,u))[0],r=h=n[1]):(h=qF(r||l,l),c=l):(c=qF(i||u,u),h=u),a.push(c),o.push(h)}return[a,o]}(RF(n),RF(i)),a=r[0],o=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&tV(a,s),l&&tV(o,l),QF(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,i){for(var r,a=[],o=0;o<t.length;o++){var s=t[o],l=e[o],u=XF(s),c=XF(l);null==r&&(r=u[2]<0!=c[2]<0);var h=[],d=[],f=0,p=1/0,m=[],g=s.length;r&&(s=KF(s));for(var v=6*ZF(s,l,u,c),y=g-2,_=0;_<y;_+=2){var b=(v+_)%y+2;h[_+2]=s[b]-u[0],h[_+3]=s[b+1]-u[1]}h[0]=s[v]-u[0],h[1]=s[v+1]-u[1];for(var w=i/10,k=-i/2;k<=i/2;k+=w){var x=Math.sin(k),M=Math.cos(k),S=0;for(_=0;_<s.length;_+=2){var C=h[_],D=h[_+1],O=l[_]-c[0],T=l[_+1]-c[1],L=O*M-T*x,A=O*x+T*M;m[_]=L,m[_+1]=A;var I=L-C,P=A-D;S+=I*I+P*P}if(S<p){p=S,f=k;for(var E=0;E<m.length;E++)d[E]=m[E]}}a.push({from:h,to:d,fromCp:u,toCp:c,rotation:-f})}return a}(a,o,0,Math.PI),c=[];QF(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],a=0;a<u.length;a++){var o=u[a],s=o.from,l=o.to,h=o.rotation*n,d=o.fromCp,f=o.toCp,p=Math.sin(h),m=Math.cos(h);Lt(r,d,f,n);for(var g=0;g<s.length;g+=2){var v=s[g]*i+(w=l[g])*n,y=s[g+1]*i+(k=l[g+1])*n;c[g]=v*m-y*p+r[0],c[g+1]=v*p+y*m+r[1]}var _=c[0],b=c[1];for(t.moveTo(_,b),g=2;g<s.length;){var w=c[g++],k=c[g++],x=c[g++],M=c[g++],S=c[g++],C=c[g++];_===w&&b===k&&x===S&&M===C?t.lineTo(S,C):t.bezierCurveTo(w,k,x,M,S,C),_=S,b=C}}}})}function nV(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return eV(t,e),e.__morphT=0,e.animateTo({__morphT:1},P({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){$F(e,"buildPath"),$F(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function iV(t,e,n,i,r,a){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=a===i?0:Math.round(32767*(e-i)/(a-i));for(var o,s=0,l=32768;l>0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),o=t,t=e,e=o)}return s}function rV(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,a=N(t,function(t){var a=t.getBoundingRect(),o=t.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),l=a.y+a.height/2+(o?o[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]});return N(a,function(a,o){return{cp:a,z:iV(a[0],a[1],e,n,i,r),path:t[o]}}).sort(function(t,e){return t.z-e.z}).map(function(t){return t.path})}function aV(t){return function(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,a=i>r,o=jF([i,r],a?0:1,e),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",h=t[s]/o.length,d=0;d<o.length;d++)for(var f=t[l]/o[d],p=0;p<o[d];p++){var m={};m[u]=d*h,m[c]=p*f,m[s]=h,m[l]=f,m.x+=t.x,m.y+=t.y,n.push(m)}}(r,e,i),n=Ko;break;case"sector":NF(r,e,i),n=mf;break;case"circle":NF({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=mf;break;default:var a=t.getComputedTransform(),o=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,s=N(function(t,e){var n=RF(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var a=n[r],o=[],s=a[0],l=a[1];o.push(s,l);for(var u=2;u<a.length;){var c=a[u++],h=a[u++],d=a[u++],f=a[u++],p=a[u++],m=a[u++];YF(s,l,c,h,d,f,p,m,o,e),s=p,l=m}i.push(o)}return i}(t.getUpdatedPathProxy(),o),function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)}),l=s.length;if(0===l)WF(BF,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var c=0,h=N(s,function(t){var e=[],n=[];Wa(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return c+=i,{poly:t,area:i}});h.sort(function(t,e){return e.area-t.area});var d=e;for(u=0;u<l;u++){var f=h[u];if(d<=0)break;var p=u===l-1?d:Math.ceil(f.area/c*e);p<0||(WF(BF,{points:f.poly},p,i),d-=p)}}n=kf}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(Xd(t));return n}(t,e);var m=[];for(u=0;u<i.length;u++){var g=new n;g.setShape(i[u]),UF(t,g),m.push(g)}return m}(t.path,t.count)}function oV(t){return W(t[0])}function sV(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var a=e[r].length,o=void 0;for(o=0;o<a;o++)n[o%i].many.push(e[r][o])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var u=Math.ceil(a/2);n[r].many=l.slice(u,a),n[s].many=l.slice(0,u),s++}return n}var lV={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=Xd(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function uV(t,e,n,i,r,a){if(t.length&&e.length){var o=ll("update",i,r);if(o&&o.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},o);oV(t)&&(s=t,l=e),oV(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?sV(l,s):sV(h?e:t,[h?t:e]),f=0,p=0;p<d.length;p++)f+=d[p].many.length;var m=0;for(p=0;p<d.length;p++)g(d[p],h,m,f),m+=d[p].many.length}}function g(t,e,i,r,o){var s=t.many,l=t.one;if(1!==s.length||o)for(var h=P({dividePath:lV[n],individualDelay:u&&function(t,e,n,a){return u(t+i,r)}},c),d=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];JF(r)?t(r.childrenRef()):r instanceof Ro&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var a=(n.dividePath||aV)({path:e,count:r});if(a.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};i=rV(i),a=rV(a);for(var o=n.done,s=n.during,l=n.individualDelay,u=new Oi,c=0;c<r;c++){var h=i[c],d=a[c];d.parent=e,d.copyTransform(u),l||eV(h,d)}function f(t){for(var e=0;e<a.length;e++)a[e].addSelfToZr(t)}function p(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,$F(e,"addSelfToZr"),$F(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return a},QF(e,"addSelfToZr",{after:function(t){f(t)}}),QF(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<a.length;e++)a[e].removeSelfFromZr(t)}});var m=a.length;if(l){var g=m,v=function(){0==--g&&(p(),o&&o())};for(c=0;c<m;c++){var y=l?P({delay:(n.delay||0)+l(c,m,i[c],a[c]),done:v},n):n;nV(i[c],a[c],y)}}else e.__morphT=0,e.animateTo({__morphT:1},P({during:function(t){for(var n=0;n<m;n++){var i=a[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){p();for(var e=0;e<t.length;e++)$F(t[e],"updateTransform");o&&o()}},n));return e.__zr&&f(e.__zr),{fromIndividuals:i,toIndividuals:a,count:m}}(s,l,h):function(t,e,n){var i=e.length,r=[],a=n.dividePath||aV;if(JF(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];JF(i)?t(i.childrenRef()):i instanceof Ro&&r.push(i)}}(t.childrenRef());var o=r.length;if(o<i)for(var s=0,l=o;l<i;l++)r.push(Xd(r[s++%o]));r.length=i}else{r=a({path:t,count:i});var u=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(u);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=rV(r),e=rV(e);var c=n.individualDelay;for(l=0;l<i;l++){var h=c?P({delay:(n.delay||0)+c(l,i,r[l],e[l])},n):n;nV(r[l],e[l],h)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,h),f=d.fromIndividuals,p=d.toIndividuals,m=f.length,v=0;v<m;v++)y=u?P({delay:u(v,m)},c):c,a(f[v],p[v],e?s[v]:t.one,e?t.one:s[v],y);else{var y,_=e?s[0]:l,b=e?l:s[0];JF(_)?g({many:[_],one:b},!0,i,r,!0):(nV(_,b,y=u?P({delay:u(i,r)},c):c),a(_,b,_,b,y))}}}function cV(t){if(!t)return[];if(W(t)){for(var e=[],n=0;n<t.length;n++)e.push(cV(t[n]));return e}var i=[];return t.traverse(function(t){t instanceof Ro&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)}),i}var hV=Br();function dV(t){var e=[];return j(t,function(t){var n=t.data;if(!(n.count()>1e4))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var i=t.getDimensionInfo(e[n]);if(i&&0===i.otherDims.itemGroupId)return e[n]}}(n),a=0;a<i.length;a++)e.push({data:n,dim:t.dim||r,divide:t.divide,dataIndex:a})}),e}function fV(t,e,n){t.traverse(function(t){t instanceof Ro&&hl(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function pV(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function mV(t){t.stopAnimation(),t.isGroup&&t.traverse(function(t){t.stopAnimation()})}function gV(t,e,n){var i=dV(t),r=dV(e);function a(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?I(I({},n.style),t.style):t.style},r)}function o(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var s=o(i),l=o(r),u=!1;function c(t,e){return function(n){var i=n.data,r=n.dataIndex;if(e)return i.getId(r);var a=i.hostModel&&i.hostModel.get("dataGroupId"),o=t?s||l:l||s,u=o&&i.getDimensionInfo(o),c=u&&u.ordinalMeta;if(u){var h=i.get(u.name,r);return c&&c.categories[h]||h+""}var d=i.getRawDataItem(r);return d&&d.groupId?d.groupId+"":a||i.getId(r)}}var h=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],a=e[i];if(r.data.getId(r.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}(i,r),d={};if(!h)for(var f=0;f<r.length;f++){var p=r[f],m=p.data.getItemGraphicEl(p.dataIndex);m&&(d[m.id]=!0)}function g(t,e){var n=i[e],o=r[t],s=o.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),c=o.data.getItemGraphicEl(o.dataIndex);l!==c?l&&d[l.id]||c&&(mV(c),l?(mV(l),pV(l),u=!0,uV(cV(l),cV(c),o.divide,s,t,a)):fV(c,s,t)):c&&function(t,e,n){var i=ll("update",n,e);i&&t.traverse(function(t){if(t instanceof Ra){var e=function(t){return sl(t).oldStyle}(t);e&&t.animateFrom({style:e},i)}})}(c,o.dataIndex,s)}new r_(i,r,c(!0,h),c(!1,h),null,"multiple").update(g).updateManyToOne(function(t,e){var n=r[t],o=n.data,s=o.hostModel,l=o.getItemGraphicEl(n.dataIndex),c=V(N(e,function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)}),function(t){return t&&t!==l&&!d[t.id]});l&&(mV(l),c.length?(j(c,function(t){mV(t),pV(t)}),u=!0,uV(cV(c),cV(l),n.divide,s,t,a)):fV(l,s,n.dataIndex))}).updateOneToMany(function(t,e){var n=i[e],o=n.data.getItemGraphicEl(n.dataIndex);if(!o||!d[o.id]){var s=V(N(t,function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)}),function(t){return t&&t!==o}),l=r[t[0]].data.hostModel;s.length&&(j(s,function(t){return mV(t)}),o?(mV(o),pV(o),u=!0,uV(cV(o),cV(s),n.divide,l,t[0],a)):j(s,function(e){return fV(e,l,t[0])}))}}).updateManyToMany(function(t,e){new r_(e,t,function(t){return i[t].data.getId(i[t].dataIndex)},function(t){return r[t].data.getId(r[t].dataIndex)}).update(function(n,i){g(t[n],e[i])}).execute()}).execute(),u&&j(e,function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=ll("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse(function(t){t instanceof Ro&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)})})}function vV(t){return t.getModel("universalTransition").get("seriesKey")||t.id}function yV(t){return W(t)?t.sort().join(","):t}function _V(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function bV(t,e){for(var n=0;n<t.length;n++)if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}hv([function(t){t.registerPainter("canvas",$v)}]),hv([function(t){t.registerPainter("svg",e_)}]),hv([function(t){t.registerChartView(vb),t.registerSeriesModel(j_),t.registerLayout(yb("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,wb("line"))},function(t){t.registerChartView(nw),t.registerSeriesModel(Pb),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,B(Db,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Ob("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,wb("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){e.eachComponent({mainType:t.componentType||"series",query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})})},function(t){t.registerChartView(mw),t.registerSeriesModel(yw),xm("pie",t.registerAction),t.registerLayout(B(sw,"pie")),t.registerProcessor(lw("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(X(i)&&!isNaN(i)&&i<0)})}})},function(t){hv(Dx),t.registerSeriesModel(_w),t.registerChartView(xw),t.registerLayout(yb("scatter"))},function(t){hv(Hx),t.registerChartView(Ix),t.registerSeriesModel(Px),t.registerLayout(Ox),t.registerProcessor(lw("radar")),t.registerPreprocessor(Ax)},function(t){hv(SS),t.registerChartView(oS),t.registerSeriesModel(sS),t.registerLayout(uS),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,lS),xm("map",t.registerAction)},function(t){t.registerChartView(BS),t.registerSeriesModel(aC),t.registerLayout(sC),t.registerVisual(lC),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=kS(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})}(t)},function(t){t.registerSeriesModel(dC),t.registerChartView(kC),t.registerVisual(FC),t.registerLayout(QC),function(t){for(var e=0;e<uC.length;e++)t.registerAction({type:uC[e],update:"updateView"},gt);t.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,n){var i=eC(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=iC(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})})}(t)},function(t){t.registerChartView(JD),t.registerSeriesModel(aO),t.registerProcessor(rD),t.registerVisual(aD),t.registerVisual(sD),t.registerLayout(gD),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,xD),t.registerLayout(SD),t.registerCoordinateSystem("graphView",{dimensions:dS.dimensions,create:CD}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},gt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},gt),t.registerAction(oO,function(t,e){e.eachComponent({mainType:"series",query:t},function(e){var n=kS(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)})})},function(t){t.registerChartView(hO),t.registerSeriesModel(dO)},function(t){t.registerChartView(mO),t.registerSeriesModel(gO),t.registerLayout(vO),t.registerProcessor(lw("funnel"))},function(t){hv(WT),t.registerChartView(kO),t.registerSeriesModel(MO),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,CO)},function(t){t.registerChartView(qT),t.registerSeriesModel(XT),t.registerLayout(ZT),t.registerVisual(sL),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},function(t){t.registerSeriesModel(cL),t.registerChartView(vL),t.registerVisual(yL),t.registerLayout(bL),t.registerTransform(wL)},function(t){t.registerChartView(EL),t.registerSeriesModel(YL),t.registerPreprocessor(jL),t.registerVisual(zL),t.registerLayout(WL)},function(t){t.registerChartView(qL),t.registerSeriesModel(XL),t.registerLayout(yb("effectScatter"))},function(t){t.registerChartView(nA),t.registerSeriesModel(oA),t.registerLayout(eA),t.registerVisual(lA)},function(t){t.registerChartView(hA),t.registerSeriesModel(dA)},function(t){t.registerChartView(PA),t.registerSeriesModel(EA),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,B(Db,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Ob("pictorialBar"))},function(t){t.registerChartView(RA),t.registerSeriesModel(YA),t.registerLayout(jA),t.registerProcessor(lw("themeRiver"))},function(t){t.registerChartView(VA),t.registerSeriesModel(zA),t.registerLayout(B(WA,"sunburst")),t.registerProcessor(B(lw,"sunburst")),t.registerVisual(GA),function(t){t.registerAction({type:"sunburstRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=eC(t,["sunburstRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=iC(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})}),t.registerAction({type:"sunburstHighlight",update:"none"},function(t,e,n){t=I({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e){var n=eC(t,["sunburstHighlight"],e);n&&(t.dataIndex=n.node.dataIndex)}),n.dispatchAction(I(t,{type:"highlight"}))}),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},function(t,e,n){t=I({},t),n.dispatchAction(I(t,{type:"downplay"}))})}(t)},function(t){t.registerChartView(PI),t.registerSeriesModel(KA)}]),hv(function(t){hv(Dx),hv(EP)}),hv(function(t){hv(EP),px.registerAxisPointerClass("PolarAxisPointer",jP),t.registerCoordinateSystem("polar",QP),t.registerComponentModel(NP),t.registerComponentView(gE),Rw(t,"angle",VP,pE),Rw(t,"radius",HP,mE),t.registerComponentView(aE),t.registerComponentView(cE),t.registerLayout(B(fE,"bar"))}),hv(SS),hv(function(t){hv(EP),px.registerAxisPointerClass("SingleAxisPointer",YE),t.registerComponentView(jE),t.registerComponentView(kE),t.registerComponentModel(ME),Rw(t,"single",ME,ME.defaultOption),t.registerCoordinateSystem("single",TE)}),hv(WT),hv(function(t){t.registerComponentModel(FE),t.registerComponentView(VE),t.registerCoordinateSystem("calendar",zE)}),hv(function(t){t.registerComponentModel(qE),t.registerComponentView(KE),t.registerPreprocessor(function(t){var e=t.graphic;W(e)?t.graphic=e[0]&&e[0].elements?[t.graphic[0]]:[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}),hv(function(t){t.registerComponentModel(kR),t.registerComponentView(MR),bR("saveAsImage",SR),bR("magicType",TR),bR("dataView",RR),bR("dataZoom",aY),bR("restore",VR),hv(vR)}),hv(function(t){hv(EP),t.registerComponentModel(oY),t.registerComponentView(SY),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},gt),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},gt)}),hv(EP),hv(function(t){t.registerComponentView(zY),t.registerComponentModel(WY),t.registerPreprocessor(DY),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,jY),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},gt),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},gt),bR("brush",GY)}),hv(function(t){t.registerComponentModel(qY),t.registerComponentView(XY)}),hv(function(t){t.registerComponentModel(JY),t.registerComponentView(rj),t.registerSubTypeDefaulter("timeline",function(){return"slider"}),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),P({currentIndex:i.option.currentIndex},t)}),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)})}(t),t.registerPreprocessor(aj)}),hv(function(t){t.registerComponentModel(fj),t.registerComponentView(Mj),t.registerPreprocessor(function(t){lj(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}),hv(function(t){t.registerComponentModel(Sj),t.registerComponentView(Ij),t.registerPreprocessor(function(t){lj(t.series,"markLine")&&(t.markLine=t.markLine||{})})}),hv(function(t){t.registerComponentModel(Pj),t.registerComponentView(Hj),t.registerPreprocessor(function(t){lj(t.series,"markArea")&&(t.markArea=t.markArea||{})})}),hv(function(t){hv($j),hv(oN)}),hv(function(t){hv(yN),hv(SN)}),hv(yN),hv(SN),hv(function(t){hv(oF),hv(dF)}),hv(oF),hv(dF),hv(function(t){t.registerPreprocessor(vF),t.registerVisual(t.PRIORITY.VISUAL.ARIA,gF)}),hv(function(t){t.registerTransform(TF),t.registerTransform(LF)}),hv(function(t){t.registerComponentModel(AF),t.registerComponentView(IF)}),hv(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){j(Ar(n.seriesTransition),function(t){j(Ar(t.to),function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i].__universalTransitionEnabled=!0)})})}),t.registerUpdateLifecycle("series:transition",function(t,e,n){var i=hV(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)j(Ar(r),function(t){!function(t,e,n,i){var r=[],a=[];j(Ar(t.from),function(t){var n=bV(e.oldSeries,t);n>=0&&r.push({data:e.oldData[n],divide:_V(e.oldData[n]),dim:t.dimension})}),j(Ar(t.to),function(t){var e=bV(n.updatedSeries,t);if(e>=0){var i=n.updatedSeries[e].getData();a.push({data:i,divide:_V(i),dim:t.dimension})}}),r.length>0&&a.length>0&&gV(r,a,i)}(t,i,n,e)});else{var a=function(t,e){var n=ht(),i=ht(),r=ht();return j(t.oldSeries,function(e,n){var a=t.oldData[n],o=vV(e),s=yV(o);i.set(s,a),W(o)&&j(o,function(t){r.set(t,{data:a,key:s})})}),j(e.updatedSeries,function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),a=vV(t),o=yV(a),s=i.get(o);if(s)n.set(o,{oldSeries:[{divide:_V(s),data:s}],newSeries:[{divide:_V(e),data:e}]});else if(W(a)){var l=[];j(a,function(t){var e=i.get(t);e&&l.push({divide:_V(e),data:e})}),l.length&&n.set(o,{oldSeries:l,newSeries:[{data:e,divide:_V(e)}]})}else{var u=r.get(a);if(u){var c=n.get(u.key);c||(c={oldSeries:[{data:u.data,divide:_V(u.data)}],newSeries:[]},n.set(u.key,c)),c.newSeries.push({data:e,divide:_V(e)})}}}}),n}(i,n);j(a.keys(),function(t){var n=a.get(t);gV(n.oldSeries,n.newSeries,e)})}j(n.updatedSeries,function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)})}for(var o=t.getSeries(),s=i.oldSeries=[],l=i.oldData=[],u=0;u<o.length;u++){var c=o[u].getData();c.count()<1e4&&(s.push(o[u]),l.push(c))}})}),hv(Kv);var wV,kV=n("fXoL"),xV=((wV=function(){function t(e){s(this,t),this._elementRef=e}return u(t,[{key:"ngAfterViewInit",value:function(){this._echarts=function(t,e,n){var i=function(t){return Kg[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,$g)]}(t);if(i)return i;var r=new Vg(t,void 0,void 0);return r.id="ec_"+Qg++,Kg[r.id]=r,Kr(t,$g,r.id),Rg(r),fg.trigger("afterinit",r),r}(this._elementRef.nativeElement),this._options&&(this._echarts.clear(),this._echarts.setOption(this._options))}},{key:"echarts",set:function(t){(this._options=t)&&this._echarts&&(this._echarts.clear(),this._echarts.setOption(t))}}]),t}()).\u0275fac=function(t){return new(t||wV)(kV.Ob(kV.l))},wV.\u0275dir=kV.Jb({type:wV,selectors:[["","echarts",""]],inputs:{echarts:"echarts"}}),wV)},NXyV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("Cfvw"),a=n("EY2u");function o(t){return new i.a(function(e){var n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(a.b)()).subscribe(e)})}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={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"};function i(t,e,n,i){var r="";if(e)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={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"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},Olgc:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("fXoL"),r=n("dNgK"),a=n("blSl"),o=function(){var t=function(){function t(e,n){var i=this;s(this,t),this._snackBar=e,this._mediaService=n,this._horizontalPosition="center",this._verticalPosition="top",this._mediaService.onchange.subscribe(function(t){switch(t){case"mobile":i._horizontalPosition="center";break;default:i._horizontalPosition="center",i._verticalPosition="top"}})}return u(t,[{key:"show",value:function(t){var e={duration:6e3,horizontalPosition:this._horizontalPosition,verticalPosition:this._verticalPosition};return"string"==typeof t?this._snackBar.open(t,null,e):this._snackBar.openFromComponent(t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.a),i.Yb(a.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function a(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||i?r+(a(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(a(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(a(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(a(t)?"dny":"dn\xed"):r+"dny";case"M":return e||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||i?r+(a(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(a(t)?"roky":"let"):r+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCNd:function(t,e,n){"use strict";n.d(e,"a",function(){return Qt});var r=n("ofXK"),a=n("3Pt+"),o=n("tk/3"),l=n("tyNb"),d=n("sYmb"),p=n("zM63"),m=n("mrSG"),g=n("fXoL"),v=n("LRne"),y=n("vkgz"),_=n("3E0/"),w=n("pLZG"),k=n("eIep"),x=new g.s("ngProgressRouterConfig");function M(t,e){var n=!1;return e.map(function(e){return n=n||t instanceof e}),n}var S,C,D,O=((S=function t(e,n,r){var a=this;s(this,t),this._config={id:"root",delay:0,startEvents:[l.e],completeEvents:[l.c,l.b,l.d]},this._config=r?Object.assign(Object.assign({},this._config),r):this._config;var o=e.ref(this._config.id),u=Object(v.a)({}).pipe(Object(y.a)(function(){return o.start()})),c=Object(v.a)({}).pipe(Object(_.a)(this._config.delay),Object(y.a)(function(){return o.complete()})),h=[].concat(i(this._config.startEvents),i(this._config.completeEvents));n.events.pipe(Object(w.a)(function(t){return M(t,h)}),Object(k.a)(function(t){return M(t,a._config.startEvents)?u:c})).subscribe()}).\u0275fac=function(t){return new(t||S)(g.Yb(p.a),g.Yb(l.f),g.Yb(x,8))},S.\u0275prov=Object(g.Kb)({factory:function(){return new S(Object(g.Yb)(p.a),Object(g.Yb)(l.f),Object(g.Yb)(x,8))},token:S,providedIn:"root"}),S=Object(m.b)([Object(m.c)(2,Object(g.C)()),Object(m.c)(2,Object(g.q)(x))],S)),T=((D=C=function(){function t(e){s(this,t)}return u(t,null,[{key:"withConfig",value:function(t){return{ngModule:C,providers:[{provide:x,useValue:t}]}}}]),t}()).\u0275mod=g.Mb({type:D}),D.\u0275inj=g.Lb({factory:function(t){return new(t||D)(g.Yb(O))}}),D),L=n("u47x"),A=n("5+WD"),I=n("rDax"),P=n("+rOU"),E=n("vxfF"),R=n("cH1L"),Y=(n("8LU1"),n("FtGj"),n("XNiG"));n("JX91"),n("1G5W");var j,N=((j=function t(){s(this,t)}).\u0275mod=g.Mb({type:j}),j.\u0275inj=g.Lb({factory:function(t){return new(t||j)},imports:[[R.a]]}),j),F=n("f6nW"),V=n("FvrZ"),H=n("/1cH"),z=n("TU8p"),B=n("FKr1");n("0MNC"),n("R0Ic"),n("VRyK"),n("IzEk");var W,U=((W=function t(){s(this,t)}).\u0275mod=g.Mb({type:W}),W.\u0275inj=g.Lb({factory:function(t){return new(t||W)},imports:[[I.f,B.j,P.g],B.j]}),W),G=n("bTqV");n("0EQZ");var q,X=((q=function t(){s(this,t)}).\u0275mod=g.Mb({type:q}),q.\u0275inj=g.Lb({factory:function(t){return new(t||q)},imports:[[B.j,B.u],B.j]}),q),Z=n("Wp6s"),K=n("bSwM"),J=n("A5z7"),Q=n("iadO"),$=n("0IaG"),tt=n("f0Cb");n("quSY");var et,nt=((et=function t(){s(this,t)}).\u0275mod=g.Mb({type:et}),et.\u0275inj=g.Lb({factory:function(t){return new(t||et)}}),et);n("/uUt"),n("R1ws"),n("EY2u");var it,rt,at,ot=((rt=function t(){s(this,t)}).\u0275mod=g.Mb({type:rt}),rt.\u0275inj=g.Lb({factory:function(t){return new(t||rt)},imports:[[r.c,B.j,nt,P.g]]}),rt),st=((it=function t(){s(this,t)}).\u0275mod=g.Mb({type:it}),it.\u0275inj=g.Lb({factory:function(t){return new(t||it)},imports:[[B.l,B.j],B.l,B.j]}),it),lt=n("NFeN"),ut=n("qFsG"),ct=((at=function t(){s(this,t)}).\u0275mod=g.Mb({type:at}),at.\u0275inj=g.Lb({factory:function(t){return new(t||at)},imports:[[B.l,B.u,B.j,B.s,r.c],B.l,B.j,B.s,tt.b]}),at),ht=n("STbY"),dt=n("M9IT"),ft=n("bv9b"),pt=n("Xa2L"),mt=n("QibW"),gt=n("d3UM"),vt=n("XhcP"),yt=n("1jcm");n("nLfN");var _t,bt,wt,kt=((_t=function t(){s(this,t)}).\u0275mod=g.Mb({type:_t}),_t.\u0275inj=g.Lb({factory:function(t){return new(t||_t)},imports:[[r.c,B.j],B.j]}),_t),xt=n("dNgK"),Mt=n("Dh3D"),St=((bt=function t(){s(this,t),this.changes=new Y.a,this.optionalLabel="Optional"}).\u0275fac=function(t){return new(t||bt)},bt.\u0275prov=Object(g.Kb)({factory:function(){return new bt},token:bt,providedIn:"root"}),bt),Ct={provide:St,deps:[[new g.C,new g.L,St]],useFactory:function(t){return t||new St}},Dt=((wt=function t(){s(this,t)}).\u0275mod=g.Mb({type:wt}),wt.\u0275inj=g.Lb({factory:function(t){return new(t||wt)},providers:[Ct,B.d],imports:[[B.j,r.c,P.g,G.b,N,lt.b,B.u],B.j]}),wt),Ot=n("+0xr"),Tt=n("wZkO"),Lt=n("/t3+"),At=n("Qu3c"),It=n("8yBR"),Pt=n("wd/R"),Et=n.n(Pt),Rt=Et.a||Pt,Yt=new g.s("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function jt(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var Nt,Ft=((Nt=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this))._options=i,r.setLocale(t||Rt.locale()),r}return u(n,[{key:"setLocale",value:function(t){var e=this;c(b(n.prototype),"setLocale",this).call(this,t);var i=Rt.localeData(t);this._localeData={firstDayOfWeek:i.firstDayOfWeek(),longMonths:i.months(),shortMonths:i.monthsShort(),dates:jt(31,function(t){return e.createDate(2017,0,t+1).format("D")}),longDaysOfWeek:i.weekdays(),shortDaysOfWeek:i.weekdaysShort(),narrowDaysOfWeek:i.weekdaysMin()}}},{key:"getYear",value:function(t){return this.clone(t).year()}},{key:"getMonth",value:function(t){return this.clone(t).month()}},{key:"getDate",value:function(t){return this.clone(t).date()}},{key:"getDayOfWeek",value:function(t){return this.clone(t).day()}},{key:"getMonthNames",value:function(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}},{key:"getDateNames",value:function(){return this._localeData.dates}},{key:"getDayOfWeekNames",value:function(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}},{key:"getYearName",value:function(t){return this.clone(t).format("YYYY")}},{key:"getFirstDayOfWeek",value:function(){return this._localeData.firstDayOfWeek}},{key:"getNumDaysInMonth",value:function(t){return this.clone(t).daysInMonth()}},{key:"clone",value:function(t){return t.clone().locale(this.locale)}},{key:"createDate",value:function(t,e,n){var i=this._createMoment({year:t,month:e,date:n}).locale(this.locale);return i.isValid(),i}},{key:"today",value:function(){return this._createMoment().locale(this.locale)}},{key:"parse",value:function(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}},{key:"format",value:function(t,e){return t=this.clone(t),this.isValid(t),t.format(e)}},{key:"addCalendarYears",value:function(t,e){return this.clone(t).add({years:e})}},{key:"addCalendarMonths",value:function(t,e){return this.clone(t).add({months:e})}},{key:"addCalendarDays",value:function(t,e){return this.clone(t).add({days:e})}},{key:"toIso8601",value:function(t){return this.clone(t).format()}},{key:"deserialize",value:function(t){var e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,Rt.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):c(b(n.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return Rt.isMoment(t)}},{key:"isValid",value:function(t){return this.clone(t).isValid()}},{key:"invalid",value:function(){return Rt.invalid()}},{key:"_createMoment",value:function(t,e,n){var i=this._options||{},r=i.strict;return i.useUtc?Rt.utc(t,e,n,r):Rt(t,e,n,r)}}]),n}(B.c)).\u0275fac=function(t){return new(t||Nt)(g.Yb(B.f,8),g.Yb(Yt,8))},Nt.\u0275prov=g.Kb({token:Nt,factory:Nt.\u0275fac}),Nt),Vt=n("n1FK"),Ht=Et.a||Pt,zt=new g.s("NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function Bt(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var Wt,Ut=((Wt=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this))._options=i,r.setLocale(t||Ht.locale()),r}return u(n,[{key:"setLocale",value:function(t){var e=this;c(b(n.prototype),"setLocale",this).call(this,t);var i=Ht.localeData(t);this._localeData={firstDayOfWeek:i.firstDayOfWeek(),longMonths:i.months(),shortMonths:i.monthsShort(),dates:Bt(31,function(t){return e.createDate(2017,0,t+1).format("D")}),longDaysOfWeek:i.weekdays(),shortDaysOfWeek:i.weekdaysShort(),narrowDaysOfWeek:i.weekdaysMin()}}},{key:"getYear",value:function(t){return this.clone(t).year()}},{key:"getMonth",value:function(t){return this.clone(t).month()}},{key:"getDate",value:function(t){return this.clone(t).date()}},{key:"getDayOfWeek",value:function(t){return this.clone(t).day()}},{key:"getMonthNames",value:function(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}},{key:"getDateNames",value:function(){return this._localeData.dates}},{key:"getDayOfWeekNames",value:function(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}},{key:"getYearName",value:function(t){return this.clone(t).format("YYYY")}},{key:"getFirstDayOfWeek",value:function(){return this._localeData.firstDayOfWeek}},{key:"getNumDaysInMonth",value:function(t){return this.clone(t).daysInMonth()}},{key:"clone",value:function(t){return t.clone().locale(this.locale)}},{key:"createDate",value:function(t,e,n){if(e<0||e>11)throw Error('Invalid month index "'.concat(e,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createMoment({year:t,month:e,date:n}).locale(this.locale);if(!i.isValid())throw Error('Invalid date "'.concat(n,'" for month with index "').concat(e,'".'));return i}},{key:"today",value:function(){return this._createMoment().locale(this.locale)}},{key:"parse",value:function(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}},{key:"format",value:function(t,e){if(t=this.clone(t),!this.isValid(t))throw Error("MomentDateAdapter: Cannot format invalid date.");return t.format(e)}},{key:"addCalendarYears",value:function(t,e){return this.clone(t).add({years:e})}},{key:"addCalendarMonths",value:function(t,e){return this.clone(t).add({months:e})}},{key:"addCalendarDays",value:function(t,e){return this.clone(t).add({days:e})}},{key:"toIso8601",value:function(t){return this.clone(t).format()}},{key:"deserialize",value:function(t){var e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,Ht.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):c(b(n.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return Ht.isMoment(t)}},{key:"isValid",value:function(t){return this.clone(t).isValid()}},{key:"invalid",value:function(){return Ht.invalid()}},{key:"getHour",value:function(t){return t.hours()}},{key:"getMinute",value:function(t){return t.minutes()}},{key:"getSecond",value:function(t){return t.seconds()}},{key:"setHour",value:function(t,e){t.hours(e)}},{key:"setMinute",value:function(t,e){t.minutes(e)}},{key:"setSecond",value:function(t,e){t.seconds(e)}},{key:"_createMoment",value:function(t,e,n){var i=this._options||{},r=i.strict;return i.useUtc?Ht.utc(t,e,n,r):Ht(t,e,n,r)}}]),n}(Vt.b)).\u0275fac=function(t){return new(t||Wt)(g.Yb(B.f,8),g.Yb(zt,8))},Wt.\u0275prov=g.Kb({token:Wt,factory:Wt.\u0275fac}),Wt);n("2Vo4"),n("jtHE");var Gt,qt,Xt=((qt=function t(){s(this,t)}).\u0275mod=g.Mb({type:qt}),qt.\u0275inj=g.Lb({factory:function(t){return new(t||qt)},imports:[[ft.b,Z.d,G.b,lt.b,o.c,r.c]]}),qt),Zt=((Gt=function t(){s(this,t)}).\u0275mod=g.Mb({type:Gt}),Gt.\u0275inj=g.Lb({factory:function(t){return new(t||Gt)},providers:[{provide:B.e,useValue:{parse:{dateInput:"YYYY-MM-DD"},display:{dateInput:"YYYY-MM-DD",monthYearLabel:"YYYY-MM",dateA11yLabel:"YYYY-MM-DD",monthYearA11yLabel:"YYYY-MM"}}},{provide:Yt,useValue:{useUtc:!0}},{provide:Vt.a,useValue:{parse:{dateInput:"YYYY-MM-DD HH:mm"},display:{dateInput:"YYYY-MM-DD HH:mm",monthYearLabel:"YYYY-MM",dateA11yLabel:"YYYY-MM-DD",monthYearA11yLabel:"YYYY-MM"}}},{provide:zt,useValue:{useUtc:!0}},{provide:K.a,useValue:{color:"primary"}},{provide:mt.a,useValue:{color:"primary"}},{provide:dt.a,useValue:{pageSize:50,pageSizeOptions:[10,30,50,100]}},{provide:dt.c,deps:[d.e],useFactory:function(t){var e=new dt.c,n=function(){e.firstPageLabel=t.instant("shared.data.page.first"),e.previousPageLabel=t.instant("shared.data.page.previous"),e.nextPageLabel=t.instant("shared.data.page.next"),e.lastPageLabel=t.instant("shared.data.page.last"),e.itemsPerPageLabel=t.instant("shared.data.page.size"),e.getRangeLabel=function(e,n,i){var r={from:0,to:0,total:i};return i>0&&(r.from=n*e+1,r.to=Math.min(i,n*(e+1))),t.instant("shared.data.page.range",r)}};return n(),t.onLangChange.subscribe(function(){n(),e.changes.next()}),e}},{provide:B.c,useClass:Ft,deps:[B.f,Yt]},{provide:Vt.b,useClass:Ut,deps:[B.f,zt]}],imports:[L.a,A.c,I.f,P.g,E.d,N,F.r,V.d,H.b,z.b,U,G.b,X,Z.d,K.c,J.e,Dt,Q.i,$.f,tt.b,ot,Xt,st,lt.b,ut.c,ct,ht.d,B.m,dt.d,ft.b,pt.a,mt.d,B.u,gt.b,vt.d,kt,yt.b,xt.b,Mt.c,Ot.m,Tt.e,Lt.b,At.d,It.c,Vt.e,Vt.f,Vt.g]}),Gt);n("KpOL"),n("tySk"),n("R4KR"),n("ppsF"),n("c8N8"),n("e8Yk"),n("7OFo"),n("NXfZ"),n("1dzw"),n("qUOr"),n("Vc0j"),n("++hd"),n("bUwk"),n("hZOD"),n("ZCbZ"),n("FFMq"),n("aip8"),n("jhN1");var Kt,Jt=[Zt,p.c,T,d.c],Qt=((Kt=function t(){s(this,t)}).\u0275mod=g.Mb({type:Kt}),Kt.\u0275inj=g.Lb({factory:function(t){return new(t||Kt)},imports:[[r.c,a.h,a.s].concat(Jt),r.c,a.h,a.s,o.c,l.h,Zt,p.c,T,d.c]}),Kt)},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("D0XW"),a=n("Y7HM"),o=n("z+Ro");function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,s=-1;return Object(a.a)(e)?s=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=r.a),new i.a(function(e){var i=Object(a.a)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:s,subscriber:e})})}function l(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},QibW:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return D}),n.d(e,"c",function(){return x}),n.d(e,"d",function(){return O});var i=n("fXoL"),r=n("FKr1"),a=n("8LU1"),o=n("3Pt+"),l=n("R1ws"),c=n("u47x"),d=n("0EQZ"),p=["input"],m=function(){return{enterDuration:150}},g=["*"],v=new i.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),y=0,_={provide:o.l,useExisting:Object(i.V)(function(){return x}),multi:!0},b=function t(e,n){s(this,t),this.source=e,this.value=n},w=new i.s("MatRadioGroup"),k=function(){var t=function(){function t(e){s(this,t),this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+y++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new i.o}return u(t,[{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var t=this;this._radios&&this._radios.forEach(function(e){e.name=t.name,e._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var t=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(e){e.checked=t.value===e.value,e.checked&&(t._selected=e)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new b(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(t){return t._markForCheck()})}},{key:"writeValue",value:function(t){this.value=t,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetector.markForCheck()}},{key:"name",get:function(){return this._name},set:function(t){this._name=t,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(a.c)(t),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(a.c)(t),this._markRadiosForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.h))},t.\u0275dir=i.Jb({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t}(),x=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(k);return t.\u0275fac=function(e){return M(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){var r;(1&t&&i.Hb(n,D,!0),2&t)&&(i.tc(r=i.cc())&&(e._radios=r))},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i.Bb([_,{provide:w,useExisting:t}]),i.zb]}),t}(),M=i.Wb(x),S=Object(r.z)(Object(r.D)(function t(e){s(this,t),this._elementRef=e})),C=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,o,l,u,c,h,d){var f;return s(this,n),(f=e.call(this,r))._changeDetector=o,f._focusMonitor=l,f._radioDispatcher=u,f._animationMode=c,f._providerOverride=h,f._uniqueId="mat-radio-"+ ++y,f.id=f._uniqueId,f.change=new i.o,f._checked=!1,f._value=null,f._removeUniqueSelectionListener=function(){},f.radioGroup=t,d&&(f.tabIndex=Object(a.f)(d,0)),f._removeUniqueSelectionListener=u.listen(function(t,e){t!==f.id&&e===f.name&&(f.checked=!1)}),f}return u(n,[{key:"focus",value:function(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){!e&&t.radioGroup&&t.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new b(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(t){t.stopPropagation()}},{key:"_onInputChange",value:function(t){t.stopPropagation();var e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}},{key:"checked",get:function(){return this._checked},set:function(t){var e=Object(a.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(t){this._labelPosition=t}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(t){this._setDisabled(Object(a.c)(t))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(t){this._required=Object(a.c)(t)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(t){this._color=t}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}}]),n}(S);return t.\u0275fac=function(e){return new(e||t)(i.Ob(k),i.Ob(i.l),i.Ob(i.h),i.Ob(c.h),i.Ob(d.d),i.Ob(String),i.Ob(void 0),i.Ob(String))},t.\u0275dir=i.Jb({type:t,viewQuery:function(t,e){var n;(1&t&&i.Oc(p,!0),2&t)&&(i.tc(n=i.cc())&&(e._inputElement=n.first))},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i.zb]}),t}(),D=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u,c){return s(this,n),e.call(this,t,i,r,a,o,l,u,c)}return n}(C);return t.\u0275fac=function(e){return new(e||t)(i.Ob(w,8),i.Ob(i.l),i.Ob(i.h),i.Ob(c.h),i.Ob(d.d),i.Ob(l.a,8),i.Ob(v,8),i.Zb("tabindex"))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.Db("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Gb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:g,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i.kc(),i.Ub(0,"label",0,1),i.Ub(2,"span",2),i.Pb(3,"span",3),i.Pb(4,"span",4),i.Ub(5,"input",5,6),i.bc("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i.Tb(),i.Ub(7,"span",7),i.Pb(8,"span",8),i.Tb(),i.Tb(),i.Ub(9,"span",9),i.Ub(10,"span",10),i.Hc(11,"\xa0"),i.Tb(),i.jc(12),i.Tb(),i.Tb()),2&t){var n=i.uc(1);i.Db("for",e.inputId),i.Cb(5),i.lc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.Db("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.Cb(2),i.lc("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.oc(18,m)),i.Cb(2),i.Gb("mat-radio-label-before","before"==e.labelPosition)}},directives:[r.t],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t}(),O=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[r.u,r.j],r.j]}),t}()},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qu3c:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return M}),n.d(e,"c",function(){return D}),n.d(e,"d",function(){return T}),n.d(e,"e",function(){return O}),n.d(e,"f",function(){return k});var i=n("rDax"),a=n("u47x"),o=n("ofXK"),l=n("fXoL"),c=n("FKr1"),h=n("vxfF"),d=n("8LU1"),f=n("FtGj"),p=n("0MNC"),m=n("nLfN"),g=n("+rOU"),v=n("XNiG"),y=n("1G5W"),_=n("IzEk"),b=n("R0Ic"),w=n("cH1L"),k={tooltipState:Object(b.m)("state",[Object(b.j)("initial, void, hidden",Object(b.k)({opacity:0,transform:"scale(0)"})),Object(b.j)("visible",Object(b.k)({transform:"scale(1)"})),Object(b.l)("* => visible",Object(b.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(b.g)([Object(b.k)({opacity:0,transform:"scale(0)",offset:0}),Object(b.k)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(b.k)({opacity:1,transform:"scale(1)",offset:1})]))),Object(b.l)("* => hidden",Object(b.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(b.k)({opacity:0})))])},x=Object(m.f)({passive:!0}),M=new l.s("mat-tooltip-scroll-strategy"),S={provide:M,deps:[i.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},C=new l.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),D=function(){var t=function(){function t(e,n,i,r,a,o,l,u,c,h,d){var p=this;s(this,t),this._overlay=e,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=l,this._focusMonitor=u,this._dir=h,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new v.a,this._handleKeydown=function(t){p._isTooltipVisible()&&t.keyCode===f.g&&!Object(f.s)(t)&&(t.preventDefault(),t.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=c,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),a.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",p._handleKeydown)})}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(y.a)(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(e){var n=r(e,2),i=n[0],a=n[1];t.removeEventListener(i,a,x)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new g.d(O,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(y.a)(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(y.a)(this._destroyed)).subscribe(function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(y.a)(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?t={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&e||"right"==n&&!e?t={originX:"start",originY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(t={originX:"end",originY:"center"});var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?t={overlayX:"center",overlayY:"bottom"}:"below"==n?t={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&e||"right"==n&&!e?t={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(t={overlayX:"start",overlayY:"center"});var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(_.a)(1),Object(y.a)(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var t,e=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return e.hide()}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(t=this._passiveListeners).push.apply(t,n)}}},{key:"_addListeners",value:function(t){var e=this;t.forEach(function(t){var n=r(t,2),i=n[0],a=n[1];e._elementRef.nativeElement.addEventListener(i,a,x)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}},{key:"position",get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Object(d.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Ob(i.c),l.Ob(l.l),l.Ob(h.c),l.Ob(l.R),l.Ob(l.B),l.Ob(m.a),l.Ob(a.c),l.Ob(a.h),l.Ob(M),l.Ob(w.b,8),l.Ob(C,8))},t.\u0275dir=l.Jb({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t}(),O=function(){var t=function(){function t(e,n){s(this,t),this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new v.a,this._isHandset=this._breakpointObserver.observe(p.b.Handset)}return u(t,[{key:"show",value:function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()},t)}},{key:"hide",value:function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.h),l.Ob(p.a))},t.\u0275cmp=l.Ib({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&l.bc("click",function(){return e._handleBodyInteraction()},!1,l.vc),2&t&&l.Cc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(l.Ub(0,"div",0),l.bc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),l.gc(1,"async"),l.Hc(2),l.Tb()),2&t){var n;l.Gb("mat-tooltip-handset",null==(n=l.hc(1,5,e._isHandset))?null:n.matches),l.lc("ngClass",e.tooltipClass)("@state",e._visibility),l.Cb(2),l.Ic(e.message)}},directives:[o.l],pipes:[o.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[k.tooltipState]},changeDetection:0}),t}(),T=function(){var t=function t(){s(this,t)};return t.\u0275mod=l.Mb({type:t}),t.\u0275inj=l.Lb({factory:function(e){return new(e||t)},providers:[S],imports:[[a.a,o.c,i.f,c.j],c.j,h.b]}),t}()},R0Ic:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return l}),n.d(e,"f",function(){return m}),n.d(e,"g",function(){return f}),n.d(e,"h",function(){return g}),n.d(e,"i",function(){return c}),n.d(e,"j",function(){return d}),n.d(e,"k",function(){return h}),n.d(e,"l",function(){return p}),n.d(e,"m",function(){return o}),n.d(e,"n",function(){return _}),n.d(e,"o",function(){return b});var i=function t(){s(this,t)},r=function t(){s(this,t)},a="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function h(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function f(t){return{type:5,steps:t}}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function v(t){Promise.resolve(null).then(t)}var y=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;s(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}return u(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;v(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),_=function(){function t(e){var n=this;s(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,r=0,a=0,o=this.players.length;0==o?v(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++i==o&&n._onFinish()}),t.onDestroy(function(){++r==o&&n._onDestroy()}),t.onStart(function(){++a==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return u(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),b="!"},R1ws:function(t,e,a){"use strict";a.d(e,"a",function(){return Ae}),a.d(e,"b",function(){return Pe});var o=a("fXoL"),l=a("jhN1"),d=a("R0Ic");function p(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function m(t){switch(t.length){case 0:return new d.d;case 1:return t[0];default:return new d.n(t)}}function g(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,u=null;if(i.forEach(function(t){var n=t.offset,i=n==l,c=i&&u||{};Object.keys(t).forEach(function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),s){case d.o:s=r[n];break;case d.a:s=a[n];break;default:s=e.normalizeStyleValue(n,i,s,o)}c[i]=s}),i||s.push(c),u=c,l=n}),o.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(o.join(c)))}return s}function v(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&y(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&y(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&y(n,"destroy",t))})}}function y(t,e,n){var i=n.totalTime,r=_(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),a=t._data;return null!=a&&(r._data=a),r}function _(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function w(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function k(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var x=function(t,e){return!1},M=function(t,e){return!1},S=function(t,e,n){return[]},C=p();(C||"undefined"!=typeof Element)&&(x=function(t,e){return t.contains(e)},M=function(){if(C||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:M}(),S=function(t,e,n){var i=[];if(n)for(var r=t.querySelectorAll(e),a=0;a<r.length;a++)i.push(r[a]);else{var o=t.querySelector(e);o&&i.push(o)}return i});var D=null,O=!1;function T(t){D||(D=("undefined"!=typeof document?document.body:null)||{},O=!!D.style&&"WebkitAppearance"in D.style);var e=!0;return D.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(!(e=t in D.style)&&O)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in D.style),e}var L=M,A=x,I=S;function P(t){var e={};return Object.keys(t).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}var E,R=((E=function(){function t(){s(this,t)}return u(t,[{key:"validateStyleProperty",value:function(t){return T(t)}},{key:"matchesElement",value:function(t,e){return L(t,e)}},{key:"containsElement",value:function(t,e){return A(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,i,r){return new d.d(n,i)}}]),t}()).\u0275fac=function(t){return new(t||E)},E.\u0275prov=o.Kb({token:E,factory:E.\u0275fac}),E),Y=function(){var t=function t(){s(this,t)};return t.NOOP=new R,t}();function j(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:N(parseFloat(e[1]),e[2])}function N(t,e){switch(e){case"s":return 1e3*t;default:return t}}function F(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,a="";if("string"==typeof t){var o=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};i=N(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=N(parseFloat(s),o[4]));var l=o[5];l&&(a=l)}else i=t;if(!n){var u=!1,c=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(t,e,n)}function V(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function H(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else V(t,n);return n}function z(t,e,n){return n?e+":"+n+";":""}function B(t){for(var e="",n=0;n<t.style.length;n++){var i=t.style.item(n);e+=z(0,i,t.style.getPropertyValue(i))}for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=z(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function W(t,e,n){t.style&&(Object.keys(e).forEach(function(i){var r=Q(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),p()&&B(t))}function U(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=Q(e);t.style[n]=""}),p()&&B(t))}function G(t){return Array.isArray(t)?1==t.length?t[0]:Object(d.i)(t):t}var q=new RegExp("{{\\s*(.+?)\\s*}}","g");function X(t){var e=[];if("string"==typeof t){for(var n;n=q.exec(t);)e.push(n[1]);q.lastIndex=0}return e}function Z(t,e,n){var i=t.toString(),r=i.replace(q,function(t,i){var r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?t:r}function K(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var J=/-+([a-z0-9])/g;function Q(t){return t.replace(J,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e[1].toUpperCase()})}function $(t,e){return 0===t||0===e}function tt(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var r=e[0],a=[];if(i.forEach(function(t){r.hasOwnProperty(t)||a.push(t),r[t]=n[t]}),a.length)for(var o=function(){var n=e[s];a.forEach(function(e){n[e]=nt(t,e)})},s=1;s<e.length;s++)o()}return e}function et(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function nt(t,e){return window.getComputedStyle(t)[e]}var it=new Set(["true","1"]),rt=new Set(["false","0"]);function at(t,e){var n=it.has(t)||rt.has(t),i=it.has(e)||rt.has(e);return function(r,a){var o="*"==t||t==r,s="*"==e||e==a;return!o&&n&&"boolean"==typeof r&&(o=r?it.has(t):rt.has(t)),!s&&i&&"boolean"==typeof a&&(s=a?it.has(e):rt.has(e)),o&&s}}var ot=new RegExp("s*:selfs*,?","g");function st(t,e,n){return new lt(t).build(e,n)}var lt=function(){function t(e){s(this,t),this._driver=e}return u(t,[{key:"build",value:function(t,e){var n=new ut(e);return this._resetContextStyleTimingState(n),et(this,G(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,a=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,a.push(n.visitState(s,e))}),s.name=l}else if(1==t.type){var u=n.visitTransition(t,e);i+=u.queryCount,r+=u.depCount,o.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:a,transitions:o,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,a=i||{};if(n.styles.forEach(function(t){if(ct(t)){var e=t;Object.keys(e).forEach(function(t){X(e[t]).forEach(function(t){a.hasOwnProperty(t)||r.add(t)})})}}),r.size){var o=K(r.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(o.join(", ")))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n,i,r,a=et(this,G(t.animation),e);return{type:1,matchers:(n=t.expr,i=e.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'.concat(t,'" is not supported')),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var a=r[1],o=r[2],s=r[3];e.push(at(a,s)),"<"!=o[0]||"*"==a&&"*"==s||e.push(at(s,a))}(t,r,i)}):r.push(n),r),animation:a,queryCount:e.queryCount,depCount:e.depCount,options:ht(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return et(n,t,e)}),options:ht(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,a=t.steps.map(function(t){e.currentTime=i;var a=et(n,t,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:a,options:ht(t.options)}}},{key:"visitAnimate",value:function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return dt(F(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=dt(0,0,"");return r.dynamic=!0,r.strValue=i,r}return dt((n=n||F(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Object(d.k)({});if(5==r.type)n=this.visitKeyframes(r,e);else{var a=t.styles,o=!1;if(!a){o=!0;var s={};i.easing&&(s.easing=i.easing),a=Object(d.k)(s)}e.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,e);l.isEmptyStep=o,n=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==d.a?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,r=null;return n.forEach(function(t){if(ct(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var a in e)if(e[a].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(i){if(n._driver.validateStyleProperty(i)){var o,s,l,u,c,h=e.collectedStyles[e.currentQuerySelector],d=h[i],f=!0;d&&(a!=r&&a>=d.startTime&&r<=d.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),f=!1),a=d.startTime),f&&(h[i]={startTime:a,endTime:r}),e.options&&(o=t[i],s=e.options,l=e.errors,u=s.params||{},(c=X(o)).length&&c.forEach(function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))}))}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,l=0,u=t.steps.map(function(t){var i=n._makeStyleAst(t,e),u=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(ct(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,o=o||c<l,l=c,a.push(c),i});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,h=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(h=1/(c-1));var d=c-1,f=e.currentTime,p=e.currentAnimateTimings,m=p.duration;return u.forEach(function(t,r){var o=h>0?r==d?1:h*r:a[r],s=o*m;e.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=o,i.styles.push(t)}),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:et(this,G(t.animation),e),options:ht(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:ht(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ht(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var a=r(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(ot,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=a[0],s=a[1];e.currentQuerySelector=n.length?n+" "+o:o,w(e.collectedStyles,e.currentQuerySelector,{});var l=et(this,G(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:l,originalSelector:t.selector,options:ht(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:F(t.timings,e.errors,!0);return{type:12,animation:et(this,G(t.animation),e),timings:n,options:null}}}]),t}(),ut=function t(e){s(this,t),this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ct(t){return!Array.isArray(t)&&"object"==typeof t}function ht(t){var e;return t?(t=V(t)).params&&(t.params=(e=t.params)?V(e):null):t={},t}function dt(t,e,n){return{duration:t,delay:e,easing:n}}function ft(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var pt=function(){function t(){s(this,t),this._map=new Map}return u(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,r=this._map.get(t);r||this._map.set(t,r=[]),(n=r).push.apply(n,i(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),mt=new RegExp(":enter","g"),gt=new RegExp(":leave","g");function vt(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new yt).buildKeyframes(t,e,n,i,r,a,o,s,l,u)}var yt=function(){function t(){s(this,t)}return u(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,a,o,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new pt;var c=new bt(t,e,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([a],null,c.errors,s),et(this,n,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(o).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([o],null,c.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[ft(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?j(n.duration):null,a=null!=n.delay?j(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,a);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),et(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,a=t.options;if(a&&(a.params||a.delay)&&((r=e.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_t);var o=j(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach(function(t){return et(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,a=t.options&&t.options.delay?j(t.options.delay):0;t.steps.forEach(function(o){var s=e.createSubContext(t.options);a&&s.delayNextStep(a),et(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return F(e.params?Z(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach(function(t){a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?j(r.delay):0;a&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=_t);var o=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);a&&s.delayNextStep(a),i===e.element&&(l=s.currentTimeline),et(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1),s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;et(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),t}(),_t={},bt=function(){function t(e,n,i,r,a,o,l,u){s(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_t,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new wt(this._driver,n,0),l.push(this.currentTimeline)}return u(t,[{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=j(i.duration)),null!=i.delay&&(r.delay=j(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(function(t){e&&o.hasOwnProperty(t)||(o[t]=Z(a[t],o,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=_t,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new kt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,r,a,o){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(mt,"."+this._enterClassName)).replace(gt,"."+this._leaveClassName);var l=this._driver.query(this.element,t,1!=n);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),s.push.apply(s,i(l))}return a||0!=s.length||o.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),s}},{key:"params",get:function(){return this.options.params}}]),t}(),wt=function(){function t(e,n,i,r){s(this,t),this._driver=e,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return u(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||d.a,e._currentKeyframe[t]=d.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},o=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=d.a}):H(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(o).forEach(function(t){var e=Z(o[t],a,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:d.a),r._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,o){var s=H(a,!0);Object.keys(s).forEach(function(t){var i=s[t];i==d.o?e.add(t):i==d.a&&n.add(t)}),i||(s.offset=o/t.duration),r.push(s)});var a=e.size?K(e.values()):[],o=n.size?K(n.values()):[];if(i){var s=r[0],l=V(s);s.offset=0,l.offset=1,r=[s,l]}return ft(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}}]),t}(),kt=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return s(this,n),(u=e.call(this,t,i,l.delay)).element=i,u.keyframes=r,u.preStyleProps=a,u.postStyleProps=o,u._stretchStartingKeyframe=c,u.timings={duration:l.duration,delay:l.delay,easing:l.easing},u}return u(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,l=H(t[0],!1);l.offset=0,a.push(l);var u=H(t[0],!1);u.offset=xt(s),a.push(u);for(var c=t.length-1,h=1;h<=c;h++){var d=H(t[h],!1);d.offset=xt((n+d.offset*i)/o),a.push(d)}i=o,n=0,r="",t=a}return ft(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(wt);function xt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var Mt,St,Ct=function t(){s(this,t)},Dt=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"normalizePropertyName",value:function(t,e){return Q(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",a=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return a+r}}]),n}(Ct),Ot=(Mt="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),St={},Mt.forEach(function(t){return St[t]=!0}),St);function Tt(t,e,n,i,r,a,o,s,l,u,c,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}var Lt={},At=function(){function t(e,n,i){s(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return u(t,[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,r){return t.some(function(t){return t(e,n,i,r)})}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],a=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):a}},{key:"build",value:function(t,e,n,i,r,a,o,s,l,u){var c=[],h=this.ast.options&&this.ast.options.params||Lt,d=this.buildStyles(n,o&&o.params||Lt,c),f=s&&s.params||Lt,p=this.buildStyles(i,f,c),m=new Set,g=new Map,v=new Map,y="void"===i,_={params:Object.assign(Object.assign({},h),f)},b=u?[]:vt(t,e,this.ast.animation,r,a,d,p,_,l,c),k=0;if(b.forEach(function(t){k=Math.max(t.duration+t.delay,k)}),c.length)return Tt(e,this._triggerName,n,i,y,d,p,[],[],g,v,k,c);b.forEach(function(t){var n=t.element,i=w(g,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=w(v,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&m.add(n)});var x=K(m.values());return Tt(e,this._triggerName,n,i,y,d,p,b,x,g,v,k)}}]),t}(),It=function(){function t(e,n){s(this,t),this.styles=e,this.defaultParams=n}return u(t,[{key:"buildStyles",value:function(t,e){var n={},i=V(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var a=r[t];a.length>1&&(a=Z(a,i,e)),n[t]=a})}}),n}}]),t}(),Pt=function(){function t(e,n){var i=this;s(this,t),this.name=e,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(t){i.states[t.name]=new It(t.style,t.options&&t.options.params||{})}),Et(this.states,"true","1"),Et(this.states,"false","0"),n.transitions.forEach(function(t){i.transitionFactories.push(new At(e,t,i.states))}),this.fallbackTransition=new At(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return u(t,[{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find(function(r){return r.match(t,e,n,i)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),t}();function Et(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Rt=new pt,Yt=function(){function t(e,n,i){s(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return u(t,[{key:"register",value:function(t,e){var n=[],i=st(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=g(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],o=this._animations[t],s=new Map;if(o?(n=vt(this._driver,e,o,"ng-enter","ng-leave",{},{},r,Rt,a)).forEach(function(t){var e=w(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: "+a.join("\n"));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,d.a)})});var l=m(n.map(function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return i.destroy(t)}),this.players.push(l),l}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}},{key:"listen",value:function(t,e,n,i){var r=_(e,"","","");return v(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}]),t}(),jt=[],Nt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ft={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";s(this,t),this.namespaceId=n;var i,r=e&&e.hasOwnProperty("value");if(this.value=null!=(i=r?e.value:e)?i:null,r){var a=V(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return u(t,[{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}},{key:"params",get:function(){return this.options.params}}]),t}(),Ht=new Vt("void"),zt=function(){function t(e,n,i){s(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Zt(n,this._hostClassName)}return u(t,[{key:"listen",value:function(t,e,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var o=w(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};o.push(s);var l=w(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(Zt(t,"ng-trigger"),Zt(t,"ng-trigger-"+e),l[e]=Ht),function(){a._engine.afterFlush(function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),a._triggers[e]||delete l[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(e),o=new Wt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Zt(t,"ng-trigger"),Zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new Vt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=Ht),"void"===u.value||l.value!==u.value){var c=w(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=a.matchTransition(l.value,u.value,t,u.params),d=!1;if(!h){if(!r)return;h=a.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:u,player:o,isFallbackTransition:d}),d||(Zt(t,"ng-animate-queued"),o.onStart(function(){Kt(t,"ng-animate-queued")})),o.onDone(function(){var e=i.players.indexOf(o);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}}),this.players.push(o),c.push(o),o}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var a=n[r];if(!e.hasOwnProperty(a)||t[a]!==e[a])return!1}return!0}(l.params,u.params)){var f=[],p=a.matchStyles(l.value,l.params,f),m=a.matchStyles(u.value,u.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(function(){U(t,p),W(t,m)})}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,i){e._elementListeners.set(i,n.filter(function(e){return e.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach(function(t){if(!t.__ng_removed){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):n.clearElementCache(t)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(t){return n.clearElementCache(t)})})}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var r=this,a=this._engine.statesByElement.get(t);if(a){var o=[];if(Object.keys(a).forEach(function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&m(o).onDone(function(){return r._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t);if(n){var i=new Set;n.forEach(function(n){var r=n.name;if(!i.has(r)){i.add(r);var a=e._triggers[r].fallbackTransition,o=e._engine.statesByElement.get(t)[r]||Ht,s=new Vt("void"),l=new Wt(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:a,fromState:o,toState:s,player:l,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var a=i.players.length?i.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else for(var o=t;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{var s=t.__ng_removed;s&&s!==Nt||(i.afterFlush(function(){return n.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){Zt(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var a=i.element,o=e._elementListeners.get(a);o&&o.forEach(function(e){if(e.name==i.triggerName){var n=_(a,i.triggerName,i.fromState.value,i.toState.value);n._data=t,v(i.player,e.phase,n,e.callback)}}),r.markedForDestroy?e._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1})}},{key:"destroy",value:function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e}}]),t}(),Bt=function(){function t(e,n,i){s(this,t),this.bodyNode=e,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return u(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"createNamespace",value:function(t,e){var n=new zt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var a=n[i[r]].namespaceId;if(a){var o=this._fetchNamespace(a);o&&e.add(o)}}return e}},{key:"trigger",value:function(t,e,n,i){if(Ut(e)){var r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}},{key:"insertNode",value:function(t,e,n,i){if(Ut(e)){var r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){var o=this._fetchNamespace(t);o&&o.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Kt(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,n,i){if(Ut(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return Ut(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return m(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=Nt,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)Zt(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,e)}finally{for(var a=0;a<r.length;a++)r[a]()}}else for(var o=0;o<this.collectedLeaveElements.length;o++)this.processLeaveNode(this.collectedLeaveElements[o]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?m(n).onDone(function(){s.forEach(function(t){return t()})}):s.forEach(function(t){return t()})}}},{key:"reportError",value:function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}},{key:"_flushAnimations",value:function(t,e){var n=this,r=new pt,a=[],o=new Map,s=[],l=new Map,u=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(function(t){h.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),i=0;i<e.length;i++)h.add(e[i])});var f=this.bodyNode,p=Array.from(this.statesByElement.keys()),g=Xt(p,this.collectedEnterElements),v=new Map,y=0;g.forEach(function(t,e){var n="ng-enter"+y++;v.set(e,n),t.forEach(function(t){return Zt(t,n)})});for(var _=[],b=new Set,k=new Set,x=0;x<this.collectedLeaveElements.length;x++){var M=this.collectedLeaveElements[x],S=M.__ng_removed;S&&S.setForRemoval&&(_.push(M),b.add(M),S.hasAnimation?this.driver.query(M,".ng-star-inserted",!0).forEach(function(t){return b.add(t)}):k.add(M))}var C=new Map,D=Xt(p,Array.from(b));D.forEach(function(t,e){var n="ng-leave"+y++;C.set(e,n),t.forEach(function(t){return Zt(t,n)})}),t.push(function(){g.forEach(function(t,e){var n=v.get(e);t.forEach(function(t){return Kt(t,n)})}),D.forEach(function(t,e){var n=C.get(e);t.forEach(function(t){return Kt(t,n)})}),_.forEach(function(t){n.processLeaveNode(t)})});for(var O=[],T=[],L=this._namespaceList.length-1;L>=0;L--)this._namespaceList[L].drainQueuedTransitions(e).forEach(function(t){var e=t.player,i=t.element;if(O.push(e),n.collectedEnterElements.length){var o=i.__ng_removed;if(o&&o.setForMove)return void e.destroy()}var h=!f||!n.driver.containsElement(f,i),d=C.get(i),p=v.get(i),m=n._buildInstruction(t,r,p,d,h);if(m.errors&&m.errors.length)T.push(m);else{if(h)return e.onStart(function(){return U(i,m.fromStyles)}),e.onDestroy(function(){return W(i,m.toStyles)}),void a.push(e);if(t.isFallbackTransition)return e.onStart(function(){return U(i,m.fromStyles)}),e.onDestroy(function(){return W(i,m.toStyles)}),void a.push(e);m.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,m.timelines),s.push({instruction:m,player:e,element:i}),m.queriedElements.forEach(function(t){return w(l,t,[]).push(e)}),m.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=u.get(e);i||u.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),m.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=c.get(e);i||c.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(T.length){var A=[];T.forEach(function(t){A.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return A.push("- ".concat(t,"\n"))})}),O.forEach(function(t){return t.destroy()}),this.reportError(A)}var I=new Map,P=new Map;s.forEach(function(t){var e=t.element;r.has(e)&&(P.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))}),a.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){w(I,e,[]).push(t),t.destroy()})});var E=_.filter(function(t){return $t(t,u,c)}),R=new Map;qt(R,this.driver,k,c,d.a).forEach(function(t){$t(t,u,c)&&E.push(t)});var Y=new Map;g.forEach(function(t,e){qt(Y,n.driver,new Set(t),u,d.o)}),E.forEach(function(t){var e=R.get(t),n=Y.get(t);R.set(t,Object.assign(Object.assign({},e),n))});var j=[],N=[],F={};s.forEach(function(t){var e=t.element,i=t.player,s=t.instruction;if(r.has(e)){if(h.has(e))return i.onDestroy(function(){return W(e,s.toStyles)}),i.disabled=!0,i.overrideTotalTime(s.totalTime),void a.push(i);var l=F;if(P.size>1){for(var u=e,c=[];u=u.parentNode;){var d=P.get(u);if(d){l=d;break}c.push(u)}c.forEach(function(t){return P.set(t,l)})}var f=n._buildAnimation(i.namespaceId,s,I,o,Y,R);if(i.setRealPlayer(f),l===F)j.push(i);else{var p=n.playersByElement.get(l);p&&p.length&&(i.parentPlayer=m(p)),a.push(i)}}else U(e,s.fromStyles),i.onDestroy(function(){return W(e,s.toStyles)}),N.push(i),h.has(e)&&a.push(i)}),N.forEach(function(t){var e=o.get(t.element);if(e&&e.length){var n=m(e);t.setRealPlayer(n)}}),a.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var V=0;V<_.length;V++){var H=_[V],z=H.__ng_removed;if(Kt(H,"ng-leave"),!z||!z.hasAnimation){var B=[];if(l.size){var G=l.get(H);G&&G.length&&B.push.apply(B,i(G));for(var q=this.driver.query(H,".ng-animating",!0),X=0;X<q.length;X++){var Z=l.get(q[X]);Z&&Z.length&&B.push.apply(B,i(Z))}}var K=B.filter(function(t){return!t.destroyed});K.length?Jt(this,H,K):this.processLeaveNode(H)}}return _.length=0,j.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),j}},{key:"elementContainsData",value:function(t,e){var n=!1,i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}},{key:"afterFlush",value:function(t){this._flushFns.push(t)}},{key:"afterFlushAnimationsDone",value:function(t){this._whenQuietFns.push(t)}},{key:"_getPreviousPlayers",value:function(t,e,n,i,r){var a=[];if(e){var o=this.playersByQueriedElement.get(t);o&&(a=o)}else{var s=this.playersByElement.get(t);if(s){var l=!r||"void"==r;s.forEach(function(t){t.queued||(l||t.triggerName==i)&&a.push(t)})}}return(n||i)&&(a=a.filter(function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)})),a}},{key:"_beforeAnimationBuild",value:function(t,e,i){var r,a=this,o=e.element,s=e.isRemovalTransition?void 0:t,l=e.isRemovalTransition?void 0:e.triggerName,u=n(e.timelines);try{var c=function(){var t=r.value.element,n=t!==o,u=w(i,t,[]);a._getPreviousPlayers(t,n,s,l,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),u.push(t)})};for(u.s();!(r=u.n()).done;)c()}catch(h){u.e(h)}finally{u.f()}U(o,e.fromStyles)}},{key:"_buildAnimation",value:function(t,e,n,i,r,a){var o=this,s=e.triggerName,l=e.element,u=[],c=new Set,h=new Set,f=e.timelines.map(function(e){var f=e.element;c.add(f);var p=f.__ng_removed;if(p&&p.removedBeforeQueried)return new d.d(e.duration,e.delay);var m,v,y=f!==l,_=(m=(n.get(f)||jt).map(function(t){return t.getRealPlayer()}),v=[],Qt(m,v),v).filter(function(t){return!!t.element&&t.element===f}),b=r.get(f),w=a.get(f),k=g(0,o._normalizer,0,e.keyframes,b,w),x=o._buildPlayer(e,k,_);if(e.subTimeline&&i&&h.add(f),y){var M=new Wt(t,s,f);M.setRealPlayer(x),u.push(M)}return x});u.forEach(function(t){w(o.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var i;if(t instanceof Map){if(i=t.get(e)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){var a=i.indexOf(n);i.splice(a,1)}0==i.length&&delete t[e]}return i}(o.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return Zt(t,"ng-animating")});var p=m(f);return p.onDestroy(function(){c.forEach(function(t){return Kt(t,"ng-animating")}),W(l,e.toStyles)}),h.forEach(function(t){w(i,t,[]).push(p)}),p}},{key:"_buildPlayer",value:function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new d.d(t.duration,t.delay)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t}}]),t}(),Wt=function(){function t(e,n,i){s(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new d.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return u(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return v(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){w(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function Ut(t){return t&&1===t.nodeType}function Gt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function qt(t,e,n,i,r){var a=[];n.forEach(function(t){return a.push(Gt(t))});var o=[];i.forEach(function(n,i){var a={};n.forEach(function(t){var n=a[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Ft,o.push(i))}),t.set(i,a)});var s=0;return n.forEach(function(t){return Gt(t,a[s++])}),o}function Xt(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var i=new Set(e),r=new Map;function a(t){if(!t)return 1;var e=r.get(t);if(e)return e;var o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:a(o),r.set(t,e),e}return e.forEach(function(t){var e=a(t);1!==e&&n.get(e).push(t)}),n}function Zt(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Kt(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function Jt(t,e,n){m(n).onDone(function(){return t.processLeaveNode(e)})}function Qt(t,e){for(var n=0;n<t.length;n++){var i=t[n];i instanceof d.n?Qt(i.players,e):e.push(i)}}function $t(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach(function(t){return r.add(t)}):e.set(t,i),n.delete(t),!0}var te=function(){function t(e,n,i){var r=this;s(this,t),this.bodyNode=e,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Bt(e,n,i),this._timelineEngine=new Yt(e,n,i),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return u(t,[{key:"registerTrigger",value:function(t,e,n,i,r){var a=t+"-"+i,o=this._triggerCache[a];if(!o){var s=[],l=st(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(t,e){return new Pt(t,e)}(i,l),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(e,i,o)}},{key:"register",value:function(t,e){this._transitionEngine.register(t,e)}},{key:"destroy",value:function(t,e){this._transitionEngine.destroy(t,e)}},{key:"onInsert",value:function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}},{key:"onRemove",value:function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}},{key:"disableAnimations",value:function(t,e){this._transitionEngine.markElementAsDisabled(t,e)}},{key:"process",value:function(t,e,n,i){if("@"==n.charAt(0)){var a=r(k(n),2),o=a[0],s=a[1];this._timelineEngine.command(o,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}},{key:"listen",value:function(t,e,n,i,a){if("@"==n.charAt(0)){var o=r(k(n),2),s=o[0],l=o[1];return this._timelineEngine.listen(s,e,l,a)}return this._transitionEngine.listen(t,e,n,i,a)}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),t}();function ee(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=ie(e[0]),e.length>1&&(i=ie(e[e.length-1]))):e&&(n=ie(e)),n||i?new ne(t,n,i):null}var ne=function(){var t=function(){function t(e,n,i){s(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return u(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&W(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(W(this._element,this._initialStyles),this._endStyles&&(W(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),W(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function ie(t){for(var e=null,n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];re(r)&&((e=e||{})[r]=t[r])}return e}function re(t){return"display"===t||"position"===t}var ae=function(){function t(e,n,i,r,a,o,l){var u=this;s(this,t),this._element=e,this._name=n,this._duration=i,this._delay=r,this._easing=a,this._fillMode=o,this._onDoneFn=l,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return u._handleCallback(t)}}return u(t,[{key:"apply",value:function(){var t,e,n;t=this._element,e="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=he(t,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)t.charAt(n)}(n),e="".concat(n,", ").concat(e)),ce(t,"",e),ue(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){oe(this._element,this._name,"paused")}},{key:"resume",value:function(){oe(this._element,this._name,"running")}},{key:"setPosition",value:function(t){var e=se(this._element,this._name);this._position=t*this._duration,ce(this._element,"Delay","-".concat(this._position,"ms"),e)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),ue(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=he(t,"").split(","),(i=le(n,e))>=0&&(n.splice(i,1),ce(t,"",n.join(","))))}}]),t}();function oe(t,e,n){ce(t,"PlayState",n,se(t,e))}function se(t,e){var n=he(t,"");return n.indexOf(",")>0?le(n.split(","),e):le([n],e)}function le(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function ue(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function ce(t,e,n,i){var r="animation"+e;if(null!=i){var a=t.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}t.style[r]=n}function he(t,e){return t.style["animation"+e]||""}var de=function(){function t(e,n,i,r,a,o,l,u){s(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=l,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return u(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new ae(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:nt(t.element,i))})}this.currentSnapshot=e}}]),t}(),fe=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=P(i),r}return u(n,[{key:"init",value:function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),c(b(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),c(b(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,c(b(n.prototype),"destroy",this).call(this))}}]),n}(d.d),pe=function(){function t(){s(this,t),this._count=0,this._head=document.querySelector("head")}return u(t,[{key:"validateStyleProperty",value:function(t){return T(t)}},{key:"matchesElement",value:function(t,e){return L(t,e)}},{key:"containsElement",value:function(t,e){return A(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return P(t)});var i="@keyframes ".concat(e," {\n"),r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}}),i+=r+"}\n"}),i+="}\n";var a=document.createElement("style");return a.textContent=i,a}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=a.filter(function(t){return t instanceof de}),s={};$(n,i)&&o.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var l=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=tt(t,e,s));if(0==n)return new fe(t,l);var u="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(c);var h=ee(t,e),d=new de(t,e,u,n,i,r,l,h);return d.onDestroy(function(){var t;(t=c).parentNode.removeChild(t)}),d}}]),t}(),me=function(){function t(e,n,i,r){s(this,t),this.element=e,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return u(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:nt(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),t}(),ge=function(){function t(){s(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ve().toString()),this._cssKeyframesDriver=new pe}return u(t,[{key:"validateStyleProperty",value:function(t){return T(t)}},{key:"matchesElement",value:function(t,e){return L(t,e)}},{key:"containsElement",value:function(t,e){return A(t,e)}},{key:"query",value:function(t,e,n){return I(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,a);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var l={},u=a.filter(function(t){return t instanceof me});$(n,i)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var c=ee(t,e=tt(t,e=e.map(function(t){return H(t,!1)}),l));return new me(t,e,s,c)}}]),t}();function ve(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ye,_e=a("ofXK"),be=((ye=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(i.body,{id:"0",encapsulation:o.S.None,styles:[],data:{animation:[]}}),r}return u(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Object(d.i)(t):t;return xe(this._renderer,null,e,"register",[n]),new we(e,this._renderer)}}]),n}(d.b)).\u0275fac=function(t){return new(t||ye)(o.Yb(o.H),o.Yb(_e.d))},ye.\u0275prov=o.Kb({token:ye,factory:ye.\u0275fac}),ye),we=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return u(n,[{key:"create",value:function(t,e){return new ke(this._id,t,e||{},this._renderer)}}]),n}(d.c),ke=function(){function t(e,n,i,r){s(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return u(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return xe(this._renderer,this.element,this.id,t,n)}},{key:"onDone",value:function(t){this._listen("done",t)}},{key:"onStart",value:function(t){this._listen("start",t)}},{key:"onDestroy",value:function(t){this._listen("destroy",t)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(t){this._command("setPosition",t)}},{key:"getPosition",value:function(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}]),t}();function xe(t,e,n,i,r){return t.setProperty(e,"@@".concat(n,":").concat(i),r)}var Me,Se,Ce,De=((Me=function(){function t(e,n,i){s(this,t),this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return u(t,[{key:"createRenderer",value:function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(i);return r||(r=new Oe("",i,this.engine),this._rendererCache.set(i,r)),r}var a=e.id,o=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(o,t),e.data.animation.forEach(function e(i){Array.isArray(i)?i.forEach(e):n.engine.registerTrigger(a,o,t,i.name,i)}),new Te(this,o,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var t=this;this.promise.then(function(){t._microtaskId++})}},{key:"scheduleListenerCallback",value:function(t,e,n){var i=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(t){var e=r(t,2);(0,e[0])(e[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}},{key:"end",value:function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),t}()).\u0275fac=function(t){return new(t||Me)(o.Yb(o.H),o.Yb(te),o.Yb(o.B))},Me.\u0275prov=o.Kb({token:Me,factory:Me.\u0275fac}),Me),Oe=function(){function t(e,n,i){s(this,t),this.namespaceId=e,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(t){return n.destroyNode(t)}:null}return u(t,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(t,e){return this.delegate.createElement(t,e)}},{key:"createComment",value:function(t){return this.delegate.createComment(t)}},{key:"createText",value:function(t){return this.delegate.createText(t)}},{key:"appendChild",value:function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}},{key:"insertBefore",value:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,i){this.delegate.setStyle(t,e,n,i)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}},{key:"data",get:function(){return this.delegate.data}}]),t}(),Te=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,i,r,a)).factory=t,o.namespaceId=i,o}return u(n,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var i,a,o=this;if("@"==e.charAt(0)){var s,l=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),u=e.substr(1),c="";return"@"!=u.charAt(0)&&(a=(i=u).indexOf("."),u=(s=r([i.substring(0,a),i.substr(a+1)],2))[0],c=s[1]),this.engine.listen(this.namespaceId,l,u,c,function(t){o.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}]),n}(Oe),Le=((Se=function(t){h(n,t);var e=f(n);function n(t,i,r){return s(this,n),e.call(this,t.body,i,r)}return n}(te)).\u0275fac=function(t){return new(t||Se)(o.Yb(_e.d),o.Yb(Y),o.Yb(Ct))},Se.\u0275prov=o.Kb({token:Se,factory:Se.\u0275fac}),Se),Ae=new o.s("AnimationModuleType"),Ie=[{provide:Y,useFactory:function(){return"function"==typeof ve()?new ge:new pe}},{provide:Ae,useValue:"BrowserAnimations"},{provide:d.b,useClass:be},{provide:Ct,useFactory:function(){return new Dt}},{provide:te,useClass:Le},{provide:o.H,useFactory:function(t,e,n){return new De(t,e,n)},deps:[l.e,te,o.B]}],Pe=((Ce=function t(){s(this,t)}).\u0275mod=o.Mb({type:Ce}),Ce.\u0275inj=o.Lb({factory:function(t){return new(t||Ce)},providers:Ie,imports:[l.a]}),Ce)},R4KR:function(t,e,n){"use strict";n.d(e,"a",function(){return b});var i=n("0IaG"),r=n("fXoL"),a=n("kmnG"),o=n("ofXK"),l=n("bTqV"),c=n("d3UM"),h=n("3Pt+"),d=n("FKr1"),f=n("qFsG"),p=n("sYmb");function m(t,e){if(1&t&&(r.Ub(0,"mat-option",12),r.Hc(1),r.Tb()),2&t){var n=e.$implicit;r.lc("value",n.key),r.Cb(1),r.Ic(n.value)}}function g(t,e){if(1&t){var n=r.Vb();r.Ub(0,"mat-select",10),r.bc("ngModelChange",function(t){return r.wc(n),r.fc().value=t}),r.Fc(1,m,2,2,"mat-option",11),r.gc(2,"keyvalue"),r.Tb()}if(2&t){var i=r.fc();r.lc("ngModel",i.value)("required",i.required),r.Cb(1),r.lc("ngForOf",r.hc(2,3,i.range))}}function v(t,e){if(1&t){var n=r.Vb();r.Ub(0,"input",13),r.bc("ngModelChange",function(t){return r.wc(n),r.fc().value=t}),r.Tb()}if(2&t){var i=r.fc();r.lc("min",i.range&&i.range[0])("max",i.range&&i.range[1])("ngModel",i.value)("required",i.required)}}function y(t,e){if(1&t){var n=r.Vb();r.Ub(0,"input",14),r.bc("ngModelChange",function(t){return r.wc(n),r.fc().value=t}),r.Tb()}if(2&t){var i=r.fc();r.lc("type",i.type)("ngModel",i.value)("minlength",i.range&&i.range[0])("maxlength",i.range&&i.range[1])("required",i.required)}}var _=function(t){return{submit:!0,data:t}},b=function(){var t=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"text",get:function(){return this._data.content}},{key:"type",get:function(){return this._data.type||"text"}},{key:"required",get:function(){return this._data.required}},{key:"range",get:function(){return this._data.range}},{key:"value",get:function(){return this._data.value},set:function(t){this._data.value=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(i.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["app-dialog-prompt"]],decls:18,vars:21,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngSwitch"],[3,"innerHTML"],[3,"ngModel","required","ngModelChange",4,"ngSwitchCase"],["matInput","","type","number",3,"min","max","ngModel","required","ngModelChange",4,"ngSwitchCase"],["matInput","",3,"type","ngModel","minlength","maxlength","required","ngModelChange",4,"ngSwitchDefault"],["mat-dialog-actions","","align","end"],["mat-button","","color","primary",3,"disabled","mat-dialog-close"],["mat-button","","mat-dialog-close",""],[3,"ngModel","required","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","number",3,"min","max","ngModel","required","ngModelChange"],["matInput","",3,"type","ngModel","minlength","maxlength","required","ngModelChange"]],template:function(t,e){1&t&&(r.Ub(0,"h2",0),r.Hc(1),r.gc(2,"translate"),r.Tb(),r.Ub(3,"div",1),r.Ub(4,"mat-form-field",2),r.Pb(5,"mat-label",3),r.Fc(6,g,3,5,"mat-select",4),r.Fc(7,v,1,4,"input",5),r.Fc(8,y,1,5,"input",6),r.Tb(),r.Tb(),r.Ub(9,"div",7),r.Ub(10,"button",8),r.Hc(11),r.gc(12,"uppercase"),r.gc(13,"translate"),r.Tb(),r.Ub(14,"button",9),r.Hc(15),r.gc(16,"uppercase"),r.gc(17,"translate"),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,9,"shared.dialog.edit")),r.Cb(3),r.lc("ngSwitch",e.type),r.Cb(1),r.lc("innerHTML",e.text,r.xc),r.Cb(1),r.lc("ngSwitchCase","select"),r.Cb(1),r.lc("ngSwitchCase","number"),r.Cb(3),r.lc("disabled",e.required&&!e.value)("mat-dialog-close",r.pc(19,_,e.value)),r.Cb(1),r.Ic(r.hc(12,11,r.hc(13,13,"shared.dialog.ok"))),r.Cb(4),r.Ic(r.hc(16,15,r.hc(17,17,"shared.dialog.cancel"))))},directives:[i.h,i.e,a.b,o.p,a.e,o.q,o.r,i.c,l.a,i.d,c.a,h.n,h.q,h.t,o.m,d.o,f.b,h.r,h.c,h.j,h.i],pipes:[p.d,o.v,o.g],styles:[".mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t}()},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="RnhZ"},"S+vS":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("KpOL"),r=n("tySk"),a=n("R4KR"),o=n("fXoL"),l=n("0IaG"),c=function(){var t=function(){function t(e){s(this,t),this._dialog=e}return u(t,[{key:"alert",value:function(t){var e=this;return new Promise(function(n){var r=e._dialog.open(i.a,{width:"600px",data:t}).afterClosed().subscribe(function(){r.unsubscribe(),n(!0)})})}},{key:"confirm",value:function(t){var e=this;return new Promise(function(n,i){var a=e._dialog.open(r.a,{width:"600px",data:t}).afterClosed().subscribe(function(t){a.unsubscribe(),t?n(!0):i()})}).catch(function(){})}},{key:"prompt",value:function(t,e,n){var i=this;return new Promise(function(r,o){var s=i._dialog.open(a.a,{width:"600px",data:{content:t,value:e,type:null==n?void 0:n.type,range:null==n?void 0:n.range,required:null==n?void 0:n.required}}).afterClosed().subscribe(function(t){s.unsubscribe(),t&&t.submit?r(t.data||""):o()})}).catch(function(){})}},{key:"open",value:function(t,e){var n=this;return e?(void 0===e.width&&(e.width="600px"),!0!==e.restoreFocus&&(e.restoreFocus=!1)):e={width:"600px",restoreFocus:!1},new Promise(function(i){var r=n._dialog.open(t,e).afterClosed().subscribe(function(t){r.unsubscribe(),i(t)})})}},{key:"show",value:function(t,e){return e?(void 0===e.width&&(e.width="600px"),!0!==e.restoreFocus&&(e.restoreFocus=!1)):e={width:"600px",restoreFocus:!1},this._dialog.open(t,e)}},{key:"close",value:function(){this._dialog.closeAll()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Yb(l.b))},t.\u0275prov=o.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(t,e,n){!function(t){"use strict";var e={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"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},STbY:function(t,e,n){"use strict";n.d(e,"a",function(){return U}),n.d(e,"b",function(){return N}),n.d(e,"c",function(){return H}),n.d(e,"d",function(){return J}),n.d(e,"e",function(){return Z});var a=n("u47x"),o=n("8LU1"),l=n("FtGj"),c=n("fXoL"),d=n("XNiG"),p=n("quSY"),g=n("VRyK"),v=n("LRne"),y=n("7Hc7"),_=n("JX91"),b=n("eIep"),w=n("IzEk"),k=n("pLZG"),x=n("1G5W"),M=n("3E0/"),S=n("R0Ic"),C=n("+rOU"),D=n("ofXK"),O=n("FKr1"),T=n("rDax"),L=n("nLfN"),A=n("vxfF"),I=n("cH1L"),P=["mat-menu-item",""],E=["*"];function R(t,e){if(1&t){var n=c.Vb();c.Ub(0,"div",0),c.bc("keydown",function(t){return c.wc(n),c.fc()._handleKeydown(t)})("click",function(){return c.wc(n),c.fc().closed.emit("click")})("@transformMenu.start",function(t){return c.wc(n),c.fc()._onAnimationStart(t)})("@transformMenu.done",function(t){return c.wc(n),c.fc()._onAnimationDone(t)}),c.Ub(1,"div",1),c.jc(2),c.Tb(),c.Tb()}if(2&t){var i=c.fc();c.lc("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),c.Db("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var Y={transformMenu:Object(S.m)("transformMenu",[Object(S.j)("void",Object(S.k)({opacity:0,transform:"scale(0.8)"})),Object(S.l)("void => enter",Object(S.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(S.k)({opacity:1,transform:"scale(1)"}))),Object(S.l)("* => void",Object(S.e)("100ms 25ms linear",Object(S.k)({opacity:0})))]),fadeInItems:Object(S.m)("fadeInItems",[Object(S.j)("showing",Object(S.k)({opacity:1})),Object(S.l)("void => *",[Object(S.k)({opacity:0}),Object(S.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},j=new c.s("MatMenuContent"),N=function(){var t=function(){function t(e,n,i,r,a,o,l){s(this,t),this._template=e,this._componentFactoryResolver=n,this._appRef=i,this._injector=r,this._viewContainerRef=a,this._document=o,this._changeDetectorRef=l,this._attached=new d.a}return u(t,[{key:"attach",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new C.h(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new C.e(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Ob(c.N),c.Ob(c.j),c.Ob(c.g),c.Ob(c.t),c.Ob(c.R),c.Ob(D.d),c.Ob(c.h))},t.\u0275dir=c.Jb({type:t,selectors:[["ng-template","matMenuContent",""]],features:[c.Bb([{provide:j,useExisting:t}])]}),t}(),F=new c.s("MAT_MENU_PANEL"),V=Object(O.z)(Object(O.A)(function t(){s(this,t)})),H=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this))._elementRef=t,o._focusMonitor=r,o._parentMenu=a,o.role="menuitem",o._hovered=new d.a,o._focused=new d.a,o._highlighted=!1,o._triggersSubmenu=!1,a&&a.addItem&&a.addItem(m(o)),o}return u(n,[{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var t,e,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r<i.length;r++){var a=i[r];null===(t=a.parentNode)||void 0===t||t.removeChild(a)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}}]),n}(V);return t.\u0275fac=function(e){return new(e||t)(c.Ob(c.l),c.Ob(D.d),c.Ob(a.h),c.Ob(F,8))},t.\u0275cmp=c.Ib({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&c.bc("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(c.Db("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),c.Gb("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[c.zb],attrs:P,ngContentSelectors:E,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(t,e){1&t&&(c.kc(),c.jc(0),c.Pb(1,"div",0)),2&t&&(c.Cb(1),c.lc("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()))},directives:[O.t],encapsulation:2,changeDetection:0}),t}(),z=new c.s("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),B=0,W=function(){var t=function(){function t(e,n,i){s(this,t),this._elementRef=e,this._ngZone=n,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new c.F,this._tabSubscription=p.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new d.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new c.o,this.close=this.closed,this.panelId="mat-menu-panel-"+B++}return u(t,[{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var t=this;this._updateDirectDescendants(),this._keyManager=new a.g(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return t.closed.emit("tab")}),this._directDescendantItems.changes.pipe(Object(_.a)(this._directDescendantItems),Object(b.a)(function(t){return Object(g.a).apply(void 0,i(t.map(function(t){return t._focused})))})).subscribe(function(e){return t._keyManager.updateActiveItem(e)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe(Object(_.a)(this._directDescendantItems),Object(b.a)(function(t){return Object(g.a).apply(void 0,i(t.map(function(t){return t._hovered})))}))}},{key:"addItem",value:function(t){}},{key:"removeItem",value:function(t){}},{key:"_handleKeydown",value:function(t){var e=t.keyCode,n=this._keyManager;switch(e){case l.g:Object(l.s)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case l.i:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case l.m:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==l.p&&e!==l.d||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}},{key:"focusFirstItem",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Object(w.a)(1)).subscribe(function(){return t._focusFirstItem(e)}):this._focusFirstItem(e)}},{key:"_focusFirstItem",value:function(t){var e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var e="mat-elevation-z"+Math.min(4+t,24),n=Object.keys(this._classList).find(function(t){return t.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}},{key:"setPositionClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe(Object(_.a)(this._allItems)).subscribe(function(e){t._directDescendantItems.reset(e.filter(function(e){return e._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})}},{key:"xPosition",get:function(){return this._xPosition},set:function(t){this._xPosition=t,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(t){this._yPosition=t,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Object(o.c)(t)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(o.c)(t)}},{key:"panelClass",set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(t){e._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(function(t){e._classList[t]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(t){this.panelClass=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Ob(c.l),c.Ob(c.B),c.Ob(z))},t.\u0275dir=c.Jb({type:t,contentQueries:function(t,e,n){var i;(1&t&&(c.Hb(n,j,!0),c.Hb(n,H,!0),c.Hb(n,H,!1)),2&t)&&(c.tc(i=c.cc())&&(e.lazyContent=i.first),c.tc(i=c.cc())&&(e._allItems=i),c.tc(i=c.cc())&&(e.items=i))},viewQuery:function(t,e){var n;(1&t&&c.Oc(c.N,!0),2&t)&&(c.tc(n=c.cc())&&(e.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t}(),U=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){return s(this,n),e.call(this,t,i,r)}return n}(W);return t.\u0275fac=function(e){return new(e||t)(c.Ob(c.l),c.Ob(c.B),c.Ob(z))},t.\u0275cmp=c.Ib({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&c.Db("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[c.Bb([{provide:F,useExisting:t}]),c.zb],ngContentSelectors:E,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(c.kc(),c.Fc(0,R,3,6,"ng-template"))},directives:[D.l],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Y.transformMenu,Y.fadeInItems]},changeDetection:0}),t}(),G=new c.s("mat-menu-scroll-strategy"),q={provide:G,deps:[T.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},X=Object(L.f)({passive:!0}),Z=function(){var t=function(){function t(e,n,i,r,a,o,l,u){var h=this;s(this,t),this._overlay=e,this._element=n,this._viewContainerRef=i,this._menuItemInstance=o,this._dir=l,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=p.a.EMPTY,this._hoverSubscription=p.a.EMPTY,this._menuCloseSubscription=p.a.EMPTY,this._handleTouchStart=function(){return h._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new c.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new c.o,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=a instanceof W?a:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,X),o&&(o._triggersSubmenu=this.triggersSubmenu())}return u(t,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,X),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof W&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"_destroyMenu",value:function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof W?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(k.a)(function(t){return"void"===t.toState}),Object(w.a)(1),Object(x.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new T.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe(function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(t){var e=r("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],i=e[1],a=r("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=a[0],s=a[1],l=o,u=s,c=n,h=i,d=0;this.triggersSubmenu()?(h=n="before"===this.menu.xPosition?"start":"end",i=c="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===s?"bottom":"top"),t.withPositions([{originX:n,originY:l,overlayX:c,overlayY:o,offsetY:d},{originX:i,originY:l,overlayX:h,overlayY:o,offsetY:d},{originX:n,originY:u,overlayX:c,overlayY:s,offsetY:-d},{originX:i,originY:u,overlayX:h,overlayY:s,offsetY:-d}])}},{key:"_menuClosingActions",value:function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(v.a)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Object(k.a)(function(e){return e!==t._menuItemInstance}),Object(k.a)(function(){return t._menuOpen})):Object(v.a)();return Object(g.a)(e,i,r,n)}},{key:"_handleMousedown",value:function(t){Object(a.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===l.m&&"ltr"===this.dir||e===l.i&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Object(k.a)(function(e){return e===t._menuItemInstance&&!e.disabled}),Object(M.a)(0,y.a)).subscribe(function(){t._openedBy="mouse",t.menu instanceof W&&t.menu._isAnimating?t.menu._animationDone.pipe(Object(w.a)(1),Object(M.a)(0,y.a),Object(x.a)(t._parentMaterialMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new C.h(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMaterialMenu||e._parentMaterialMenu.closed.emit(t)})))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Ob(T.c),c.Ob(c.l),c.Ob(c.R),c.Ob(G),c.Ob(F,8),c.Ob(H,10),c.Ob(I.b,8),c.Ob(a.h))},t.\u0275dir=c.Jb({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&c.bc("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&c.Db("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t}(),K=function(){var t=function t(){s(this,t)};return t.\u0275mod=c.Mb({type:t}),t.\u0275inj=c.Lb({factory:function(e){return new(e||t)},providers:[q],imports:[O.j]}),t}(),J=function(){var t=function t(){s(this,t)};return t.\u0275mod=c.Mb({type:t}),t.\u0275inj=c.Lb({factory:function(e){return new(e||t)},providers:[q],imports:[[D.c,O.j,O.u,T.f,K],A.b,O.j,K]}),t}()},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),l=n("c2HN"),u=n("XoHu"),c=function(t){if(t&&"function"==typeof t[o.a])return c=t,function(t){var e=c[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,function(t){return n.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.a),t};if(t&&"function"==typeof t[a.a])return e=t,function(t){for(var n=e[a.a]();;){var i=void 0;try{i=n.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t};var e,n,c,h=Object(u.a)(t)?"an invalid object":"'".concat(t,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SiRs:function(t,e,n){"use strict";var i=n("IzLi"),r=n("G8aS"),a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.a=function(t){if("number"==typeof t)return t;if(Object(r.a)(t))return NaN;if(Object(i.a)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Object(i.a)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=s.test(t);return n||l.test(t)?u(t.slice(2),n?2:8):o.test(t)?NaN:+t}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},SvPF:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("fXoL"),r=[{theme:"default",base:"light",desc:"theme.default",c1st:"#263238",c2nd:"#fafafa"},{theme:"colorful",base:"light",desc:"theme.colorful",c1st:"#1e88e5",c2nd:"#fafafa"},{theme:"light",base:"light",desc:"theme.light",c1st:"#e8eaf6",c2nd:"#ffffff"},{theme:"dark",base:"dark",desc:"theme.dark",c1st:"#212121",c2nd:"#263238"}],a=function(){var t=function(){function t(){s(this,t),this.onchange=new i.o,this.onchange.emit(this._current=localStorage.getItem("theme")||"default")}return u(t,[{key:"items",get:function(){return r}},{key:"current",get:function(){return this._current},set:function(t){localStorage.setItem("theme",t),this.onchange.emit(this._current=t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},TFwu:function(t,e,n){"use strict";var i=n("25cm"),r=n("jN84"),a=n("mkut");e.a=function(t){return Object(i.a)(t,a.a,r.a)}},TU8p:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return m});var i=n("FKr1"),r=n("u47x"),a=n("8LU1"),o=n("R1ws"),l=n("fXoL"),c=0,d=Object(i.A)(function t(){s(this,t)}),p=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this))._ngZone=t,l._elementRef=i,l._ariaDescriber=r,l._renderer=a,l._animationMode=o,l._hasContent=!1,l._color="primary",l._overlap=!0,l.position="above after",l.size="medium",l._id=c++,l}return u(n,[{key:"isAbove",value:function(){return-1===this.position.indexOf("below")}},{key:"isAfter",value:function(){return-1===this.position.indexOf("before")}},{key:"ngOnChanges",value:function(t){var e=t.content;if(e){var n=e.currentValue;this._hasContent=null!=n&&(""+n).trim().length>0,this._updateTextContent()}}},{key:"ngOnDestroy",value:function(){var t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}},{key:"getBadgeElement",value:function(){return this._badgeElement}},{key:"_updateTextContent",value:function(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}},{key:"_createBadgeElement",value:function(){var t=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),t.setAttribute("id","mat-badge-content-"+this._id),t.classList.add("mat-badge-content"),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t.classList.add("mat-badge-active")})}):t.classList.add("mat-badge-active"),t}},{key:"_updateHostAriaDescription",value:function(t,e){var n=this._updateTextContent();e&&this._ariaDescriber.removeDescription(n,e),t&&this._ariaDescriber.describe(n,t)}},{key:"_setColor",value:function(t){if(t!==this._color){var e=this._elementRef.nativeElement.classList;this._color&&e.remove("mat-badge-"+this._color),t&&e.add("mat-badge-"+t)}}},{key:"_clearExistingBadges",value:function(t){for(var e=this._elementRef.nativeElement,n=e.children.length;n--;){var i=e.children[n];i.classList.contains(t)&&e.removeChild(i)}}},{key:"_stringifyContent",value:function(){var t=this.content;return null==t?"":""+t}},{key:"color",get:function(){return this._color},set:function(t){this._setColor(t),this._color=t}},{key:"overlap",get:function(){return this._overlap},set:function(t){this._overlap=Object(a.c)(t)}},{key:"description",get:function(){return this._description},set:function(t){if(t!==this._description){var e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}},{key:"hidden",get:function(){return this._hidden},set:function(t){this._hidden=Object(a.c)(t)}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.B),l.Ob(l.l),l.Ob(r.c),l.Ob(l.G),l.Ob(o.a,8))},t.\u0275dir=l.Jb({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&l.Gb("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[l.zb,l.Ab]}),t}(),m=function(){var t=function t(){s(this,t)};return t.\u0275mod=l.Mb({type:t}),t.\u0275inj=l.Lb({factory:function(e){return new(e||t)},imports:[[r.a,i.j],i.j]}),t}()},Tchk:function(t,e,n){"use strict";var i=n("G8aS");e.a=function(t){if("string"==typeof t||Object(i.a)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},U6JX:function(t,e,n){"use strict";e.a=function(t,e){return function(n){return t(e(n))}}},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UTJH:function(t,e,n){"use strict";var i=n("IlA0"),r=n("Tchk");e.a=function(t,e){for(var n=0,a=(e=Object(i.a)(e,t)).length;null!=t&&n<a;)t=t[Object(r.a)(e[n++])];return n&&n==a?t:void 0}},UXun:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("jtHE");function r(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,a=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,l=t.refCount,u=t.scheduler,c=0,h=!1,d=!1;return function(t){var r;c++,!e||h?(h=!1,e=new i.a(a,s,u),r=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){d=!0,n=void 0,e.complete()}})):r=e.subscribe(this),this.add(function(){c--,r.unsubscribe(),n&&!d&&l&&0===c&&(n.unsubscribe(),n=void 0,e=void 0)})}}(r))}}},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var s=Number.POSITIVE_INFINITY,l=null,u=e[e.length-1];return Object(r.a)(u)?(l=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof u&&(s=e.pop()),null===l&&1===e.length&&e[0]instanceof i.a?e[0]:Object(a.a)(s)(Object(o.a)(e,l))}},Vc0j:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL"),r=function(){var t=function(){function t(){s(this,t),this.afterViewInit=new i.o}return u(t,[{key:"ngAfterViewInit",value:function(){this.afterViewInit.emit(this._data)}},{key:"hookData",set:function(t){this._data=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","hook","ngafterviewinit"]],inputs:{hookData:"hookData"},outputs:{afterViewInit:"afterViewInit"}}),t}()},Vclq:function(t,e,n){!function(t){"use strict";var e="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;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},WJ6P:function(t,e,n){"use strict";e.a=function(){return[]}},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("EY2u"),r=n("LRne"),a=n("z6cu"),o=function(){var t=function(){function t(e,n,i){s(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return u(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},WOAq:function(t,e,n){"use strict";(function(t){var i=n("Ju5/"),r=n("L3Qv"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===a?i.a.Buffer:void 0;e.a=(s?s.isBuffer:void 0)||r.a}).call(this,n("3UD+")(t))},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wp6s:function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return p}),n.d(e,"e",function(){return h}),n.d(e,"f",function(){return c});var i=n("R1ws"),r=n("FKr1"),a=n("fXoL"),o=["*",[["mat-card-footer"]]],l=["*","mat-card-footer"],u=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t}(),c=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t}(),h=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t}(),d=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),t}(),f=function(){var t=function t(e){s(this,t),this._animationMode=e};return t.\u0275fac=function(e){return new(e||t)(a.Ob(i.a,8))},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&a.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:l,decls:2,vars:0,template:function(t,e){1&t&&(a.kc(o),a.jc(0),a.jc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t}(),p=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[r.j],r.j]}),t}()},Ws7a:function(t,e,n){"use strict";var i=n("26kz"),r=n("5WsY");e.a=function(t,e){var n=-1,a=Object(r.a)(t)?Array(t.length):[];return Object(i.a)(t,function(t,i,r){a[++n]=e(t,i,r)}),a}},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".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 sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,i){var r=t;switch(n){case"s":return i||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||e?" \xe9v":" \xe9ve");case"yy":return r+(i||e?" \xe9v":" \xe9ve")}return""}function i(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return p}),n.d(e,"a",function(){return m});var i=n("HDdC"),r=n("7o/Q"),a=n("quSY"),o=n("9ppp"),l=n("Ylt2"),d=n("2QA8"),p=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this,t)).destination=t,i}return n}(r.a),m=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return u(n,[{key:d.a,value:function(){return new p(this)}},{key:"lift",value:function(t){var e=new g(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new o.a;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)}},{key:"error",value:function(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new o.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(t){if(this.closed)throw new o.a;return c(b(n.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),a.a.EMPTY):this.isStopped?(t.complete(),a.a.EMPTY):(this.observers.push(t),new l.a(this,t))}},{key:"asObservable",value:function(){var t=new i.a;return t.source=this,t}}]),n}(i.a);return t.create=function(t,e){return new g(t,e)},t}(),g=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).destination=t,r.source=i,r}return u(n,[{key:"next",value:function(t){var e=this.destination;e&&e.next&&e.next(t)}},{key:"error",value:function(t){var e=this.destination;e&&e.error&&this.destination.error(t)}},{key:"complete",value:function(){var t=this.destination;t&&t.complete&&this.destination.complete()}},{key:"_subscribe",value:function(t){return this.source?this.source.subscribe(t):a.a.EMPTY}}]),n}(m)},Xa2L:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return w});var i=n("fXoL"),r=n("ofXK"),a=n("FKr1"),o=n("8LU1"),l=n("nLfN"),c=n("R1ws");function d(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){var n=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.Db("r",n._getCircleRadius())}}function p(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){var n=i.fc();i.Cc("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.Db("r",n._getCircleRadius())}}function m(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){var n=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.Db("r",n._getCircleRadius())}}function g(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){var n=i.fc();i.Cc("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.Db("r",n._getCircleRadius())}}var v=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",y=Object(a.y)(function t(e){s(this,t),this._elementRef=e},"primary"),_=new i.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),b=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;s(this,n),(l=e.call(this,t))._elementRef=t,l._document=r,l._diameter=100,l._value=0,l._fallbackAnimation=!1,l.mode="determinate";var u=n._diameters;return l._spinnerAnimationLabel=l._getSpinnerAnimationLabel(),u.has(r.head)||u.set(r.head,new Set([100])),l._fallbackAnimation=i.EDGE||i.TRIDENT,l._noopAnimations="NoopAnimations"===a&&!!o&&!o._forceAnimations,o&&(o.diameter&&(l.diameter=o.diameter),o.strokeWidth&&(l.strokeWidth=o.strokeWidth)),l}return u(n,[{key:"ngOnInit",value:function(){var t=this._elementRef.nativeElement;this._styleRoot=Object(l.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation"))}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var t=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(t," ").concat(t)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var t=this._styleRoot,e=this._diameter,i=n._diameters,r=i.get(t);if(!r||!r.has(e)){var a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),t.appendChild(a),r||(r=new Set,i.set(t,r)),r.add(e)}}},{key:"_getAnimationText",value:function(){var t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,""+this._spinnerAnimationLabel)}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}},{key:"diameter",get:function(){return this._diameter},set:function(t){this._diameter=Object(o.f)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=Object(o.f)(t)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,Object(o.f)(t)))}}]),n}(y);return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(l.a),i.Ob(r.d,8),i.Ob(c.a,8),i.Ob(_))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.Db("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Gb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Ub(0,"svg",0),i.Fc(1,d,1,9,"circle",1),i.Fc(2,p,1,7,"circle",2),i.Tb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.lc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1))},directives:[r.p,r.q],styles:[v],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t}(),w=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this,t,i,r,a,o)).mode="indeterminate",l}return n}(b);return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(l.a),i.Ob(r.d,8),i.Ob(c.a,8),i.Ob(_))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Gb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Ub(0,"svg",0),i.Fc(1,m,1,9,"circle",1),i.Fc(2,g,1,7,"circle",2),i.Tb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.lc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1))},directives:[r.p,r.q],styles:[v],encapsulation:2,changeDetection:0}),t}(),k=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[a.j,r.c],a.j]}),t}()},XhcP:function(t,e,n){"use strict";n.d(e,"a",function(){return nt}),n.d(e,"b",function(){return rt}),n.d(e,"c",function(){return et}),n.d(e,"d",function(){return ot});var i=n("nLfN"),r=n("vxfF"),a=n("ofXK"),o=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("FtGj"),p=n("XNiG"),m=n("xgIS"),g=n("VRyK"),v=n("pLZG"),y=n("lJxs"),_=n("7o/Q");function b(t){return function(e){return e.lift(new w(t))}}var w=function(){function t(e){s(this,t),this.value=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new k(t,this.value))}}]),t}(),k=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).value=i,r}return u(n,[{key:"_next",value:function(t){this.destination.next(this.value)}}]),n}(_.a),x=n("1G5W"),M=n("/uUt"),S=n("IzEk"),C=n("JX91"),D=n("Kj3r"),O=n("R0Ic"),T=n("R1ws"),L=n("u47x"),A=n("cH1L"),I=["*"];function P(t,e){if(1&t){var n=o.Vb();o.Ub(0,"div",2),o.bc("click",function(){return o.wc(n),o.fc()._onBackdropClicked()}),o.Tb()}if(2&t){var i=o.fc();o.Gb("mat-drawer-shown",i._isShowingBackdrop())}}function E(t,e){1&t&&(o.Ub(0,"mat-drawer-content"),o.jc(1,2),o.Tb())}var R=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Y=["mat-drawer","mat-drawer-content","*"];function j(t,e){if(1&t){var n=o.Vb();o.Ub(0,"div",2),o.bc("click",function(){return o.wc(n),o.fc()._onBackdropClicked()}),o.Tb()}if(2&t){var i=o.fc();o.Gb("mat-drawer-shown",i._isShowingBackdrop())}}function N(t,e){1&t&&(o.Ub(0,"mat-sidenav-content",3),o.jc(1,2),o.Tb())}var F,V,H,z,B,W,U,G=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],q=["mat-sidenav","mat-sidenav-content","*"],X=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",Z={transformDrawer:Object(O.m)("transform",[Object(O.j)("open, open-instant",Object(O.k)({transform:"none",visibility:"visible"})),Object(O.j)("void",Object(O.k)({"box-shadow":"none",visibility:"hidden"})),Object(O.l)("void => open-instant",Object(O.e)("0ms")),Object(O.l)("void <=> open, open-instant => void",Object(O.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},K=new o.s("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),J=new o.s("MAT_DRAWER_CONTAINER"),Q=((B=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this,r,a,o))._changeDetectorRef=t,l._container=i,l}return u(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})}}]),n}(r.a)).\u0275fac=function(t){return new(t||B)(o.Ob(o.h),o.Ob(Object(o.V)(function(){return tt})),o.Ob(o.l),o.Ob(r.c),o.Ob(o.B))},B.\u0275cmp=o.Ib({type:B,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Cc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.zb],ngContentSelectors:I,decls:1,vars:0,template:function(t,e){1&t&&(o.kc(),o.jc(0))},encapsulation:2,changeDetection:0}),B),$=((z=function(){function t(e,n,i,r,a,l,u){var c=this;s(this,t),this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=r,this._ngZone=a,this._doc=l,this._container=u,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new p.a,this._animationEnd=new p.a,this._animationState="void",this.openedChange=new o.o(!0),this._openedStream=this.openedChange.pipe(Object(v.a)(function(t){return t}),Object(y.a)(function(){})),this.openedStart=this._animationStarted.pipe(Object(v.a)(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),b(void 0)),this._closedStream=this.openedChange.pipe(Object(v.a)(function(t){return!t}),Object(y.a)(function(){})),this.closedStart=this._animationStarted.pipe(Object(v.a)(function(t){return t.fromState!==t.toState&&"void"===t.toState}),b(void 0)),this._destroyed=new p.a,this.onPositionChanged=new o.o,this._modeChanged=new p.a,this.openedChange.subscribe(function(t){t?(c._doc&&(c._elementFocusedBeforeDrawerWasOpened=c._doc.activeElement),c._takeFocus()):c._isFocusWithinDrawer()&&c._restoreFocus()}),this._ngZone.runOutsideAngular(function(){Object(m.a)(c._elementRef.nativeElement,"keydown").pipe(Object(v.a)(function(t){return t.keyCode===d.g&&!c.disableClose&&!Object(d.s)(t)}),Object(x.a)(c._destroyed)).subscribe(function(t){return c._ngZone.run(function(){c.close(),t.stopPropagation(),t.preventDefault()})})}),this._animationEnd.pipe(Object(M.a)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&c.openedChange.emit(c._opened)})}return u(t,[{key:"_takeFocus",value:function(){var t=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var t,e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(t){return this.toggle(!0,t)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,e=arguments.length>1?arguments[1]:void 0;return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}},{key:"_setOpen",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(t){n.openedChange.pipe(Object(S.a)(1)).subscribe(function(e){return t(e?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(t){this._animationStarted.next(t)}},{key:"_animationDoneListener",value:function(t){this._animationEnd.next(t)}},{key:"position",get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(t){this._disableClose=Object(c.c)(t)}},{key:"autoFocus",get:function(){var t=this._autoFocus;return null==t?"side"!==this.mode:t},set:function(t){this._autoFocus=Object(c.c)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){this.toggle(Object(c.c)(t))}}]),t}()).\u0275fac=function(t){return new(t||z)(o.Ob(o.l),o.Ob(L.i),o.Ob(L.h),o.Ob(i.a),o.Ob(o.B),o.Ob(a.d,8),o.Ob(J,8))},z.\u0275cmp=o.Ib({type:z,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&o.Dc("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(o.Db("align",null),o.Ec("@transform",e._animationState),o.Gb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:I,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.kc(),o.Ub(0,"div",0),o.jc(1),o.Tb())},encapsulation:2,data:{animation:[Z.transformDrawer]},changeDetection:0}),z),tt=((H=function(){function t(e,n,i,r,a){var l=this,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=arguments.length>6?arguments[6]:void 0;s(this,t),this._dir=e,this._element=n,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=c,this._drawers=new o.F,this.backdropClick=new o.o,this._destroyed=new p.a,this._doCheckSubject=new p.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new p.a,e&&e.change.pipe(Object(x.a)(this._destroyed)).subscribe(function(){l._validateDrawers(),l.updateContentMargins()}),a.change().pipe(Object(x.a)(this._destroyed)).subscribe(function(){return l.updateContentMargins()}),this._autosize=u}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._allDrawers.changes.pipe(Object(C.a)(this._allDrawers),Object(x.a)(this._destroyed)).subscribe(function(e){t._drawers.reset(e.filter(function(e){return!e._container||e._container===t})),t._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(C.a)(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._doCheckSubject.pipe(Object(D.a)(10),Object(x.a)(t._destroyed)).subscribe(function(){return t.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(t){return t.open()})}},{key:"close",value:function(){this._drawers.forEach(function(t){return t.close()})}},{key:"updateContentMargins",value:function(){var t=this,e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){var i=this._left._getWidth();e+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();n+=r,e-=r}n=n||null,(e=e||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:e,right:n},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))}},{key:"ngDoCheck",value:function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(t){var e=this;t._animationStarted.pipe(Object(v.a)(function(t){return t.fromState!==t.toState}),Object(x.a)(this._drawers.changes)).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Object(x.a)(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})}},{key:"_watchDrawerPosition",value:function(t){var e=this;t&&t.onPositionChanged.pipe(Object(x.a)(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.pipe(Object(S.a)(1)).subscribe(function(){e._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(t){var e=this;t&&t._modeChanged.pipe(Object(x.a)(Object(g.a)(this._drawers.changes,this._destroyed))).subscribe(function(){e.updateContentMargins(),e._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(t){var e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}},{key:"_validateDrawers",value:function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?t._end=e:t._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(t){return"side"!==t.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(t){return null!=t&&t.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(t){this._autosize=Object(c.c)(t)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:Object(c.c)(t)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),t}()).\u0275fac=function(t){return new(t||H)(o.Ob(A.b,8),o.Ob(o.l),o.Ob(o.B),o.Ob(o.h),o.Ob(r.e),o.Ob(K),o.Ob(T.a,8))},H.\u0275cmp=o.Ib({type:H,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){var i;1&t&&(o.Hb(n,Q,!0),o.Hb(n,$,!0)),2&t&&(o.tc(i=o.cc())&&(e._content=i.first),o.tc(i=o.cc())&&(e._allDrawers=i))},viewQuery:function(t,e){var n;1&t&&o.Oc(Q,!0),2&t&&o.tc(n=o.cc())&&(e._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.Gb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o.Bb([{provide:J,useExisting:H}])],ngContentSelectors:Y,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(o.kc(R),o.Fc(0,P,1,2,"div",0),o.jc(1),o.jc(2,1),o.Fc(3,E,2,0,"mat-drawer-content",1)),2&t&&(o.lc("ngIf",e.hasBackdrop),o.Cb(3),o.lc("ngIf",!e._content))},directives:[a.n,Q],styles:[X],encapsulation:2,changeDetection:0}),H),et=((V=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){return s(this,n),e.call(this,t,i,r,a,o)}return n}(Q)).\u0275fac=function(t){return new(t||V)(o.Ob(o.h),o.Ob(Object(o.V)(function(){return rt})),o.Ob(o.l),o.Ob(r.c),o.Ob(o.B))},V.\u0275cmp=o.Ib({type:V,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Cc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.zb],ngContentSelectors:I,decls:1,vars:0,template:function(t,e){1&t&&(o.kc(),o.jc(0))},encapsulation:2,changeDetection:0}),V),nt=((F=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return u(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=Object(c.c)(t)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=Object(c.f)(t)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=Object(c.f)(t)}}]),n}($)).\u0275fac=function(t){return it(t||F)},F.\u0275cmp=o.Ib({type:F,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(o.Db("align",null),o.Cc("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),o.Gb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[o.zb],ngContentSelectors:I,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.kc(),o.Ub(0,"div",0),o.jc(1),o.Tb())},encapsulation:2,data:{animation:[Z.transformDrawer]},changeDetection:0}),F),it=o.Wb(nt),rt=((W=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(tt)).\u0275fac=function(t){return at(t||W)},W.\u0275cmp=o.Ib({type:W,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){var i;1&t&&(o.Hb(n,et,!0),o.Hb(n,nt,!0)),2&t&&(o.tc(i=o.cc())&&(e._content=i.first),o.tc(i=o.cc())&&(e._allDrawers=i))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.Gb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[o.Bb([{provide:J,useExisting:W}]),o.zb],ngContentSelectors:q,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(o.kc(G),o.Fc(0,j,1,2,"div",0),o.jc(1),o.jc(2,1),o.Fc(3,N,2,0,"mat-sidenav-content",1)),2&t&&(o.lc("ngIf",e.hasBackdrop),o.Cb(3),o.lc("ngIf",!e._content))},directives:[a.n,et,r.a],styles:[X],encapsulation:2,changeDetection:0}),W),at=o.Wb(rt),ot=((U=function t(){s(this,t)}).\u0275mod=o.Mb({type:U}),U.\u0275inj=o.Lb({factory:function(t){return new(t||U)},imports:[[a.c,l.j,i.b,r.b],r.b,l.j]}),U)},Xi3o:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return o});var i=n("fXoL"),r=n("sYmb"),a=[],o=function(){var t=function(){function t(e){s(this,t),this._translateService=e,e.use(localStorage.getItem("i18n")||e.getBrowserCultureLang())}return u(t,[{key:"translate",value:function(t,e){return this._translateService.instant(t,e)}},{key:"onchange",get:function(){return this._translateService.onLangChange}},{key:"items",get:function(){return a}},{key:"current",get:function(){return this._translateService.currentLang},set:function(t){this._translateService.use(t),localStorage.setItem("i18n",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.e))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},XqMk:function(t,e,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;e.a=i},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},Y7yP:function(t,e,n){"use strict";var i,r=n("vJtL"),a=n("Ju5/").a["__core-js_shared__"],o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=n("IzLi"),l=n("dLWn"),u=/^\[object .+?Constructor\]$/,c=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.a=function(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Object(s.a)(t)||(e=t,o&&o in e))&&(Object(r.a)(t)?c:u).test(Object(l.a)(t));var e}(n)?n:void 0}},YHEm:function(t,e,n){"use strict";e.a=function(t,e){return t===e||t!=t&&e!=e}},YM6B:function(t,e,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"DataView"),o=n("3cmB"),s=Object(i.a)(r.a,"Promise"),l=n("pVw1"),u=Object(i.a)(r.a,"WeakMap"),c=n("8M4i"),h=n("dLWn"),d=Object(h.a)(a),f=Object(h.a)(o.a),p=Object(h.a)(s),m=Object(h.a)(l.a),g=Object(h.a)(u),v=c.a;(a&&"[object DataView]"!=v(new a(new ArrayBuffer(1)))||o.a&&"[object Map]"!=v(new o.a)||s&&"[object Promise]"!=v(s.resolve())||l.a&&"[object Set]"!=v(new l.a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var e=Object(c.a)(t),n="[object Object]"==e?t.constructor:void 0,i=n?Object(h.a)(n):"";if(i)switch(i){case d:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case m:return"[object Set]";case g:return"[object WeakMap]"}return e}),e.a=v},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).subject=t,r.subscriber=i,r.closed=!1,r}return u(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}}}]),n}(n("quSY").a)},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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"))},ZCbZ:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("CpTu"),r=n("fXoL"),a=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"transform",value:function(t,e){return Object(i.a)(t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Nb({name:"find",type:t,pure:!0}),t}()},ZWiB:function(t,e,n){"use strict";e.a=function(t,e){return t.has(e)}},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){return t>9?n(t%10):t}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aip8:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i,r=n("twO/"),a=n("UTJH"),o=n("fywt"),l=n("Ws7a"),c=n("ovuK"),h=n("G8aS"),d=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=Object(h.a)(t),o=void 0!==e,s=null===e,l=e==e,u=Object(h.a)(e);if(!s&&!u&&!a&&t>e||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!l)return-1}return 0},f=n("+Xah"),p=n("/1FC"),m=n("fXoL"),g=((i=function(){function t(){s(this,t)}return u(t,[{key:"transform",value:function(t,e,n){return function(t,e,n,i){return null==t?[]:(Object(p.a)(e)||(e=null==e?[]:[e]),n=n,Object(p.a)(n)||(n=null==n?[]:[n]),function(t,e,n){e=e.length?Object(r.a)(e,function(t){return Object(p.a)(t)?function(e){return Object(a.a)(e,1===t.length?t[0]:t)}:t}):[f.a];var i=-1;return e=Object(r.a)(e,Object(c.a)(o.a)),function(t,e){var i=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;++i<o;){var l=d(r[i],a[i]);if(l)return i>=s?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)});i--;)t[i]=t[i].value;return t}(Object(l.a)(t,function(t,n,a){return{criteria:Object(r.a)(e,function(e){return e(t)}),index:++i,value:t}}))}(t,e,n))}(t,e,n)}}]),t}()).\u0275fac=function(t){return new(t||i)},i.\u0275pipe=m.Nb({name:"sort",type:i,pure:!0}),i)},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("5+tZ"),r=n("SpAZ");function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(i.a)(r.a,t)}},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("5+tZ");function r(t,e){return Object(i.a)(t,e,1)}},bSwM:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return M}),n.d(e,"c",function(){return C});var i=n("8LU1"),r=n("fXoL"),a=n("3Pt+"),o=n("FKr1"),l=n("R1ws"),c=n("GU7r"),d=n("u47x"),p=["input"],m=function(){return{enterDuration:150}},g=["*"],v=new r.s("mat-checkbox-default-options",{providedIn:"root",factory:y});function y(){return{color:"accent",clickAction:"check-indeterminate"}}var _=0,b={color:"accent",clickAction:"check-indeterminate"},w={provide:a.l,useExisting:Object(r.V)(function(){return M}),multi:!0},k=function t(){s(this,t)},x=Object(o.D)(Object(o.y)(Object(o.z)(Object(o.A)(function t(e){s(this,t),this._elementRef=e})))),M=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,a,o,l,u,c){var h;return s(this,n),(h=e.call(this,t))._changeDetectorRef=i,h._focusMonitor=a,h._ngZone=o,h._animationMode=u,h._options=c,h.ariaLabel="",h.ariaLabelledby=null,h._uniqueId="mat-checkbox-"+ ++_,h.id=h._uniqueId,h.labelPosition="after",h.name=null,h.change=new r.o,h.indeterminateChange=new r.o,h._onTouched=function(){},h._currentAnimationClass="",h._currentCheckState=0,h._controlValueAccessorChangeFn=function(){},h._checked=!1,h._disabled=!1,h._indeterminate=!1,h._options=h._options||b,h.color=h.defaultColor=h._options.color||b.color,h.tabIndex=parseInt(l)||0,h}return u(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){e||Promise.resolve().then(function(){t._onTouched(),t._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var t=new k;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e,n=this,i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(function(){n._indeterminate=!1,n.indeterminateChange.emit(n._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,t,e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(i.c)(t)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(x);return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(d.h),r.Ob(r.B),r.Zb("tabindex"),r.Ob(l.a,8),r.Ob(v,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;(1&t&&(r.Oc(p,!0),r.Oc(o.t,!0)),2&t)&&(r.tc(n=r.cc())&&(e._inputElement=n.first),r.tc(n=r.cc())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Db("tabindex",null),r.Gb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r.Bb([w]),r.zb],ngContentSelectors:g,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.kc(),r.Ub(0,"label",0,1),r.Ub(2,"span",2),r.Ub(3,"input",3,4),r.bc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r.Tb(),r.Ub(5,"span",5),r.Pb(6,"span",6),r.Tb(),r.Pb(7,"span",7),r.Ub(8,"span",8),r.ec(),r.Ub(9,"svg",9),r.Pb(10,"path",10),r.Tb(),r.dc(),r.Pb(11,"span",11),r.Tb(),r.Tb(),r.Ub(12,"span",12,13),r.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),r.Ub(14,"span",14),r.Hc(15,"\xa0"),r.Tb(),r.jc(16),r.Tb(),r.Tb()),2&t){var n=r.uc(1),i=r.uc(13);r.Db("for",e.inputId),r.Cb(2),r.Gb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),r.Cb(1),r.lc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.Cb(2),r.lc("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.oc(19,m))}},directives:[o.t,c.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t}(),S=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t}(),C=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.u,o.j,c.c,S],o.j,S]}),t}()},bTqV:function(t,e,i){"use strict";i.d(e,"a",function(){return g}),i.d(e,"b",function(){return v});var r=i("FKr1"),a=i("R1ws"),o=i("fXoL"),l=i("u47x"),c=["mat-button",""],d=["*"],p=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],m=Object(r.y)(Object(r.A)(Object(r.z)(function t(e){s(this,t),this._elementRef=e}))),g=function(){var t=function(t){h(i,t);var e=f(i);function i(t,r,a){var o;s(this,i),(o=e.call(this,t))._focusMonitor=r,o._animationMode=a,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var l,u=n(p);try{for(u.s();!(l=u.n()).done;){var c=l.value;o._hasHostAttributes(c)&&o._getHostElement().classList.add(c)}}catch(h){u.e(h)}finally{u.f()}return t.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return u(i,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),t,e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.some(function(e){return t._getHostElement().hasAttribute(e)})}}]),i}(m);return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(l.h),o.Ob(a.a,8))},t.\u0275cmp=o.Ib({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;(1&t&&o.Oc(r.t,!0),2&t)&&(o.tc(n=o.cc())&&(e.ripple=n.first))},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(o.Db("disabled",e.disabled||null),o.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.zb],attrs:c,ngContentSelectors:d,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(o.kc(),o.Ub(0,"span",0),o.jc(1),o.Tb(),o.Pb(2,"span",1),o.Pb(3,"span",2)),2&t&&(o.Cb(2),o.Gb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),o.lc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[r.t],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t}(),v=function(){var t=function t(){s(this,t)};return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[r.u,r.j],r.j]}),t}()},bUwk:function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return l});var i=n("vkgz"),r=n("fXoL"),a=n("tk/3"),o={},l=function(){var t=function(){function t(e){s(this,t),this._http=e}return u(t,[{key:"url",value:function(t){return"string"==typeof t?"".concat(o.default,"/api/").concat(t):"".concat(o[t[0]],"/").concat(t[1])}},{key:"join",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Promise.all(e)}},{key:"request",value:function(t,e,n){var r=null==n?void 0:n.onProgress;r&&(n.reportProgress=!0,delete n.onProgress);var a=this._http.request(t,this.url(e),n);return r&&(a=a.pipe(Object(i.a)(r))),a.toPromise()}},{key:"get",value:function(t,e,n){var r={};Object.assign(r,n),e&&(r.params=r.params||{},Object.assign(r.params,e)),r.onProgress&&(r.reportProgress=!0,delete r.onProgress);var a=this._http.get(this.url(t),r);return r.reportProgress&&(a=a.pipe(Object(i.a)(n.onProgress))),a.toPromise()}},{key:"post",value:function(t,e,n){var r={headers:{}};Object.assign(r,n),r.headers["Content-type"]="application/json; charset=UTF-8",r.onProgress&&(r.reportProgress=!0,delete r.onProgress);var a=this._http.post(this.url(t),e,r);return r.reportProgress&&(a=a.pipe(Object(i.a)(n.onProgress))),a.toPromise()}},{key:"put",value:function(t,e,n,r){var a={headers:{}};Object.assign(a,r),a.headers["Content-type"]="application/json; charset=UTF-8",n&&Object.assign(a.params,n),a.onProgress&&(a.reportProgress=!0,delete a.onProgress);var o=this._http.put(this.url(t),e,a);return a.reportProgress&&(o=o.pipe(Object(i.a)(r.onProgress))),o.toPromise()}},{key:"patch",value:function(t,e,n,r){var a={headers:{}};Object.assign(a,r),a.headers["Content-type"]="application/json; charset=UTF-8",n&&Object.assign(a.params,n),a.onProgress&&(a.reportProgress=!0,delete a.onProgress);var o=this._http.patch(this.url(t),e,a);return a.reportProgress&&(o=o.pipe(Object(i.a)(r.onProgress))),o.toPromise()}},{key:"delete",value:function(t,e,n){var r={};Object.assign(r,n),e&&(r.params=r.params||{},Object.assign(r.params,e)),r.onProgress&&(r.reportProgress=!0,delete r.onProgress);var a=this._http.delete(this.url(t),r);return r.reportProgress&&(a=a.pipe(Object(i.a)(n.onProgress))),a.toPromise()}},{key:"download",value:function(t,e,n,r){var a=this,o={observe:"events",responseType:"blob"};return Object.assign(o,r),o.onProgress&&(o.reportProgress=!0,delete o.onProgress),new Promise(function(s,l){var u=a._http.request(n||"get",a.url(t),o);o.reportProgress&&(u=u.pipe(Object(i.a)(r.onProgress))),u.subscribe(function(t){if(4==t.type){var n=window.URL.createObjectURL(t.body),i=document.createElement("a");i.href=n,i.download=e,i.click(),window.URL.revokeObjectURL(n),s(t)}},function(t){return l(t)})})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Yb(a.b))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},blSl:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("fXoL"),r=n("0MNC"),a="screen and (min-width: 600px) and (max-width: 959px)",o=function(){var t=function(){function t(e){var n=this;s(this,t),this.onchange=new i.o,e.observe(["screen and (max-width: 599px)",a,"screen and (min-width: 960px)"]).subscribe(function(t){n.onchange.emit(n._current=t.breakpoints["screen and (max-width: 599px)"]?"mobile":t.breakpoints[a]?"tablet":"monitor")})}return u(t,[{key:"current",get:function(){return this._current}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bv9b:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return w});var i=n("fXoL"),r=n("ofXK"),a=n("FKr1"),o=n("8LU1"),l=n("R1ws"),c=n("quSY"),d=n("xgIS"),p=n("pLZG"),m=["primaryValueBar"],g=Object(a.y)(function t(e){s(this,t),this._elementRef=e},"primary"),v=new i.s("mat-progress-bar-location",{providedIn:"root",factory:function(){var t=Object(i.W)(r.d),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),y=0,_=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,a,o){var l;s(this,n),(l=e.call(this,t))._elementRef=t,l._ngZone=r,l._animationMode=a,l._isNoopAnimation=!1,l._value=0,l._bufferValue=0,l.animationEnd=new i.o,l._animationEndSubscription=c.a.EMPTY,l.mode="determinate",l.progressbarId="mat-progress-bar-"+y++;var u=o?o.getPathname().split("#")[0]:"";return l._rectangleFillValue="url('".concat(u,"#").concat(l.progressbarId,"')"),l._isNoopAnimation="NoopAnimations"===a,l}return u(n,[{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._primaryValueBar.nativeElement;t._animationEndSubscription=Object(d.a)(e,"transitionend").pipe(Object(p.a)(function(t){return t.target===e})).subscribe(function(){"determinate"!==t.mode&&"buffer"!==t.mode||t._ngZone.run(function(){return t.animationEnd.next({value:t.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}},{key:"value",get:function(){return this._value},set:function(t){this._value=b(Object(o.f)(t)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(t){this._bufferValue=b(t||0)}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.B),i.Ob(l.a,8),i.Ob(v,8))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){var n;(1&t&&i.Oc(m,!0),2&t)&&(i.tc(n=i.cc())&&(e._primaryValueBar=n.first))},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Db("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.Gb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.zb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.ec(),i.Ub(0,"svg",0),i.Ub(1,"defs"),i.Ub(2,"pattern",1),i.Pb(3,"circle",2),i.Tb(),i.Tb(),i.Pb(4,"rect",3),i.Tb(),i.dc(),i.Pb(5,"div",4),i.Pb(6,"div",5,6),i.Pb(8,"div",7)),2&t&&(i.Cb(2),i.lc("id",e.progressbarId),i.Cb(2),i.Db("fill",e._rectangleFillValue),i.Cb(1),i.lc("ngStyle",e._bufferTransform()),i.Cb(1),i.lc("ngStyle",e._primaryTransform()))},directives:[r.o],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t}();function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(e,Math.min(n,t))}var w=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[r.c,a.j],a.j]}),t}()},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},c8N8:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("fXoL"),r=n("ofXK"),a=n("bSwM");function o(t,e){if(1&t){var n=i.Vb();i.Ub(0,"mat-checkbox",3),i.bc("change",function(t){return i.wc(n),i.fc().select(t)}),i.Tb()}if(2&t){var r=i.fc();i.lc("checked",r.checked&&r.model.selected.length==r.data.length)("indeterminate",r.checked&&r.model.selected.length!=r.data.length)("disabled",!r.data.length)}}function l(t,e){if(1&t){var n=i.Vb();i.Ub(0,"mat-checkbox",4),i.bc("change",function(t){return i.wc(n),i.fc().select(t)}),i.Tb()}if(2&t){var r=i.fc();i.lc("checked",r.checked)}}var c=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"select",value:function(t){var e=this;if(t)switch(this._type){case"header":this._model.selected.length==this._data.length?this._model.clear():this._data.forEach(function(t){return e._model.select(t)});break;case"row":this._model.toggle(this._data)}}},{key:"model",set:function(t){this._model=t},get:function(){return this._model}},{key:"data",set:function(t){this._data=t,t&&(this._type=Array.isArray(t)?"header":"row")},get:function(){return this._data}},{key:"type",get:function(){return this._type}},{key:"checked",get:function(){switch(this._type){case"header":return this._model.hasValue();case"row":return this._model.isSelected(this._data)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Ib({type:t,selectors:[["table-row-selection"]],inputs:{model:"model",data:"data"},decls:3,vars:3,consts:[[3,"ngSwitch"],[3,"checked","indeterminate","disabled","change",4,"ngSwitchCase"],[3,"checked","change",4,"ngSwitchCase"],[3,"checked","indeterminate","disabled","change"],[3,"checked","change"]],template:function(t,e){1&t&&(i.Sb(0,0),i.Fc(1,o,1,3,"mat-checkbox",1),i.Fc(2,l,1,1,"mat-checkbox",2),i.Rb()),2&t&&(i.lc("ngSwitch",e.type),i.Cb(1),i.lc("ngSwitchCase","header"),i.Cb(1),i.lc("ngSwitchCase","row"))},directives:[r.p,r.q,a.b],styles:[".mat-checkbox[_ngcontent-%COMP%]{margin:0 3px}"]}),t}()},cH1L:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return o});var i=n("fXoL"),r=n("ofXK"),a=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(r.d)}}),o=function(){var t=function(){function t(e){if(s(this,t),this.value="ltr",this.change=new i.o,e){var n=e.documentElement?e.documentElement.dir:null,r=(e.body?e.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return u(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Yb(a,8))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(a,8))},token:t,providedIn:"root"}),t}(),l=function(){var t=function t(){s(this,t)};return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t}()},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cSlR:function(t,e,n){"use strict";var i=/^(?:0|[1-9]\d*)$/;e.a=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&i.test(t))&&t>-1&&t%1==0&&t<e}},cp0P:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("HDdC"),a=n("DH7j"),o=n("lJxs"),s=n("XoHu"),l=n("Cfvw");function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(1===e.length){var r=e[0];if(Object(a.a)(r))return c(r,null);if(Object(s.a)(r)&&Object.getPrototypeOf(r)===Object.prototype){var l=Object.keys(r);return c(l.map(function(t){return r[t]}),l)}}if("function"==typeof e[e.length-1]){var u=e.pop();return c(e=1===e.length&&Object(a.a)(e[0])?e[0]:e,null).pipe(Object(o.a)(function(t){return u.apply(void 0,i(t))}))}return c(e,null)}function c(t,e){return new r.a(function(n){var i=t.length;if(0!==i)for(var r=new Array(i),a=0,o=0,s=function(s){var u=Object(l.a)(t[s]),c=!1;n.add(u.subscribe({next:function(t){c||(c=!0,o++),r[s]=t},error:function(t){return n.error(t)},complete:function(){++a!==i&&c||(o===i&&n.next(e?e.reduce(function(t,e,n){return t[e]=r[n],t},{}):r),n.complete())}}))},u=0;u<i;u++)s(u);else n.complete()})}},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},d3UM:function(t,e,n){"use strict";n.d(e,"a",function(){return $}),n.d(e,"b",function(){return et}),n.d(e,"c",function(){return J});var r=n("rDax"),a=n("ofXK"),o=n("fXoL"),l=n("FKr1"),d=n("kmnG"),p=n("vxfF"),g=n("u47x"),v=n("8LU1"),y=n("0EQZ"),_=n("FtGj"),w=n("XNiG"),k=n("NXyV"),x=n("VRyK"),M=n("JX91"),S=n("eIep"),C=n("IzEk"),D=n("pLZG"),O=n("lJxs"),T=n("/uUt"),L=n("1G5W"),A=n("R0Ic"),I=n("cH1L"),P=n("3Pt+"),E=["trigger"],R=["panel"];function Y(t,e){if(1&t&&(o.Ub(0,"span",8),o.Hc(1),o.Tb()),2&t){var n=o.fc();o.Cb(1),o.Ic(n.placeholder||"\xa0")}}function j(t,e){if(1&t&&(o.Ub(0,"span"),o.Hc(1),o.Tb()),2&t){var n=o.fc(2);o.Cb(1),o.Ic(n.triggerValue||"\xa0")}}function N(t,e){1&t&&o.jc(0,0,["*ngSwitchCase","true"])}function F(t,e){if(1&t&&(o.Ub(0,"span",9),o.Fc(1,j,2,1,"span",10),o.Fc(2,N,1,0,"ng-content",11),o.Tb()),2&t){var n=o.fc();o.lc("ngSwitch",!!n.customTrigger),o.Cb(2),o.lc("ngSwitchCase",!0)}}function V(t,e){if(1&t){var n=o.Vb();o.Ub(0,"div",12),o.Ub(1,"div",13,14),o.bc("@transformPanel.done",function(t){return o.wc(n),o.fc()._panelDoneAnimatingStream.next(t.toState)})("keydown",function(t){return o.wc(n),o.fc()._handleKeydown(t)}),o.jc(3,1),o.Tb(),o.Tb()}if(2&t){var i=o.fc();o.lc("@transformPanelWrap",void 0),o.Cb(1),o.Fb("mat-select-panel ",i._getPanelTheme(),""),o.Cc("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),o.lc("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),o.Db("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var H=[[["mat-select-trigger"]],"*"],z=["mat-select-trigger","*"],B={transformPanelWrap:Object(A.m)("transformPanelWrap",[Object(A.l)("* => void",Object(A.h)("@transformPanel",[Object(A.f)()],{optional:!0}))]),transformPanel:Object(A.m)("transformPanel",[Object(A.j)("void",Object(A.k)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(A.j)("showing",Object(A.k)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(A.j)("showing-multiple",Object(A.k)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(A.l)("void => *",Object(A.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(A.l)("* => void",Object(A.e)("100ms 25ms linear",Object(A.k)({opacity:0})))])},W=0,U=new o.s("mat-select-scroll-strategy"),G=new o.s("MAT_SELECT_CONFIG"),q={provide:U,deps:[r.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},X=function t(e,n){s(this,t),this.source=e,this.value=n},Z=Object(l.z)(Object(l.D)(Object(l.A)(Object(l.B)(function t(e,n,i,r,a){s(this,t),this._elementRef=e,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a})))),K=new o.s("MatSelectTrigger"),J=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["mat-select-trigger"]],features:[o.Bb([{provide:K,useExisting:t}])]}),t}(),Q=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,a,l,u,c,h,d,f,p,g,v,y,_){var b,T,L,A;return s(this,n),(b=e.call(this,u,l,h,d,p))._viewportRuler=t,b._changeDetectorRef=r,b._ngZone=a,b._dir=c,b._parentFormField=f,b.ngControl=p,b._liveAnnouncer=y,b._defaultOptions=_,b._panelOpen=!1,b._compareWith=function(t,e){return t===e},b._uid="mat-select-"+W++,b._triggerAriaLabelledBy=null,b._destroy=new w.a,b._onChange=function(){},b._onTouched=function(){},b._valueId="mat-select-value-"+W++,b._panelDoneAnimatingStream=new w.a,b._overlayPanelClass=(null===(T=b._defaultOptions)||void 0===T?void 0:T.overlayPanelClass)||"",b._focused=!1,b.controlType="mat-select",b._required=!1,b._multiple=!1,b._disableOptionCentering=null!==(A=null===(L=b._defaultOptions)||void 0===L?void 0:L.disableOptionCentering)&&void 0!==A&&A,b.ariaLabel="",b.optionSelectionChanges=Object(k.a)(function(){var t=b.options;return t?t.changes.pipe(Object(M.a)(t),Object(S.a)(function(){return Object(x.a).apply(void 0,i(t.map(function(t){return t.onSelectionChange})))})):b._ngZone.onStable.pipe(Object(C.a)(1),Object(S.a)(function(){return b.optionSelectionChanges}))}),b.openedChange=new o.o,b._openedStream=b.openedChange.pipe(Object(D.a)(function(t){return t}),Object(O.a)(function(){})),b._closedStream=b.openedChange.pipe(Object(D.a)(function(t){return!t}),Object(O.a)(function(){})),b.selectionChange=new o.o,b.valueChange=new o.o,b.ngControl&&(b.ngControl.valueAccessor=m(b)),null!=(null==_?void 0:_.typeaheadDebounceInterval)&&(b._typeaheadDebounceInterval=_.typeaheadDebounceInterval),b._scrollStrategyFactory=v,b._scrollStrategy=b._scrollStrategyFactory(),b.tabIndex=parseInt(g)||0,b.id=b.id,b}return u(n,[{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new y.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(T.a)(),Object(L.a)(this._destroy)).subscribe(function(){return t._panelDoneAnimating(t.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe(Object(L.a)(this._destroy)).subscribe(function(t){t.added.forEach(function(t){return t.select()}),t.removed.forEach(function(t){return t.deselect()})}),this.options.changes.pipe(Object(M.a)(null),Object(L.a)(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})}},{key:"ngDoCheck",value:function(){var t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){var e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}},{key:"_handleClosedKeydown",value:function(t){var e=t.keyCode,n=e===_.d||e===_.p||e===_.i||e===_.m,i=e===_.f||e===_.n,r=this._keyManager;if(!r.isTyping()&&i&&!Object(_.s)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;r.onKeydown(t);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,n=t.keyCode,i=n===_.d||n===_.p,r=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==_.f&&n!==_.n||!e.activeItem||Object(_.s)(t))if(!r&&this._multiple&&n===_.a&&t.ctrlKey){t.preventDefault();var a=this.options.some(function(t){return!t.disabled&&!t.selected});this.options.forEach(function(t){t.disabled||(a?t.select():t.deselect())})}else{var o=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==o&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var t=this;this.overlayDir.positionChange.pipe(Object(C.a)(1)).subscribe(function(){t._changeDetectorRef.detectChanges(),t._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(t){var e=this;if(this._selectionModel.selected.forEach(function(t){return t.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(function(t){return e._selectValue(t)}),this._sortValues();else{var n=this._selectValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,n=this.options.find(function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new g.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(L.a)(this._destroy)).subscribe(function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())}),this._keyManager.change.pipe(Object(L.a)(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollOptionIntoView(t._keyManager.activeItemIndex||0):t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var t=this,e=Object(x.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(L.a)(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),Object(x.a).apply(void 0,i(this.options.map(function(t){return t._stateChanges}))).pipe(Object(L.a)(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})}},{key:"_onSelect",value:function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort(function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(t){var e;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getPanelAriaLabelledby",value:function(){if(this.ariaLabel)return null;var t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getLabelId",value:function(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}},{key:"_getTriggerAriaLabelledby",value:function(){if(this.ariaLabel)return null;var t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}},{key:"_panelDoneAnimating",value:function(t){this.openedChange.emit(t)}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(v.c)(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){this._multiple=Object(v.c)(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Object(v.c)(t)}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=Object(v.f)(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(Z);return t.\u0275fac=function(e){return new(e||t)(o.Ob(p.e),o.Ob(o.h),o.Ob(o.B),o.Ob(l.d),o.Ob(o.l),o.Ob(I.b,8),o.Ob(P.p,8),o.Ob(P.g,8),o.Ob(d.a,8),o.Ob(P.m,10),o.Zb("tabindex"),o.Ob(U),o.Ob(g.k),o.Ob(G,8))},t.\u0275dir=o.Jb({type:t,viewQuery:function(t,e){var n;(1&t&&(o.Oc(E,!0),o.Oc(R,!0),o.Oc(r.a,!0)),2&t)&&(o.tc(n=o.cc())&&(e.trigger=n.first),o.tc(n=o.cc())&&(e.panel=n.first),o.tc(n=o.cc())&&(e.overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.zb,o.Ab]}),t}(),$=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._scrollTop=0,t._triggerFontSize=0,t._transformOrigin="top",t._offsetY=0,t._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],t}return u(n,[{key:"_calculateOverlayScroll",value:function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}},{key:"ngOnInit",value:function(){var t=this;c(b(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(Object(L.a)(this._destroy)).subscribe(function(){t.panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var t=this;c(b(n.prototype),"_canOpen",this).call(this)&&(c(b(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(C.a)(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))}},{key:"_scrollOptionIntoView",value:function(t){var e=Object(l.w)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(l.x)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),c(b(n.prototype),"_panelDoneAnimating",this).call(this,t)}},{key:"_getChangeEvent",value:function(t){return new X(this,t)}},{key:"_calculateOverlayOffsetX",value:function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)t=40;else{var a=this._selectionModel.selected[0]||this.options.first;t=a&&a.group?32:16}i||(t*=-1);var o=0-(e.left+t-(i?r:0)),s=e.right+t-n.width+(i?0:r);o>0?t+=o+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(t,e,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?t*r:this._scrollTop===n?(t-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,t):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var t,e=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*e,256),r=n*e-i;t=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),t+=Object(l.w)(t,this.options,this.optionGroups);var a=i/2;this._scrollTop=this._calculateOverlayScroll(t,a,r),this._offsetY=this._calculateOverlayOffsetY(t,a,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-e+t/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(Q);return t.\u0275fac=function(e){return tt(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){var i;(1&t&&(o.Hb(n,K,!0),o.Hb(n,l.o,!0),o.Hb(n,l.g,!0)),2&t)&&(o.tc(i=o.cc())&&(e.customTrigger=i.first),o.tc(i=o.cc())&&(e.options=i),o.tc(i=o.cc())&&(e.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&o.bc("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(o.Db("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),o.Gb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o.Bb([{provide:d.c,useExisting:t},{provide:l.h,useExisting:t}]),o.zb],ngContentSelectors:z,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(o.kc(H),o.Ub(0,"div",0,1),o.bc("click",function(){return e.toggle()}),o.Ub(3,"div",2),o.Fc(4,Y,2,1,"span",3),o.Fc(5,F,3,2,"span",4),o.Tb(),o.Ub(6,"div",5),o.Pb(7,"div",6),o.Tb(),o.Tb(),o.Fc(8,V,4,14,"ng-template",7),o.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){var n=o.uc(1);o.Db("aria-owns",e.panelOpen?e.id+"-panel":null),o.Cb(3),o.lc("ngSwitch",e.empty),o.Db("id",e._valueId),o.Cb(1),o.lc("ngSwitchCase",!0),o.Cb(1),o.lc("ngSwitchCase",!1),o.Cb(3),o.lc("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[r.b,a.p,a.q,r.a,a.r,a.l],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[B.transformPanelWrap,B.transformPanel]},changeDetection:0}),t}(),tt=o.Wb($),et=function(){var t=function t(){s(this,t)};return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[q],imports:[[a.c,r.f,l.p,l.j],p.b,d.d,l.p,l.j]}),t}()},dLWn:function(t,e,n){"use strict";var i=Function.prototype.toString;e.a=function(t){if(null!=t){try{return i.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},dNgK:function(t,e,n){"use strict";n.d(e,"a",function(){return A}),n.d(e,"b",function(){return T});var i=n("rDax"),r=n("+rOU"),a=n("ofXK"),o=n("fXoL"),l=n("FKr1"),c=n("bTqV"),d=n("XNiG"),p=n("IzEk"),m=n("1G5W"),g=n("R0Ic"),v=n("u47x"),y=n("0MNC"),_=n("nLfN");function b(t,e){if(1&t){var n=o.Vb();o.Ub(0,"div",1),o.Ub(1,"button",2),o.bc("click",function(){return o.wc(n),o.fc().action()}),o.Hc(2),o.Tb(),o.Tb()}if(2&t){var i=o.fc();o.Cb(2),o.Ic(i.data.action)}}function w(t,e){}var k=new o.s("MatSnackBarData"),x=function t(){s(this,t),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},M=Math.pow(2,31)-1,S=function(){function t(e,n){var i=this;s(this,t),this._overlayRef=n,this._afterDismissed=new d.a,this._afterOpened=new d.a,this._onAction=new d.a,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(function(){return i.dismiss()}),e._onExit.subscribe(function(){return i._finishDismiss()})}return u(t,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(t){var e=this;this._durationTimeoutId=setTimeout(function(){return e.dismiss()},Math.min(t,M))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),t}(),C=function(){var t=function(){function t(e,n){s(this,t),this.snackBarRef=e,this.data=n}return u(t,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Ob(S),o.Ob(k))},t.\u0275cmp=o.Ib({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.Ub(0,"span"),o.Hc(1),o.Tb(),o.Fc(2,b,3,1,"div",0)),2&t&&(o.Cb(1),o.Ic(e.data.message),o.Cb(1),o.lc("ngIf",e.hasAction))},directives:[a.n,c.a],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t}(),D={snackBarState:Object(g.m)("state",[Object(g.j)("void, hidden",Object(g.k)({transform:"scale(0.8)",opacity:0})),Object(g.j)("visible",Object(g.k)({transform:"scale(1)",opacity:1})),Object(g.l)("* => visible",Object(g.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(g.l)("* => void, * => hidden",Object(g.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(g.k)({opacity:0})))])},O=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this))._ngZone=t,l._elementRef=i,l._changeDetectorRef=r,l._platform=a,l.snackBarConfig=o,l._announceDelay=150,l._destroyed=!1,l._onAnnounce=new d.a,l._onExit=new d.a,l._onEnter=new d.a,l._animationState="void",l.attachDomPortal=function(t){return l._assertNotAttached(),l._applySnackBarClasses(),l._portalOutlet.attachDomPortal(t)},l._live="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?"off":"polite":"assertive",l}return u(n,[{key:"attachComponentPortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}},{key:"onAnimationEnd",value:function(t){var e=t.fromState,n=t.toState;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){var i=this._onEnter;this._ngZone.run(function(){i.next(),i.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var t=this;this._ngZone.onMicrotaskEmpty.pipe(Object(p.a)(1)).subscribe(function(){t._onExit.next(),t._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var t=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){t._announceTimeoutId=setTimeout(function(){var e=t._elementRef.nativeElement.querySelector("[aria-hidden]"),n=t._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){var i=null;t._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(i=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),null==i||i.focus(),t._onAnnounce.next(),t._onAnnounce.complete()}},t._announceDelay)})}}]),n}(r.a);return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.B),o.Ob(o.l),o.Ob(o.h),o.Ob(_.a),o.Ob(x))},t.\u0275cmp=o.Ib({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var n;(1&t&&o.Bc(r.c,!0),2&t)&&(o.tc(n=o.cc())&&(e._portalOutlet=n.first))},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.Dc("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.Ec("@state",e._animationState)},features:[o.zb],decls:3,vars:1,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.Ub(0,"div",0),o.Fc(1,w,0,0,"ng-template",1),o.Tb(),o.Pb(2,"div")),2&t&&(o.Cb(2),o.Db("aria-live",e._live))},directives:[r.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[D.snackBarState]}}),t}(),T=function(){var t=function t(){s(this,t)};return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[i.f,r.g,a.c,c.b,l.j],l.j]}),t}(),L=new o.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new x}}),A=function(){var t=function(){function t(e,n,i,r,a,o){s(this,t),this._overlay=e,this._live=n,this._injector=i,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=o,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=C,this.snackBarContainerComponent=O,this.handsetCssClass="mat-snack-bar-handset"}return u(t,[{key:"openFromComponent",value:function(t,e){return this._attach(t,e)}},{key:"openFromTemplate",value:function(t,e){return this._attach(t,e)}},{key:"open",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(t,e){var n=o.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:x,useValue:e}]}),i=new r.d(this.snackBarContainerComponent,e.viewContainerRef,n),a=t.attach(i);return a.instance.snackBarConfig=e,a.instance}},{key:"_attach",value:function(t,e){var n=this,i=Object.assign(Object.assign(Object.assign({},new x),this._defaultConfig),e),a=this._createOverlay(i),s=this._attachSnackBarContainer(a,i),l=new S(s,a);if(t instanceof o.N){var u=new r.h(t,null,{$implicit:i.data,snackBarRef:l});l.instance=s.attachTemplatePortal(u)}else{var c=this._createInjector(i,l),h=new r.d(t,void 0,c),d=s.attachComponentPortal(h);l.instance=d.instance}return this._breakpointObserver.observe(y.b.HandsetPortrait).pipe(Object(m.a)(a.detachments())).subscribe(function(t){var e=a.overlayElement.classList;t.matches?e.add(n.handsetCssClass):e.remove(n.handsetCssClass)}),i.announcementMessage&&s._onAnnounce.subscribe(function(){n._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(l,i),this._openedSnackBarRef=l,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(t,e){var n=this;t.afterDismissed().subscribe(function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(e.duration)})}},{key:"_createOverlay",value:function(t){var e=new i.d;e.direction=t.direction;var n=this._overlay.position().global(),r="rtl"===t.direction,a="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!a&&"center"!==t.horizontalPosition;return a?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}},{key:"_createInjector",value:function(t,e){return o.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:S,useValue:e},{provide:k,useValue:t.data}]})}},{key:"_openedSnackBarRef",get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Yb(i.c),o.Yb(v.k),o.Yb(o.t),o.Yb(y.a),o.Yb(t,12),o.Yb(L))},t.\u0275prov=Object(o.Kb)({factory:function(){return new t(Object(o.Yb)(i.c),Object(o.Yb)(v.k),Object(o.Yb)(o.p),Object(o.Yb)(y.a),Object(o.Yb)(t,12),Object(o.Yb)(L))},token:t,providedIn:T}),t}()},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(t){return t>1&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return e?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return e||r?a+(i(t)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return e||r?"de\u0148":"d\u0148om";case"dd":return e||r?a+(i(t)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},e8Yk:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("Qu3c"),r=n("fXoL"),a=n("0MNC"),o=n("ofXK");function l(t,e){}var u=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){return s(this,n),e.call(this,t,i)}return n}(i.e);return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h),r.Ob(a.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["tooltip"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&r.bc("click",function(){return e._handleBodyInteraction()},!1,r.vc)("auxclick",function(){return e._handleBodyInteraction()},!1,r.vc),2&t&&r.Cc("zoom","visible"===e._visibility?1:null)},features:[r.zb],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(t,e){if(1&t&&(r.Ub(0,"div",0),r.bc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),r.gc(1,"async"),r.Fc(2,l,0,0,"ng-template",1),r.Tb()),2&t){var n;r.Gb("mat-tooltip-handset",null==(n=r.hc(1,5,e._isHandset))?null:n.matches),r.lc("ngClass",e.tooltipClass)("@state",e._visibility),r.Cb(2),r.lc("ngTemplateOutlet",e.template)}},directives:[o.l,o.s],pipes:[o.b],styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],encapsulation:2,data:{animation:[i.f.tooltipState]},changeDetection:0}),t}()},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),a=n("zx2A");function o(t,e){return"function"==typeof e?function(n){return n.pipe(o(function(n,a){return Object(r.a)(t(n,a)).pipe(Object(i.a)(function(t,i){return e(n,t,a,i)}))}))}:function(e){return e.lift(new l(t))}}var l=function(){function t(e){s(this,t),this.project=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new d(t,this.project))}}]),t}(),d=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).project=i,r.index=0,r}return u(n,[{key:"_next",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new a.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(a.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var t=this.innerSubscription;t&&!t.closed||c(b(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&c(b(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t){this.destination.next(t)}}]),n}(a.b)},eNwd:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return u(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?c(b(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return c(b(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(n("3N8a").a),r=new(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(n("IjjT").a))(i)},f0Cb:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l});var i=n("8LU1"),r=n("FKr1"),a=n("fXoL"),o=function(){var t=function(){function t(){s(this,t),this._vertical=!1,this._inset=!1}return u(t,[{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=Object(i.c)(t)}},{key:"inset",get:function(){return this._inset},set:function(t){this._inset=Object(i.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Db("aria-orientation",e.vertical?"vertical":"horizontal"),a.Gb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t}(),l=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[r.j],r.j]}),t}()},f6nW:function(t,e,r){"use strict";r.d(e,"a",function(){return L}),r.d(e,"b",function(){return V}),r.d(e,"c",function(){return I}),r.d(e,"d",function(){return K}),r.d(e,"e",function(){return Y}),r.d(e,"f",function(){return F}),r.d(e,"g",function(){return E}),r.d(e,"h",function(){return Q}),r.d(e,"i",function(){return X}),r.d(e,"j",function(){return N}),r.d(e,"k",function(){return P}),r.d(e,"l",function(){return J}),r.d(e,"m",function(){return G}),r.d(e,"n",function(){return tt}),r.d(e,"o",function(){return $}),r.d(e,"p",function(){return Z}),r.d(e,"q",function(){return st}),r.d(e,"r",function(){return ct}),r.d(e,"s",function(){return ut}),r.d(e,"t",function(){return it}),r.d(e,"u",function(){return at}),r.d(e,"v",function(){return rt}),r.d(e,"w",function(){return ot}),r.d(e,"x",function(){return z}),r.d(e,"y",function(){return B});var a=r("8LU1"),o=r("0EQZ"),l=r("fXoL"),d=r("cH1L"),p=r("nLfN"),m=r("vxfF"),g=r("ofXK"),v=r("XNiG"),y=r("Cfvw"),_=r("2Vo4"),w=r("7+OI"),k=r("LRne"),x=r("1G5W"),M=r("IzEk"),S=[[["caption"]],[["colgroup"],["col"]]],C=["caption","colgroup, col"];function D(t,e){if(1&t&&(l.Ub(0,"th",3),l.Hc(1),l.Tb()),2&t){var n=l.fc();l.Cc("text-align",n.justify),l.Cb(1),l.Jc(" ",n.headerText," ")}}function O(t,e){if(1&t&&(l.Ub(0,"td",4),l.Hc(1),l.Tb()),2&t){var n=e.$implicit,i=l.fc();l.Cc("text-align",i.justify),l.Cb(1),l.Jc(" ",i.dataAccessor(n,i.name)," ")}}function T(t){return function(t){h(n,t);var e=f(n);function n(){var t;s(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r)))._sticky=!1,t._hasStickyChanged=!1,t}return u(n,[{key:"hasStickyChanged",value:function(){var t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}},{key:"sticky",get:function(){return this._sticky},set:function(t){var e=this._sticky;this._sticky=Object(a.c)(t),this._hasStickyChanged=e!==this._sticky}}]),n}(t)}var L=new l.s("CDK_TABLE"),A=new l.s("text-column-options"),I=function(){var t=function t(e){s(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkCellDef",""]]}),t}(),P=function(){var t=function t(e){s(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t}(),E=function(){var t=function t(e){s(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t}(),R=T(function t(){s(this,t)}),Y=function(){var t=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this))._table=t,i._stickyEnd=!1,i}return u(n,[{key:"_updateColumnCssClassName",value:function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}},{key:"_setNameInput",value:function(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}},{key:"name",get:function(){return this._name},set:function(t){this._setNameInput(t)}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(t){var e=this._stickyEnd;this._stickyEnd=Object(a.c)(t),this._hasStickyChanged=e!==this._stickyEnd}}]),n}(R);return t.\u0275fac=function(e){return new(e||t)(l.Ob(L,8))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){var i;(1&t&&(l.Hb(n,I,!0),l.Hb(n,P,!0),l.Hb(n,E,!0)),2&t)&&(l.tc(i=l.cc())&&(e.cell=i.first),l.tc(i=l.cc())&&(e.headerCell=i.first),l.tc(i=l.cc())&&(e.footerCell=i.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[l.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),l.zb]}),t}(),j=function t(e,i){s(this,t);var r,a=i.nativeElement.classList,o=n(e._columnCssClassName);try{for(o.s();!(r=o.n()).done;){var l=r.value;a.add(l)}}catch(u){o.e(u)}finally{o.f()}},N=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){return s(this,n),e.call(this,t,i)}return n}(j);return t.\u0275fac=function(e){return new(e||t)(l.Ob(Y),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[l.zb]}),t}(),F=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){return s(this,n),e.call(this,t,i)}return n}(j);return t.\u0275fac=function(e){return new(e||t)(l.Ob(Y),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[l.zb]}),t}(),V=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){return s(this,n),e.call(this,t,i)}return n}(j);return t.\u0275fac=function(e){return new(e||t)(l.Ob(Y),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[l.zb]}),t}(),H=function t(){s(this,t),this.tasks=[],this.endTasks=[]},z=new l.s("_COALESCED_STYLE_SCHEDULER"),B=function(){var t=function(){function t(e){s(this,t),this._ngZone=e,this._currentSchedule=null,this._destroyed=new v.a}return u(t,[{key:"schedule",value:function(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}},{key:"scheduleEnd",value:function(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createScheduleIfNeeded",value:function(){var t=this;this._currentSchedule||(this._currentSchedule=new H,this._getScheduleObservable().pipe(Object(x.a)(this._destroyed)).subscribe(function(){for(;t._currentSchedule.tasks.length||t._currentSchedule.endTasks.length;){var e=t._currentSchedule;t._currentSchedule=new H;var i,r=n(e.tasks);try{for(r.s();!(i=r.n()).done;){(0,i.value)()}}catch(s){r.e(s)}finally{r.f()}var a,o=n(e.endTasks);try{for(o.s();!(a=o.n()).done;){(0,a.value)()}}catch(s){o.e(s)}finally{o.f()}}t._currentSchedule=null}))}},{key:"_getScheduleObservable",value:function(){return this._ngZone.isStable?Object(y.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(M.a)(1))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Yb(l.B))},t.\u0275prov=l.Kb({token:t,factory:t.\u0275fac}),t}(),W=function(){var t=function(){function t(e,n){s(this,t),this.template=e,this._differs=n}return u(t,[{key:"ngOnChanges",value:function(t){if(!this._columnsDiffer){var e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(t){return this instanceof G?t.headerCell.template:this instanceof X?t.footerCell.template:t.cell.template}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N),l.Ob(l.u))},t.\u0275dir=l.Jb({type:t,features:[l.Ab]}),t}(),U=T(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(W)),G=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i))._table=r,a}return u(n,[{key:"ngOnChanges",value:function(t){c(b(n.prototype),"ngOnChanges",this).call(this,t)}}]),n}(U);return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N),l.Ob(l.u),l.Ob(L,8))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[l.zb,l.Ab]}),t}(),q=T(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(W)),X=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i))._table=r,a}return u(n,[{key:"ngOnChanges",value:function(t){c(b(n.prototype),"ngOnChanges",this).call(this,t)}}]),n}(q);return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N),l.Ob(l.u),l.Ob(L,8))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[l.zb,l.Ab]}),t}(),Z=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i))._table=r,a}return n}(W);return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N),l.Ob(l.u),l.Ob(L,8))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[l.zb]}),t}(),K=function(){var t=function(){function t(e){s(this,t),this._viewContainer=e,t.mostRecentCellOutlet=this}return u(t,[{key:"ngOnDestroy",value:function(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.R))},t.\u0275dir=l.Jb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t}(),J=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Ib({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&l.Qb(0,0)},directives:[K],encapsulation:2}),t}(),Q=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Ib({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&l.Qb(0,0)},directives:[K],encapsulation:2}),t}(),$=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Ib({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&l.Qb(0,0)},directives:[K],encapsulation:2}),t}(),tt=function(){var t=function t(e){s(this,t),this.templateRef=e};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.N))},t.\u0275dir=l.Jb({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t}(),et=["top","bottom","left","right"],nt=function(){function t(e,n,i,r){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];s(this,t),this._isNativeHtmlTable=e,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=a,this._needsPositionStickyOnElement=o,this._cachedCellWidths=[]}return u(t,[{key:"clearStickyPositioning",value:function(t,e){var i,r=this,a=[],o=n(t);try{for(o.s();!(i=o.n()).done;){var s=i.value;if(s.nodeType===s.ELEMENT_NODE){a.push(s);for(var l=0;l<s.children.length;l++)a.push(s.children[l])}}}catch(u){o.e(u)}finally{o.f()}this._scheduleStyleChanges(function(){var t,i=n(a);try{for(i.s();!(t=i.n()).done;){var o=t.value;r._removeStickyStyle(o,e)}}catch(u){i.e(u)}finally{i.f()}})}},{key:"updateStickyColumns",value:function(t,e,i){var r=this,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.length&&this._isBrowser&&(e.some(function(t){return t})||i.some(function(t){return t}))){var o=t[0],s=o.children.length,l=this._getCellWidths(o,a),u=this._getStickyStartColumnPositions(l,e),c=this._getStickyEndColumnPositions(l,i);this._scheduleStyleChanges(function(){var a,o="rtl"===r.direction,l=o?"right":"left",h=o?"left":"right",d=n(t);try{for(d.s();!(a=d.n()).done;)for(var f=a.value,p=0;p<s;p++){var m=f.children[p];e[p]&&r._addStickyStyle(m,l,u[p]),i[p]&&r._addStickyStyle(m,h,c[p])}}catch(g){d.e(g)}finally{d.f()}})}}},{key:"stickRows",value:function(t,e,i){var r=this;if(this._isBrowser){for(var a="bottom"===i?t.slice().reverse():t,o="bottom"===i?e.slice().reverse():e,s=[],l=[],u=0,c=0;u<a.length;u++)if(s[u]=c,o[u]){var h=a[u];l[u]=this._isNativeHtmlTable?Array.from(h.children):[h],u!==a.length-1&&(c+=h.getBoundingClientRect().height)}this._scheduleStyleChanges(function(){for(var t=0;t<a.length;t++)if(o[t]){var e,u=s[t],c=n(l[t]);try{for(c.s();!(e=c.n()).done;){var h=e.value;r._addStickyStyle(h,i,u)}}catch(d){c.e(d)}finally{c.f()}}})}}},{key:"updateStickyFooterContainer",value:function(t,e){var n=this;if(this._isNativeHtmlTable){var i=t.querySelector("tfoot");this._scheduleStyleChanges(function(){e.some(function(t){return!t})?n._removeStickyStyle(i,["bottom"]):n._addStickyStyle(i,"bottom",0)})}}},{key:"_removeStickyStyle",value:function(t,e){var i,r=n(e);try{for(r.s();!(i=r.n()).done;){var a=i.value;t.style[a]=""}}catch(o){r.e(o)}finally{r.f()}et.some(function(n){return-1===e.indexOf(n)&&t.style[n]})?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}},{key:"_getCalculatedZIndex",value:function(t){var e,i={top:100,bottom:10,left:1,right:1},r=0,a=n(et);try{for(a.s();!(e=a.n()).done;){var o=e.value;t.style[o]&&(r+=i[o])}}catch(s){a.e(s)}finally{a.f()}return r?""+r:""}},{key:"_getCellWidths",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var n=[],i=t.children,r=0;r<i.length;r++)n.push(i[r].getBoundingClientRect().width);return this._cachedCellWidths=n,n}},{key:"_getStickyStartColumnPositions",value:function(t,e){for(var n=[],i=0,r=0;r<t.length;r++)e[r]&&(n[r]=i,i+=t[r]);return n}},{key:"_getStickyEndColumnPositions",value:function(t,e){for(var n=[],i=0,r=t.length;r>0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}},{key:"_scheduleStyleChanges",value:function(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}]),t}(),it=function(){var t=function t(e,n){s(this,t),this.viewContainer=e,this.elementRef=n};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.R),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["","rowOutlet",""]]}),t}(),rt=function(){var t=function t(e,n){s(this,t),this.viewContainer=e,this.elementRef=n};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.R),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["","headerRowOutlet",""]]}),t}(),at=function(){var t=function t(e,n){s(this,t),this.viewContainer=e,this.elementRef=n};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.R),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["","footerRowOutlet",""]]}),t}(),ot=function(){var t=function t(e,n){s(this,t),this.viewContainer=e,this.elementRef=n};return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.R),l.Ob(l.l))},t.\u0275dir=l.Jb({type:t,selectors:[["","noDataRowOutlet",""]]}),t}(),st=function(){var t=function(){function t(e,n,i,r,a,o,l,u,c,h){s(this,t),this._differs=e,this._changeDetectorRef=n,this._elementRef=i,this._dir=a,this._platform=l,this._viewRepeater=u,this._coalescedStyleScheduler=c,this._viewportRuler=h,this._onDestroy=new v.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new _.a({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return u(t,[{key:"ngOnInit",value:function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n}),this._viewportRuler&&this._viewportRuler.change().pipe(Object(x.a)(this._onDestroy)).subscribe(function(){t._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(o.h)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(e,n,function(e,n,i){return t._getEmbeddedViewArgs(e.item,i)},function(t){return t.item.data},function(e){1===e.operation&&e.context&&t._renderCellTemplateForItem(e.record.item.rowDef,e.context)}):e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var a=e.item;t._renderRow(t._rowOutlet,a.rowDef,r,{$implicit:a.data})}else if(null==r)n.remove(i);else{var o=n.get(i);n.move(o,r)}}),this._updateRowIndexContext(),e.forEachIdentityChange(function(t){n.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(t){this._customColumnDefs.add(t)}},{key:"removeColumnDef",value:function(t){this._customColumnDefs.delete(t)}},{key:"addRowDef",value:function(t){this._customRowDefs.add(t)}},{key:"removeRowDef",value:function(t){this._customRowDefs.delete(t)}},{key:"addHeaderRowDef",value:function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(t){this._customNoDataRow=t}},{key:"updateStickyHeaderRowStyles",value:function(){var t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");var n=this._headerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(function(t){return t.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");var n=this._footerRowDefs.map(function(t){return t.sticky});this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(t){return t.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(i(e),i(n),i(r)),["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach(function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])}),this._rowDefs.forEach(function(e){for(var i=[],r=0;r<n.length;r++)t._renderRows[r].rowDef===e&&i.push(n[r]);t._addStickyColumnStyles(i,e)}),r.forEach(function(e,n){t._addStickyColumnStyles([e],t._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(function(t){return t.resetStickyChanged()})}},{key:"_getAllRenderRows",value:function(){var t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var i=this._data[n],r=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(var a=0;a<r.length;a++){var o=r[a],s=this._cachedRenderRowsMap.get(o.data);s.has(o.rowDef)?s.get(o.rowDef).push(o):s.set(o.rowDef,[o]),t.push(o)}}return t}},{key:"_getRenderRowsForData",value:function(t,e,n){return this._getRowDefs(t,e).map(function(i){var r=n&&n.has(i)?n.get(i):[];if(r.length){var a=r.shift();return a.dataIndex=e,a}return{data:t,rowDef:i,dataIndex:e}})}},{key:"_cacheColumnDefs",value:function(){var t=this;this._columnDefsByName.clear(),lt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(e){t._columnDefsByName.has(e.name),t._columnDefsByName.set(e.name,e)})}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=lt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=lt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=lt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var t=this._rowDefs.filter(function(t){return!t.when});this._defaultRowDef=t[0]}},{key:"_renderUpdatedColumns",value:function(){var t=function(t,e){return t||!!e.getColumnsDiff()},e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();var n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();var i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}},{key:"_switchDataSource",value:function(t){this._data=[],Object(o.h)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}},{key:"_observeRenderChanges",value:function(){var t,e=this;this.dataSource&&(Object(o.h)(this.dataSource)?t=this.dataSource.connect(this):Object(w.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(k.a)(this.dataSource)),this._renderChangeSubscription=t.pipe(Object(x.a)(this._onDestroy)).subscribe(function(t){e._data=t||[],e.renderRows()}))}},{key:"_forceRenderHeaderRows",value:function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,n){return t._renderRow(t._headerRowOutlet,e,n)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,n){return t._renderRow(t._footerRowOutlet,e,n)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(t,e){var n=this,i=Array.from(e.columns||[]).map(function(t){return n._columnDefsByName.get(t)}),r=i.map(function(t){return t.sticky}),a=i.map(function(t){return t.stickyEnd});this._stickyStyler.updateStickyColumns(t,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(t){for(var e=[],n=0;n<t.viewContainer.length;n++){var i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}},{key:"_getRowDefs",value:function(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(function(n){return!n.when||n.when(e,t)});else{var i=this._rowDefs.find(function(n){return n.when&&n.when(e,t)})||this._defaultRowDef;i&&n.push(i)}return n}},{key:"_getEmbeddedViewArgs",value:function(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}},{key:"_renderRow",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),r}},{key:"_renderCellTemplateForItem",value:function(t,e){var i,r=n(this._getCellTemplates(t));try{for(r.s();!(i=r.n()).done;){var a=i.value;K.mostRecentCellOutlet&&K.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,e)}}catch(o){r.e(o)}finally{r.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var t=this._rowOutlet.viewContainer,e=0,n=t.length;e<n;e++){var i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}},{key:"_getCellTemplates",value:function(t){var e=this;return t&&t.columns?Array.from(t.columns,function(n){var i=e._columnDefsByName.get(n);return t.extractCellTemplate(i)}):[]}},{key:"_applyNativeTableSections",value:function(){for(var t=this._document.createDocumentFragment(),e=0,i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];e<i.length;e++){var r=i[e],a=this._document.createElement(r.tag);a.setAttribute("role","rowgroup");var o,s=n(r.outlets);try{for(s.s();!(o=s.n()).done;){var l=o.value;a.appendChild(l.elementRef.nativeElement)}}catch(u){s.e(u)}finally{s.f()}t.appendChild(a)}this._elementRef.nativeElement.appendChild(t)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}},{key:"_checkStickyStates",value:function(){var t=function(t,e){return t||e.hasStickyChanged()};this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}},{key:"_setupStickyStyler",value:function(){var t=this;this._stickyStyler=new nt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(k.a)()).pipe(Object(x.a)(this._onDestroy)).subscribe(function(e){t._stickyStyler.direction=e,t.updateStickyColumnStyles()})}},{key:"_getOwnDefs",value:function(t){var e=this;return t.filter(function(t){return!t._table||t._table===e})}},{key:"_updateNoDataRow",value:function(){var t=this._customNoDataRow||this._noDataRow;if(t){var e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){var n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}},{key:"trackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"dataSource",get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=Object(a.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(t){this._fixedLayout=Object(a.c)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Ob(l.u),l.Ob(l.h),l.Ob(l.l),l.Zb("role"),l.Ob(d.b,8),l.Ob(g.d),l.Ob(p.a),l.Ob(o.g,8),l.Ob(z,8),l.Ob(m.e,8))},t.\u0275cmp=l.Ib({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){var i;(1&t&&(l.Hb(n,tt,!0),l.Hb(n,Y,!0),l.Hb(n,Z,!0),l.Hb(n,G,!0),l.Hb(n,X,!0)),2&t)&&(l.tc(i=l.cc())&&(e._noDataRow=i.first),l.tc(i=l.cc())&&(e._contentColumnDefs=i),l.tc(i=l.cc())&&(e._contentRowDefs=i),l.tc(i=l.cc())&&(e._contentHeaderRowDefs=i),l.tc(i=l.cc())&&(e._contentFooterRowDefs=i))},viewQuery:function(t,e){var n;(1&t&&(l.Bc(it,!0),l.Bc(rt,!0),l.Bc(at,!0),l.Bc(ot,!0)),2&t)&&(l.tc(n=l.cc())&&(e._rowOutlet=n.first),l.tc(n=l.cc())&&(e._headerRowOutlet=n.first),l.tc(n=l.cc())&&(e._footerRowOutlet=n.first),l.tc(n=l.cc())&&(e._noDataRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&l.Gb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[l.Bb([{provide:L,useExisting:t},{provide:o.g,useClass:o.e},{provide:z,useClass:B}])],ngContentSelectors:C,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(l.kc(S),l.jc(0),l.jc(1,1),l.Qb(2,0),l.Qb(3,1),l.Qb(4,2),l.Qb(5,3))},directives:[rt,it,ot,at],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t}();function lt(t,e){return t.concat(Array.from(e))}var ut=function(){var t=function(){function t(e,n){s(this,t),this._table=e,this._options=n,this.justify="start",this._options=n||{}}return u(t,[{key:"ngOnInit",value:function(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||function(t,e){return t[e]}),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}},{key:"ngOnDestroy",value:function(){this._table&&this._table.removeColumnDef(this.columnDef)}},{key:"_createDefaultHeaderText",value:function(){var t=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}},{key:"_syncColumnDefName",value:function(){this.columnDef&&(this.columnDef.name=this.name)}},{key:"name",get:function(){return this._name},set:function(t){this._name=t,this._syncColumnDefName()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Ob(st,8),l.Ob(A,8))},t.\u0275cmp=l.Ib({type:t,selectors:[["cdk-text-column"]],viewQuery:function(t,e){var n;(1&t&&(l.Bc(Y,!0),l.Bc(I,!0),l.Bc(P,!0)),2&t)&&(l.tc(n=l.cc())&&(e.columnDef=n.first),l.tc(n=l.cc())&&(e.cell=n.first),l.tc(n=l.cc())&&(e.headerCell=n.first))},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,e){1&t&&(l.Sb(0,0),l.Fc(1,D,2,3,"th",1),l.Fc(2,O,2,3,"td",2),l.Rb())},directives:[Y,P,I,N,V],encapsulation:2}),t}(),ct=function(){var t=function t(){s(this,t)};return t.\u0275mod=l.Mb({type:t}),t.\u0275inj=l.Lb({factory:function(e){return new(e||t)},imports:[[m.d]]}),t}()},fXoL:function(a,o,l){"use strict";l.d(o,"a",function(){return gn}),l.d(o,"b",function(){return _u}),l.d(o,"c",function(){return pu}),l.d(o,"d",function(){return du}),l.d(o,"e",function(){return fu}),l.d(o,"f",function(){return dc}),l.d(o,"g",function(){return ec}),l.d(o,"h",function(){return nl}),l.d(o,"i",function(){return Lu}),l.d(o,"j",function(){return Ts}),l.d(o,"k",function(){return ku}),l.d(o,"l",function(){return Ps}),l.d(o,"m",function(){return lc}),l.d(o,"n",function(){return Pi}),l.d(o,"o",function(){return Hl}),l.d(o,"p",function(){return xa}),l.d(o,"q",function(){return Cn}),l.d(o,"r",function(){return N}),l.d(o,"s",function(){return mn}),l.d(o,"t",function(){return Fa}),l.d(o,"u",function(){return Ks}),l.d(o,"v",function(){return Js}),l.d(o,"w",function(){return wu}),l.d(o,"x",function(){return dl}),l.d(o,"y",function(){return ic}),l.d(o,"z",function(){return hl}),l.d(o,"A",function(){return Ku}),l.d(o,"B",function(){return Pu}),l.d(o,"C",function(){return Dn}),l.d(o,"D",function(){return yu}),l.d(o,"E",function(){return vu}),l.d(o,"F",function(){return Bl}),l.d(o,"G",function(){return Rs}),l.d(o,"H",function(){return Es}),l.d(o,"I",function(){return Hi}),l.d(o,"J",function(){return js}),l.d(o,"K",function(){return Si}),l.d(o,"L",function(){return Tn}),l.d(o,"M",function(){return oc}),l.d(o,"N",function(){return ll}),l.d(o,"O",function(){return Vu}),l.d(o,"P",function(){return vn}),l.d(o,"Q",function(){return Ns}),l.d(o,"R",function(){return pl}),l.d(o,"S",function(){return B}),l.d(o,"T",function(){return Ju}),l.d(o,"U",function(){return Xu}),l.d(o,"V",function(){return S}),l.d(o,"W",function(){return Nn}),l.d(o,"X",function(){return qu}),l.d(o,"Y",function(){return cc}),l.d(o,"Z",function(){return zu}),l.d(o,"ab",function(){return bu}),l.d(o,"bb",function(){return Sa}),l.d(o,"cb",function(){return vs}),l.d(o,"db",function(){return xi}),l.d(o,"eb",function(){return oi}),l.d(o,"fb",function(){return Zn}),l.d(o,"gb",function(){return Jn}),l.d(o,"hb",function(){return ei}),l.d(o,"ib",function(){return $n}),l.d(o,"jb",function(){return Qn}),l.d(o,"kb",function(){return ti}),l.d(o,"lb",function(){return fs}),l.d(o,"mb",function(){return uc}),l.d(o,"nb",function(){return Va}),l.d(o,"ob",function(){return ps}),l.d(o,"pb",function(){return ms}),l.d(o,"qb",function(){return Kn}),l.d(o,"rb",function(){return X}),l.d(o,"sb",function(){return Ka}),l.d(o,"tb",function(){return bo}),l.d(o,"ub",function(){return _o}),l.d(o,"vb",function(){return ds}),l.d(o,"wb",function(){return Et}),l.d(o,"xb",function(){return k}),l.d(o,"yb",function(){return Xn}),l.d(o,"zb",function(){return za}),l.d(o,"Ab",function(){return Ot}),l.d(o,"Bb",function(){return Cs}),l.d(o,"Cb",function(){return Cr}),l.d(o,"Db",function(){return io}),l.d(o,"Eb",function(){return zo}),l.d(o,"Fb",function(){return os}),l.d(o,"Gb",function(){return Ho}),l.d(o,"Hb",function(){return iu}),l.d(o,"Ib",function(){return at}),l.d(o,"Jb",function(){return dt}),l.d(o,"Kb",function(){return O}),l.d(o,"Lb",function(){return T}),l.d(o,"Mb",function(){return ut}),l.d(o,"Nb",function(){return ft}),l.d(o,"Ob",function(){return lo}),l.d(o,"Pb",function(){return po}),l.d(o,"Qb",function(){return vo}),l.d(o,"Rb",function(){return go}),l.d(o,"Sb",function(){return mo}),l.d(o,"Tb",function(){return fo}),l.d(o,"Ub",function(){return ho}),l.d(o,"Vb",function(){return yo}),l.d(o,"Wb",function(){return dn}),l.d(o,"Xb",function(){return ss}),l.d(o,"Yb",function(){return Yn}),l.d(o,"Zb",function(){return fn}),l.d(o,"ac",function(){return hu}),l.d(o,"bc",function(){return wo}),l.d(o,"cc",function(){return ou}),l.d(o,"dc",function(){return Te}),l.d(o,"ec",function(){return Oe}),l.d(o,"fc",function(){return Co}),l.d(o,"gc",function(){return Yl}),l.d(o,"hc",function(){return jl}),l.d(o,"ic",function(){return Nl}),l.d(o,"jc",function(){return To}),l.d(o,"kc",function(){return Oo}),l.d(o,"lc",function(){return uo}),l.d(o,"mc",function(){return Lo}),l.d(o,"nc",function(){return Io}),l.d(o,"oc",function(){return Ol}),l.d(o,"pc",function(){return Tl}),l.d(o,"qc",function(){return Ll}),l.d(o,"rc",function(){return Al}),l.d(o,"sc",function(){return Il}),l.d(o,"tc",function(){return $l}),l.d(o,"uc",function(){return so}),l.d(o,"vc",function(){return Fi}),l.d(o,"wc",function(){return ee}),l.d(o,"xc",function(){return Ci}),l.d(o,"yc",function(){return Di}),l.d(o,"zc",function(){return ct}),l.d(o,"Ac",function(){return ru}),l.d(o,"Bc",function(){return tu}),l.d(o,"Cc",function(){return Vo}),l.d(o,"Dc",function(){return ko}),l.d(o,"Ec",function(){return ls}),l.d(o,"Fc",function(){return oo}),l.d(o,"Gc",function(){return cu}),l.d(o,"Hc",function(){return ts}),l.d(o,"Ic",function(){return es}),l.d(o,"Jc",function(){return ns}),l.d(o,"Kc",function(){return is}),l.d(o,"Lc",function(){return rs}),l.d(o,"Mc",function(){return as}),l.d(o,"Nc",function(){return Oi}),l.d(o,"Oc",function(){return eu});var d=l("XNiG"),p=l("quSY"),g=l("HDdC"),v=l("VRyK"),y=l("w1tV");function _(t){for(var e in t)if(t[e]===_)return e;throw Error("Could not find renamed property on target object.")}function w(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function k(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(k).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function x(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var M=_({__forward_ref__:_});function S(t){return t.__forward_ref__=S,t.toString=function(){return k(this())},t}function C(t){return D(t)?t():t}function D(t){return"function"==typeof t&&t.hasOwnProperty(M)&&t.__forward_ref__===S}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function T(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function L(t){return A(t,E)||A(t,Y)}function A(t,e){return t.hasOwnProperty(e)?t[e]:null}function I(t){return t&&(t.hasOwnProperty(R)||t.hasOwnProperty(j))?t[R]:null}var P,E=_({"\u0275prov":_}),R=_({"\u0275inj":_}),Y=_({ngInjectableDef:_}),j=_({ngInjectorDef:_}),N=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function F(t){var e=P;return P=t,e}function V(t,e,n){var i=L(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&N.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND [".concat(k(t),"]"))}function H(t){return{toString:t}.toString()}var z=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),B=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),W="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,G="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,X=W||q||U||G,Z={},K=[],J=_({"\u0275cmp":_}),Q=_({"\u0275dir":_}),$=_({"\u0275pipe":_}),tt=_({"\u0275mod":_}),et=_({"\u0275loc":_}),nt=_({"\u0275fac":_}),it=_({__NG_ELEMENT_ID__:_}),rt=0;function at(t){return H(function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===z.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||K,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||B.Emulated,id:"c",styles:t.styles||K,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,a=t.pipes;return n.id+=rt++,n.inputs=ht(t.inputs,e),n.outputs=ht(t.outputs),r&&r.forEach(function(t){return t(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ot)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map(st)}:null,n})}function ot(t){return pt(t)||function(t){return t[Q]||null}(t)}function st(t){return function(t){return t[$]||null}(t)}var lt={};function ut(t){var e={type:t.type,bootstrap:t.bootstrap||K,declarations:t.declarations||K,imports:t.imports||K,exports:t.exports||K,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&H(function(){lt[t.id]=t.type}),e}function ct(t,e){return H(function(){var n=mt(t,!0);n.declarations=e.declarations||K,n.imports=e.imports||K,n.exports=e.exports||K})}function ht(t,e){if(null==t)return Z;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,e&&(e[r]=a)}return n}var dt=at;function ft(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function pt(t){return t[J]||null}function mt(t,e){var n=t[tt]||null;if(!n&&!0===e)throw new Error("Type ".concat(k(t)," does not have '\u0275mod' property."));return n}function gt(t){return Array.isArray(t)&&"object"==typeof t[1]}function vt(t){return Array.isArray(t)&&!0===t[1]}function yt(t){return 0!=(8&t.flags)}function _t(t){return 2==(2&t.flags)}function bt(t){return 1==(1&t.flags)}function wt(t){return null!==t.template}function kt(t,e){return t.hasOwnProperty(nt)?t[nt]:null}var xt=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,i))).code=t,r}return n}(t(Error));function Mt(t){return"string"==typeof t?t:null==t?"":String(t)}function St(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Mt(t)}function Ct(t,e){var n=e?" in "+e:"";throw new xt("201","No provider for ".concat(St(t)," found").concat(n))}var Dt=function(){function t(e,n,i){s(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return u(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Ot(){return Tt}function Tt(t){return t.type.prototype.ngOnChanges&&(t.setInput=At),Lt}function Lt(){var t=It(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===Z)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function At(t,e,n,i){var r=It(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Z,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];a[s]=new Dt(l&&l.currentValue,e,o===Z),t[i]=e}function It(t){return t.__ngSimpleChanges__||null}Ot.ngInherit=!0;var Pt=void 0;function Et(t){Pt=t}function Rt(){return void 0!==Pt?Pt:"undefined"!=typeof document?document:void 0}function Yt(t){return!!t.listen}var jt={createRenderer:function(t,e){return Rt()}};function Nt(t){for(;Array.isArray(t);)t=t[0];return t}function Ft(t,e){return Nt(e[t])}function Vt(t,e){return Nt(e[t.index])}function Ht(t,e){return t.data[e]}function zt(t,e){return t[e]}function Bt(t,e){var n=e[t];return gt(n)?n:n[0]}function Wt(t){return t.__ngContext__||null}function Ut(t){var e=Wt(t);return e?Array.isArray(e)?e:e.lView:null}function Gt(t){return 4==(4&t[2])}function qt(t){return 128==(128&t[2])}function Xt(t,e){return null==e?null:t[e]}function Zt(t){t[18]=0}function Kt(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var Jt={lFrame:we(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Qt(){return Jt.bindingsEnabled}function $t(){return Jt.lFrame.lView}function te(){return Jt.lFrame.tView}function ee(t){Jt.lFrame.contextLView=t}function ne(){for(var t=ie();null!==t&&64===t.type;)t=t.parent;return t}function ie(){return Jt.lFrame.currentTNode}function re(t,e){var n=Jt.lFrame;n.currentTNode=t,n.isParent=e}function ae(){return Jt.lFrame.isParent}function oe(){Jt.lFrame.isParent=!1}function se(){return Jt.isInCheckNoChangesMode}function le(t){Jt.isInCheckNoChangesMode=t}function ue(){var t=Jt.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ce(){return Jt.lFrame.bindingIndex}function he(){return Jt.lFrame.bindingIndex++}function de(t){var e=Jt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function fe(t){Jt.lFrame.currentDirectiveIndex=t}function pe(t){var e=Jt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function me(){return Jt.lFrame.currentQueryIndex}function ge(t){Jt.lFrame.currentQueryIndex=t}function ve(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ye(t,e,n){if(n&N.SkipSelf){for(var i=e,r=t;!(null!==(i=i.parent)||n&N.Host||(i=ve(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}var a=Jt.lFrame=be();return a.currentTNode=e,a.lView=t,!0}function _e(t){var e=be(),n=t[1];Jt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function be(){var t=Jt.lFrame,e=null===t?null:t.child;return null===e?we(t):e}function we(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ke(){var t=Jt.lFrame;return Jt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var xe=ke;function Me(){var t=ke();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Se(){return Jt.lFrame.selectedIndex}function Ce(t){Jt.lFrame.selectedIndex=t}function De(){var t=Jt.lFrame;return Ht(t.tView,t.selectedIndex)}function Oe(){Jt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Te(){Jt.lFrame.currentNamespace=null}function Le(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n<i;n++){var r=t.data[n].type.prototype,a=r.ngAfterContentInit,o=r.ngAfterContentChecked,s=r.ngAfterViewInit,l=r.ngAfterViewChecked,u=r.ngOnDestroy;a&&(t.contentHooks||(t.contentHooks=[])).push(-n,a),o&&((t.contentHooks||(t.contentHooks=[])).push(n,o),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,o)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),l&&((t.viewHooks||(t.viewHooks=[])).push(n,l),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,l)),null!=u&&(t.destroyHooks||(t.destroyHooks=[])).push(n,u)}}function Ae(t,e,n){Ee(t,e,3,n)}function Ie(t,e,n,i){(3&t[2])===n&&Ee(t,e,n,i)}function Pe(t,e){var n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ee(t,e,n,i){for(var r=null!=i?i:-1,a=0,o=void 0!==i?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(a=e[o],null!=i&&a>=i)break}else e[o]<0&&(t[18]+=65536),(a<r||-1==r)&&(Re(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function Re(t,e,n,i){var r=n[i]<0,a=n[i+1],o=t[r?-n[i]:n[i]];r?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,a.call(o)):a.call(o)}var Ye=function t(e,n,i){s(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function je(t,e,n){for(var i=Yt(t),r=0;r<n.length;){var a=n[r];if("number"==typeof a){if(0!==a)break;r++;var o=n[r++],s=n[r++],l=n[r++];i?t.setAttribute(e,s,l,o):e.setAttributeNS(o,s,l)}else{var u=a,c=n[++r];Fe(u)?i&&t.setProperty(e,u,c):i?t.setAttribute(e,u,c):e.setAttribute(u,c),r++}}return r}function Ne(t){return 3===t||4===t||6===t}function Fe(t){return 64===t.charCodeAt(0)}function Ve(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else for(var n=-1,i=0;i<e.length;i++){var r=e[i];"number"==typeof r?n=r:0===n||He(t,n,r,null,-1===n||2===n?e[++i]:null)}return t}function He(t,e,n,i,r){var a=0,o=t.length;if(-1===e)o=-1;else for(;a<t.length;){var s=t[a++];if("number"==typeof s){if(s===e){o=-1;break}if(s>e){o=a-1;break}}}for(;a<t.length;){var l=t[a];if("number"==typeof l)break;if(l===n){if(null===i)return void(null!==r&&(t[a+1]=r));if(i===t[a+1])return void(t[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(t.splice(o,0,e),a=o+1),t.splice(a++,0,n),null!==i&&t.splice(a++,0,i),null!==r&&t.splice(a++,0,r)}function ze(t){return-1!==t}function Be(t){return 32767&t}function We(t,e){for(var n=t>>16,i=e;n>0;)i=i[15],n--;return i}var Ue=!0;function Ge(t){var e=Ue;return Ue=t,e}var qe=0;function Xe(t,e){var n=Ke(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ze(i.data,t),Ze(e,null),Ze(i.blueprint,null));var r=Je(t,e),a=t.injectorIndex;if(ze(r))for(var o=Be(r),s=We(r,e),l=s[1].data,u=0;u<8;u++)e[a+u]=s[o+u]|l[o+u];return e[a+8]=r,a}function Ze(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ke(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Je(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,i=null,r=e;null!==r;){var a=r[1],o=a.type;if(null===(i=2===o?a.declTNode:1===o?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Qe(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(it)&&(i=n[it]),null==i&&(i=n[it]=qe++);var r=255&i,a=1<<r,o=64&r,s=32&r,l=e.data;128&r?o?s?l[t+7]|=a:l[t+6]|=a:s?l[t+5]|=a:l[t+4]|=a:o?s?l[t+3]|=a:l[t+2]|=a:s?l[t+1]|=a:l[t]|=a}(t,e,n)}function $e(t,e,n){if(n&N.Optional)return t;Ct(e,"NodeInjector")}function tn(t,e,n,i){if(n&N.Optional&&void 0===i&&(i=null),0==(n&(N.Self|N.Host))){var r=t[9],a=F(void 0);try{return r?r.get(e,i,n&N.Optional):V(e,i,n&N.Optional)}finally{F(a)}}return $e(i,e,n)}function en(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(it)?t[it]:void 0;return"number"==typeof e?e>=0?255&e:rn:e}(n);if("function"==typeof a){if(!ye(e,t,i))return i&N.Host?$e(r,n,i):tn(e,n,i,r);try{var o=a();if(null!=o||i&N.Optional)return o;Ct(n)}finally{xe()}}else if("number"==typeof a){var s=null,l=Ke(t,e),u=-1,c=i&N.Host?e[16][6]:null;for((-1===l||i&N.SkipSelf)&&(-1!==(u=-1===l?Je(t,e):e[l+8])&&un(i,!1)?(s=e[1],l=Be(u),e=We(u,e)):l=-1);-1!==l;){var h=e[1];if(ln(a,l,h.data)){var d=an(l,e,n,s,i,c);if(d!==nn)return d}-1!==(u=e[l+8])&&un(i,e[1].data[l+8]===c)&&ln(a,l,e)?(s=h,l=Be(u),e=We(u,e)):l=-1}}}return tn(e,n,i,r)}var nn={};function rn(){return new cn(ne(),$t())}function an(t,e,n,i,r,a){var o=e[1],s=o.data[t+8],l=on(s,o,n,null==i?_t(s)&&Ue:i!=o&&0!=(3&s.type),r&N.Host&&a===s);return null!==l?sn(e,o,l,s):nn}function on(t,e,n,i,r){for(var a=t.providerIndexes,o=e.data,s=1048575&a,l=t.directiveStart,u=a>>20,c=r?s+u:t.directiveEnd,h=i?s:s+u;h<c;h++){var d=o[h];if(h<l&&n===d||h>=l&&d.type===n)return h}if(r){var f=o[l];if(f&&wt(f)&&f.type===n)return l}return null}function sn(t,e,n,i){var r=t[n],a=e.data;if(r instanceof Ye){var o=r;o.resolving&&function(t,e){throw new xt("200","Circular dependency in DI detected for "+t)}(St(a[n]));var s=Ge(o.canSeeViewProviders);o.resolving=!0;var l=o.injectImpl?F(o.injectImpl):null;ye(t,i,N.Default);try{r=t[n]=o.factory(void 0,a,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnChanges,a=i.ngOnInit,o=i.ngDoCheck;if(r){var s=Tt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,a),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,a[n],e)}finally{null!==l&&F(l),Ge(s),o.resolving=!1,xe()}}return r}function ln(t,e,n){var i=64&t,r=32&t;return!!((128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e])&1<<t)}function un(t,e){return!(t&N.Self||t&N.Host&&e)}var cn=function(){function t(e,n){s(this,t),this._tNode=e,this._lView=n}return u(t,[{key:"get",value:function(t,e){return en(this._tNode,this._lView,t,void 0,e)}}]),t}();function hn(t){var e=t;if(D(t))return function(){var t=hn(C(e));return t?t():null};var n=kt(e);if(null===n){var i=I(e);n=i&&i.factory}return n||null}function dn(t){return H(function(){for(var e=t.prototype.constructor,n=e[nt]||hn(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==i;){var a=r[nt]||hn(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return function(t){return new t}})}function fn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,r=0;r<i;){var a=n[r];if(Ne(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(a===e)return n[r+1];r+=2}}return null}(ne(),t)}function pn(t,n,i){return H(function(){var r=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(n);function a(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(this instanceof a)return r.apply(this,n),this;var o=e(a,n);return s.annotation=o,s;function s(t,e,n){for(var i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(o),t}}return i&&(a.prototype=Object.create(i.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a})}var mn=function(){function t(e,n){s(this,t),this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return u(t,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),t}(),gn=new mn("AnalyzeForEntryComponents"),vn=Function;function yn(t,e){void 0===e&&(e=t);for(var n=0;n<t.length;n++){var i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),yn(i,e)):e!==t&&e.push(i)}return e}function _n(t,e){t.forEach(function(t){return Array.isArray(t)?_n(t,e):e(t)})}function bn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function wn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function kn(t,e){for(var n=[],i=0;i<t;i++)n.push(e);return n}function xn(t,e,n){var i=Sn(t,e);return i>=0?t[1|i]=n:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function Mn(t,e){var n=Sn(t,e);if(n>=0)return t[1|n]}function Sn(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var a=i+(r-i>>1),o=t[a<<1];if(e===o)return a<<1;o>e?r=a:i=a+1}return~(r<<1)}(t,e)}var Cn=pn("Inject",function(t){return{token:t}}),Dn=pn("Optional"),On=pn("Self"),Tn=pn("SkipSelf"),Ln={},An=/\n/gm,In=_({provide:String,useValue:_}),Pn=void 0;function En(t){var e=Pn;return Pn=t,e}function Rn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.Default;if(void 0===Pn)throw new Error("inject() must be called from an injection context");return null===Pn?V(t,void 0,e):Pn.get(t,e&N.Optional?null:void 0,e)}function Yn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.Default;return(P||Rn)(C(t),e)}var jn,Nn=Yn;function Fn(t){for(var e=[],n=0;n<t.length;n++){var i=C(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,a=N.Default,o=0;o<i.length;o++){var s=i[o];s instanceof Dn||"Optional"===s.ngMetadataName||s===Dn?a|=N.Optional:s instanceof Tn||"SkipSelf"===s.ngMetadataName||s===Tn?a|=N.SkipSelf:s instanceof On||"Self"===s.ngMetadataName||s===On?a|=N.Self:r=s instanceof Cn||s===Cn?s.token:s}e.push(Yn(r,a))}else e.push(Yn(i))}return e}function Vn(){if(void 0===jn&&(jn=null,X.trustedTypes))try{jn=X.trustedTypes.createPolicy("angular",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(t){}return jn}function Hn(t){var e;return(null===(e=Vn())||void 0===e?void 0:e.createHTML(t))||t}var zn=function(){function t(e){s(this,t),this.changingThisBreaksApplicationSecurity=e}return u(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}]),t}(),Bn=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(zn),Wn=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(zn),Un=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(zn),Gn=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(zn),qn=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(zn);function Xn(t){return t instanceof zn?t.changingThisBreaksApplicationSecurity:t}function Zn(t,e){var n=Kn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===e}function Kn(t){return t instanceof zn&&t.getTypeName()||null}function Jn(t){return new Bn(t)}function Qn(t){return new Wn(t)}function $n(t){return new Un(t)}function ti(t){return new Gn(t)}function ei(t){return new qn(t)}var ni=function(){function t(){s(this,t)}return u(t,[{key:"getInertBodyElement",value:function(t){t="<body><remove></remove>"+t;try{var e=(new window.DOMParser).parseFromString(Hn(t),"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}}}]),t}(),ii=function(){function t(e){if(s(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return u(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Hn(t),e;var n=this.inertDocument.createElement("body");return n.innerHTML=Hn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var i=e.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||t.removeAttribute(i)}for(var r=t.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),t}(),ri=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ai=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function oi(t){return(t=String(t)).match(ri)||t.match(ai)?t:"unsafe:"+t}function si(t){var e,i={},r=n(t.split(","));try{for(r.s();!(e=r.n()).done;){i[e.value]=!0}}catch(a){r.e(a)}finally{r.f()}return i}function li(){for(var t={},e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];for(var s in o)o.hasOwnProperty(s)&&(t[s]=!0)}return t}var ui,ci=si("area,br,col,hr,img,wbr"),hi=si("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),di=si("rp,rt"),fi=li(di,hi),pi=li(ci,li(hi,si("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")),li(di,si("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")),fi),mi=si("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gi=si("srcset"),vi=li(mi,gi,si("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"),si("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")),yi=si("script,style,template"),_i=function(){function t(){s(this,t),this.sanitizedSomething=!1,this.buf=[]}return u(t,[{key:"sanitizeChildren",value:function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(t){var e=t.nodeName.toLowerCase();if(!pi.hasOwnProperty(e))return this.sanitizedSomething=!0,!yi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var n,i=t.attributes,r=0;r<i.length;r++){var a=i.item(r),o=a.name,s=o.toLowerCase();if(vi.hasOwnProperty(s)){var l=a.value;mi[s]&&(l=oi(l)),gi[s]&&(n=l,l=(n=String(n)).split(",").map(function(t){return oi(t.trim())}).join(", ")),this.buf.push(" ",o,'="',ki(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();pi.hasOwnProperty(e)&&!ci.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}},{key:"chars",value:function(t){this.buf.push(ki(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}]),t}(),bi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wi=/([^\#-~ |!])/g;function ki(t){return t.replace(/&/g,"&amp;").replace(bi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(wi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function xi(t,e){var n=null;try{ui=ui||function(t){return function(){try{return!!(new window.DOMParser).parseFromString(Hn(""),"text/html")}catch(t){return!1}}()?new ni:new ii(t)}(t);var i=e?String(e):"";n=ui.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=ui.getInertBodyElement(i)}while(i!==a);return(new _i).sanitizeChildren(Mi(n)||n)}finally{if(n)for(var o=Mi(n)||n;o.firstChild;)o.removeChild(o.firstChild)}}function Mi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Si=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Ci(t){var e=Ti();return e?e.sanitize(Si.HTML,t)||"":Zn(t,"HTML")?Xn(t):xi(Rt(),Mt(t))}function Di(t){var e=Ti();return e?e.sanitize(Si.URL,t)||"":Zn(t,"URL")?Xn(t):oi(Mt(t))}function Oi(t){return function(t){var e;return(null===(e=Vn())||void 0===e?void 0:e.createScriptURL(t))||t}(t)}function Ti(){var t=$t();return t&&t[12]}function Li(t){return t.ngDebugContext}function Ai(t){return t.ngOriginalError}function Ii(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];t.error.apply(t,n)}var Pi=function(){function t(){s(this,t),this._console=console}return u(t,[{key:"handleError",value:function(t){var e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Ii}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(t){return t?Li(t)?Li(t):this._findContext(Ai(t)):null}},{key:"_findOriginalError",value:function(t){for(var e=Ai(t);e&&Ai(e);)e=Ai(e);return e}}]),t}();function Ei(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Ri(t,e){t.__ngContext__=e}function Yi(t,e){for(var n=t[1],i=20;i<n.bindingStartIndex;i++)if(Nt(t[i])===e)return i;return-1}function ji(t){if(t.child)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}var Ni=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(X);function Fi(t){return{name:"body",target:t.ownerDocument.body}}function Vi(t){return t instanceof Function?t():t}var Hi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function zi(t,e){return(void 0)(t,e)}function Bi(t){var e=t[3];return vt(e)?e[3]:e}function Wi(t){return Gi(t[13])}function Ui(t){return Gi(t[4])}function Gi(t){for(;null!==t&&!vt(t);)t=t[4];return t}function qi(t,e,n,i,r){if(null!=i){var a,o=!1;vt(i)?a=i:gt(i)&&(o=!0,i=i[0]);var s=Nt(i);0===t&&null!==n?null==r?er(e,n,s):tr(e,n,s,r||null,!0):1===t&&null!==n?tr(e,n,s,r||null,!0):2===t?function(t,e,n){var i=ir(t,e);i&&function(t,e,n,i){Yt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,s,o):3===t&&e.destroyNode(s),null!=a&&function(t,e,n,i,r){var a=n[7];a!==Nt(n)&&qi(e,t,i,a,r);for(var o=10;o<n.length;o++){var s=n[o];cr(s[1],s,t,e,i,a)}}(e,t,a,n,r)}}function Xi(t,e,n){return Yt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Zi(t,e){var n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,Kt(r,-1)),n.splice(i,1)}function Ki(t,e){if(!(t.length<=10)){var n,i=10+e,r=t[i];if(r){var a=r[17];null!==a&&a!==t&&Zi(a,r),e>0&&(t[i-1][4]=r[4]);var o=wn(t,10+e);cr(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Ji(t,e){if(!(256&e[2])){var n=e[11];Yt(n)&&n.destroyNode&&cr(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Qi(t[1],t);for(;e;){var n=null;if(gt(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)gt(e)&&Qi(e[1],e),e=e[3];null===e&&(e=t),gt(e)&&Qi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Qi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i<n.length;i+=2){var r=e[n[i]];if(!(r instanceof Ye)){var a=n[i+1];if(Array.isArray(a))for(var o=0;o<a.length;o+=2)a[o+1].call(r[a[o]]);else a.call(r)}}}(t,e),function(t,e){var n=t.cleanup,i=e[7],r=-1;if(null!==n){for(var a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){var o=n[a+1],s="function"==typeof o?o(e):Nt(e[o]),l=i[r=n[a+2]],u=n[a+3];"boolean"==typeof u?s.removeEventListener(n[a],l,u):u>=0?i[r=u]():i[r=-u].unsubscribe(),a+=2}else{var c=i[r=n[a+1]];n[a].call(c)}if(null!==i)for(var h=r+1;h<i.length;h++)(0,i[h])();e[7]=null}}(t,e),1===e[1].type&&Yt(e[11])&&e[11].destroy();var n=e[17];if(null!==n&&vt(e[3])){n!==e[3]&&Zi(n,e);var i=e[19];null!==i&&i.detachView(t)}}}function $i(t,e,n){return function(t,e,n){for(var i=e;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){var r=t.data[i.directiveStart].encapsulation;if(r===B.None||r===B.Emulated)return null}return Vt(i,n)}(t,e.parent,n)}function tr(t,e,n,i,r){Yt(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function er(t,e,n){Yt(t)?t.appendChild(e,n):e.appendChild(n)}function nr(t,e,n,i,r){null!==i?tr(t,e,n,i,r):er(t,e,n)}function ir(t,e){return Yt(t)?t.parentNode(e):e.parentNode}function rr(t,e,n){return ar(t,e,n)}var ar=function(t,e,n){return 40&t.type?Vt(t,n):null};function or(t,e,n,i){var r=$i(t,i,e),a=e[11],o=rr(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(var s=0;s<n.length;s++)nr(a,r,n[s],o,!1);else nr(a,r,n,o,!1)}function sr(t,e){if(null!==e){var n=e.type;if(3&n)return Vt(e,t);if(4&n)return lr(-1,t[e.index]);if(8&n){var i=e.child;if(null!==i)return sr(t,i);var r=t[e.index];return vt(r)?lr(-1,r):Nt(r)}if(32&n)return zi(e,t)()||Nt(t[e.index]);var a=t[16],o=a[6],s=Bi(a),l=o.projection[e.projection];return null!=l?sr(s,l):sr(t,e.next)}return null}function lr(t,e){var n=10+t+1;if(n<e.length){var i=e[n],r=i[1].firstChild;if(null!==r)return sr(i,r)}return e[7]}function ur(t,e,n,i,r,a,o){for(;null!=n;){var s=i[n.index],l=n.type;if(o&&0===e&&(s&&Ri(Nt(s),i),n.flags|=4),64!=(64&n.flags))if(8&l)ur(t,e,n.child,i,r,a,!1),qi(e,t,r,s,a);else if(32&l){for(var u=zi(n,i),c=void 0;c=u();)qi(e,t,r,c,a);qi(e,t,r,s,a)}else 16&l?hr(t,e,i,n,r,a):qi(e,t,r,s,a);n=o?n.projectionNext:n.next}}function cr(t,e,n,i,r,a){ur(n,i,t.firstChild,e,r,a,!1)}function hr(t,e,n,i,r,a){var o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)qi(e,t,r,s[l],a);else ur(t,e,s,o[3],r,a,!0)}function dr(t,e,n){Yt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function fr(t,e,n){Yt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function pr(t,e,n){for(var i=t.length;;){var r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var a=e.length;if(r+a===i||t.charCodeAt(r+a)<=32)return r}n=r+1}}function mr(t,e,n){for(var i=0;i<t.length;){var r=t[i++];if(n&&"class"===r){if(-1!==pr((r=t[i]).toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function gr(t){return 4===t.type&&"ng-template"!==t.value}function vr(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function yr(t,e,n){for(var i=4,r=t.attrs||[],a=function(t){for(var e=0;e<t.length;e++)if(Ne(t[e]))return e;return t.length}(r),o=!1,s=0;s<e.length;s++){var l=e[s];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!vr(t,l,n)||""===l&&1===e.length){if(_r(i))return!1;o=!0}}else{var u=8&i?l:e[++s];if(8&i&&null!==t.attrs){if(!mr(t.attrs,u,n)){if(_r(i))return!1;o=!0}continue}var c=br(8&i?"class":l,r,gr(t),n);if(-1===c){if(_r(i))return!1;o=!0;continue}if(""!==u){var h;h=c>a?"":r[c+1].toLowerCase();var d=8&i?h:null;if(d&&-1!==pr(d,u,0)||2&i&&u!==h){if(_r(i))return!1;o=!0}}}}else{if(!o&&!_r(i)&&!_r(l))return!1;if(o&&_r(l))continue;o=!1,i=l|1&i}}return _r(i)||o}function _r(t){return 0==(1&t)}function br(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var a=!1;r<e.length;){var o=e[r];if(o===t)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){for(var s=e[++r];"string"==typeof s;)s=e[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function(t,e){var n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){var i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function wr(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<e.length;i++)if(yr(t,e[i],n))return!0;return!1}function kr(t,e){t:for(var n=0;n<e.length;n++){var i=e[n];if(t.length===i.length){for(var r=0;r<t.length;r++)if(t[r]!==i[r])continue t;return!0}}return!1}function xr(t,e){return t?":not("+e.trim()+")":e}function Mr(t){for(var e=t[0],n=1,i=2,r="",a=!1;n<t.length;){var o=t[n];if("string"==typeof o)if(2&i){var s=t[++n];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||_r(o)||(e+=xr(a,r),r=""),i=o,a=a||!_r(i);n++}return""!==r&&(e+=xr(a,r)),e}var Sr={};function Cr(t){Dr(te(),$t(),Se()+t,se())}function Dr(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&Ae(e,r,n)}else{var a=t.preOrderHooks;null!==a&&Ie(e,a,0,n)}Ce(n)}function Or(t,e){return t<<17|e<<2}function Tr(t){return t>>17&32767}function Lr(t){return 2|t}function Ar(t){return(131068&t)>>2}function Ir(t,e){return-131069&t|e<<2}function Pr(t){return 1|t}function Er(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],a=n[i+1];if(-1!==a){var o=t.data[a];ge(r),o.contentQueries(2,e[a],a)}}}function Rr(t,e,n,i,r,a,o,s,l,u){var c=e.blueprint.slice();return c[0]=r,c[2]=140|i,Zt(c),c[3]=c[15]=t,c[8]=n,c[10]=o||t&&t[10],c[11]=s||t&&t[11],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=a,c[16]=2==e.type?t[16]:c,c}function Yr(t,e,n,i,r){var a,o,s=t.data[e];if(null===s)s=function(t,e,n,i,r){var a=ie(),o=ae(),s=t.data[e]=function(t,e,n,i,r,a){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?a:a&&a.parent,n,e,i,r);return null===t.firstChild&&(t.firstChild=s),null!==a&&(o?null==a.child&&null!==s.parent&&(a.child=s):null===a.next&&(a.next=s)),s}(t,e,n,i,r),Jt.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;var l=(a=Jt.lFrame,o=a.currentTNode,a.isParent?o:o.parent);s.injectorIndex=null===l?-1:l.injectorIndex}return re(s,!0),s}function jr(t,e,n,i){if(0===n)return-1;for(var r=e.length,a=0;a<n;a++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function Nr(t,e,n){_e(e);try{var i=t.viewQuery;null!==i&&pa(1,i,n);var r=t.template;null!==r&&Hr(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Er(t,e),t.staticViewQueries&&pa(2,t.viewQuery,n);var a=t.components;null!==a&&function(t,e){for(var n=0;n<e.length;n++)ua(t,e[n])}(e,a)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),o}finally{e[2]&=-5,Me()}}function Fr(t,e,n,i){var r=e[2];if(256!=(256&r)){_e(e);var a=se();try{Zt(e),Jt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Hr(t,e,n,2,i);var o=3==(3&r);if(!a)if(o){var s=t.preOrderCheckHooks;null!==s&&Ae(e,s,null)}else{var l=t.preOrderHooks;null!==l&&Ie(e,l,0,null),Pe(e,0)}if(function(t){for(var e=Wi(t);null!==e;e=Ui(e))if(e[2])for(var n=e[9],i=0;i<n.length;i++){var r=n[i],a=r[3];0==(1024&r[2])&&Kt(a,1),r[2]|=1024}}(e),function(t){for(var e=Wi(t);null!==e;e=Ui(e))for(var n=10;n<e.length;n++){var i=e[n],r=i[1];qt(i)&&Fr(r,i,r.template,i[8])}}(e),null!==t.contentQueries&&Er(t,e),!a)if(o){var u=t.contentCheckHooks;null!==u&&Ae(e,u)}else{var c=t.contentHooks;null!==c&&Ie(e,c,1),Pe(e,1)}!function(t,e){var n,i,r,a=t.hostBindingOpCodes;if(null!==a)try{for(var o=0;o<a.length;o++){var s=a[o];if(s<0)Ce(~s);else{var l=s,u=a[++o],c=a[++o];n=u,i=l,r=void 0,(r=Jt.lFrame).bindingIndex=r.bindingRootIndex=n,fe(i),c(2,e[l])}}}finally{Ce(-1)}}(t,e);var h=t.components;null!==h&&function(t,e){for(var n=0;n<e.length;n++)sa(t,e[n])}(e,h);var d=t.viewQuery;if(null!==d&&pa(2,d,i),!a)if(o){var f=t.viewCheckHooks;null!==f&&Ae(e,f)}else{var p=t.viewHooks;null!==p&&Ie(e,p,2),Pe(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),a||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Kt(e[3],-1))}finally{Me()}}}function Vr(t,e,n,i){var r=e[10],a=!se(),o=Gt(e);try{a&&!o&&r.begin&&r.begin(),o&&Nr(t,e,i),Fr(t,e,n,i)}finally{a&&!o&&r.end&&r.end()}}function Hr(t,e,n,i,r){var a=Se();try{Ce(-1),2&i&&e.length>20&&Dr(t,e,20,se()),n(i,r)}finally{Ce(a)}}function zr(t,e,n){if(yt(e))for(var i=e.directiveEnd,r=e.directiveStart;r<i;r++){var a=t.data[r];a.contentQueries&&a.contentQueries(1,n[r],r)}}function Br(t,e,n){Qt()&&(function(t,e,n,i){var r=n.directiveStart,a=n.directiveEnd;t.firstCreatePass||Xe(n,e),Ri(i,e);for(var o=n.initialInputs,s=r;s<a;s++){var l=t.data[s],u=wt(l);u&&ia(e,n,l);var c=sn(e,t,s,n);Ri(c,e),null!==o&&ra(0,s-r,c,l,0,o),u&&(Bt(n.index,e)[8]=c)}}(t,e,n,Vt(n,e)),128==(128&n.flags)&&function(t,e,n){var i=n.directiveStart,r=n.directiveEnd,a=n.index,o=Jt.lFrame.currentDirectiveIndex;try{Ce(a);for(var s=i;s<r;s++){var l=t.data[s],u=e[s];fe(s),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||Qr(l,u)}}finally{Ce(-1),fe(o)}}(t,e,n))}function Wr(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Vt,i=e.localNames;if(null!==i)for(var r=e.index+1,a=0;a<i.length;a+=2){var o=i[a+1],s=-1===o?n(e,t):t[o];t[r++]=s}}function Ur(t){var e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Gr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Gr(t,e,n,i,r,a,o,s,l,u){var c=20+i,h=c+r,d=function(t,e){for(var n=[],i=0;i<e;i++)n.push(i<t?null:Sr);return n}(c,h),f="function"==typeof u?u():u;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:s,declTNode:e,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function qr(t,e,n,i){var r=ga(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&va(t).push(i,r.length-1))}function Xr(t,e,n){for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function Zr(t,e,n,i,r,a,o,s){var l,u,c=Vt(e,n),h=e.inputs;!s&&null!=h&&(l=h[i])?(ba(t,n,l,i,r),_t(e)&&function(t,e){var n=Bt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,r=null!=o?o(r,e.value||"",i):r,Yt(a)?a.setProperty(c,i,r):Fe(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function Kr(t,e,n,i){var r=!1;if(Qt()){var a=function(t,e,n){var i=t.directiveRegistry,r=null;if(i)for(var a=0;a<i.length;a++){var o=i[a];wr(n,o.selectors,!1)&&(r||(r=[]),Qe(Xe(n,e),t,o.type),wt(o)?($r(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===i?null:{"":-1};if(null!==a){r=!0,ea(n,t.data.length,a.length);for(var s=0;s<a.length;s++){var l=a[s];l.providersResolver&&l.providersResolver(l)}for(var u=!1,c=!1,h=jr(t,e,a.length,null),d=0;d<a.length;d++){var f=a[d];n.mergedAttrs=Ve(n.mergedAttrs,f.hostAttrs),na(t,n,e,h,f),ta(h,f,o),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128);var p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),u=!0),c||!p.ngOnChanges&&!p.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),c=!0),h++}!function(t,e){for(var n=e.directiveEnd,i=t.data,r=e.attrs,a=[],o=null,s=null,l=e.directiveStart;l<n;l++){var u=i[l],c=u.inputs,h=null===r||gr(e)?null:aa(c,r);a.push(h),o=Xr(c,l,o),s=Xr(u.outputs,l,s)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=a,e.inputs=o,e.outputs=s}(t,n)}o&&function(t,e,n){if(e)for(var i=t.localNames=[],r=0;r<e.length;r+=2){var a=n[e[r+1]];if(null==a)throw new xt("301","Export of name '".concat(e[r+1],"' not found!"));i.push(e[r],a)}}(n,i,o)}return n.mergedAttrs=Ve(n.mergedAttrs,n.attrs),r}function Jr(t,e,n,i,r,a){var o=a.hostBindings;if(o){var s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);var l=~e.index;(function(t){for(var e=t.length;e>0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(i,r,o)}}function Qr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function $r(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function ta(t,e,n){if(n){if(e.exportAs)for(var i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;wt(e)&&(n[""]=t)}}function ea(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function na(t,e,n,i,r){t.data[i]=r;var a=r.factory||(r.factory=kt(r.type)),o=new Ye(a,wt(r),null);t.blueprint[i]=o,n[i]=o,Jr(t,e,0,i,jr(t,n,r.hostVars,Sr),r)}function ia(t,e,n){var i=Vt(e,t),r=Ur(n),a=t[10],o=ca(t,Rr(t,r,null,n.onPush?64:16,i,e,a,a.createRenderer(i,n),null,null));t[e.index]=o}function ra(t,e,n,i,r,a){var o=a[e];if(null!==o)for(var s=i.setInput,l=0;l<o.length;){var u=o[l++],c=o[l++],h=o[l++];null!==s?i.setInput(n,h,u,c):n[c]=h}}function aa(t,e){for(var n=null,i=0;i<e.length;){var r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function oa(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function sa(t,e){var n=Bt(e,t);if(qt(n)){var i=n[1];80&n[2]?Fr(i,n,i.template,n[8]):n[5]>0&&la(n)}}function la(t){for(var e=Wi(t);null!==e;e=Ui(e))for(var n=10;n<e.length;n++){var i=e[n];if(1024&i[2]){var r=i[1];Fr(r,i,r.template,i[8])}else i[5]>0&&la(i)}var a=t[1].components;if(null!==a)for(var o=0;o<a.length;o++){var s=Bt(a[o],t);qt(s)&&s[5]>0&&la(s)}}function ua(t,e){var n=Bt(e,t),i=n[1];!function(t,e){for(var n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Nr(i,n,n[8])}function ca(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ha(t){for(;t;){t[2]|=64;var e=Bi(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function da(t,e,n){var i=e[10];i.begin&&i.begin();try{Fr(t,e,t.template,n)}catch(r){throw _a(e,r),r}finally{i.end&&i.end()}}function fa(t){!function(t){for(var e=0;e<t.components.length;e++){var n=t.components[e],i=Ut(n),r=i[1];Vr(r,i,r.template,n)}}(t[8])}function pa(t,e,n){ge(0),e(t,n)}var ma=Promise.resolve(null);function ga(t){return t[7]||(t[7]=[])}function va(t){return t.cleanup||(t.cleanup=[])}function ya(t,e,n){return(null===t||wt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function _a(t,e){var n=t[9],i=n?n.get(Pi,null):null;i&&i.handleError(e)}function ba(t,e,n,i,r){for(var a=0;a<n.length;){var o=n[a++],s=n[a++],l=e[o],u=t.data[o];null!==u.setInput?u.setInput(l,r,i,s):l[s]=r}}function wa(t,e,n){var i=Ft(e,t);!function(t,e,n){Yt(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}function ka(t,e,n){var i=n?t.styles:null,r=n?t.classes:null,a=0;if(null!==e)for(var o=0;o<e.length;o++){var s=e[o];"number"==typeof s?a=s:1==a?r=x(r,s):2==a&&(i=x(i,s+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}var xa=new mn("INJECTOR",-1),Ma=function(){function t(){s(this,t)}return u(t,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ln;if(e===Ln){var n=new Error("NullInjectorError: No provider for ".concat(k(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),Sa=new mn("Set Injector scope."),Ca={},Da={},Oa=[],Ta=void 0;function La(){return void 0===Ta&&(Ta=new Ma),Ta}function Aa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Ia(t,n,e||La(),i)}var Ia=function(){function t(e,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;s(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&_n(n,function(t){return r.processProvider(t,e,n)}),_n([e],function(t){return r.processInjectorType(t,[],o)}),this.records.set(xa,Ra(void 0,this));var l=this.records.get(Sa);this.scope=null!=l?l.value:null,this.source=a||("object"==typeof e?null:k(e))}return u(t,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ln,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.Default;this.assertNotDestroyed();var i,r=En(this);try{if(!(n&N.SkipSelf)){var a=this.records.get(t);if(void 0===a){var o=("function"==typeof(i=t)||"object"==typeof i&&i instanceof mn)&&L(t);a=o&&this.injectableDefInScope(o)?Ra(Pa(t),Ca):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&N.Self?La():this.parent).get(t,e=n&N.Optional&&e===Ln?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(k(t)),r)throw s;return function(t,e,n,i){var r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=k(e);if(Array.isArray(e))r=e.map(k).join(" -> ");else if("object"==typeof e){var a=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):k(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(An,"\n "))}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,0,this.source)}throw s}finally{En(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(k(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=C(t)))return!1;var r=I(t),a=null==r&&t.ngModule||void 0,o=void 0===a?t:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=I(a)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(o);try{_n(r.imports,function(t){i.processInjectorType(t,e,n)&&(void 0===l&&(l=[]),l.push(t))})}finally{}if(void 0!==l)for(var u=function(t){var e=l[t],n=e.ngModule,r=e.providers;_n(r,function(t){return i.processProvider(t,n,r||Oa)})},c=0;c<l.length;c++)u(c)}this.injectorDefTypes.add(o),this.records.set(o,Ra(r.factory,Ca));var h=r.providers;if(null!=h&&!s){var d=t;_n(h,function(t){return i.processProvider(t,d,h)})}return void 0!==a&&void 0!==t.providers}},{key:"processProvider",value:function(t,e,n){var i=ja(t=C(t))?t:C(t&&t.provide),r=function(t,e,n){return Ya(t)?Ra(void 0,t.useValue):Ra(Ea(t),Ca)}(t);if(ja(t)||!0!==t.multi)this.records.get(i);else{var a=this.records.get(i);a||((a=Ra(void 0,Ca,!0)).factory=function(){return Fn(a.multi)},this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,r)}},{key:"hydrate",value:function(t,e){var n;return e.value===Ca&&(e.value=Da,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}},{key:"injectableDefInScope",value:function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();function Pa(t){var e=L(t),n=null!==e?e.factory:kt(t);if(null!==n)return n;var i=I(t);if(null!==i)return i.factory;if(t instanceof mn)throw new Error("Token ".concat(k(t)," is missing a \u0275prov definition."));if(t instanceof Function)return function(t){var e=t.length;if(e>0){var n=kn(e,"?");throw new Error("Can't resolve all parameters for ".concat(k(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[E]||t[Y]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Ea(t,n,r){var a,o=void 0;if(ja(t)){var s=C(t);return kt(s)||Pa(s)}if(Ya(t))o=function(){return C(t.useValue)};else if((a=t)&&a.useFactory)o=function(){return t.useFactory.apply(t,i(Fn(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))o=function(){return Yn(C(t.useExisting))};else{var l=C(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return kt(l)||Pa(l);o=function(){return e(l,i(Fn(t.deps)))}}return o}function Ra(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function Ya(t){return null!==t&&"object"==typeof t&&In in t}function ja(t){return"function"==typeof t}var Na=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Aa(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},Fa=function(){var t=function(){function t(){s(this,t)}return u(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Na(t,e,""):Na(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=Ln,t.NULL=new Ma,t.\u0275prov=O({token:t,providedIn:"any",factory:function(){return Yn(xa)}}),t.__NG_ELEMENT_ID__=-1,t}();function Va(t){return function(t){var e,n=Wt(t);if(n){if(Array.isArray(n)){var i,r=n,a=void 0,o=void 0;if((e=t)&&e.constructor&&e.constructor.\u0275cmp){if(-1==(i=function(t,e){var n=t[1].components;if(n)for(var i=0;i<n.length;i++){var r=n[i];if(Bt(r,t)[8]===e)return r}else if(Bt(20,t)[8]===e)return 20;return-1}(r,t)))throw new Error("The provided component was not found in the application");a=t}else if(function(t){return t&&t.constructor&&t.constructor.\u0275dir}(t)){if(-1==(i=function(t,e){for(var n=t[1].firstChild;n;){for(var i=n.directiveEnd,r=n.directiveStart;r<i;r++)if(t[r]===e)return n.index;n=ji(n)}return-1}(r,t)))throw new Error("The provided directive was not found in the application");o=function(t,e,n){var i=e[1].data[t],r=i.directiveStart;return 0==r?K:(2&i.flags&&r++,e.slice(r,i.directiveEnd))}(i,r)}else if(-1==(i=Yi(r,t)))return null;var s=Nt(r[i]),l=Wt(s),u=l&&!Array.isArray(l)?l:Ei(r,i,s);if(a&&void 0===u.component&&(u.component=a,Ri(u.component,u)),o&&void 0===u.directives){u.directives=o;for(var c=0;c<o.length;c++)Ri(o[c],u)}Ri(u.native,u),n=u}}else for(var h=t,d=h;d=d.parentNode;){var f=Wt(d);if(f){var p;if(!(p=Array.isArray(f)?f:f.lView))return null;var m=Yi(p,h);if(m>=0){var g=Nt(p[m]),v=Ei(p,m,g);Ri(g,v),n=v;break}}}return n||null}(t).native}function Ha(t,e){Le(Ut(t)[1],ne())}function za(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,i=[t];e;){var r=void 0;if(wt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var a=t;a.inputs=Ba(t.inputs),a.declaredInputs=Ba(t.declaredInputs),a.outputs=Ba(t.outputs);var o=r.hostBindings;o&&Ga(t,o);var s=r.viewQuery,l=r.contentQueries;if(s&&Wa(t,s),l&&Ua(t,l),w(t.inputs,r.inputs),w(t.declaredInputs,r.declaredInputs),w(t.outputs,r.outputs),wt(r)&&r.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var h=0;h<c.length;h++){var d=c[h];d&&d.ngInherit&&d(t),d===za&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){for(var e=0,n=null,i=t.length-1;i>=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Ve(r.hostAttrs,n=Ve(n,r.hostAttrs))}}(i)}function Ba(t){return t===Z?{}:t===K?[]:t}function Wa(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function Ua(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function Ga(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}var qa=null;function Xa(){if(!qa){var t=X.Symbol;if(t&&t.iterator)qa=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var i=e[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(qa=i)}}return qa}var Za=function(){function t(e){s(this,t),this.wrapped=e}return u(t,null,[{key:"wrap",value:function(e){return new t(e)}},{key:"unwrap",value:function(e){return t.isWrapped(e)?e.wrapped:e}},{key:"isWrapped",value:function(e){return e instanceof t}}]),t}();function Ka(t){return!!Ja(t)&&(Array.isArray(t)||!(t instanceof Map)&&Xa()in t)}function Ja(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Qa(t,e,n){return t[e]=n}function $a(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function to(t,e,n,i){var r=$a(t,e,n);return $a(t,e+1,i)||r}function eo(t,e,n,i,r){var a=to(t,e,n,i);return $a(t,e+2,r)||a}function no(t,e,n,i,r,a){var o=to(t,e,n,i);return to(t,e+2,r,a)||o}function io(t,e,n,i){var r=$t();return $a(r,he(),e)&&(te(),function(t,e,n,i,r,a){var o=Vt(t,e);!function(t,e,n,i,r,a,o){if(null==a)Yt(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{var s=null==o?Mt(a):o(a,i||"",r);Yt(t)?t.setAttribute(e,r,s,n):n?e.setAttributeNS(n,r,s):e.setAttribute(r,s)}}(e[11],o,a,t.value,n,i,r)}(De(),r,t,e,n,i)),io}function ro(t,e,n,i){return $a(t,he(),n)?e+Mt(n)+i:Sr}function ao(t,e,n,i,r,a){var o=to(t,ce(),n,r);return de(2),o?e+Mt(n)+i+Mt(r)+a:Sr}function oo(t,e,n,i,r,a,o,s){var l=$t(),u=te(),c=t+20,h=u.firstCreatePass?function(t,e,n,i,r,a,o,s,l){var u=e.consts,c=Yr(e,t,4,o||null,Xt(u,s));Kr(e,n,c,Xt(u,l)),Le(e,c);var h=c.tViews=Gr(2,c,i,r,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),h.queries=e.queries.embeddedTView(c)),c}(c,u,l,e,n,i,r,a,o):u.data[c];re(h,!1);var d=l[11].createComment("");or(u,l,d,h),Ri(d,l),ca(l,l[c]=oa(d,l,d,h)),bt(h)&&Br(u,l,h),null!=o&&Wr(l,h,s)}function so(t){return zt(Jt.lFrame.contextLView,20+t)}function lo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.Default,n=$t();return null===n?Yn(t,e):en(ne(),n,C(t),e)}function uo(t,e,n){var i=$t();return $a(i,he(),e)&&Zr(te(),De(),i,t,e,i[11],n,!1),uo}function co(t,e,n,i,r){var a=r?"class":"style";ba(t,n,e.inputs[a],a,i)}function ho(t,e,n,i){var r=$t(),a=te(),o=20+t,s=r[11],l=r[o]=Xi(s,e,Jt.lFrame.currentNamespace),u=a.firstCreatePass?function(t,e,n,i,r,a,o){var s=e.consts,l=Yr(e,t,2,r,Xt(s,a));return Kr(e,n,l,Xt(s,o)),null!==l.attrs&&ka(l,l.attrs,!1),null!==l.mergedAttrs&&ka(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,a,r,0,e,n,i):a.data[o];re(u,!0);var c=u.mergedAttrs;null!==c&&je(s,l,c);var h=u.classes;null!==h&&fr(s,l,h);var d=u.styles;null!==d&&dr(s,l,d),64!=(64&u.flags)&&or(a,r,l,u),0===Jt.lFrame.elementDepthCount&&Ri(l,r),Jt.lFrame.elementDepthCount++,bt(u)&&(Br(a,r,u),zr(a,u,r)),null!==i&&Wr(r,u)}function fo(){var t=ne();ae()?oe():re(t=t.parent,!1);var e=t;Jt.lFrame.elementDepthCount--;var n=te();n.firstCreatePass&&(Le(n,t),yt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&co(n,e,$t(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&co(n,e,$t(),e.stylesWithoutHost,!1)}function po(t,e,n,i){ho(t,e,n,i),fo()}function mo(t,e,n){var i=$t(),r=te(),a=t+20,o=r.firstCreatePass?function(t,e,n,i,r){var a=e.consts,o=Xt(a,i),s=Yr(e,t,8,"ng-container",o);return null!==o&&ka(s,o,!0),Kr(e,n,s,Xt(a,r)),null!==e.queries&&e.queries.elementStart(e,s),s}(a,r,i,e,n):r.data[a];re(o,!0);var s=i[a]=i[11].createComment("");or(r,i,s,o),Ri(s,i),bt(o)&&(Br(r,i,o),zr(r,o,i)),null!=n&&Wr(i,o)}function go(){var t=ne(),e=te();ae()?oe():re(t=t.parent,!1),e.firstCreatePass&&(Le(e,t),yt(t)&&e.queries.elementEnd(t))}function vo(t,e,n){mo(t,e,n),go()}function yo(){return $t()}function _o(t){return!!t&&"function"==typeof t.then}function bo(t){return!!t&&"function"==typeof t.subscribe}function wo(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=$t(),a=te(),o=ne();return xo(a,r,r[11],o,t,e,n,i),wo}function ko(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=ne(),a=$t(),o=te();return xo(o,a,ya(pe(o.data),r,a),r,t,e,n,i),ko}function xo(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=bt(i),u=t.firstCreatePass&&va(t),c=ga(e),h=!0;if(3&i.type){var d=Vt(i,e),f=s?s(d):Z,p=f.target||d,m=c.length,g=s?function(t){return s(Nt(t[i.index])).target}:i.index;if(Yt(n)){var v=null;if(!s&&l&&(v=function(t,e,n,i){var r=t.cleanup;if(null!=r)for(var a=0;a<r.length-1;a+=2){var o=r[a];if(o===n&&r[a+1]===i){var s=e[7],l=r[a+2];return s.length>l?s[l]:null}"string"==typeof o&&(a+=2)}return null}(t,e,r,i.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=a,v.__ngLastListenerFn__=a,h=!1;else{a=So(i,e,a,!1);var y=n.listen(f.name||p,r,a);c.push(a,y),u&&u.push(r,g,m,m+1)}}else a=So(i,e,a,!0),p.addEventListener(r,a,o),c.push(a),u&&u.push(r,g,m,o)}else a=So(i,e,a,!1);var _,b=i.outputs;if(h&&null!==b&&(_=b[r])){var w=_.length;if(w)for(var k=0;k<w;k+=2){var x=e[_[k]][_[k+1]].subscribe(a),M=c.length;c.push(a,x),u&&u.push(r,i.index,M,-(M+1))}}}function Mo(t,e,n){try{return!1!==e(n)}catch(i){return _a(t,i),!1}}function So(t,e,n,i){return function r(a){if(a===Function)return n;var o=2&t.flags?Bt(t.index,e):e;0==(32&e[2])&&ha(o);for(var s=Mo(e,n,a),l=r.__ngNextListenerFn__;l;)s=Mo(e,l,a)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(a.preventDefault(),a.returnValue=!1),s}}function Co(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(Jt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Jt.lFrame.contextLView))[8]}(t)}function Do(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),r=0;r<e.length;r++){var a=e[r];if("*"!==a){if(null===i?wr(t,a,!0):kr(i,a))return r}else n=r}return n}function Oo(t){var e=$t()[16][6];if(!e.projection)for(var n=e.projection=kn(t?t.length:1,null),i=n.slice(),r=e.child;null!==r;){var a=t?Do(r,t):0;null!==a&&(i[a]?i[a].projectionNext=r:n[a]=r,i[a]=r),r=r.next}}function To(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=$t(),r=te(),a=Yr(r,20+t,16,null,n||null);null===a.projection&&(a.projection=e),oe(),64!=(64&a.flags)&&function(t,e,n){hr(e[11],0,e,n,$i(t,n,e),rr(n.parent||e[6],n,e))}(r,i,a)}function Lo(t,e,n){return Ao(t,"",e,"",n),Lo}function Ao(t,e,n,i,r){var a=$t(),o=ro(a,e,n,i);return o!==Sr&&Zr(te(),De(),a,t,o,a[11],r,!1),Ao}function Io(t,e,n,i,r,a,o){var s=$t(),l=ao(s,e,n,i,r,a);return l!==Sr&&Zr(te(),De(),s,t,l,s[11],o,!1),Io}var Po=[];function Eo(t,e,n,i,r){for(var a=t[n+1],o=null===e,s=i?Tr(a):Ar(a),l=!1;0!==s&&(!1===l||o);){var u=t[s+1];Ro(t[s],e)&&(l=!0,t[s+1]=i?Pr(u):Lr(u)),s=i?Tr(u):Ar(u)}l&&(t[n+1]=i?Lr(a):Pr(a))}function Ro(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Sn(t,e)>=0}var Yo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jo(t){return t.substring(Yo.key,Yo.keyEnd)}function No(t,e){var n=Yo.textEnd;return n===e?-1:(e=Yo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Yo.key=e,n),Fo(t,e,n))}function Fo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Vo(t,e,n){return Wo(t,e,n,!1),Vo}function Ho(t,e){return Wo(t,e,null,!0),Ho}function zo(t){Uo(xn,Bo,t,!0)}function Bo(t,e){for(var n=function(t){return function(t){Yo.key=0,Yo.keyEnd=0,Yo.value=0,Yo.valueEnd=0,Yo.textEnd=t.length}(t),No(t,Fo(t,0,Yo.textEnd))}(e);n>=0;n=No(e,n))xn(t,jo(e),!0)}function Wo(t,e,n,i){var r=$t(),a=te(),o=de(2);a.firstUpdatePass&&qo(a,t,o,i),e!==Sr&&$a(r,o,e)&&Ko(a,a.data[Se()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=k(Xn(t)))),t}(e,n),i,o)}function Uo(t,e,n,i){var r=te(),a=de(2);r.firstUpdatePass&&qo(r,null,a,i);var o=$t();if(n!==Sr&&$a(o,a,n)){var s=r.data[Se()];if($o(s,i)&&!Go(r,a)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=x(l,n||"")),co(r,s,o,n,i)}else!function(t,e,n,i,r,a,o,s){r===Sr&&(r=Po);for(var l=0,u=0,c=0<r.length?r[0]:null,h=0<a.length?a[0]:null;null!==c||null!==h;){var d=l<r.length?r[l+1]:void 0,f=u<a.length?a[u+1]:void 0,p=null,m=void 0;c===h?(l+=2,u+=2,d!==f&&(p=h,m=f)):null===h||null!==c&&c<h?(l+=2,p=c):(u+=2,p=h,m=f),null!==p&&Ko(t,e,n,i,p,m,o,s),c=l<r.length?r[l]:null,h=u<a.length?a[u]:null}}(r,s,o,o[11],o[a+1],o[a+1]=function(t,e,n){if(null==n||""===n)return Po;var i=[],r=Xn(n);if(Array.isArray(r))for(var a=0;a<r.length;a++)t(i,r[a],!0);else if("object"==typeof r)for(var o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,a)}}function Go(t,e){return e>=t.expandoStartIndex}function qo(t,e,n,i){var r=t.data;if(null===r[n+1]){var a=r[Se()],o=Go(t,n);$o(a,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){var r=pe(t),a=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Zo(n=Xo(null,t,e,n,i),e.attrs,i),a=null);else{var o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=Xo(r,t,e,n,i),null===a){var s=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==Ar(i))return t[Tr(i)]}(t,e,i);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[Tr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,s=Zo(s=Xo(null,t,e,s[1],i),e.attrs,i))}else a=function(t,e,n){for(var i=void 0,r=e.directiveEnd,a=1+e.directiveStylingLast;a<r;a++)i=Zo(i,t[a].hostAttrs,n);return Zo(i,e.attrs,n)}(t,e,i)}return void 0!==a&&(i?e.residualClasses=a:e.residualStyles=a),n}(r,a,e,i),function(t,e,n,i,r,a){var o=a?e.classBindings:e.styleBindings,s=Tr(o),l=Ar(o);t[i]=n;var u,c=!1;if(Array.isArray(n)){var h=n;(null===(u=h[1])||Sn(h,u)>0)&&(c=!0)}else u=n;if(r)if(0!==l){var d=Tr(t[s+1]);t[i+1]=Or(d,s),0!==d&&(t[d+1]=Ir(t[d+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=Or(s,0),0!==s&&(t[s+1]=Ir(t[s+1],i)),s=i;else t[i+1]=Or(l,0),0===s?s=i:t[l+1]=Ir(t[l+1],i),l=i;c&&(t[i+1]=Lr(t[i+1])),Eo(t,u,i,!0),Eo(t,u,i,!1),function(t,e,n,i,r){var a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&Sn(a,e)>=0&&(n[i+1]=Pr(n[i+1]))}(e,u,t,i,a),o=Or(s,l),a?e.classBindings=o:e.styleBindings=o}(r,a,e,n,o,i)}}function Xo(t,e,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(i=Zo(i,(a=e[s]).hostAttrs,r),a!==t);)s++;return null!==t&&(n.directiveStylingLast=s),i}function Zo(t,e,n){var i=n?1:2,r=-1;if(null!==e)for(var a=0;a<e.length;a++){var o=e[a];"number"==typeof o?r=o:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),xn(t,o,!!n||e[++a]))}return void 0===t?null:t}function Ko(t,e,n,i,r,a,o,s){if(3&e.type){var l=t.data,u=l[s+1];Qo(1==(1&u)?Jo(l,e,n,r,Ar(u),o):void 0)||(Qo(a)||2==(2&u)&&(a=Jo(l,null,n,r,s,o)),function(t,e,n,i,r){var a=Yt(t);if(e)r?a?t.addClass(n,i):n.classList.add(i):a?t.removeClass(n,i):n.classList.remove(i);else{var o=-1===i.indexOf("-")?void 0:Hi.DashCase;if(null==r)a?t.removeStyle(n,i,o):n.style.removeProperty(i);else{var s="string"==typeof r&&r.endsWith("!important");s&&(r=r.slice(0,-10),o|=Hi.Important),a?t.setStyle(n,i,r,o):n.style.setProperty(i,r,s?"important":"")}}}(i,o,Ft(Se(),n),r,a))}}function Jo(t,e,n,i,r,a){for(var o=null===e,s=void 0;r>0;){var l=t[r],u=Array.isArray(l),c=u?l[1]:l,h=null===c,d=n[r+1];d===Sr&&(d=h?Po:void 0);var f=h?Mn(d,i):c===i?d:void 0;if(u&&!Qo(f)&&(f=Mn(l,i)),Qo(f)&&(s=f,o))return s;var p=t[r+1];r=o?Tr(p):Ar(p)}if(null!==e){var m=a?e.residualClasses:e.residualStyles;null!=m&&(s=Mn(m,i))}return s}function Qo(t){return void 0!==t}function $o(t,e){return 0!=(t.flags&(e?16:32))}function ts(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=$t(),i=te(),r=t+20,a=i.firstCreatePass?Yr(i,r,1,e,null):i.data[r],o=n[r]=function(t,e){return Yt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);or(i,n,o,a),re(a,!1)}function es(t){return ns("",t,""),es}function ns(t,e,n){var i=$t(),r=ro(i,t,e,n);return r!==Sr&&wa(i,Se(),r),ns}function is(t,e,n,i,r){var a=$t(),o=ao(a,t,e,n,i,r);return o!==Sr&&wa(a,Se(),o),is}function rs(t,e,n,i,r,a,o){var s=$t(),l=function(t,e,n,i,r,a,o,s){var l=eo(t,ce(),n,r,o);return de(3),l?e+Mt(n)+i+Mt(r)+a+Mt(o)+s:Sr}(s,t,e,n,i,r,a,o);return l!==Sr&&wa(s,Se(),l),rs}function as(t,e,n,i,r,a,o,s,l,u,c,h,d){var f=$t(),p=function(t,e,n,i,r,a,o,s,l,u,c,h,d,f){var p=ce(),m=no(t,p,n,r,o,l);return m=to(t,p+4,c,d)||m,de(6),m?e+Mt(n)+i+Mt(r)+a+Mt(o)+s+Mt(l)+u+Mt(c)+h+Mt(d)+f:Sr}(f,t,e,n,i,r,a,o,s,l,u,c,h,d);return p!==Sr&&wa(f,Se(),p),as}function os(t,e,n){Uo(xn,Bo,ro($t(),t,e,n),!0)}function ss(t,e,n){var i=$t();return $a(i,he(),e)&&Zr(te(),De(),i,t,e,i[11],n,!0),ss}function ls(t,e,n){var i=$t();if($a(i,he(),e)){var r=te(),a=De();Zr(r,a,i,t,e,ya(pe(r.data),a,i),n,!0)}return ls}var us=void 0,cs=["en",[["a","p"],["AM","PM"],us],[["AM","PM"],us,us],[["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"]],us,[["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"]],us,[["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}",us,"{1} 'at' {0}",us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],hs={};function ds(t,e,n){"string"!=typeof e&&(n=e,e=t[vs.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),hs[e]=t,n&&(hs[e][vs.ExtraData]=n)}function fs(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=gs(e);if(n)return n;var i=e.split("-")[0];if(n=gs(i))return n;if("en"===i)return cs;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function ps(t){return fs(t)[vs.CurrencyCode]||null}function ms(t){return fs(t)[vs.PluralCase]}function gs(t){return t in hs||(hs[t]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[t]),hs[t]}var vs=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});function ys(t){var e;null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(e," <=Actual]"))}(0,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function _s(t,e,n,i,r){if(t=C(t),Array.isArray(t))for(var a=0;a<t.length;a++)_s(t[a],e,n,i,r);else{var o=te(),s=$t(),l=ja(t)?t:C(t.provide),u=Ea(t),c=ne(),h=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(ja(t)||!t.multi){var p=new Ye(u,r,lo),m=ks(l,e,r?h:h+f,d);-1===m?(Qe(Xe(c,s),o,l),bs(o,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var g=ks(l,e,h+f,d),v=ks(l,e,h,h+f),y=g>=0&&n[g],_=v>=0&&n[v];if(r&&!_||!r&&!y){Qe(Xe(c,s),o,l);var b=function(t,e,n,i,r){var a=new Ye(t,n,lo);return a.multi=[],a.index=e,a.componentProviders=0,ws(a,r,i&&!n),a}(r?Ms:xs,n.length,r,i,u);!r&&_&&(n[v].providerFactory=b),bs(o,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(b),s.push(b)}else bs(o,t,g>-1?g:v,ws(n[r?v:g],u,!r&&i));!r&&i&&_&&n[v].componentProviders++}}}function bs(t,e,n,i){var r=ja(e);if(r||e.useClass){var a=(e.useClass||e).prototype.ngOnDestroy;if(a){var o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function ws(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ks(t,e,n,i){for(var r=n;r<i;r++)if(e[r]===t)return r;return-1}function xs(t,e,n,i){return Ss(this.multi,[])}function Ms(t,e,n,i){var r,a=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,s=sn(n,n[1],this.providerFactory.index,i);Ss(a,r=s.slice(0,o));for(var l=o;l<s.length;l++)r.push(s[l])}else Ss(a,r=[]);return r}function Ss(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function Cs(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(t,e,n){var i=te();if(i.firstCreatePass){var r=wt(t);_s(n,i.data,i.blueprint,r,!0),_s(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}}var Ds=function t(){s(this,t)},Os=function(){function t(){s(this,t)}return u(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(k(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Ts=function(){var t=function t(){s(this,t)};return t.NULL=new Os,t}();function Ls(){}function As(t,e){return new Ps(Vt(t,e))}var Is=function(){return As(ne(),$t())},Ps=function(){var t=function t(e){s(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=Is,t}(),Es=function t(){s(this,t)},Rs=function(){var t=function t(){s(this,t)};return t.__NG_ELEMENT_ID__=function(){return Ys()},t}(),Ys=function(){var t=$t(),e=Bt(ne().index,t);return function(t){return t[11]}(gt(e)?e:t)},js=function(){var t=function t(){s(this,t)};return t.\u0275prov=O({token:t,providedIn:"root",factory:function(){return null}}),t}(),Ns=function t(e){s(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},Fs=new Ns("11.0.5"),Vs=function(){function t(){s(this,t)}return u(t,[{key:"supports",value:function(t){return Ka(t)}},{key:"create",value:function(t){return new zs(t)}}]),t}(),Hs=function(t,e){return e},zs=function(){function t(e){s(this,t),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||Hs}return u(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var a=!n||e&&e.currentIndex<Gs(n,i,r)?e:n,o=Gs(a,i,r),s=a.currentIndex;if(a===n)i--,n=n._nextRemoved;else if(e=e._next,null==a.previousIndex)i++;else{r||(r=[]);var l=o-i,u=s-i;if(l!=u){for(var c=0;c<l;c++){var h=c<r.length?r[c]:r[c]=0,d=h+c;u<=d&&d<l&&(r[c]=h+1)}r[a.previousIndex]=u-l}}o!==s&&t(a,o,s)}}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachMovedItem",value:function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"forEachIdentityChange",value:function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}},{key:"diff",value:function(t){if(null==t&&(t=[]),!Ka(t))throw new Error("Error trying to diff '".concat(k(t),"'. Only arrays and iterables are allowed"));return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n,i,r,a=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)i=t[s],r=this._trackByFn(s,i),null!==a&&Object.is(a.trackById,r)?(o&&(a=this._verifyReinsertion(a,i,r,s)),Object.is(a.item,i)||this._addIdentityChange(a,i)):(a=this._mismatch(a,i,r,s),o=!0),a=a._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var i,r=t[Xa()]();!(i=r.next()).done;)e(i.value)}(t,function(t){r=e._trackByFn(n,t),null!==a&&Object.is(a.trackById,r)?(o&&(a=e._verifyReinsertion(a,t,r,n)),Object.is(a.item,t)||e._addIdentityChange(a,t)):(a=e._mismatch(a,t,r,n),o=!0),a=a._next,n++}),this.length=n;return this._truncate(a),this.collection=t,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(t,e,n,i){var r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Bs(e,n),r,i),t}},{key:"_verifyReinsertion",value:function(t,e,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}},{key:"_truncate",value:function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)}},{key:"_reinsertAfter",value:function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_moveAfter",value:function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_addAfter",value:function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}},{key:"_insertAfter",value:function(t,e,n){var i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Us),this._linkedRecords.put(t),t.currentIndex=n,t}},{key:"_remove",value:function(t){return this._addToRemovals(this._unlink(t))}},{key:"_unlink",value:function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}},{key:"_addToMoves",value:function(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}},{key:"_addToRemovals",value:function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Us),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}},{key:"_addIdentityChange",value:function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),t}(),Bs=function t(e,n){s(this,t),this.item=e,this.trackById=n,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},Ws=function(){function t(){s(this,t),this._head=null,this._tail=null}return u(t,[{key:"add",value:function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}},{key:"get",value:function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}},{key:"remove",value:function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}]),t}(),Us=function(){function t(){s(this,t),this.map=new Map}return u(t,[{key:"put",value:function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Ws,this.map.set(e,n)),n.add(t)}},{key:"get",value:function(t,e){var n=this.map.get(t);return n?n.get(t,e):null}},{key:"remove",value:function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),t}();function Gs(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+e+r}var qs=function(){function t(){s(this,t)}return u(t,[{key:"supports",value:function(t){return t instanceof Map||Ja(t)}},{key:"create",value:function(){return new Xs}}]),t}(),Xs=function(){function t(){s(this,t),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return u(t,[{key:"forEachItem",value:function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachChangedItem",value:function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"diff",value:function(t){if(t){if(!(t instanceof Map||Ja(t)))throw new Error("Error trying to diff '".concat(k(t),"'. Only maps and objects are allowed"))}else t=new Map;return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,i){if(n&&n.key===i)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var r=e._getOrCreateRecordForKey(i,t);n=e._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}},{key:"_getOrCreateRecordForKey",value:function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var a=new Zs(t);return this._records.set(t,a),a.currentValue=e,this._addToAdditions(a),a}},{key:"_reset",value:function(){if(this.isDirty){var t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}},{key:"_addToAdditions",value:function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}},{key:"_addToChanges",value:function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}},{key:"_forEach",value:function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),t}(),Zs=function t(e){s(this,t),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},Ks=function(){var t=function(){function t(e){s(this,t),this.factories=e}return u(t,[{key:"find",value:function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'"))}}],[{key:"create",value:function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Tn,new Dn]]}}}]),t}();return t.\u0275prov=O({token:t,providedIn:"root",factory:function(){return new t([new Vs])}}),t}(),Js=function(){var t=function(){function t(e){s(this,t),this.factories=e}return u(t,[{key:"find",value:function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"'"))}}],[{key:"create",value:function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Tn,new Dn]]}}}]),t}();return t.\u0275prov=O({token:t,providedIn:"root",factory:function(){return new t([new qs])}}),t}();function Qs(t,e,n,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=e[n.index];if(null!==o&&r.push(Nt(o)),vt(o))for(var s=10;s<o.length;s++){var l=o[s],u=l[1].firstChild;null!==u&&Qs(l[1],l,u,r)}var c=n.type;if(8&c)Qs(t,e,n.child,r);else if(32&c)for(var h=zi(n,e),d=void 0;d=h();)r.push(d);else if(16&c){var f=e[16],p=f[6].projection[n.projection];if(Array.isArray(p))r.push.apply(r,i(p));else{var m=Bi(f);Qs(m[1],m,p,r,!0)}}n=a?n.projectionNext:n.next}return r}var $s=function(){function t(e,n){s(this,t),this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return u(t,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ji(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){qr(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){ha(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){da(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){le(!0);try{da(t,e,n)}finally{le(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,cr(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}},{key:"rootNodes",get:function(){var t=this._lView,e=t[1];return Qs(e,t,e.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),t}(),tl=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this,t))._view=t,i}return u(n,[{key:"detectChanges",value:function(){fa(this._view)}},{key:"checkNoChanges",value:function(){!function(t){le(!0);try{fa(t)}finally{le(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}($s),el=il,nl=function(){var t=function t(){s(this,t)};return t.__NG_ELEMENT_ID__=el,t.__ChangeDetectorRef__=!0,t}();function il(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,e,n){if(!n&&_t(t)){var i=Bt(t.index,e);return new $s(i,i)}return 47&t.type?new $s(e[16],e):null}(ne(),$t(),t)}var rl=[new qs],al=new Ks([new Vs]),ol=new Js(rl),sl=function(){return cl(ne(),$t())},ll=function(){var t=function t(){s(this,t)};return t.__NG_ELEMENT_ID__=sl,t}(),ul=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this))._declarationLView=t,a._declarationTContainer=i,a.elementRef=r,a}return u(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=Rr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Nr(e,n,t),new $s(n)}}]),n}(ll);function cl(t,e){return 4&t.type?new ul(e,t,As(t,e)):null}var hl=function t(){s(this,t)},dl=function t(){s(this,t)},fl=function(){return yl(ne(),$t())},pl=function(){var t=function t(){s(this,t)};return t.__NG_ELEMENT_ID__=fl,t}(),ml=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this))._lContainer=t,a._hostTNode=i,a._hostLView=r,a}return u(n,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=gl(this._lContainer);return null!==e&&e[t]||null}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var a=n||this.parentInjector;if(!r&&null==t.ngModule&&a){var o=a.get(hl,null);o&&(r=o)}var s=t.create(a,i,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var i=t._lView,r=i[1];if(vt(i[3])){var a=this.indexOf(t);if(-1!==a)this.detach(a);else{var o=i[3],s=new n(o,o[6],o[3]);s.detach(s.indexOf(t))}}var l=this._adjustIndex(e),u=this._lContainer;!function(t,e,n,i){var r=10+i,a=n.length;i>0&&(n[r-1][4]=e),i<a-10?(e[4]=n[r],bn(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;var o=e[17];null!==o&&n!==o&&function(t,e){var n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);var s=e[19];null!==s&&s.insertView(t),e[2]|=128}(r,i,u,l);var c=lr(l,u),h=i[11],d=ir(h,u[7]);return null!==d&&function(t,e,n,i,r,a){i[0]=r,i[6]=e,cr(t,i,n,1,r,a)}(r,u[6],h,i,d,c),t.attachToViewContainerRef(this),bn(vl(u),l,t),t}},{key:"move",value:function(t,e){return this.insert(t,e)}},{key:"indexOf",value:function(t){var e=gl(this._lContainer);return null!==e?e.indexOf(t):-1}},{key:"remove",value:function(t){var e=this._adjustIndex(t,-1),n=Ki(this._lContainer,e);n&&(wn(vl(this._lContainer),e),Ji(n[1],n))}},{key:"detach",value:function(t){var e=this._adjustIndex(t,-1),n=Ki(this._lContainer,e);return n&&null!=wn(vl(this._lContainer),e)?new $s(n):null}},{key:"_adjustIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}},{key:"element",get:function(){return As(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new cn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=Je(this._hostTNode,this._hostLView);if(ze(t)){var e=We(t,this._hostLView),n=Be(t);return new cn(e[1].data[n+8],e)}return new cn(null,this._hostLView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),n}(pl);function gl(t){return t[8]}function vl(t){return t[8]||(t[8]=[])}function yl(t,e){var n,i=e[t.index];if(vt(i))n=i;else{var r;if(8&t.type)r=Nt(i);else{var a=e[11];r=a.createComment("");var o=Vt(t,e);tr(a,ir(a,o),r,function(t,e){return Yt(t)?t.nextSibling(e):e.nextSibling}(a,o),!1)}e[t.index]=n=oa(i,e,r,t),ca(e,n)}return new ml(n,t,e)}var _l={},bl=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this)).ngModule=t,i}return u(n,[{key:"resolveComponentFactory",value:function(t){var e=pt(t);return new xl(e,this.ngModule)}}]),n}(Ts);function wl(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var kl=new mn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ni}}),xl=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).componentDef=t,r.ngModule=i,r.componentType=t.type,r.selector=t.selectors.map(Mr).join(","),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!i,r}return u(n,[{key:"create",value:function(t,e,n,i){var r,a,o=(i=i||this.ngModule)?function(t,e){return{get:function(n,i,r){var a=t.get(n,_l,r);return a!==_l||i===_l?a:e.get(n,i,r)}}}(t,i.injector):t,s=o.get(Es,jt),l=o.get(js,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Yt(t))return t.selectRootElement(e,n===B.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(u,n,this.componentDef.encapsulation):Xi(s.createRenderer(null,this.componentDef),c,function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),d=this.componentDef.onPush?576:528,f={components:[],scheduler:Ni,clean:ma,playerHandler:null,flags:0},p=Gr(0,null,null,1,0,null,null,null,null,null),m=Rr(null,p,f,d,null,null,s,u,l,o);_e(m);try{var g=function(t,e,n,i,r,a){var o=n[1];n[20]=t;var s=Yr(o,20,2,"#host",null),l=s.mergedAttrs=e.hostAttrs;null!==l&&(ka(s,l,!0),null!==t&&(je(r,t,l),null!==s.classes&&fr(r,t,s.classes),null!==s.styles&&dr(r,t,s.styles)));var u=i.createRenderer(t,e),c=Rr(n,Ur(e),null,e.onPush?64:16,n[20],s,i,u,null,null);return o.firstCreatePass&&(Qe(Xe(s,n),o,e.type),$r(o,s),ea(s,n.length,1)),ca(n,c),n[20]=c}(h,this.componentDef,m,s,u);if(h)if(n)je(u,h,["ng-version",Fs.full]);else{var v=function(t){for(var e=[],n=[],i=1,r=2;i<t.length;){var a=t[i];if("string"==typeof a)2===r?""!==a&&e.push(a,t[++i]):8===r&&n.push(a);else{if(!_r(r))break;r=a}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]),y=v.attrs,_=v.classes;y&&je(u,h,y),_&&_.length>0&&fr(u,h,_.join(" "))}if(a=Ht(p,20),void 0!==e)for(var b=a.projection=[],w=0;w<this.ngContentSelectors.length;w++){var k=e[w];b.push(null!=k?Array.from(k):null)}r=function(t,e,n,i,r){var a=n[1],o=function(t,e,n){var i=ne();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),na(t,i,e,jr(t,e,1,null),n));var r=sn(e,t,i.directiveStart,i);Ri(r,e);var a=Vt(i,e);return a&&Ri(a,e),r}(a,n,e);if(i.components.push(o),t[8]=o,r&&r.forEach(function(t){return t(o,e)}),e.contentQueries){var s=ne();e.contentQueries(1,o,s.directiveStart)}var l=ne();return!a.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Ce(l.index),Jr(n[1],l,0,l.directiveStart,l.directiveEnd,e),Qr(e,o)),o}(g,this.componentDef,m,f,[Ha]),Nr(p,m,null)}finally{Me()}return new Ml(this.componentType,r,As(a,m),m,a)}},{key:"inputs",get:function(){return wl(this.componentDef.inputs)}},{key:"outputs",get:function(){return wl(this.componentDef.outputs)}}]),n}(Ds),Ml=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this)).location=r,l._rootLView=a,l._tNode=o,l.instance=i,l.hostView=l.changeDetectorRef=new tl(a),l.componentType=t,l}return u(n,[{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(t){this.hostView.onDestroy(t)}},{key:"injector",get:function(){return new cn(this._tNode,this._rootLView)}}]),n}(function(){return function t(){s(this,t)}}()),Sl=new Map,Cl=function(t){h(n,t);var e=f(n);function n(t,i){var r;s(this,n),(r=e.call(this))._parent=i,r._bootstrapComponents=[],r.injector=m(r),r.destroyCbs=[],r.componentFactoryResolver=new bl(m(r));var a=mt(t),o=t[et]||null;return o&&ys(o),r._bootstrapComponents=Vi(a.bootstrap),r._r3Injector=Aa(t,i,[{provide:hl,useValue:m(r)},{provide:Ts,useValue:r.componentFactoryResolver}],k(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return u(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fa.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.Default;return t===Fa||t===hl||t===xa?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(hl),Dl=function(t){h(i,t);var e=f(i);function i(t){var r,a,o;return s(this,i),(r=e.call(this)).moduleType=t,null!==mt(t)&&(a=t,o=new Set,function t(e){var i=mt(e,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(k(e)," vs ").concat(k(e.name)))}(r,Sl.get(r),e),Sl.set(r,e));var a,s=n(Vi(i.imports));try{for(s.s();!(a=s.n()).done;){var l=a.value;o.has(l)||(o.add(l),t(l))}}catch(u){s.e(u)}finally{s.f()}}(a)),r}return u(i,[{key:"create",value:function(t){return new Cl(this.moduleType,t)}}]),i}(dl);function Ol(t,e,n){var i=ue()+t,r=$t();return r[i]===Sr?Qa(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function Tl(t,e,n,i){return El($t(),ue(),t,e,n,i)}function Ll(t,e,n,i,r){return Rl($t(),ue(),t,e,n,i,r)}function Al(t,e,n,i,r,a){return function(t,e,n,i,r,a,o,s){var l=e+n;return eo(t,l,r,a,o)?Qa(t,l+3,s?i.call(s,r,a,o):i(r,a,o)):Pl(t,l+3)}($t(),ue(),t,e,n,i,r,a)}function Il(t,e,n,i,r,a,o){return function(t,e,n,i,r,a,o,s,l){var u=e+n;return no(t,u,r,a,o,s)?Qa(t,u+4,l?i.call(l,r,a,o,s):i(r,a,o,s)):Pl(t,u+4)}($t(),ue(),t,e,n,i,r,a,o)}function Pl(t,e){var n=t[e];return n===Sr?void 0:n}function El(t,e,n,i,r,a){var o=e+n;return $a(t,o,r)?Qa(t,o+1,a?i.call(a,r):i(r)):Pl(t,o+1)}function Rl(t,e,n,i,r,a,o){var s=e+n;return to(t,s,r,a)?Qa(t,s+2,o?i.call(o,r,a):i(r,a)):Pl(t,s+2)}function Yl(t,e){var n,i=te(),r=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var i=e[n];if(t===i.name)return i}throw new xt("302","The pipe '".concat(t,"' could not be found!"))}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=kt(n.type)),o=F(lo);try{var s=Ge(!1),l=a();return Ge(s),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(i,$t(),r,l),l}finally{F(o)}}function jl(t,e,n){var i=t+20,r=$t(),a=zt(r,i);return Vl(r,Fl(r,i)?El(r,ue(),e,a.transform,n,a):a.transform(n))}function Nl(t,e,n,i){var r=t+20,a=$t(),o=zt(a,r);return Vl(a,Fl(a,r)?Rl(a,ue(),e,o.transform,n,i,o):o.transform(n,i))}function Fl(t,e){return t[1].data[e].pure}function Vl(t,e){return Za.isWrapped(e)&&(e=Za.unwrap(e),t[ce()]=Sr),e}var Hl=function(t){h(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return s(this,n),(t=e.call(this)).__isAsync=i,t}return u(n,[{key:"emit",value:function(t){c(b(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,i){var r,a=function(t){return null},o=function(){return null};t&&"object"==typeof t?(r=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(a=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(o=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(r=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},e&&(a=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)}),i&&(o=this.__isAsync?function(){setTimeout(function(){return i()})}:function(){i()}));var s=c(b(n.prototype),"subscribe",this).call(this,r,a,o);return t instanceof p.a&&t.add(s),s}}]),n}(d.a);function zl(){return this._results[Xa()]()}var Bl=function(){function t(){s(this,t),this.dirty=!0,this._results=[],this.changes=new Hl,this.length=0;var e=Xa(),n=t.prototype;n[e]||(n[e]=zl)}return u(t,[{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t){this._results=yn(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),t}(),Wl=function(){function t(e){s(this,t),this.queryList=e,this.matches=null}return u(t,[{key:"clone",value:function(){return new t(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),t}(),Ul=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,t),this.queries=e}return u(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],a=0;a<i;a++){var o=n.getByIndex(a);r.push(this.queries[o.indexInDeclarationView].clone())}return new t(r)}return null}},{key:"insertView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"detachView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"dirtyQueriesWithMatches",value:function(t){for(var e=0;e<this.queries.length;e++)null!==uu(t,e).matches&&this.queries[e].setDirty()}}]),t}(),Gl=function t(e,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;s(this,t),this.predicate=e,this.descendants=n,this.isStatic=i,this.read=r},ql=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,t),this.queries=e}return u(t,[{key:"elementStart",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}},{key:"elementEnd",value:function(t){for(var e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}},{key:"embeddedTView",value:function(e){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(e,r);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new t(n):null}},{key:"template",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}},{key:"getByIndex",value:function(t){return this.queries[t]}},{key:"track",value:function(t){this.queries.push(t)}},{key:"length",get:function(){return this.queries.length}}]),t}(),Xl=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;s(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return u(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var r=n[i];this.matchTNodeWithReadOption(t,e,Zl(e,r)),this.matchTNodeWithReadOption(t,e,on(e,t,r,!1,!1))}else n===ll?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,on(e,t,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(t,e,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===Ps||i===pl||i===ll&&4&e.type)this.addMatch(e.index,-2);else{var r=on(e,t,i,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,n)}}},{key:"addMatch",value:function(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}]),t}();function Zl(t,e){var n=t.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Kl(t,e,n,i){return-1===n?function(t,e){return 11&t.type?As(t,e):4&t.type?cl(t,e):null}(e,t):-2===n?function(t,e,n){return n===Ps?As(e,t):n===ll?cl(e,t):n===pl?yl(e,t):void 0}(t,e,i):sn(t,t[1],n,e)}function Jl(t,e,n,i){var r=e[19].queries[i];if(null===r.matches){for(var a=t.data,o=n.matches,s=[],l=0;l<o.length;l+=2){var u=o[l];s.push(u<0?null:Kl(e,a[u],o[l+1],n.metadata.read))}r.matches=s}return r.matches}function Ql(t,e,n,i){var r=t.queries.getByIndex(n),a=r.matches;if(null!==a)for(var o=Jl(t,e,r,n),s=0;s<a.length;s+=2){var l=a[s];if(l>0)i.push(o[s/2]);else{for(var u=a[s+1],c=e[-l],h=10;h<c.length;h++){var d=c[h];d[17]===d[3]&&Ql(d[1],d,u,i)}if(null!==c[9])for(var f=c[9],p=0;p<f.length;p++){var m=f[p];Ql(m[1],m,u,i)}}}return i}function $l(t){var e=$t(),n=te(),i=me();ge(i+1);var r=uu(n,i);if(t.dirty&&Gt(e)===r.metadata.isStatic){if(null===r.matches)t.reset([]);else{var a=r.crossesNgTemplate?Ql(n,e,i,[]):Jl(n,e,r,i);t.reset(a),t.notifyOnChanges()}return!0}return!1}function tu(t,e,n){nu(te(),$t(),t,e,n,!0)}function eu(t,e,n){nu(te(),$t(),t,e,n,!1)}function nu(t,e,n,i,r,a){t.firstCreatePass&&(lu(t,new Gl(n,i,a,r),-1),a&&(t.staticViewQueries=!0)),su(t,e)}function iu(t,e,n,i){au(te(),$t(),e,n,i,!1,ne(),t)}function ru(t,e,n,i){au(te(),$t(),e,n,i,!0,ne(),t)}function au(t,e,n,i,r,a,o,s){t.firstCreatePass&&(lu(t,new Gl(n,i,a,r),o.index),function(t,e){var n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,s),a&&(t.staticContentQueries=!0)),su(t,e)}function ou(){return t=$t(),e=me(),t[19].queries[e].queryList;var t,e}function su(t,e){var n=new Bl;qr(t,e,n,n.destroy),null===e[19]&&(e[19]=new Ul),e[19].queries.push(new Wl(n))}function lu(t,e,n){null===t.queries&&(t.queries=new ql),t.queries.track(new Xl(e,n))}function uu(t,e){return t.queries.getByIndex(e)}function cu(t,e){return cl(t,e)}function hu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N.Default,e=il(!0);if(null!=e||t&N.Optional)return e;Ct("ChangeDetectorRef")}var du=new mn("Application Initializer"),fu=function(){var t=function(){function t(e){var n=this;s(this,t),this.appInits=e,this.resolve=Ls,this.reject=Ls,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,e){n.resolve=t,n.reject=e})}return u(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();_o(r)&&e.push(r)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Yn(du,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}(),pu=new mn("AppId"),mu={provide:pu,useFactory:function(){return"".concat(gu()).concat(gu()).concat(gu())},deps:[]};function gu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var vu=new mn("Platform Initializer"),yu=new mn("Platform ID"),_u=new mn("appBootstrapListener"),bu=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"log",value:function(t){console.log(t)}},{key:"warn",value:function(t){console.warn(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}(),wu=new mn("LocaleId"),ku=new mn("DefaultCurrencyCode"),xu=function t(e,n){s(this,t),this.ngModuleFactory=e,this.componentFactories=n},Mu=function(t){return new Dl(t)},Su=Mu,Cu=function(t){return Promise.resolve(Mu(t))},Du=function(t){var e=Mu(t),n=Vi(mt(t).declarations).reduce(function(t,e){var n=pt(e);return n&&t.push(new xl(n)),t},[]);return new xu(e,n)},Ou=Du,Tu=function(t){return Promise.resolve(Du(t))},Lu=function(){var t=function(){function t(){s(this,t),this.compileModuleSync=Su,this.compileModuleAsync=Cu,this.compileModuleAndAllComponentsSync=Ou,this.compileModuleAndAllComponentsAsync=Tu}return u(t,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(t){}},{key:"getModuleId",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}(),Au=Promise.resolve(0);function Iu(t){"undefined"==typeof Zone?Au.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var Pu=function(){function t(e){var n,i,r=e.enableLongStackTrace,a=void 0!==r&&r,o=e.shouldCoalesceEventChangeDetection,l=void 0!==o&&o;if(s(this,t),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Hl(!1),this.onMicrotaskEmpty=new Hl(!1),this.onStable=new Hl(!1),this.onError=new Hl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=l,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var t=X.requestAnimationFrame,e=X.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){var n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);var i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,i=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(X,function(){t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){t.lastRequestAnimationFrameId=-1,Yu(t),Ru(t)},void 0,function(){},function(){})),t.fakeTopEventTask.invoke()}),Yu(t))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:i},onInvokeTask:function(t,e,r,a,o,s){try{return ju(n),t.invokeTask(r,a,o,s)}finally{i&&"eventTask"===a.type&&i(),Nu(n)}},onInvoke:function(t,e,i,r,a,o,s){try{return ju(n),t.invoke(i,r,a,o,s)}finally{Nu(n)}},onHasTask:function(t,e,i,r){t.hasTask(i,r),e===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Yu(n),Ru(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:function(t,e,i,r){return t.handleError(i,r),n.runOutsideAngular(function(){return n.onError.emit(r)}),!1}})}return u(t,[{key:"run",value:function(t,e,n){return this._inner.run(t,e,n)}},{key:"runTask",value:function(t,e,n,i){var r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,t,Eu,Ls,Ls);try{return r.runTask(a,e,n)}finally{r.cancelTask(a)}}},{key:"runGuarded",value:function(t,e,n){return this._inner.runGuarded(t,e,n)}},{key:"runOutsideAngular",value:function(t){return this._outer.run(t)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),t}(),Eu={};function Ru(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function Yu(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function ju(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nu(t){t._nesting--,Ru(t)}var Fu=function(){function t(){s(this,t),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Hl,this.onMicrotaskEmpty=new Hl,this.onStable=new Hl,this.onError=new Hl}return u(t,[{key:"run",value:function(t,e,n){return t.apply(e,n)}},{key:"runGuarded",value:function(t,e,n){return t.apply(e,n)}},{key:"runOutsideAngular",value:function(t){return t()}},{key:"runTask",value:function(t,e,n,i){return t.apply(e,n)}}]),t}(),Vu=function(){var t=function(){function t(e){var n=this;s(this,t),this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return u(t,[{key:"_watchAngularEvents",value:function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Pu.assertNotInAngularZone(),Iu(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var t=this;if(this.isStable())Iu(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]}},{key:"addCallback",value:function(t,e,n){var i=this,r=-1;e&&e>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==r}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(t,e,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(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Yn(Pu))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}(),Hu=function(){var t=function(){function t(){s(this,t),this._applications=new Map,Wu.addToWindow(this)}return u(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Wu.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}();function zu(t){Wu=t}var Bu,Wu=new(function(){function t(){s(this,t)}return u(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Uu=!0,Gu=!1;function qu(){return Gu=!0,Uu}function Xu(){if(Gu)throw new Error("Cannot enable prod mode after platform setup.");Uu=!1}var Zu=new mn("AllowMultipleToken"),Ku=function t(e,n){s(this,t),this.name=e,this.token=n};function Ju(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: "+e,r=new mn(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Qu();if(!a||a.injector.get(Zu,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var o=n.concat(e).concat({provide:r,useValue:!0},{provide:Sa,useValue:"platform"});!function(t){if(Bu&&!Bu.destroyed&&!Bu.injector.get(Zu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Bu=t.get($u);var e=t.get(vu,null);e&&e.forEach(function(t){return t()})}(Fa.create({providers:o,name:i}))}return function(t){var e=Qu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Qu(){return Bu&&!Bu.destroyed?Bu:null}var $u=function(){var t=function(){function t(e){s(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return u(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,i,r=this,a=(n=e?e.ngZone:void 0,i=e&&e.ngZoneEventCoalescing||!1,"noop"===n?new Fu:("zone.js"===n?void 0:n)||new Pu({enableLongStackTrace:qu(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Pu,useValue:a}];return a.run(function(){var e=Fa.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),i=n.injector.get(Pi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(function(){var t=a.onError.subscribe({next:function(t){i.handleError(t)}});n.onDestroy(function(){nc(r._modules,n),t.unsubscribe()})}),function(t,e,i){try{var a=((o=n.injector.get(fu)).runInitializers(),o.donePromise.then(function(){return ys(n.injector.get(wu,"en-US")||"en-US"),r._moduleDoBootstrap(n),n}));return _o(a)?a.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):a}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var o}(i,a)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=tc({},n);return function(t,e,n){var i=new Dl(n);return Promise.resolve(i)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,i)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(ec);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(k(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Yn(Fa))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}();function tc(t,e){return Array.isArray(e)?e.reduce(tc,t):Object.assign(Object.assign({},t),e)}var ec=function(){var t=function(){function t(e,n,i,r,a,o){var l=this;s(this,t),this._zone=e,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new g.a(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),c=new g.a(function(t){var e;l._zone.runOutsideAngular(function(){e=l._zone.onStable.subscribe(function(){Pu.assertNotInAngularZone(),Iu(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){Pu.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(v.a)(u,c.pipe(Object(y.a)()))}return u(t,[{key:"bootstrap",value:function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Ds?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(hl),a=n.create(Fa.NULL,[],e||n.selector,r),o=a.location.nativeElement,s=a.injector.get(Vu,null),l=s&&a.injector.get(Hu);return s&&l&&l.registerApplication(o,s),a.onDestroy(function(){i.detachView(a.hostView),nc(i.components,a),l&&l.unregisterApplication(o)}),this._loadComponent(a),qu()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,i=n(this._views);try{for(i.s();!(e=i.n()).done;){e.value.detectChanges()}}catch(r){i.e(r)}finally{i.f()}}catch(a){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(a)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;nc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(_u,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Yn(Pu),Yn(bu),Yn(Fa),Yn(Pi),Yn(Ts),Yn(fu))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}();function nc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var ic=function t(){s(this,t)},rc=function t(){s(this,t)},ac={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},oc=function(){var t=function(){function t(e,n){s(this,t),this._compiler=e,this._config=n||ac}return u(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,n=r(t.split("#"),2),i=n[0],a=n[1];return void 0===a&&(a="default"),l("zn8P")(i).then(function(t){return t[a]}).then(function(t){return sc(t,i,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=r(t.split("#"),2),n=e[0],i=e[1],a="NgFactory";return void 0===i&&(i="default",a=""),l("zn8P")(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[i+a]}).then(function(t){return sc(t,n,i)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Yn(Lu),Yn(rc,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t}();function sc(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var lc=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(nl)),uc=function(t){return null},cc=Ju(null,"core",[{provide:yu,useValue:"unknown"},{provide:$u,deps:[Fa]},{provide:Hu,deps:[]},{provide:bu,deps:[]}]),hc=[{provide:ec,useClass:ec,deps:[Pu,bu,Fa,Pi,Ts,fu]},{provide:kl,deps:[Pu],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:fu,useClass:fu,deps:[[new Dn,du]]},{provide:Lu,useClass:Lu,deps:[]},mu,{provide:Ks,useFactory:function(){return al},deps:[]},{provide:Js,useFactory:function(){return ol},deps:[]},{provide:wu,useFactory:function(t){return ys(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Cn(wu),new Dn,new Tn]]},{provide:ku,useValue:"USD"}],dc=function(){var t=function t(e){s(this,t)};return t.\u0275mod=ut({type:t}),t.\u0275inj=T({factory:function(e){return new(e||t)(Yn(ec))},providers:hc}),t}()},fywt:function(t,e,n){"use strict";var i=n("oSzE"),r=n("msdH"),a=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1},o=n("ZWiB"),s=function(t,e,n,i,s,l){var u=1&n,c=t.length,h=e.length;if(c!=h&&!(u&&h>c))return!1;var d=l.get(t),f=l.get(e);if(d&&f)return d==e&&f==t;var p=-1,m=!0,g=2&n?new r.a:void 0;for(l.set(t,e),l.set(e,t);++p<c;){var v=t[p],y=e[p];if(i)var _=u?i(y,v,p,e,t,l):i(v,y,p,t,e,l);if(void 0!==_){if(_)continue;m=!1;break}if(g){if(!a(e,function(t,e){if(!Object(o.a)(g,e)&&(v===t||s(v,t,n,i,l)))return g.push(e)})){m=!1;break}}else if(v!==y&&!s(v,y,n,i,l)){m=!1;break}}return l.delete(t),l.delete(e),m},l=n("ylTp"),u=n("Ce4a"),c=n("YHEm"),h=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n},d=n("GYlH"),f=l.a?l.a.prototype:void 0,p=f?f.valueOf:void 0,m=n("TFwu"),g=Object.prototype.hasOwnProperty,v=n("YM6B"),y=n("/1FC"),_=n("WOAq"),b=n("oYcn"),w="[object Object]",k=Object.prototype.hasOwnProperty,x=n("EUcb"),M=function t(e,n,r,a,o){return e===n||(null==e||null==n||!Object(x.a)(e)&&!Object(x.a)(n)?e!=e&&n!=n:function(t,e,n,r,a,o){var l=Object(y.a)(t),f=Object(y.a)(e),x=l?"[object Array]":Object(v.a)(t),M=f?"[object Array]":Object(v.a)(e),S=(x="[object Arguments]"==x?w:x)==w,C=(M="[object Arguments]"==M?w:M)==w,D=x==M;if(D&&Object(_.a)(t)){if(!Object(_.a)(e))return!1;l=!0,S=!1}if(D&&!S)return o||(o=new i.a),l||Object(b.a)(t)?s(t,e,n,r,a,o):function(t,e,n,i,r,a,o){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new u.a(t),new u.a(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(c.a)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var l=h;case"[object Set]":if(l||(l=d.a),t.size!=e.size&&!(1&i))return!1;var f=o.get(t);if(f)return f==e;i|=2,o.set(t,e);var m=s(l(t),l(e),i,r,a,o);return o.delete(t),m;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1}(t,e,x,n,r,a,o);if(!(1&n)){var O=S&&k.call(t,"__wrapped__"),T=C&&k.call(e,"__wrapped__");if(O||T){var L=O?t.value():t,A=T?e.value():e;return o||(o=new i.a),a(L,A,n,r,o)}}return!!D&&(o||(o=new i.a),function(t,e,n,i,r,a){var o=1&n,s=Object(m.a)(t),l=s.length;if(l!=Object(m.a)(e).length&&!o)return!1;for(var u=l;u--;){var c=s[u];if(!(o?c in e:g.call(e,c)))return!1}var h=a.get(t),d=a.get(e);if(h&&d)return h==e&&d==t;var f=!0;a.set(t,e),a.set(e,t);for(var p=o;++u<l;){var v=t[c=s[u]],y=e[c];if(i)var _=o?i(y,v,c,e,t,a):i(v,y,c,t,e,a);if(!(void 0===_?v===y||r(v,y,n,i,a):_)){f=!1;break}p||(p="constructor"==c)}if(f&&!p){var b=t.constructor,w=e.constructor;b==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(f=!1)}return a.delete(t),a.delete(e),f}(t,e,n,r,a,o))}(e,n,r,a,t,o))},S=n("IzLi"),C=function(t){return t==t&&!Object(S.a)(t)},D=n("mkut"),O=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}},T=n("UTJH"),L=function(t,e){return null!=t&&e in Object(t)},A=n("IlA0"),I=n("9f76"),P=n("cSlR"),E=n("Js68"),R=n("Tchk"),Y=n("vY+C"),j=n("+Xah");e.a=function(t){return"function"==typeof t?t:null==t?j.a:"object"==typeof t?Object(y.a)(t)?function(t,e){return Object(Y.a)(t)&&C(e)?O(Object(R.a)(t),e):function(n){var i=function(t,e,n){var i=null==t?void 0:Object(T.a)(t,e);return void 0===i?void 0:i}(n,t);return void 0===i&&i===e?function(t,e){return null!=t&&function(t,e,n){for(var i=-1,r=(e=Object(A.a)(e,t)).length,a=!1;++i<r;){var o=Object(R.a)(e[i]);if(!(a=null!=t&&n(t,o)))break;t=t[o]}return a||++i!=r?a:!!(r=null==t?0:t.length)&&Object(E.a)(r)&&Object(P.a)(o,r)&&(Object(y.a)(t)||Object(I.a)(t))}(t,e,L)}(n,t):M(e,i,3)}}(t[0],t[1]):1==(a=function(t){for(var e=Object(D.a)(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,C(r)]}return e}(r=t)).length&&a[0][2]?O(a[0][0],a[0][1]):function(t){return t===r||function(t,e,n,r){var a=n.length,o=a;if(null==t)return!o;for(t=Object(t);a--;){var s=n[a];if(s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<o;){var l=(s=n[a])[0],u=t[l],c=s[1];if(s[2]){if(void 0===u&&!(l in t))return!1}else{var h=new i.a;if(!M(c,u,3,void 0,h))return!1}}return!0}(t,0,a)}:(e=t,Object(Y.a)(e)?(n=Object(R.a)(e),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return Object(T.a)(e,t)}}(e));var e,n,r,a}},fzPg:function(t,e,n){!function(t){"use strict";t.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("2fFW"),r=n("NJ4a"),a={closed:!0,next:function(t){},error:function(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete:function(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return r+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return r+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return r+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return r+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,a){var o="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":o=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,a)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hZOD:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL"),r=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"transform",value:function(t,e){return t instanceof Array?t.map(function(t){return t[e]}):t?t[e]:void 0}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Nb({name:"field",type:t,pure:!0}),t}()},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iYuL:function(t,e,n){!function(t){"use strict";var e="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;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",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},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},iadO:function(t,e,n){"use strict";n.d(e,"a",function(){return rt}),n.d(e,"b",function(){return Mt}),n.d(e,"c",function(){return St}),n.d(e,"d",function(){return qt}),n.d(e,"e",function(){return Wt}),n.d(e,"f",function(){return Tt}),n.d(e,"g",function(){return Yt}),n.d(e,"h",function(){return J}),n.d(e,"i",function(){return Xt}),n.d(e,"j",function(){return Nt}),n.d(e,"k",function(){return Bt}),n.d(e,"l",function(){return zt}),n.d(e,"m",function(){return kt});var r=n("u47x"),a=n("rDax"),o=n("+rOU"),l=n("ofXK"),d=n("fXoL"),p=n("bTqV"),g=n("0IaG"),v=n("vxfF"),y=n("FKr1"),_=n("XNiG"),w=n("quSY"),k=n("VRyK"),x=n("LRne"),M=n("FtGj"),S=n("IzEk"),C=n("JX91"),D=n("pLZG"),O=n("8LU1"),T=n("R0Ic"),L=n("3Pt+"),A=n("kmnG"),I=n("qFsG"),P=n("cH1L"),E=["mat-calendar-body",""];function R(t,e){if(1&t&&(d.Ub(0,"tr",2),d.Ub(1,"td",3),d.Hc(2),d.Tb(),d.Tb()),2&t){var n=d.fc();d.Cb(1),d.Cc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),d.Db("colspan",n.numCols),d.Cb(1),d.Jc(" ",n.label," ")}}function Y(t,e){if(1&t&&(d.Ub(0,"td",7),d.Hc(1),d.Tb()),2&t){var n=d.fc(2);d.Cc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),d.Db("colspan",n._firstRowOffset),d.Cb(1),d.Jc(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function j(t,e){if(1&t){var n=d.Vb();d.Ub(0,"td",8),d.bc("click",function(t){d.wc(n);var i=e.$implicit;return d.fc(2)._cellClicked(i,t)}),d.Ub(1,"div",9),d.Hc(2),d.Tb(),d.Pb(3,"div",10),d.Tb()}if(2&t){var i=e.$implicit,r=e.index,a=d.fc().index,o=d.fc();d.Cc("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),d.Gb("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",o._isActiveCell(a,r))("mat-calendar-body-range-start",o._isRangeStart(i.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(i.compareValue))("mat-calendar-body-in-range",o._isInRange(i.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(i.compareValue,a,r))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(i.compareValue,a,r))("mat-calendar-body-comparison-start",o._isComparisonStart(i.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(i.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(i.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(i.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(i.compareValue))("mat-calendar-body-in-preview",o._isInPreview(i.compareValue)),d.lc("ngClass",i.cssClasses)("tabindex",o._isActiveCell(a,r)?0:-1),d.Db("data-mat-row",a)("data-mat-col",r)("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-selected",o._isSelected(i.compareValue)),d.Cb(1),d.Gb("mat-calendar-body-selected",o._isSelected(i.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(i.compareValue))("mat-calendar-body-today",o.todayValue===i.compareValue),d.Cb(1),d.Jc(" ",i.displayValue," ")}}function N(t,e){if(1&t&&(d.Ub(0,"tr",4),d.Fc(1,Y,2,6,"td",5),d.Fc(2,j,4,46,"td",6),d.Tb()),2&t){var n=e.$implicit,i=e.index,r=d.fc();d.Cb(1),d.lc("ngIf",0===i&&r._firstRowOffset),d.Cb(1),d.lc("ngForOf",n)}}function F(t,e){if(1&t&&(d.Ub(0,"th",5),d.Hc(1),d.Tb()),2&t){var n=e.$implicit;d.Db("aria-label",n.long),d.Cb(1),d.Ic(n.narrow)}}var V=["*"];function H(t,e){}function z(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-month-view",5),d.bc("activeDateChange",function(t){return d.wc(n),d.fc().activeDate=t})("_userSelection",function(t){return d.wc(n),d.fc()._dateSelected(t)}),d.Tb()}if(2&t){var i=d.fc();d.lc("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)}}function B(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-year-view",6),d.bc("activeDateChange",function(t){return d.wc(n),d.fc().activeDate=t})("monthSelected",function(t){return d.wc(n),d.fc()._monthSelectedInYearView(t)})("selectedChange",function(t){return d.wc(n),d.fc()._goToDateInView(t,"month")}),d.Tb()}if(2&t){var i=d.fc();d.lc("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function W(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-multi-year-view",7),d.bc("activeDateChange",function(t){return d.wc(n),d.fc().activeDate=t})("yearSelected",function(t){return d.wc(n),d.fc()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return d.wc(n),d.fc()._goToDateInView(t,"year")}),d.Tb()}if(2&t){var i=d.fc();d.lc("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}var U=["button"];function G(t,e){1&t&&(d.ec(),d.Ub(0,"svg",3),d.Pb(1,"path",4),d.Tb())}var q=[[["","matDatepickerToggleIcon",""]]],X=["[matDatepickerToggleIcon]"],Z=[[["input","matStartDate",""]],[["input","matEndDate",""]]],K=["input[matStartDate]","input[matEndDate]"],J=function(){var t=function(){function t(){s(this,t),this.changes=new _.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return u(t,[{key:"formatYearRange",value:function(t,e){return"".concat(t," \u2013 ").concat(e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(d.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Q=function t(e,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,l=arguments.length>6?arguments[6]:void 0;s(this,t),this.value=e,this.displayValue=n,this.ariaLabel=i,this.enabled=r,this.cssClasses=a,this.compareValue=o,this.rawValue=l},$=function(){var t=function(){function t(e,n){var i=this;s(this,t),this._elementRef=e,this._ngZone=n,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new d.o,this.previewChange=new d.o,this._enterHandler=function(t){if(i._skipNextFocus&&"focus"===t.type)i._skipNextFocus=!1;else if(t.target&&i.isRange){var e=i._getCellFromElement(t.target);e&&i._ngZone.run(function(){return i.previewChange.emit({value:e.enabled?e:null,event:t})})}},this._leaveHandler=function(t){null!==i.previewEnd&&i.isRange&&t.target&&tt(t.target)&&i._ngZone.run(function(){return i.previewChange.emit({value:null,event:t})})},n.runOutsideAngular(function(){var t=e.nativeElement;t.addEventListener("mouseenter",i._enterHandler,!0),t.addEventListener("focus",i._enterHandler,!0),t.addEventListener("mouseleave",i._leaveHandler,!0),t.addEventListener("blur",i._leaveHandler,!0)})}return u(t,[{key:"_cellClicked",value:function(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}},{key:"_isSelected",value:function(t){return this.startValue===t||this.endValue===t}},{key:"ngOnChanges",value:function(t){var e=t.numCols,n=this.rows,i=this.numCols;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}},{key:"_isActiveCell",value:function(t,e){var n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe(Object(S.a)(1)).subscribe(function(){var n=t._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(e||(t._skipNextFocus=!0),n.focus())})})}},{key:"_isRangeStart",value:function(t){return et(t,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(t){return nt(t,this.startValue,this.endValue)}},{key:"_isInRange",value:function(t){return it(t,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(t){return et(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;var i=this.rows[e][n-1];if(!i){var r=this.rows[e-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;var i=this.rows[e][n+1];if(!i){var r=this.rows[e+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}},{key:"_isComparisonEnd",value:function(t){return nt(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(t){return it(t,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}},{key:"_isPreviewStart",value:function(t){return et(t,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(t){return nt(t,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(t){return it(t,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(t){var e;if(tt(t)?e=t:tt(t.parentNode)&&(e=t.parentNode),e){var n=e.getAttribute("data-mat-row"),i=e.getAttribute("data-mat-col");if(n&&i)return this.rows[parseInt(n)][parseInt(i)]}return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.B))},t.\u0275cmp=d.Ib({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[d.Ab],attrs:E,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(d.Fc(0,R,3,6,"tr",0),d.Fc(1,N,3,2,"tr",1)),2&t&&(d.lc("ngIf",e._firstRowOffset<e.labelMinRequiredCells),d.Cb(1),d.lc("ngForOf",e.rows))},directives:[l.n,l.m,l.l],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t}();function tt(t){return"TD"===t.nodeName}function et(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function nt(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function it(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}var rt=function t(e,n){s(this,t),this.start=e,this.end=n},at=function(){var t=function(){function t(e,n){s(this,t),this.selection=e,this._adapter=n,this._selectionChanged=new _.a,this.selectionChanged=this._selectionChanged,this.selection=e}return u(t,[{key:"updateSelection",value:function(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(void 0),d.Ob(y.c))},t.\u0275dir=d.Jb({type:t}),t}(),ot=function(){var t=function(t){h(n,t);var e=f(n);function n(t){return s(this,n),e.call(this,null,t)}return u(n,[{key:"add",value:function(t){c(b(n.prototype),"updateSelection",this).call(this,t,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}}]),n}(at);return t.\u0275fac=function(e){return new(e||t)(d.Yb(y.c))},t.\u0275prov=d.Kb({token:t,factory:t.\u0275fac}),t}(),st=function(){var t=function(t){h(n,t);var e=f(n);function n(t){return s(this,n),e.call(this,new rt(null,null),t)}return u(n,[{key:"add",value:function(t){var e=this.selection,i=e.start,r=e.end;null==i?i=t:null==r?r=t:(i=t,r=null),c(b(n.prototype),"updateSelection",this).call(this,new rt(i,r),this)}},{key:"isValid",value:function(){var t=this.selection,e=t.start,n=t.end;return null==e&&null==n||(null!=e&&null!=n?this._isValidDateInstance(e)&&this._isValidDateInstance(n)&&this._adapter.compareDate(e,n)<=0:(null==e||this._isValidDateInstance(e))&&(null==n||this._isValidDateInstance(n)))}},{key:"isComplete",value:function(){return null!=this.selection.start&&null!=this.selection.end}}]),n}(at);return t.\u0275fac=function(e){return new(e||t)(d.Yb(y.c))},t.\u0275prov=d.Kb({token:t,factory:t.\u0275fac}),t}(),lt={provide:at,deps:[[new d.C,new d.L,at],y.c],useFactory:function(t,e){return t||new ot(e)}},ut={provide:at,deps:[[new d.C,new d.L,at],y.c],useFactory:function(t,e){return t||new st(e)}},ct=new d.s("MAT_DATE_RANGE_SELECTION_STRATEGY"),ht=function(){var t=function(){function t(e){s(this,t),this._dateAdapter=e}return u(t,[{key:"selectionFinished",value:function(t,e){var n=e.start,i=e.end;return null==n?n=t:null==i&&t&&this._dateAdapter.compareDate(t,n)>=0?i=t:(n=t,i=null),new rt(n,i)}},{key:"createPreview",value:function(t,e){var n=null,i=null;return e.start&&!e.end&&t&&(n=e.start,i=t),new rt(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Yb(y.c))},t.\u0275prov=d.Kb({token:t,factory:t.\u0275fac}),t}(),dt={provide:ct,deps:[[new d.C,new d.L,ct],y.c],useFactory:function(t,e){return t||new ht(e)}},ft=function(){var t=function(){function t(e,n,i,r,a){s(this,t),this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=i,this._dir=r,this._rangeStrategy=a,this._rerenderSubscription=w.a.EMPTY,this.selectedChange=new d.o,this._userSelection=new d.o,this.activeDateChange=new d.o,this._activeDate=this._dateAdapter.today()}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(C.a)(null)).subscribe(function(){return t._init()})}},{key:"ngOnChanges",value:function(t){var e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(t){var e,n,i=t.value,r=this._dateAdapter.getYear(this.activeDate),a=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.createDate(r,a,i);this._selected instanceof rt?(e=this._getDateInCurrentMonth(this._selected.start),n=this._getDateInCurrentMonth(this._selected.end)):e=n=this._getDateInCurrentMonth(this._selected),e===i&&n===i||this.selectedChange.emit(o),this._userSelection.emit({value:o,event:t.event})}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case M.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case M.m:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case M.p:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case M.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case M.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case M.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case M.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case M.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case M.f:case M.n:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case M.g:return void(null==this._previewEnd||Object(M.s)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_init",value:function(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(t){this._matCalendarBody._focusActiveCell(t)}},{key:"_previewChanged",value:function(t){var e=t.event,n=t.value;if(this._rangeStrategy){var i=this._rangeStrategy.createPreview(n?n.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map(function(t,n){return{long:t,narrow:e[n]}});this._weekdays=n.slice(t).concat(n.slice(0,t))}},{key:"_createWeekCells",value:function(){var t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);var r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),a=this._shouldEnableDate(r),o=this._dateAdapter.format(r,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(r,"month"):void 0;this._weeks[this._weeks.length-1].push(new Q(n+1,e[n],o,a,s,this._getCellCompareValue(r),r))}}},{key:"_shouldEnableDate",value:function(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}},{key:"_getDateInCurrentMonth",value:function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}},{key:"_hasSameMonthAndYear",value:function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}},{key:"_getCellCompareValue",value:function(t){if(t){var e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(t){t instanceof rt?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof rt?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.h),d.Ob(y.e,8),d.Ob(y.c,8),d.Ob(P.b,8),d.Ob(ct,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){var n;(1&t&&d.Oc($,!0),2&t)&&(d.tc(n=d.cc())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[d.Ab],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(d.Ub(0,"table",0),d.Ub(1,"thead",1),d.Ub(2,"tr"),d.Fc(3,F,2,2,"th",2),d.Tb(),d.Ub(4,"tr"),d.Pb(5,"th",3),d.Tb(),d.Tb(),d.Ub(6,"tbody",4),d.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),d.Tb(),d.Tb()),2&t&&(d.Cb(3),d.lc("ngForOf",e._weekdays),d.Cb(3),d.lc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[l.m,$],encapsulation:2,changeDetection:0}),t}(),pt=function(){var t=function(){function t(e,n,i){s(this,t),this._changeDetectorRef=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=w.a.EMPTY,this.selectedChange=new d.o,this.yearSelected=new d.o,this.activeDateChange=new d.o,this._activeDate=this._dateAdapter.today()}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(C.a)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(e+n),4==i.length&&(this._years.push(i.map(function(e){return t._createCellForYear(e)})),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(t){var e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case M.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case M.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case M.p:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case M.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case M.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case M.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case M.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case M.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case M.f:case M.n:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_getActiveCell",value:function(){return gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(t){var e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new Q(t,n,n,this._shouldEnableYear(t),i)}},{key:"_shouldEnableYear",value:function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedYear",value:function(t){if(this._selectedYear=null,t instanceof rt){var e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),mt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof rt?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.h),d.Ob(y.c,8),d.Ob(P.b,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(t,e){var n;(1&t&&d.Oc($,!0),2&t)&&(d.tc(n=d.cc())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(d.Ub(0,"table",0),d.Ub(1,"thead",1),d.Ub(2,"tr"),d.Pb(3,"th",2),d.Tb(),d.Tb(),d.Ub(4,"tbody",3),d.bc("selectedValueChange",function(t){return e._yearSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),d.Tb(),d.Tb()),2&t&&(d.Cb(4),d.lc("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[$],encapsulation:2,changeDetection:0}),t}();function mt(t,e,n,i,r){var a=t.getYear(e),o=t.getYear(n),s=vt(t,i,r);return Math.floor((a-s)/24)===Math.floor((o-s)/24)}function gt(t,e,n,i){return((t.getYear(e)-vt(t,n,i))%24+24)%24}function vt(t,e,n){var i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}var yt=function(){var t=function(){function t(e,n,i,r){s(this,t),this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=w.a.EMPTY,this.selectedChange=new d.o,this.monthSelected=new d.o,this.activeDateChange=new d.o,this._activeDate=this._dateAdapter.today()}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(C.a)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(t){var e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);var i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case M.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case M.m:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case M.p:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case M.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case M.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case M.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case M.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case M.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case M.f:case M.n:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_init",value:function(){var t=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(n){return n.map(function(n){return t._createCellForMonth(n,e[n])})}),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}},{key:"_createCellForMonth",value:function(t,e){var n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new Q(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),r)}},{key:"_shouldEnableMonth",value:function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(t,e){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(t,e){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedMonth",value:function(t){this._selectedMonth=t instanceof rt?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof rt?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.h),d.Ob(y.e,8),d.Ob(y.c,8),d.Ob(P.b,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-year-view"]],viewQuery:function(t,e){var n;(1&t&&d.Oc($,!0),2&t)&&(d.tc(n=d.cc())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(d.Ub(0,"table",0),d.Ub(1,"thead",1),d.Ub(2,"tr"),d.Pb(3,"th",2),d.Tb(),d.Tb(),d.Ub(4,"tbody",3),d.bc("selectedValueChange",function(t){return e._monthSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),d.Tb(),d.Tb()),2&t&&(d.Cb(4),d.lc("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[$],encapsulation:2,changeDetection:0}),t}(),_t=0,bt=function(){var t=function(){function t(e,n,i,r,a){s(this,t),this._intl=e,this.calendar=n,this._dateAdapter=i,this._dateFormats=r,this._buttonDescriptionId="mat-calendar-button-"+_t++,this.calendar.stateChanges.subscribe(function(){return a.markForCheck()})}return u(t,[{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):mt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}},{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var t=this._dateAdapter.getYear(this.calendar.activeDate)-gt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(J),d.Ob(Object(d.V)(function(){return wt})),d.Ob(y.c,8),d.Ob(y.e,8),d.Ob(d.h))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:V,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(d.kc(),d.Ub(0,"div",0),d.Ub(1,"div",1),d.Ub(2,"button",2),d.bc("click",function(){return e.currentPeriodClicked()}),d.Ub(3,"span"),d.Hc(4),d.Tb(),d.Pb(5,"div",3),d.Tb(),d.Pb(6,"div",4),d.jc(7),d.Ub(8,"button",5),d.bc("click",function(){return e.previousClicked()}),d.Tb(),d.Ub(9,"button",6),d.bc("click",function(){return e.nextClicked()}),d.Tb(),d.Tb(),d.Tb()),2&t&&(d.Cb(2),d.Db("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),d.Cb(1),d.Db("id",e._buttonDescriptionId),d.Cb(1),d.Ic(e.periodButtonText),d.Cb(1),d.Gb("mat-calendar-invert","month"!==e.calendar.currentView),d.Cb(3),d.lc("disabled",!e.previousEnabled()),d.Db("aria-label",e.prevButtonLabel),d.Cb(1),d.lc("disabled",!e.nextEnabled()),d.Db("aria-label",e.nextButtonLabel))},directives:[p.a,r.d],encapsulation:2,changeDetection:0}),t}(),wt=function(){var t=function(){function t(e,n,i,r){var a=this;s(this,t),this._dateAdapter=n,this._dateFormats=i,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new d.o,this.yearSelected=new d.o,this.monthSelected=new d.o,this.viewChanged=new d.o(!0),this._userSelection=new d.o,this.stateChanges=new _.a,this._intlChanges=e.changes.subscribe(function(){r.markForCheck(),a.stateChanges.next()})}return u(t,[{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new o.d(this.headerComponent||bt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell(!1)}},{key:"updateTodaysDate",value:function(){var t=this.currentView;("month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView)._init()}},{key:"_dateSelected",value:function(t){var e=t.value;(this.selected instanceof rt||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}},{key:"_yearSelectedInMultiYearView",value:function(t){this.yearSelected.emit(t)}},{key:"_monthSelectedInYearView",value:function(t){this.monthSelected.emit(t)}},{key:"_goToDateInView",value:function(t,e){this.activeDate=t,this.currentView=e}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}},{key:"startAt",get:function(){return this._startAt},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof rt?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(t){var e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(J),d.Ob(y.c,8),d.Ob(y.e,8),d.Ob(d.h))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){var n;(1&t&&(d.Oc(ft,!0),d.Oc(yt,!0),d.Oc(pt,!0)),2&t)&&(d.tc(n=d.cc())&&(e.monthView=n.first),d.tc(n=d.cc())&&(e.yearView=n.first),d.tc(n=d.cc())&&(e.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[d.Bb([lt]),d.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(d.Fc(0,H,0,0,"ng-template",0),d.Ub(1,"div",1),d.Fc(2,z,1,8,"mat-month-view",2),d.Fc(3,B,1,6,"mat-year-view",3),d.Fc(4,W,1,6,"mat-multi-year-view",4),d.Tb()),2&t&&(d.lc("cdkPortalOutlet",e._calendarHeaderPortal),d.Cb(1),d.lc("ngSwitch",e.currentView),d.Cb(1),d.lc("ngSwitchCase","month"),d.Cb(1),d.lc("ngSwitchCase","year"),d.Cb(1),d.lc("ngSwitchCase","multi-year"))},directives:[o.c,r.e,l.p,l.q,ft,yt,pt],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),t}(),kt={transformPanel:Object(T.m)("transformPanel",[Object(T.j)("void",Object(T.k)({opacity:0,transform:"scale(1, 0.8)"})),Object(T.l)("void => enter",Object(T.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(T.k)({opacity:1,transform:"scale(1, 1)"}))),Object(T.l)("* => void",Object(T.e)("100ms linear",Object(T.k)({opacity:0})))]),fadeInCalendar:Object(T.m)("fadeInCalendar",[Object(T.j)("void",Object(T.k)({opacity:0})),Object(T.j)("enter",Object(T.k)({opacity:1})),Object(T.l)("void => *",Object(T.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},xt=0,Mt=new d.s("mat-datepicker-scroll-strategy"),St={provide:Mt,deps:[a.c],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},Ct=Object(y.y)(function t(e){s(this,t),this._elementRef=e}),Dt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l){var u;return s(this,n),(u=e.call(this,t))._changeDetectorRef=i,u._model=r,u._dateAdapter=a,u._rangeSelectionStrategy=o,u._subscriptions=new w.a,u._animationState="enter",u._animationDone=new _.a,u._closeButtonText=(null==l?void 0:l.closeCalendarLabel)||"Close calendar",u}return u(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._subscriptions.add(this.datepicker._stateChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(t){var e=this._model.selection,n=t.value,i=e instanceof rt;if(i&&this._rangeSelectionStrategy){var r=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(r,this)}else!n||!i&&this._dateAdapter.sameDate(n,e)||this._model.add(n);this._model&&!this._model.isComplete()||this.datepicker.close()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_getSelected",value:function(){return this._model.selection}}]),n}(Ct);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.h),d.Ob(at),d.Ob(y.c),d.Ob(ct,8),d.Ob(J))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){var n;(1&t&&d.Oc(wt,!0),2&t)&&(d.tc(n=d.cc())&&(e._calendar=n.first))},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&d.Dc("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(d.Ec("@transformPanel",e._animationState),d.Gb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[d.zb],decls:4,vars:16,consts:[["cdkTrapFocus",""],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],["type","button","mat-raised-button","","color","primary",1,"mat-datepicker-close-button",3,"focus","blur","click"]],template:function(t,e){1&t&&(d.Ub(0,"div",0),d.Ub(1,"mat-calendar",1),d.bc("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),d.Tb(),d.Ub(2,"button",2),d.bc("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),d.Hc(3),d.Tb(),d.Tb()),2&t&&(d.Cb(1),d.lc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),d.Cb(1),d.Gb("cdk-visually-hidden",!e._closeButtonFocused),d.Cb(1),d.Ic(e._closeButtonText))},directives:[r.f,wt,l.l,p.a],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[kt.transformPanel,kt.fadeInCalendar]},changeDetection:0}),t}(),Ot=function(){var t=function(){function t(e,n,i,r,a,o,l,u,c){s(this,t),this._dialog=e,this._overlay=n,this._ngZone=i,this._viewContainerRef=r,this._dateAdapter=o,this._dir=l,this._document=u,this._model=c,this._inputStateChanges=w.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new d.o,this.monthSelected=new d.o,this.viewChanged=new d.o(!0),this.openedStream=new d.o,this.closedStream=new d.o,this._opened=!1,this.id="mat-datepicker-"+xt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new _.a,this._scrollStrategy=a}return u(t,[{key:"_getMinDate",value:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_getMaxDate",value:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_getDateFilter",value:function(){return this._datepickerInput&&this._datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(t){var e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}},{key:"select",value:function(t){this._model.add(t)}},{key:"_selectYear",value:function(t){this.yearSelected.emit(t)}},{key:"_selectMonth",value:function(t){this.monthSelected.emit(t)}},{key:"_viewChanged",value:function(t){this.viewChanged.emit(t)}},{key:"_registerInput",value:function(t){var e=this;return this._inputStateChanges.unsubscribe(),this._datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(function(){return e._stateChanges.next(void 0)}),this._model}},{key:"open",value:function(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var t=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Object(S.a)(1)).subscribe(function(){return t._destroyPopup()})}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var n=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_openAsDialog",value:function(){var t=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Dt,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(function(){return t.close()}),this._forwardContentValues(this._dialogRef.componentInstance)}},{key:"_openAsPopup",value:function(){var t=this,e=new o.d(Dt,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(S.a)(1)).subscribe(function(){t._popupRef.updatePosition()})}},{key:"_forwardContentValues",value:function(t){t.datepicker=this,t.color=this.color}},{key:"_createPopup",value:function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),n=new a.d({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(n),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(k.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(D.a)(function(e){return e.keyCode===M.g&&!Object(M.s)(e)||t._datepickerInput&&Object(M.s)(e,"altKey")&&e.keyCode===M.p}))).subscribe(function(e){e&&e.preventDefault(),t.close()})}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_setConnectedPositions",value:function(t){var e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}},{key:"startAt",get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)},set:function(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"color",get:function(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)},set:function(t){this._color=t}},{key:"touchUi",get:function(){return this._touchUi},set:function(t){this._touchUi=Object(O.c)(t)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(t){var e=Object(O.c)(t);e!==this._disabled&&(this._disabled=e,this._stateChanges.next(void 0))}},{key:"panelClass",get:function(){return this._panelClass},set:function(t){this._panelClass=Object(O.g)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){Object(O.c)(t)?this.open():this.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(g.b),d.Ob(a.c),d.Ob(d.B),d.Ob(d.R),d.Ob(Mt),d.Ob(y.c,8),d.Ob(P.b,8),d.Ob(l.d,8),d.Ob(at))},t.\u0275dir=d.Jb({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[d.Ab]}),t}(),Tt=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(Ot);return t.\u0275fac=function(e){return Lt(e||t)},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[d.Bb([lt]),d.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t}(),Lt=d.Wb(Tt),At=function t(e,n){s(this,t),this.target=e,this.targetElement=n,this.value=this.target.value},It=function(){var t=function(){function t(e,n,i){var r=this;s(this,t),this._elementRef=e,this._dateAdapter=n,this._dateFormats=i,this.dateChange=new d.o,this.dateInput=new d.o,this._valueChange=new d.o,this.stateChanges=new _.a,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=w.a.EMPTY,this._localeSubscription=w.a.EMPTY,this._parseValidator=function(){return r._lastValueValid?null:{matDatepickerParse:{text:r._elementRef.nativeElement.value}}},this._filterValidator=function(t){var e=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(t.value));return!e||r._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=function(t){var e=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(t.value)),n=r._getMinDate();return!n||!e||r._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=function(t){var e=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(t.value)),n=r._getMaxDate();return!n||!e||r._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(function(){r.value=r.value})}return u(t,[{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(t){var e=this;this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(t){if(t.source!==e){var n=e._getValueFromModel(t.selection);e._lastValueValid=e._isValidValue(n),e._cvaOnChange(n),e._onTouched(),e._formatValue(n),e._canEmitChangeEvent(t)&&(e.dateInput.emit(new At(e,e._elementRef.nativeElement)),e.dateChange.emit(new At(e,e._elementRef.nativeElement))),e._outsideValueChanged&&e._outsideValueChanged()}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(t){Pt(t,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}},{key:"registerOnValidatorChange",value:function(t){this._validatorOnChange=t}},{key:"validate",value:function(t){return this._validator?this._validator(t):null}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._cvaOnChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_onKeydown",value:function(t){t.altKey&&t.keyCode===M.d&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}},{key:"_onInput",value:function(t){var e=this._lastValueValid,n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new At(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new At(this,this._elementRef.nativeElement))}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}},{key:"_assignValue",value:function(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}},{key:"_isValidValue",value:function(t){return!t||this._dateAdapter.isValid(t)}},{key:"_parentDisabled",value:function(){return!1}},{key:"_matchesFilter",value:function(t){var e=this._getDateFilter();return!e||e(t)}},{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t);var e=this.value;this._assignValue(t),this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(t){var e=Object(O.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(y.c,8),d.Ob(y.e,8))},t.\u0275dir=d.Jb({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[d.Ab]}),t}();function Pt(t,e){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=t[i[n]],a=r.previousValue,o=r.currentValue;if(!e.isDateInstance(a)||!e.isDateInstance(o))return!0;if(!e.sameDate(a,o))return!0}return!1}var Et={provide:L.l,useExisting:Object(d.V)(function(){return Yt}),multi:!0},Rt={provide:L.k,useExisting:Object(d.V)(function(){return Yt}),multi:!0},Yt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o,l;return s(this,n),(l=e.call(this,t,i,r))._formField=a,l._validator=L.u.compose(c((o=m(l),b(n.prototype)),"_getValidators",o).call(o)),l}return u(n,[{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"getStartValue",value:function(){return this.value}},{key:"_openPopup",value:function(){this._datepicker&&this._datepicker.open()}},{key:"_getValueFromModel",value:function(t){return t}},{key:"_assignValueToModel",value:function(t){this._model&&this._model.updateSelection(t,this)}},{key:"_getMinDate",value:function(){return this._min}},{key:"_getMaxDate",value:function(){return this._max}},{key:"_getDateFilter",value:function(){return this._dateFilter}},{key:"_canEmitChangeEvent",value:function(){return!0}},{key:"matDatepicker",set:function(t){t&&(this._datepicker=t,this._registerModel(t._registerInput(this)))}},{key:"min",get:function(){return this._min},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}},{key:"max",get:function(){return this._max},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}},{key:"dateFilter",get:function(){return this._dateFilter},set:function(t){var e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}}]),n}(It);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(y.c,8),d.Ob(y.e,8),d.Ob(A.a,8))},t.\u0275dir=d.Jb({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&d.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(d.Xb("disabled",e.disabled),d.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[d.Bb([Et,Rt,{provide:I.a,useExisting:t}]),d.zb]}),t}(),jt=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=d.Jb({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t}(),Nt=function(){var t=function(){function t(e,n,i){s(this,t),this._intl=e,this._changeDetectorRef=n,this._stateChanges=w.a.EMPTY;var r=Number(i);this.tabIndex=r||0===r?r:null}return u(t,[{key:"ngOnChanges",value:function(t){t.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}},{key:"_watchStateChanges",value:function(){var t=this,e=this.datepicker?this.datepicker._stateChanges:Object(x.a)(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:Object(x.a)(),i=this.datepicker?Object(k.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(x.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(k.a)(this._intl.changes,e,n,i).subscribe(function(){return t._changeDetectorRef.markForCheck()})}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(t){this._disabled=Object(O.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(J),d.Ob(d.h),d.Zb("tabindex"))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){var i;(1&t&&d.Hb(n,jt,!0),2&t)&&(d.tc(i=d.cc())&&(e._customIcon=i.first))},viewQuery:function(t,e){var n;(1&t&&d.Oc(U,!0),2&t)&&(d.tc(n=d.cc())&&(e._button=n.first))},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&d.bc("focus",function(){return e._button.focus()}),2&t&&(d.Db("tabindex",e.disabled?null:-1)("data-mat-calendar",e.datepicker?e.datepicker.id:null),d.Gb("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[d.Ab],ngContentSelectors:X,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(d.kc(q),d.Ub(0,"button",0,1),d.bc("click",function(t){return e._open(t)}),d.Fc(2,G,2,0,"svg",2),d.jc(3),d.Tb()),2&t&&(d.lc("disabled",e.disabled)("disableRipple",e.disableRipple),d.Db("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),d.Cb(2),d.lc("ngIf",!e._customIcon))},directives:[p.a,l.n],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t}(),Ft=new d.s("MAT_DATE_RANGE_INPUT_PARENT"),Vt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u,c){var h;return s(this,n),(h=e.call(this,i,u,c))._rangeInput=t,h._defaultErrorStateMatcher=r,h._injector=a,h._parentForm=o,h._parentFormGroup=l,h._outsideValueChanged=function(){h._validatorOnChange()},h}return u(n,[{key:"ngOnInit",value:function(){var t=this._injector.get(L.m,null,d.r.Self);t&&(this.ngControl=t)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"isEmpty",value:function(){return 0===this._elementRef.nativeElement.value.length}},{key:"_getPlaceholder",value:function(){return this._elementRef.nativeElement.placeholder}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_onInput",value:function(t){c(b(n.prototype),"_onInput",this).call(this,t),this._rangeInput._handleChildValueChange()}},{key:"_openPopup",value:function(){this._rangeInput._openDatepicker()}},{key:"_getMinDate",value:function(){return this._rangeInput.min}},{key:"_getMaxDate",value:function(){return this._rangeInput.max}},{key:"_getDateFilter",value:function(){return this._rangeInput.dateFilter}},{key:"_parentDisabled",value:function(){return this._rangeInput._groupDisabled}}]),n}(It);return t.\u0275fac=function(e){return new(e||t)(d.Ob(Ft),d.Ob(d.l),d.Ob(y.d),d.Ob(d.t),d.Ob(L.p,8),d.Ob(L.g,8),d.Ob(y.c,8),d.Ob(y.e,8))},t.\u0275dir=d.Jb({type:t,features:[d.zb]}),t}(),Ht=Object(y.B)(Vt),zt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,a,o,l,u,h,d){var f,p;return s(this,n),(p=e.call(this,t,r,a,o,l,u,h,d))._startValidator=function(t){var e=p._dateAdapter.getValidDateOrNull(p._dateAdapter.deserialize(t.value)),n=p._model?p._model.selection.end:null;return!e||!n||p._dateAdapter.compareDate(e,n)<=0?null:{matStartDateInvalid:{end:n,actual:e}}},p._validator=L.u.compose([].concat(i(c((f=m(p),b(n.prototype)),"_getValidators",f).call(f)),[p._startValidator])),p._canEmitChangeEvent=function(t){return t.source!==p._rangeInput._endInput},p}return u(n,[{key:"ngOnInit",value:function(){c(b(n.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){c(b(n.prototype),"ngDoCheck",this).call(this)}},{key:"_getValueFromModel",value:function(t){return t.start}},{key:"_assignValueToModel",value:function(t){if(this._model){var e=new rt(t,this._model.selection.end);this._model.updateSelection(e,this),this._cvaOnChange(t)}}},{key:"_formatValue",value:function(t){c(b(n.prototype),"_formatValue",this).call(this,t),this._rangeInput._handleChildValueChange()}},{key:"getMirrorValue",value:function(){var t=this._elementRef.nativeElement,e=t.value;return e.length>0?e:t.placeholder}}]),n}(Ht);return t.\u0275fac=function(e){return new(e||t)(d.Ob(Ft),d.Ob(d.l),d.Ob(y.d),d.Ob(d.t),d.Ob(L.p,8),d.Ob(L.g,8),d.Ob(y.c,8),d.Ob(y.e,8))},t.\u0275dir=d.Jb({type:t,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(t,e){1&t&&d.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("keydown",function(t){return e._onKeydown(t)})("blur",function(){return e._onBlur()}),2&t&&(d.Xb("disabled",e.disabled),d.Db("id",e._rangeInput.id)("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[d.Bb([{provide:L.l,useExisting:t,multi:!0},{provide:L.k,useExisting:t,multi:!0}]),d.zb]}),t}(),Bt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,r,a,o,l,u,h,d){var f,p;return s(this,n),(p=e.call(this,t,r,a,o,l,u,h,d))._endValidator=function(t){var e=p._dateAdapter.getValidDateOrNull(p._dateAdapter.deserialize(t.value)),n=p._model?p._model.selection.start:null;return!e||!n||p._dateAdapter.compareDate(e,n)>=0?null:{matEndDateInvalid:{start:n,actual:e}}},p._validator=L.u.compose([].concat(i(c((f=m(p),b(n.prototype)),"_getValidators",f).call(f)),[p._endValidator])),p._canEmitChangeEvent=function(t){return t.source!==p._rangeInput._startInput},p}return u(n,[{key:"ngOnInit",value:function(){c(b(n.prototype),"ngOnInit",this).call(this)}},{key:"ngDoCheck",value:function(){c(b(n.prototype),"ngDoCheck",this).call(this)}},{key:"_getValueFromModel",value:function(t){return t.end}},{key:"_assignValueToModel",value:function(t){if(this._model){var e=new rt(this._model.selection.start,t);this._model.updateSelection(e,this),this._cvaOnChange(t)}}},{key:"_onKeydown",value:function(t){t.keyCode!==M.b||this._elementRef.nativeElement.value||this._rangeInput._startInput.focus(),c(b(n.prototype),"_onKeydown",this).call(this,t)}}]),n}(Ht);return t.\u0275fac=function(e){return new(e||t)(d.Ob(Ft),d.Ob(d.l),d.Ob(y.d),d.Ob(d.t),d.Ob(L.p,8),d.Ob(L.g,8),d.Ob(y.c,8),d.Ob(y.e,8))},t.\u0275dir=d.Jb({type:t,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(t,e){1&t&&d.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("keydown",function(t){return e._onKeydown(t)})("blur",function(){return e._onBlur()}),2&t&&(d.Xb("disabled",e.disabled),d.Db("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[d.Bb([{provide:L.l,useExisting:t,multi:!0},{provide:L.k,useExisting:t,multi:!0}]),d.zb]}),t}(),Wt=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"_forwardContentValues",value:function(t){c(b(n.prototype),"_forwardContentValues",this).call(this,t);var e=this._datepickerInput;e&&(t.comparisonStart=e.comparisonStart,t.comparisonEnd=e.comparisonEnd)}}]),n}(Ot);return t.\u0275fac=function(e){return Ut(e||t)},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[d.Bb([ut,dt]),d.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t}(),Ut=d.Wb(Wt),Gt=0,qt=function(){var t=function(){function t(e,n,i,r,a){s(this,t),this._changeDetectorRef=e,this._elementRef=n,this._dateAdapter=r,this._formField=a,this.id="mat-date-range-input-"+Gt++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new _.a,this.ngControl=i}return u(t,[{key:"setDescribedByIds",value:function(t){this._ariaDescribedBy=t.length?t.join(" "):null}},{key:"onContainerClick",value:function(){this.focused||this.disabled||(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}},{key:"ngAfterContentInit",value:function(){var t=this;this._model&&this._registerModel(this._model),Object(k.a)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(function(){t.stateChanges.next(void 0)})}},{key:"ngOnChanges",value:function(t){Pt(t,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete()}},{key:"getStartValue",value:function(){return this.value?this.value.start:null}},{key:"getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"_getInputMirrorValue",value:function(){return this._startInput?this._startInput.getMirrorValue():""}},{key:"_shouldHidePlaceholders",value:function(){return!!this._startInput&&!this._startInput.isEmpty()}},{key:"_handleChildValueChange",value:function(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}},{key:"_openDatepicker",value:function(){this._rangePicker&&this._rangePicker.open()}},{key:"_shouldHideSeparator",value:function(){return(!this._formField||this._formField._hideControlPlaceholder())&&this.empty}},{key:"_getAriaLabelledby",value:function(){var t=this._formField;return t&&t._hasFloatingLabel()?t._labelId:null}},{key:"_revalidate",value:function(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}},{key:"_registerModel",value:function(t){this._startInput&&this._startInput._registerModel(t),this._endInput&&this._endInput._registerModel(t)}},{key:"value",get:function(){return this._model?this._model.selection:null}},{key:"shouldLabelFloat",get:function(){return this.focused||!this.empty}},{key:"placeholder",get:function(){var t,e,n=(null===(t=this._startInput)||void 0===t?void 0:t._getPlaceholder())||"",i=(null===(e=this._endInput)||void 0===e?void 0:e._getPlaceholder())||"";return n||i?"".concat(n," ").concat(this.separator," ").concat(i):""}},{key:"rangePicker",get:function(){return this._rangePicker},set:function(t){t&&(this._model=t._registerInput(this),this._rangePicker=t,this._registerModel(this._model))}},{key:"required",get:function(){return!!this._required},set:function(t){this._required=Object(O.c)(t)}},{key:"dateFilter",get:function(){return this._dateFilter},set:function(t){var e=this._startInput,n=this._endInput,i=e&&e._matchesFilter(e.value),r=n&&n._matchesFilter(e.value);this._dateFilter=t,e&&e._matchesFilter(e.value)!==i&&e._validatorOnChange(),n&&n._matchesFilter(n.value)!==r&&n._validatorOnChange()}},{key:"min",get:function(){return this._min},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._revalidate())}},{key:"max",get:function(){return this._max},set:function(t){var e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._revalidate())}},{key:"disabled",get:function(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled},set:function(t){var e=Object(O.c)(t);e!==this._groupDisabled&&(this._groupDisabled=e,this.stateChanges.next(void 0))}},{key:"errorState",get:function(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}},{key:"empty",get:function(){var t=!!this._startInput&&this._startInput.isEmpty(),e=!!this._endInput&&this._endInput.isEmpty();return t&&e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.h),d.Ob(d.l),d.Ob(L.b,10),d.Ob(y.c,8),d.Ob(A.a,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-date-range-input"]],contentQueries:function(t,e,n){var i;(1&t&&(d.Hb(n,zt,!0),d.Hb(n,Bt,!0)),2&t)&&(d.tc(i=d.cc())&&(e._startInput=i.first),d.tc(i=d.cc())&&(e._endInput=i.first))},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(t,e){2&t&&(d.Db("id",null)("aria-labelledby",e._getAriaLabelledby())("aria-describedby",e._ariaDescribedBy)("data-mat-calendar",e.rangePicker?e.rangePicker.id:null),d.Gb("mat-date-range-input-hide-placeholders",e._shouldHidePlaceholders())("mat-date-range-input-required",e.required))},inputs:{separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled"},exportAs:["matDateRangeInput"],features:[d.Bb([{provide:A.c,useExisting:t},{provide:Ft,useExisting:t}]),d.Ab],ngContentSelectors:K,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(t,e){1&t&&(d.kc(Z),d.Ub(0,"div",0),d.bc("cdkFocusChange",function(t){return e.focused=null!==t}),d.Ub(1,"div",1),d.jc(2),d.Ub(3,"span",2),d.Hc(4),d.Tb(),d.Tb(),d.Ub(5,"span",3),d.Hc(6),d.Tb(),d.Ub(7,"div",4),d.jc(8,1),d.Tb(),d.Tb()),2&t&&(d.Cb(4),d.Ic(e._getInputMirrorValue()),d.Cb(1),d.Gb("mat-date-range-input-separator-hidden",e._shouldHideSeparator()),d.Cb(1),d.Ic(e.separator))},directives:[r.e],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),t}(),Xt=function(){var t=function t(){s(this,t)};return t.\u0275mod=d.Mb({type:t}),t.\u0275inj=d.Lb({factory:function(e){return new(e||t)},providers:[J,St],imports:[[l.c,p.b,g.f,a.f,r.a,o.g,y.j],v.b]}),t}()},itXk:function(t,e,n){"use strict";n.d(e,"b",function(){return v}),n.d(e,"a",function(){return y});var i=n("z+Ro"),r=n("DH7j"),a=n("7o/Q"),o=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(a.a),l=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this)).parent=t,a.outerValue=i,a.outerIndex=r,a.index=0,a}return u(n,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(a.a),c=n("SeVD"),d=n("HDdC");function p(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new l(t,n,i);if(!r.closed)return e instanceof d.a?e.subscribe(r):Object(c.a)(e)(r)}var m=n("yCtX"),g={};function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=void 0,o=void 0;return Object(i.a)(e[e.length-1])&&(o=e.pop()),"function"==typeof e[e.length-1]&&(a=e.pop()),1===e.length&&Object(r.a)(e[0])&&(e=e[0]),Object(m.a)(e,o).lift(new y(a))}var y=function(){function t(e){s(this,t),this.resultSelector=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t,this.resultSelector))}}]),t}(),_=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return u(n,[{key:"_next",value:function(t){this.values.push(g),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++)this.add(p(this,t[n],void 0,n))}}},{key:"notifyComplete",value:function(t){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(t,e,n){var i=this.values,r=this.toRespond?i[n]===g?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(o)},jN84:function(t,e,n){"use strict";var i=n("WJ6P"),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.a=a?function(t){return null==t?[]:(t=Object(t),function(e,n){for(var i=-1,a=null==e?0:e.length,o=0,s=[];++i<a;){var l=e[i];r.call(t,l)&&(s[o++]=l)}return s}(a(t)))}:i.a},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function r(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function a(t,e,n){var i=t+" ";switch(n){case"ss":return i+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return i+(r(t)?"godziny":"godzin");case"ww":return i+(r(t)?"tygodnie":"tygodni");case"MM":return i+(r(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:a,M:"miesi\u0105c",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("quSY");function a(t,e){return new i.a(function(n){var i=new r.a,a=0;return i.add(e.schedule(function(){a!==t.length?(n.next(t[a++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jhN1:function(t,e,n){"use strict";n.d(e,"a",function(){return z}),n.d(e,"b",function(){return Y}),n.d(e,"c",function(){return W}),n.d(e,"d",function(){return V}),n.d(e,"e",function(){return C});var i,r=n("ofXK"),a=n("fXoL"),o=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,n=l||(l=document.querySelector("base"))?l.getAttribute("href"):null;return null==n?null:(e=n,i||(i=document.createElement("a")),i.setAttribute("href",e),"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname)}},{key:"resetBaseElement",value:function(){l=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return Object(r.B)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){Object(r.C)(new n)}}]),n}(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.call(this)}return u(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(r.y)),l=null,d=new a.s("TRANSITION_ID"),p=[{provide:a.d,useFactory:function(t,e,n){return function(){n.get(a.e).donePromise.then(function(){var n=Object(r.A)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(function(e){return e.getAttribute("ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[d,r.d,a.t],multi:!0}],m=function(){function t(){s(this,t)}return u(t,[{key:"addToWindow",value:function(t){a.rb.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.rb.getAllAngularTestabilities=function(){return t.getAllTestabilities()},a.rb.getAllAngularRootElements=function(){return t.getAllRootElements()},a.rb.frameworkStabilizers||(a.rb.frameworkStabilizers=[]),a.rb.frameworkStabilizers.push(function(t){var e=a.rb.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?Object(r.A)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){Object(a.Z)(new t)}}]),t}(),g=new a.s("EventManagerPlugins"),v=function(){var t=function(){function t(e,n){var i=this;s(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=i}),this._plugins=e.slice().reverse()}return u(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(g),a.Yb(a.B))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),y=function(){function t(e){s(this,t),this._doc=e}return u(t,[{key:"addGlobalEventListener",value:function(t,e,n){var i=Object(r.A)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(e));return this.addEventListener(i,e,n)}}]),t}(),_=function(){var t=function(){function t(){s(this,t),this._stylesSet=new Set}return u(t,[{key:"addStyles",value:function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(t){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),w=function(){var t=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this))._doc=t,i._hostNodes=new Set,i._styleNodes=new Set,i._hostNodes.add(t.head),i}return u(n,[{key:"_addStylesToHost",value:function(t,e){var n=this;t.forEach(function(t){var i=n._doc.createElement("style");i.textContent=t,n._styleNodes.add(e.appendChild(i))})}},{key:"addHost",value:function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}},{key:"removeHost",value:function(t){this._hostNodes.delete(t)}},{key:"onStylesAdded",value:function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach(function(t){return Object(r.A)().remove(t)})}}]),n}(_);return t.\u0275fac=function(e){return new(e||t)(a.Yb(r.d))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},x=/%COMP%/g;function M(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?M(t,r,n):(r=r.replace(x,t),n.push(r))}return n}function S(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var C=function(){var t=function(){function t(e,n,i){s(this,t),this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new D(e)}return u(t,[{key:"createRenderer",value:function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case a.S.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new O(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case 1:case a.S.ShadowDom:return new T(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=M(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(v),a.Yb(w),a.Yb(a.c))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),D=function(){function t(e){s(this,t),this.eventManager=e,this.data=Object.create(null)}return u(t,[{key:"destroy",value:function(){}},{key:"createElement",value:function(t,e){return e?document.createElementNS(k[e]||e,t):document.createElement(t)}},{key:"createComment",value:function(t){return document.createComment(t)}},{key:"createText",value:function(t){return document.createTextNode(t)}},{key:"appendChild",value:function(t,e){t.appendChild(e)}},{key:"insertBefore",value:function(t,e,n){t&&t.insertBefore(e,n)}},{key:"removeChild",value:function(t,e){t&&t.removeChild(e)}},{key:"selectRootElement",value:function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'.concat(t,'" did not match any elements'));return e||(n.textContent=""),n}},{key:"parentNode",value:function(t){return t.parentNode}},{key:"nextSibling",value:function(t){return t.nextSibling}},{key:"setAttribute",value:function(t,e,n,i){if(i){e=i+":"+e;var r=k[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}},{key:"removeAttribute",value:function(t,e,n){if(n){var i=k[n];i?t.removeAttributeNS(i,e):t.removeAttribute("".concat(n,":").concat(e))}else t.removeAttribute(e)}},{key:"addClass",value:function(t,e){t.classList.add(e)}},{key:"removeClass",value:function(t,e){t.classList.remove(e)}},{key:"setStyle",value:function(t,e,n,i){i&(a.I.DashCase|a.I.Important)?t.style.setProperty(e,n,i&a.I.Important?"important":""):t.style[e]=n}},{key:"removeStyle",value:function(t,e,n){n&a.I.DashCase?t.style.removeProperty(e):t.style[e]=""}},{key:"setProperty",value:function(t,e,n){t[e]=n}},{key:"setValue",value:function(t,e){t.nodeValue=e}},{key:"listen",value:function(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,S(n)):this.eventManager.addEventListener(t,e,S(n))}}]),t}(),O=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;s(this,n),(o=e.call(this,t)).component=r;var l=M(a+"-"+r.id,r.styles,[]);return i.addStyles(l),o.contentAttr="_ngcontent-%COMP%".replace(x,a+"-"+r.id),o.hostAttr="_nghost-%COMP%".replace(x,a+"-"+r.id),o}return u(n,[{key:"applyToHost",value:function(t){c(b(n.prototype),"setAttribute",this).call(this,t,this.hostAttr,"")}},{key:"createElement",value:function(t,e){var i=c(b(n.prototype),"createElement",this).call(this,t,e);return c(b(n.prototype),"setAttribute",this).call(this,i,this.contentAttr,""),i}}]),n}(D),T=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;s(this,n),(o=e.call(this,t)).sharedStylesHost=i,o.hostEl=r,o.shadowRoot=r.attachShadow({mode:"open"}),o.sharedStylesHost.addHost(o.shadowRoot);for(var l=M(a.id,a.styles,[]),u=0;u<l.length;u++){var c=document.createElement("style");c.textContent=l[u],o.shadowRoot.appendChild(c)}return o}return u(n,[{key:"nodeOrShadowRoot",value:function(t){return t===this.hostEl?this.shadowRoot:t}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(t,e){return c(b(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"insertBefore",value:function(t,e,i){return c(b(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(t),e,i)}},{key:"removeChild",value:function(t,e){return c(b(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"parentNode",value:function(t){return this.nodeOrShadowRoot(c(b(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(t)))}}]),n}(D),L=function(){var t=function(t){h(n,t);var e=f(n);function n(t){return s(this,n),e.call(this,t)}return u(n,[{key:"supports",value:function(t){return!0}},{key:"addEventListener",value:function(t,e,n){var i=this;return t.addEventListener(e,n,!1),function(){return i.removeEventListener(t,e,n)}}},{key:"removeEventListener",value:function(t,e,n){return t.removeEventListener(e,n)}}]),n}(y);return t.\u0275fac=function(e){return new(e||t)(a.Yb(r.d))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),A=["alt","control","meta","shift"],I={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},P={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},E={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},R=function(){var t=function(t){h(n,t);var e=f(n);function n(t){return s(this,n),e.call(this,t)}return u(n,[{key:"supports",value:function(t){return null!=n.parseEventName(t)}},{key:"addEventListener",value:function(t,e,i){var a=n.parseEventName(e),o=n.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Object(r.A)().onAndCancel(t,a.domEventName,o)})}}],[{key:"parseEventName",value:function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),a="";if(A.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),a+=t+".")}),a+=r,0!=e.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&P.hasOwnProperty(e)&&(e=P[e]))}return I[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),A.forEach(function(i){i!=n&&(0,E[i])(t)&&(e+=i+".")}),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded(function(){return e(r)})}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(y);return t.\u0275fac=function(e){return new(e||t)(a.Yb(r.d))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),Y=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Kb)({factory:function(){return Object(a.Yb)(N)},token:t,providedIn:"root"}),t}();function j(t){return new N(t.get(r.d))}var N=function(){var t=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this))._doc=t,i}return u(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case a.K.NONE:return e;case a.K.HTML:return Object(a.fb)(e,"HTML")?Object(a.yb)(e):Object(a.db)(this._doc,String(e));case a.K.STYLE:return Object(a.fb)(e,"Style")?Object(a.yb)(e):e;case a.K.SCRIPT:if(Object(a.fb)(e,"Script"))return Object(a.yb)(e);throw new Error("unsafe value used in a script context");case a.K.URL:return Object(a.qb)(e),Object(a.fb)(e,"URL")?Object(a.yb)(e):Object(a.eb)(String(e));case a.K.RESOURCE_URL:if(Object(a.fb)(e,"ResourceURL"))return Object(a.yb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return Object(a.gb)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return Object(a.jb)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return Object(a.ib)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return Object(a.kb)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return Object(a.hb)(t)}}]),n}(Y);return t.\u0275fac=function(e){return new(e||t)(a.Yb(r.d))},t.\u0275prov=Object(a.Kb)({factory:function(){return j(Object(a.Yb)(a.p))},token:t,providedIn:"root"}),t}(),F=[{provide:a.D,useValue:r.z},{provide:a.E,useValue:function(){o.makeCurrent(),m.init()},multi:!0},{provide:r.d,useFactory:function(){return Object(a.wb)(document),document},deps:[]}],V=Object(a.T)(a.Y,"browser",F),H=[[],{provide:a.bb,useValue:"root"},{provide:a.n,useFactory:function(){return new a.n},deps:[]},{provide:g,useClass:L,multi:!0,deps:[r.d,a.B,a.D]},{provide:g,useClass:R,multi:!0,deps:[r.d]},[],{provide:C,useClass:C,deps:[v,w,a.c]},{provide:a.H,useExisting:C},{provide:_,useExisting:w},{provide:w,useClass:w,deps:[r.d]},{provide:a.O,useClass:a.O,deps:[a.B]},{provide:v,useClass:v,deps:[g,a.B]},[]],z=function(){var t=function(){function t(e){if(s(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return u(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:a.c,useValue:e.appId},{provide:d,useExisting:a.c},p]}}}]),t}();return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)(a.Yb(t,12))},providers:H,imports:[r.c,a.f]}),t}();function B(){return new W(Object(a.Yb)(r.d))}var W=function(){var t=function(){function t(e){s(this,t),this._doc=e}return u(t,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(r.d))},t.\u0275prov=Object(a.Kb)({factory:B,token:t,providedIn:"root"}),t}();"undefined"!=typeof window&&window},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(t){return function(e,n,a,o){var s=i(e),l=r[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("XNiG"),r=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return u(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?c(b(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?c(b(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?c(b(n.prototype),"requestAsyncId",this).call(this,t,e,i):t.flush(this)}}]),n}(n("3N8a").a),a=new(function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(n("IjjT").a))(r),o=n("quSY"),l=n("7o/Q"),d=n("WMd4"),p=function(t){h(n,t);var e=f(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return s(this,n),(r=e.call(this,t)).scheduler=i,r.delay=a,r}return u(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new m(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(d.a.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(d.a.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(d.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()}}]),n}(l.a),m=function t(e,n){s(this,t),this.notification=e,this.destination=n},g=n("9ppp"),v=n("Ylt2"),y=function(t){h(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;return s(this,n),(t=e.call(this)).scheduler=a,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=i<1?1:i,t._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return u(n,[{key:"nextInfiniteTimeWindow",value:function(t){if(!this.isStopped){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}c(b(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this.isStopped||(this._events.push(new _(this._getNow(),t)),this._trimBufferThenGetEvents()),c(b(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new g.a;if(this.isStopped||this.hasError?e=o.a.EMPTY:(this.observers.push(t),e=new v.a(this,t)),r&&t.add(t=new p(t,r)),n)for(var s=0;s<a&&!t.closed;s++)t.next(i[s]);else for(var l=0;l<a&&!t.closed;l++)t.next(i[l].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e}},{key:"_getNow",value:function(){return(this.scheduler||a).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,a=0;a<r&&!(t-i[a].time<n);)a++;return r>e&&(a=Math.max(a,r-e)),a>0&&i.splice(0,a),i}}]),n}(i.a),_=function t(e,n){s(this,t),this.time=e,this.value=n}},"k7+O":function(t,e,n){!function(){"use strict";var e="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=t.exports,i=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,r=n.length,a={};i<r;i++)if((t=n[i])&&t[1]in e){for(i=0;i<t.length;i++)a[n[0][i]]=t[i];return a}return!1}(),r={change:i.fullscreenchange,error:i.fullscreenerror},a={request:function(t){return new Promise((function(n,r){var a=(function(){this.off("change",a),n()}).bind(this);this.on("change",a);var o=(t=t||e.documentElement)[i.requestFullscreen]();o instanceof Promise&&o.then(a).catch(r)}).bind(this))},exit:function(){return new Promise((function(t,n){if(this.isFullscreen){var r=(function(){this.off("change",r),t()}).bind(this);this.on("change",r);var a=e[i.exitFullscreen]();a instanceof Promise&&a.then(r).catch(n)}else t()}).bind(this))},toggle:function(t){return this.isFullscreen?this.exit():this.request(t)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var i=r[t];i&&e.addEventListener(i,n,!1)},off:function(t,n){var i=r[t];i&&e.removeEventListener(i,n,!1)},raw:i};i?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(e[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[i.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(e[i.fullscreenEnabled])}}}),n?t.exports=a:window.screenfull=a):n?t.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}()},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kmnG:function(t,e,n){"use strict";n.d(e,"a",function(){return Q}),n.d(e,"b",function(){return $}),n.d(e,"c",function(){return z}),n.d(e,"d",function(){return tt}),n.d(e,"e",function(){return W}),n.d(e,"f",function(){return X});var r=n("GU7r"),a=n("ofXK"),o=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("XNiG"),p=n("VRyK"),m=n("xgIS"),g=n("JX91"),v=n("1G5W"),y=n("IzEk"),_=n("R0Ic"),b=n("R1ws"),w=n("cH1L"),k=n("nLfN"),x=["underline"],M=["connectionContainer"],S=["inputContainer"],C=["label"];function D(t,e){1&t&&(o.Sb(0),o.Ub(1,"div",14),o.Pb(2,"div",15),o.Pb(3,"div",16),o.Pb(4,"div",17),o.Tb(),o.Ub(5,"div",18),o.Pb(6,"div",15),o.Pb(7,"div",16),o.Pb(8,"div",17),o.Tb(),o.Rb())}function O(t,e){1&t&&(o.Ub(0,"div",19),o.jc(1,1),o.Tb())}function T(t,e){if(1&t&&(o.Sb(0),o.jc(1,2),o.Ub(2,"span"),o.Hc(3),o.Tb(),o.Rb()),2&t){var n=o.fc(2);o.Cb(3),o.Ic(n._control.placeholder)}}function L(t,e){1&t&&o.jc(0,3,["*ngSwitchCase","true"])}function A(t,e){1&t&&(o.Ub(0,"span",23),o.Hc(1," *"),o.Tb())}function I(t,e){if(1&t){var n=o.Vb();o.Ub(0,"label",20,21),o.bc("cdkObserveContent",function(){return o.wc(n),o.fc().updateOutlineGap()}),o.Fc(2,T,4,1,"ng-container",12),o.Fc(3,L,1,0,"ng-content",12),o.Fc(4,A,2,0,"span",22),o.Tb()}if(2&t){var i=o.fc();o.Gb("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),o.lc("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),o.Db("for",i._control.id)("aria-owns",i._control.id),o.Cb(2),o.lc("ngSwitchCase",!1),o.Cb(1),o.lc("ngSwitchCase",!0),o.Cb(1),o.lc("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function P(t,e){1&t&&(o.Ub(0,"div",24),o.jc(1,4),o.Tb())}function E(t,e){if(1&t&&(o.Ub(0,"div",25,26),o.Pb(2,"span",27),o.Tb()),2&t){var n=o.fc();o.Cb(2),o.Gb("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function R(t,e){if(1&t&&(o.Ub(0,"div"),o.jc(1,5),o.Tb()),2&t){var n=o.fc();o.lc("@transitionMessages",n._subscriptAnimationState)}}function Y(t,e){if(1&t&&(o.Ub(0,"div",31),o.Hc(1),o.Tb()),2&t){var n=o.fc(2);o.lc("id",n._hintLabelId),o.Cb(1),o.Ic(n.hintLabel)}}function j(t,e){if(1&t&&(o.Ub(0,"div",28),o.Fc(1,Y,2,2,"div",29),o.jc(2,6),o.Pb(3,"div",30),o.jc(4,7),o.Tb()),2&t){var n=o.fc();o.lc("@transitionMessages",n._subscriptAnimationState),o.Cb(1),o.lc("ngIf",n.hintLabel)}}var N=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],F=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],V=new o.s("MatError"),H={transitionMessages:Object(_.m)("transitionMessages",[Object(_.j)("enter",Object(_.k)({opacity:1,transform:"translateY(0%)"})),Object(_.l)("void => enter",[Object(_.k)({opacity:0,transform:"translateY(-100%)"}),Object(_.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},z=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t}),t}(),B=new o.s("MatHint"),W=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["mat-label"]]}),t}(),U=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["mat-placeholder"]]}),t}(),G=new o.s("MatPrefix"),q=new o.s("MatSuffix"),X=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.Jb({type:t,selectors:[["","matSuffix",""]],features:[o.Bb([{provide:q,useExisting:t}])]}),t}(),Z=0,K=Object(l.y)(function t(e){s(this,t),this._elementRef=e},"primary"),J=new o.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Q=new o.s("MatFormField"),$=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u,c){var h;return s(this,n),(h=e.call(this,t))._elementRef=t,h._changeDetectorRef=i,h._dir=a,h._defaults=o,h._platform=l,h._ngZone=u,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new d.a,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+Z++,h._labelId="mat-form-field-label-"+Z++,h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==c,h.appearance=o&&o.appearance?o.appearance:"legacy",h._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,h}return u(n,[{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(g.a)(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(v.a)(this._destroyed)).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.pipe(Object(v.a)(t._destroyed)).subscribe(function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()})}),Object(p.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(g.a)(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(g.a)(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(v.a)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t.updateOutlineGap()})}):t.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(m.a)(this._label.nativeElement,"transitionend").pipe(Object(y.a)(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push.apply(t,i(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push.apply(t,i(this._errorChildren.map(function(t){return t.id})));this._control.setDescribedByIds(t)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var e=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),l=t.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,h=0;h<l.length;h++)c+=l[h].offsetWidth;e=Math.abs(u-s)-5,n=c>0?.75*c+10:0}for(var d=0;d<r.length;d++)r[d].style.width=e+"px";for(var f=0;f<a.length;f++)a[f].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}},{key:"_isAttachedToDOM",value:function(){var t=this._elementRef.nativeElement;if(t.getRootNode){var e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}},{key:"appearance",get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Object(c.c)(t)}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(t){this._explicitFormFieldControl=t}}]),n}(K);return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(o.h),o.Ob(o.l),o.Ob(w.b,8),o.Ob(J,8),o.Ob(k.a),o.Ob(o.B),o.Ob(b.a,8))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){var i;(1&t&&(o.Hb(n,z,!0),o.Ac(n,z,!0),o.Hb(n,W,!0),o.Ac(n,W,!0),o.Hb(n,U,!0),o.Hb(n,V,!0),o.Hb(n,B,!0),o.Hb(n,G,!0),o.Hb(n,q,!0)),2&t)&&(o.tc(i=o.cc())&&(e._controlNonStatic=i.first),o.tc(i=o.cc())&&(e._controlStatic=i.first),o.tc(i=o.cc())&&(e._labelChildNonStatic=i.first),o.tc(i=o.cc())&&(e._labelChildStatic=i.first),o.tc(i=o.cc())&&(e._placeholderChild=i.first),o.tc(i=o.cc())&&(e._errorChildren=i),o.tc(i=o.cc())&&(e._hintChildren=i),o.tc(i=o.cc())&&(e._prefixChildren=i),o.tc(i=o.cc())&&(e._suffixChildren=i))},viewQuery:function(t,e){var n;(1&t&&(o.Oc(x,!0),o.Bc(M,!0),o.Oc(S,!0),o.Oc(C,!0)),2&t)&&(o.tc(n=o.cc())&&(e.underlineRef=n.first),o.tc(n=o.cc())&&(e._connectionContainerRef=n.first),o.tc(n=o.cc())&&(e._inputContainerRef=n.first),o.tc(n=o.cc())&&(e._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&o.Gb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o.Bb([{provide:Q,useExisting:t}]),o.zb],ngContentSelectors:F,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(o.kc(N),o.Ub(0,"div",0),o.Ub(1,"div",1,2),o.bc("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),o.Fc(3,D,9,0,"ng-container",3),o.Fc(4,O,2,0,"div",4),o.Ub(5,"div",5,6),o.jc(7),o.Ub(8,"span",7),o.Fc(9,I,5,16,"label",8),o.Tb(),o.Tb(),o.Fc(10,P,2,0,"div",9),o.Tb(),o.Fc(11,E,3,4,"div",10),o.Ub(12,"div",11),o.Fc(13,R,2,1,"div",12),o.Fc(14,j,5,2,"div",13),o.Tb(),o.Tb()),2&t&&(o.Cb(3),o.lc("ngIf","outline"==e.appearance),o.Cb(1),o.lc("ngIf",e._prefixChildren.length),o.Cb(5),o.lc("ngIf",e._hasFloatingLabel()),o.Cb(1),o.lc("ngIf",e._suffixChildren.length),o.Cb(1),o.lc("ngIf","outline"!=e.appearance),o.Cb(1),o.lc("ngSwitch",e._getDisplayedMessages()),o.Cb(1),o.lc("ngSwitchCase","error"),o.Cb(1),o.lc("ngSwitchCase","hint"))},directives:[a.n,a.p,a.q,r.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[H.transitionMessages]},changeDetection:0}),t}(),tt=function(){var t=function t(){s(this,t)};return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[a.c,l.j,r.c],l.j]}),t}()},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(e,n){s(this,t),this.project=e,this.thisArg=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).project=i,a.count=0,a.thisArg=r||m(a),a}return u(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(i.a)},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mkut:function(t,e,n){"use strict";var i=n("7gMY"),r=n("pyRK"),a=n("U6JX"),o=Object(a.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty,l=n("5WsY");e.a=function(t){return Object(l.a)(t)?Object(i.a)(t):function(t){if(!Object(r.a)(t))return o(t);var e=[];for(var n in Object(t))s.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}},mrSG:function(t,e,n){"use strict";function i(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}function r(t,e){return function(n,i){e(n,i,t)}}function a(t,e,n,i){return new(n||(n=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(e){a(e)}}function s(t){try{l(i.throw(t))}catch(e){a(e)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((i=i.apply(t,e||[])).next())})}n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return a})},msdH:function(t,e,n){"use strict";var i=n("DlmY");function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i.a;++e<n;)this.add(t[e])}r.prototype.add=r.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},r.prototype.has=function(t){return this.__data__.has(t)},e.a=r},n1FK:function(t,e,n){"use strict";n.d(e,"a",function(){return ut}),n.d(e,"b",function(){return lt}),n.d(e,"c",function(){return zt}),n.d(e,"d",function(){return Nt}),n.d(e,"e",function(){return Wt}),n.d(e,"f",function(){return ee}),n.d(e,"g",function(){return Bt});var i=n("+rOU"),r=n("fXoL"),a=n("iadO"),o=n("quSY"),l=n("XNiG"),d=n("VRyK"),p=n("FKr1"),g=n("FtGj"),v=n("IzEk"),y=n("JX91"),_=n("1G5W"),w=n("Kj3r"),k=n("pLZG"),x=n("8LU1"),M=n("rDax"),S=n("ofXK"),C=n("0IaG"),D=n("3Pt+"),O=n("qFsG"),T=n("bTqV"),L=n("NFeN"),A=n("nLfN"),I=n("cH1L"),P=n("kmnG"),E=["ngx-mat-calendar-body",""];function R(t,e){if(1&t&&(r.Ub(0,"tr",2),r.Ub(1,"td",3),r.Hc(2),r.Tb(),r.Tb()),2&t){var n=r.fc();r.Cb(1),r.Cc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),r.Db("colspan",n.numCols),r.Cb(1),r.Jc(" ",n.label," ")}}function Y(t,e){if(1&t&&(r.Ub(0,"td",7),r.Hc(1),r.Tb()),2&t){var n=r.fc(2);r.Cc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),r.Db("colspan",n._firstRowOffset),r.Cb(1),r.Jc(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function j(t,e){if(1&t){var n=r.Vb();r.Ub(0,"td",8),r.bc("click",function(t){r.wc(n);var i=e.$implicit;return r.fc(2)._cellClicked(i,t)}),r.Ub(1,"div",9),r.Hc(2),r.Tb(),r.Pb(3,"div",10),r.Tb()}if(2&t){var i=e.$implicit,a=e.index,o=r.fc().index,s=r.fc();r.Cc("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),r.Gb("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",s._isActiveCell(o,a))("mat-calendar-body-range-start",s._isRangeStart(i.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(i.compareValue))("mat-calendar-body-in-range",s._isInRange(i.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(i.compareValue,o,a))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(i.compareValue,o,a))("mat-calendar-body-comparison-start",s._isComparisonStart(i.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(i.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(i.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(i.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(i.compareValue))("mat-calendar-body-in-preview",s._isInPreview(i.compareValue)),r.lc("ngClass",i.cssClasses)("tabindex",s._isActiveCell(o,a)?0:-1),r.Db("data-mat-row",o)("data-mat-col",a)("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-selected",s._isSelected(i)),r.Cb(1),r.Gb("mat-calendar-body-selected",s._isSelected(i))("mat-calendar-body-today",s.todayValue===i.compareValue),r.Cb(1),r.Jc(" ",i.displayValue," ")}}function N(t,e){if(1&t&&(r.Ub(0,"tr",4),r.Fc(1,Y,2,6,"td",5),r.Fc(2,j,4,44,"td",6),r.Tb()),2&t){var n=e.$implicit,i=e.index,a=r.fc();r.Cb(1),r.lc("ngIf",0===i&&a._firstRowOffset),r.Cb(1),r.lc("ngForOf",n)}}function F(t,e){if(1&t&&(r.Ub(0,"th",5),r.Hc(1),r.Tb()),2&t){var n=e.$implicit;r.Db("aria-label",n.long),r.Cb(1),r.Ic(n.narrow)}}var V=["*"];function H(t,e){}function z(t,e){if(1&t){var n=r.Vb();r.Ub(0,"ngx-mat-month-view",5),r.bc("activeDateChange",function(t){return r.wc(n),r.fc().activeDate=t})("selectedChange",function(t){return r.wc(n),r.fc()._dateSelected(t)})("_userSelection",function(){return r.wc(n),r.fc()._userSelected()}),r.Tb()}if(2&t){var i=r.fc();r.lc("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function B(t,e){if(1&t){var n=r.Vb();r.Ub(0,"ngx-mat-year-view",6),r.bc("activeDateChange",function(t){return r.wc(n),r.fc().activeDate=t})("monthSelected",function(t){return r.wc(n),r.fc()._monthSelectedInYearView(t)})("selectedChange",function(t){return r.wc(n),r.fc()._goToDateInView(t,"month")}),r.Tb()}if(2&t){var i=r.fc();r.lc("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)}}function W(t,e){if(1&t){var n=r.Vb();r.Ub(0,"ngx-mat-multi-year-view",7),r.bc("activeDateChange",function(t){return r.wc(n),r.fc().activeDate=t})("yearSelected",function(t){return r.wc(n),r.fc()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return r.wc(n),r.fc()._goToDateInView(t,"year")}),r.Tb()}if(2&t){var i=r.fc();r.lc("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)}}function U(t,e){if(1&t){var n=r.Vb();r.Ub(0,"td"),r.Ub(1,"button",10),r.bc("click",function(){return r.wc(n),r.fc(2).change("second",!0)}),r.Ub(2,"mat-icon"),r.Hc(3,"expand_less"),r.Tb(),r.Tb(),r.Tb()}if(2&t){var i=r.fc(2);r.Cb(1),r.lc("disabled",i.disabled||i.disableMinute)}}function G(t,e){1&t&&r.Pb(0,"td",6)}function q(t,e){1&t&&r.Pb(0,"td")}function X(t,e){if(1&t){var n=r.Vb();r.Ub(0,"tr"),r.Ub(1,"td"),r.Ub(2,"button",10),r.bc("click",function(){return r.wc(n),r.fc().change("hour",!0)}),r.Ub(3,"mat-icon"),r.Hc(4,"expand_less"),r.Tb(),r.Tb(),r.Tb(),r.Pb(5,"td"),r.Ub(6,"td"),r.Ub(7,"button",10),r.bc("click",function(){return r.wc(n),r.fc().change("minute",!0)}),r.Ub(8,"mat-icon"),r.Hc(9,"expand_less"),r.Tb(),r.Tb(),r.Tb(),r.Pb(10,"td"),r.Fc(11,U,4,1,"td",3),r.Fc(12,G,1,0,"td",8),r.Fc(13,q,1,0,"td",3),r.Tb()}if(2&t){var i=r.fc();r.Cb(2),r.lc("disabled",i.disabled),r.Cb(5),r.lc("disabled",i.disabled||i.disableMinute),r.Cb(4),r.lc("ngIf",i.showSeconds),r.Cb(1),r.lc("ngIf",i.enableMeridian),r.Cb(1),r.lc("ngIf",i.enableMeridian)}}function Z(t,e){1&t&&(r.Ub(0,"td",6),r.Hc(1,":"),r.Tb())}function K(t,e){if(1&t){var n=r.Vb();r.Ub(0,"td"),r.Ub(1,"mat-form-field",4),r.Ub(2,"input",11),r.bc("input",function(t){return r.wc(n),r.fc().formatInput(t.target)})("keydown.ArrowUp",function(t){return r.wc(n),r.fc().change("second",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return r.wc(n),r.fc().change("second",!1),t.preventDefault()})("blur",function(){return r.wc(n),r.fc().change("second")}),r.Tb(),r.Tb(),r.Tb()}}function J(t,e){1&t&&r.Pb(0,"td",6)}function Q(t,e){if(1&t){var n=r.Vb();r.Ub(0,"td",12),r.Ub(1,"button",13),r.bc("click",function(){return r.wc(n),r.fc().toggleMeridian()}),r.Hc(2),r.Tb(),r.Tb()}if(2&t){var i=r.fc();r.Cb(1),r.lc("color",i.color)("disabled",i.disabled),r.Cb(1),r.Jc(" ",i.meridian," ")}}function $(t,e){1&t&&r.Pb(0,"td")}function tt(t,e){if(1&t){var n=r.Vb();r.Ub(0,"td"),r.Ub(1,"button",14),r.bc("click",function(){return r.wc(n),r.fc(2).change("second",!1)}),r.Ub(2,"mat-icon"),r.Hc(3,"expand_more"),r.Tb(),r.Tb(),r.Tb()}if(2&t){var i=r.fc(2);r.Cb(1),r.lc("disabled",i.disabled||i.disableMinute)}}function et(t,e){1&t&&r.Pb(0,"td",6)}function nt(t,e){1&t&&r.Pb(0,"td")}function it(t,e){if(1&t){var n=r.Vb();r.Ub(0,"tr"),r.Ub(1,"td"),r.Ub(2,"button",14),r.bc("click",function(){return r.wc(n),r.fc().change("hour",!1)}),r.Ub(3,"mat-icon"),r.Hc(4,"expand_more"),r.Tb(),r.Tb(),r.Tb(),r.Pb(5,"td"),r.Ub(6,"td"),r.Ub(7,"button",14),r.bc("click",function(){return r.wc(n),r.fc().change("minute",!1)}),r.Ub(8,"mat-icon"),r.Hc(9,"expand_more"),r.Tb(),r.Tb(),r.Tb(),r.Fc(10,$,1,0,"td",3),r.Fc(11,tt,4,1,"td",3),r.Fc(12,et,1,0,"td",8),r.Fc(13,nt,1,0,"td",3),r.Tb()}if(2&t){var i=r.fc();r.Cb(2),r.lc("disabled",i.disabled),r.Cb(5),r.lc("disabled",i.disabled||i.disableMinute),r.Cb(3),r.lc("ngIf",i.showSeconds),r.Cb(1),r.lc("ngIf",i.showSeconds),r.Cb(1),r.lc("ngIf",i.enableMeridian),r.Cb(1),r.lc("ngIf",i.enableMeridian)}}function rt(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div",6),r.Ub(1,"ngx-mat-timepicker",7),r.bc("ngModelChange",function(t){return r.wc(n),r.fc(2).datepicker._selected=t}),r.Tb(),r.Tb()}if(2&t){var i=r.fc(2);r.Gb("disable-seconds",!i.datepicker._showSeconds),r.Cb(1),r.lc("showSpinners",i.datepicker._showSpinners)("showSeconds",i.datepicker._showSeconds)("disabled",i.datepicker._disabled)("stepHour",i.datepicker._stepHour)("stepMinute",i.datepicker._stepMinute)("stepSecond",i.datepicker._stepSecond)("ngModel",i.datepicker._selected)("color",i.datepicker._color)("enableMeridian",i.datepicker._enableMeridian)("disableMinute",i.datepicker._disableMinute)}}function at(t,e){1&t&&(r.Ub(0,"mat-icon"),r.Hc(1,"done"),r.Tb())}function ot(t,e){}function st(t,e){if(1&t){var n=r.Vb();r.Sb(0),r.Fc(1,rt,2,12,"div",2),r.Ub(2,"div",3),r.Ub(3,"button",4),r.bc("click",function(){return r.wc(n),r.fc().datepicker.ok()}),r.Fc(4,at,2,0,"mat-icon",1),r.Fc(5,ot,0,0,"ng-template",5),r.Tb(),r.Tb(),r.Rb()}if(2&t){var i=r.fc();r.Cb(1),r.lc("ngIf",!i.datepicker._hideTime),r.Cb(2),r.lc("color",i.datepicker._color)("disabled",!i.valid),r.Cb(1),r.lc("ngIf",!i.datepicker._customIcon),r.Cb(1),r.lc("cdkPortalOutlet",i._templateCustomIconPortal)}}var lt=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"isSameTime",value:function(t,e){return null==t||null==e||this.getHour(t)===this.getHour(e)&&this.getMinute(t)===this.getMinute(e)&&this.getSecond(t)===this.getSecond(e)}},{key:"copyTime",value:function(t,e){this.setHour(t,this.getHour(e)),this.setMinute(t,this.getMinute(e)),this.setSecond(t,this.getSecond(e))}},{key:"compareDateWithTime",value:function(t,e,i){var r=c(b(n.prototype),"compareDate",this).call(this,t,e)||this.getHour(t)-this.getHour(e)||this.getMinute(t)-this.getMinute(e);return i&&(r=r||this.getSecond(t)-this.getSecond(e)),r}},{key:"setTimeByDefaultValues",value:function(t,e){if(!Array.isArray(e))throw Error("@Input DefaultTime should be an array");this.setHour(t,e[0]||0),this.setMinute(t,e[1]||0),this.setSecond(t,e[2]||0)}}]),n}(p.c),ut=new r.s("ngx-mat-date-formats"),ct=function t(e,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,l=arguments.length>6?arguments[6]:void 0;s(this,t),this.value=e,this.displayValue=n,this.ariaLabel=i,this.enabled=r,this.cssClasses=a,this.compareValue=o,this.rawValue=l},ht=function(){var t=function(){function t(e,n){var i=this;s(this,t),this._elementRef=e,this._ngZone=n,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new r.o,this.previewChange=new r.o,this._enterHandler=function(t){if(i._skipNextFocus&&"focus"===t.type)i._skipNextFocus=!1;else if(t.target&&i.isRange){var e=i._getCellFromElement(t.target);e&&i._ngZone.run(function(){return i.previewChange.emit({value:e.enabled?e:null,event:t})})}},this._leaveHandler=function(t){null!==i.previewEnd&&i.isRange&&t.target&&dt(t.target)&&i._ngZone.run(function(){return i.previewChange.emit({value:null,event:t})})},n.runOutsideAngular(function(){var t=e.nativeElement;t.addEventListener("mouseenter",i._enterHandler,!0),t.addEventListener("focus",i._enterHandler,!0),t.addEventListener("mouseleave",i._leaveHandler,!0),t.addEventListener("blur",i._leaveHandler,!0)})}return u(t,[{key:"_cellClicked",value:function(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}},{key:"_isSelected",value:function(t){return this.startValue===t.compareValue||this.endValue===t.compareValue}},{key:"ngOnChanges",value:function(t){var e=t.numCols,n=this.rows,i=this.numCols;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}},{key:"_isActiveCell",value:function(t,e){var n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.asObservable().pipe(Object(v.a)(1)).subscribe(function(){var n=t._elementRef.nativeElement.querySelector(".ngx-mat-calendar-body-active");n&&(e||(t._skipNextFocus=!0),n.focus())})})}},{key:"_isRangeStart",value:function(t){return ft(t,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(t){return pt(t,this.startValue,this.endValue)}},{key:"_isInRange",value:function(t){return mt(t,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(t){return ft(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;var i=this.rows[e][n-1];if(!i){var r=this.rows[e-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;var i=this.rows[e][n+1];if(!i){var r=this.rows[e+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}},{key:"_isComparisonEnd",value:function(t){return pt(t,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(t){return mt(t,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isPreviewStart",value:function(t){return ft(t,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(t){return pt(t,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(t){return mt(t,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(t){var e;if(dt(t)?e=t:dt(t.parentNode)&&(e=t.parentNode),e){var n=e.getAttribute("data-ngx-mat-row"),i=e.getAttribute("data-ngx-mat-col");if(n&&i)return this.rows[parseInt(n)][parseInt(i)]}return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.B))},t.\u0275cmp=r.Ib({type:t,selectors:[["","ngx-mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"ngx-mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["NgxMatCalendarBody"],features:[r.Ab],attrs:E,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(r.Fc(0,R,3,6,"tr",0),r.Fc(1,N,3,2,"tr",1)),2&t&&(r.lc("ngIf",e._firstRowOffset<e.labelMinRequiredCells),r.Cb(1),r.lc("ngForOf",e.rows))},directives:[S.n,S.m,S.l],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell-preview,.mat-calendar-body-cell:after,.mat-calendar-body-cell:before{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-comparison-start:after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start):before,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview,.mat-calendar-body-range-start:after,.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range):before{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-start:after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start):before,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview,[dir=rtl] .mat-calendar-body-range-start:after,[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range):before{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-end:after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end):before,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview,.mat-calendar-body-range-end:after,.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range):before{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-comparison-end:after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end):before,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview,[dir=rtl] .mat-calendar-body-range-end:after,[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range):before{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start:after,[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end:after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-end.mat-calendar-body-range-start:after,.mat-calendar-body-comparison-start.mat-calendar-body-range-end:after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start:after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end:after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:1px dashed;border-bottom:1px dashed}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:1px dashed}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:1px dashed}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:1px dashed}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:1px dashed}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-calendar-body-selected,.cdk-high-contrast-active .mat-datepicker-popup:not(:empty){outline:1px solid}.cdk-high-contrast-active .mat-calendar-body-today{outline:1px dotted}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:2px dotted}[dir=rtl] .mat-calendar-body-label{text-align:right}@media (hover:none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}'],encapsulation:2,changeDetection:0}),t}();function dt(t){return"TD"===t.nodeName}function ft(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function pt(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function mt(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}var gt=new r.s("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY"),vt=function(){var t=function(){function t(e){s(this,t),this._dateAdapter=e}return u(t,[{key:"selectionFinished",value:function(t,e){var n=e.start,i=e.end;return null==n?n=t:null==i&&t&&this._dateAdapter.compareDate(t,n)>=0?i=t:(n=t,i=null),new a.a(n,i)}},{key:"createPreview",value:function(t,e){var n=null,i=null;return e.start&&!e.end&&t&&(n=e.start,i=t),new a.a(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Yb(lt))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),yt={minHour:0,maxHour:24,minMinute:0,maxMinute:60,minSecond:0,maxSecond:60,meridian:12},_t=/[^0-9]/g,bt=/^(2[0-3]|[0-1][0-9]|[0-9])$/,wt=/^([0-5][0-9]|[0-9])$/,kt=/^([0-5][0-9]|[0-9])$/;function xt(t){var e=t.toString();return e.length>1?e:"0"+e}function Mt(t){return Error("NgxMatDatepicker: No provider found for ".concat(t,". You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation."))}var St=function(){var t=function(){function t(e,n,i,a,l){if(s(this,t),this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=i,this._dir=a,this._rangeStrategy=l,this._rerenderSubscription=o.a.EMPTY,this.selectedChange=new r.o,this._userSelection=new r.o,this.activeDateChange=new r.o,!this._dateAdapter)throw Mt("NgxMatDateAdapter");if(!this._dateFormats)throw Mt("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(t){var e,n,i=t.value,r=this._dateAdapter.getYear(this.activeDate),o=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.createDate(r,o,i);this._selected instanceof a.a?(e=this._getDateInCurrentMonth(this._selected.start),n=this._getDateInCurrentMonth(this._selected.end)):e=n=this._getDateInCurrentMonth(this._selected),e===i&&n===i||this.selectedChange.emit(s),this._userSelection.emit({value:s,event:t.event})}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case g.m:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case g.p:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case g.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case g.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case g.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case g.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case g.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case g.f:case g.n:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case g.g:return void(null!=this._previewEnd&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_init",value:function(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(t){this._matCalendarBody._focusActiveCell(t)}},{key:"_previewChanged",value:function(t){var e=t.event,n=t.value;if(this._rangeStrategy){var i=this._rangeStrategy.createPreview(n?n.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(i.start),this._previewEnd=this._getCellCompareValue(i.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map(function(t,n){return{long:t,narrow:e[n]}});this._weekdays=n.slice(t).concat(n.slice(0,t))}},{key:"_createWeekCells",value:function(){var t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);var r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),a=this._shouldEnableDate(r),o=this._dateAdapter.format(r,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(r):void 0;this._weeks[this._weeks.length-1].push(new ct(n+1,e[n],o,a,s,this._getCellCompareValue(r),r))}}},{key:"_shouldEnableDate",value:function(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}},{key:"_getDateInCurrentMonth",value:function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}},{key:"_hasSameMonthAndYear",value:function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}},{key:"_getCellCompareValue",value:function(t){if(t){var e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(t){t instanceof a.a?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof a.a?t:this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h),r.Ob(ut,8),r.Ob(lt,8),r.Ob(I.b,8),r.Ob(gt,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-month-view"]],viewQuery:function(t,e){var n;(1&t&&r.Oc(ht,!0),2&t)&&(r.tc(n=r.cc())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["ngxMatMonthView"],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["ngx-mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(r.Ub(0,"table",0),r.Ub(1,"thead",1),r.Ub(2,"tr"),r.Fc(3,F,2,2,"th",2),r.Tb(),r.Ub(4,"tr"),r.Pb(5,"th",3),r.Tb(),r.Tb(),r.Ub(6,"tbody",4),r.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.Tb(),r.Tb()),2&t&&(r.Cb(3),r.lc("ngForOf",e._weekdays),r.Cb(3),r.lc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[S.m,ht],encapsulation:2,changeDetection:0}),t}(),Ct=function(){var t=function(){function t(e,n,i){if(s(this,t),this._changeDetectorRef=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=o.a.EMPTY,this.selectedChange=new r.o,this.yearSelected=new r.o,this.activeDateChange=new r.o,!this._dateAdapter)throw Mt("NgxMatDateAdapter");this._activeDate=this._dateAdapter.today()}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(e+n),4==i.length&&(this._years.push(i.map(function(e){return t._createCellForYear(e)})),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(t){var e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case g.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case g.p:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case g.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case g.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case g.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case g.f:case g.n:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_getActiveCell",value:function(){return Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(t){var e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new ct(t,e,e,this._shouldEnableYear(t))}},{key:"_shouldEnableYear",value:function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedYear",value:function(t){if(this._selectedYear=null,t instanceof a.a){var e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),Dt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof a.a?t:this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h),r.Ob(lt,8),r.Ob(I.b,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-multi-year-view"]],viewQuery:function(t,e){var n;(1&t&&r.Oc(ht,!0),2&t)&&(r.tc(n=r.cc())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["ngxMatMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["ngx-mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(r.Ub(0,"table",0),r.Ub(1,"thead",1),r.Ub(2,"tr"),r.Pb(3,"th",2),r.Tb(),r.Tb(),r.Ub(4,"tbody",3),r.bc("selectedValueChange",function(t){return e._yearSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.Tb(),r.Tb()),2&t&&(r.Cb(4),r.lc("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[ht],encapsulation:2,changeDetection:0}),t}();function Dt(t,e,n,i,r){var a=t.getYear(e),o=t.getYear(n),s=Tt(t,i,r);return Math.floor((a-s)/24)===Math.floor((o-s)/24)}function Ot(t,e,n,i){return((t.getYear(e)-Tt(t,n,i))%24+24)%24}function Tt(t,e,n){var i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}var Lt,At=function(){var t=function(){function t(e,n,i,a){if(s(this,t),this._changeDetectorRef=e,this._dateFormats=n,this._dateAdapter=i,this._dir=a,this._rerenderSubscription=o.a.EMPTY,this.selectedChange=new r.o,this.monthSelected=new r.o,this.activeDateChange=new r.o,!this._dateAdapter)throw Mt("NgxMatDateAdapter");if(!this._dateFormats)throw Mt("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return u(t,[{key:"ngAfterContentInit",value:function(){var t=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(function(){return t._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(t){var e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);var i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case g.m:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case g.p:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case g.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case g.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case g.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case g.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case g.f:case g.n:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}},{key:"_init",value:function(){var t=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(n){return n.map(function(n){return t._createCellForMonth(n,e[n])})}),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}},{key:"_createCellForMonth",value:function(t,e){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new ct(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))}},{key:"_shouldEnableMonth",value:function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(t,e){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(t,e){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedMonth",value:function(t){this._selectedMonth=t instanceof a.a?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}},{key:"activeDate",get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=t instanceof a.a?t:this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h),r.Ob(ut,8),r.Ob(lt,8),r.Ob(I.b,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-year-view"]],viewQuery:function(t,e){var n;(1&t&&r.Oc(ht,!0),2&t)&&(r.tc(n=r.cc())&&(e._matCalendarBody=n.first))},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["ngxMatYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["ngx-mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(t,e){1&t&&(r.Ub(0,"table",0),r.Ub(1,"thead",1),r.Ub(2,"tr"),r.Pb(3,"th",2),r.Tb(),r.Tb(),r.Ub(4,"tbody",3),r.bc("selectedValueChange",function(t){return e._monthSelected(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.Tb(),r.Tb()),2&t&&(r.Cb(4),r.lc("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[ht],encapsulation:2,changeDetection:0}),t}(),It=function(){var t=function(){function t(e,n,i,r,a){s(this,t),this._intl=e,this.calendar=n,this._dateAdapter=i,this._dateFormats=r,this.calendar.stateChanges.subscribe(function(){return a.markForCheck()})}return u(t,[{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):Dt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}},{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var t=this._dateAdapter.getYear(this.calendar.activeDate)-Ot(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1;return"".concat(this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1))," \u2013 ").concat(this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)))}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(a.h),r.Ob(Object(r.V)(function(){return Pt})),r.Ob(lt,8),r.Ob(ut,8),r.Ob(r.h))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-calendar-header"]],exportAs:["ngxMatCalendarHeader"],ngContentSelectors:V,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(r.kc(),r.Ub(0,"div",0),r.Ub(1,"div",1),r.Ub(2,"button",2),r.bc("click",function(){return e.currentPeriodClicked()}),r.Hc(3),r.Pb(4,"div",3),r.Tb(),r.Pb(5,"div",4),r.jc(6),r.Ub(7,"button",5),r.bc("click",function(){return e.previousClicked()}),r.Tb(),r.Ub(8,"button",6),r.bc("click",function(){return e.nextClicked()}),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(2),r.Db("aria-label",e.periodButtonLabel),r.Cb(1),r.Jc(" ",e.periodButtonText," "),r.Cb(1),r.Gb("mat-calendar-invert","month"!=e.calendar.currentView),r.Cb(3),r.lc("disabled",!e.previousEnabled()),r.Db("aria-label",e.prevButtonLabel),r.Cb(1),r.lc("disabled",!e.nextEnabled()),r.Db("aria-label",e.nextButtonLabel))},directives:[T.a],encapsulation:2,changeDetection:0}),t}(),Pt=function(){var t=function(){function t(e,n,i,a){var o=this;if(s(this,t),this._dateAdapter=n,this._dateFormats=i,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new r.o,this.yearSelected=new r.o,this.monthSelected=new r.o,this._userSelection=new r.o,this.stateChanges=new l.a,!this._dateAdapter)throw Mt("NgxDateAdapter");if(!this._dateFormats)throw Mt("NGX_MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(function(){a.markForCheck(),o.stateChanges.next()})}return u(t,[{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new i.d(this.headerComponent||It),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell()}},{key:"updateTodaysDate",value:function(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}},{key:"_dateSelected",value:function(t){t&&!this._dateAdapter.sameDate(t,this.selected)&&this.selectedChange.emit(t)}},{key:"_yearSelectedInMultiYearView",value:function(t){this.yearSelected.emit(t)}},{key:"_monthSelectedInYearView",value:function(t){this.monthSelected.emit(t)}},{key:"_userSelected",value:function(){this._userSelection.emit()}},{key:"_goToDateInView",value:function(t,e){this.activeDate=t,this.currentView=e}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}},{key:"startAt",get:function(){return this._startAt},set:function(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"selected",get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"minDate",get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"maxDate",get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(t){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(a.h),r.Ob(lt,8),r.Ob(ut,8),r.Ob(r.h))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-calendar"]],viewQuery:function(t,e){var n;(1&t&&(r.Oc(St,!0),r.Oc(At,!0),r.Oc(Ct,!0)),2&t)&&(r.tc(n=r.cc())&&(e.monthView=n.first),r.tc(n=r.cc())&&(e.yearView=n.first),r.tc(n=r.cc())&&(e.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["ngxMatCalendar"],features:[r.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(r.Fc(0,H,0,0,"ng-template",0),r.Ub(1,"div",1),r.Fc(2,z,1,6,"ngx-mat-month-view",2),r.Fc(3,B,1,5,"ngx-mat-year-view",3),r.Fc(4,W,1,5,"ngx-mat-multi-year-view",4),r.Tb()),2&t&&(r.lc("cdkPortalOutlet",e._calendarHeaderPortal),r.Cb(1),r.lc("ngSwitch",e.currentView),r.Cb(1),r.lc("ngSwitchCase","month"),r.Cb(1),r.lc("ngSwitchCase","year"),r.Cb(1),r.lc("ngSwitchCase","multi-year"))},directives:[i.c,S.p,S.q,St,At,Ct],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0}.mat-calendar-content{padding:0 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button:after,.mat-calendar-previous-button:after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:solid;border-width:2px 0 0}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button:after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button:after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider:after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}'],encapsulation:2,changeDetection:0}),t}(),Et=function(){var t=function(){function t(e,n,i){if(s(this,t),this._dateAdapter=e,this.cd=n,this.formBuilder=i,this.disabled=!1,this.showSpinners=!0,this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.disableMinute=!1,this.enableMeridian=!1,this.color="primary",this.meridian="AM",this._onChange=function(){},this._onTouched=function(){},this._destroyed=new l.a,this.pattern=bt,!this._dateAdapter)throw Mt("NgxMatDateAdapter");this.form=this.formBuilder.group({hour:[{value:null,disabled:this.disabled},[D.u.required,D.u.pattern(bt)]],minute:[{value:null,disabled:this.disabled},[D.u.required,D.u.pattern(wt)]],second:[{value:null,disabled:this.disabled},[D.u.required,D.u.pattern(kt)]]})}return u(t,[{key:"ngOnInit",value:function(){var t=this;this.form.valueChanges.pipe(Object(_.a)(this._destroyed),Object(w.a)(400)).subscribe(function(e){t._updateModel()})}},{key:"ngOnChanges",value:function(t){(t.disabled||t.disableMinute)&&this._setDisableStates()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"writeValue",value:function(t){null!=t?this._model=t:(this._model=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._model,this.defaultTime)),this._updateHourMinuteSecond()}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this._disabled=t,this.cd.markForCheck()}},{key:"formatInput",value:function(t){t.value=t.value.replace(_t,"")}},{key:"toggleMeridian",value:function(){this.meridian="AM"===this.meridian?"PM":"AM",this.change("hour")}},{key:"change",value:function(t,e){var n=this._getNextValueByProp(t,e);this.form.controls[t].setValue(xt(n),{onlySelf:!1,emitEvent:!1}),this._updateModel()}},{key:"_updateHourMinuteSecond",value:function(){var t=this._dateAdapter.getHour(this._model),e=this._dateAdapter.getMinute(this._model),n=this._dateAdapter.getSecond(this._model);this.enableMeridian&&(t>=yt.meridian?(t-=yt.meridian,this.meridian="PM"):this.meridian="AM",0===t&&(t=yt.meridian)),this.form.controls.hour.setValue(xt(t)),this.form.controls.minute.setValue(xt(e)),this.form.controls.second.setValue(xt(n))}},{key:"_updateModel",value:function(){var t=this.hour;this.enableMeridian&&("AM"===this.meridian&&t===yt.meridian?t=0:"PM"===this.meridian&&t!==yt.meridian&&(t+=yt.meridian)),this._dateAdapter.setHour(this._model,t),this._dateAdapter.setMinute(this._model,this.minute),this._dateAdapter.setSecond(this._model,this.second),this._onChange(this._model)}},{key:"_getNextValueByProp",value:function(t,e){var n,i=t[0].toUpperCase()+t.slice(1),r=yt["min"+i],a=yt["max"+i];return"hour"===t&&this.enableMeridian&&(a=yt.meridian),null==e?(n=this[t]%a,"hour"===t&&this.enableMeridian&&0===n&&(n=a)):(n=e?this[t]+this["step"+i]:this[t]-this["step"+i],"hour"===t&&this.enableMeridian?0===(n%=a+1)&&(n=e?1:a):n%=a,n=e?n>a?n-a+r:n:n<r?n-r+a:n),n}},{key:"_setDisableStates",value:function(){this.disabled?this.form.disable():(this.form.enable(),this.disableMinute&&(this.form.get("minute").disable(),this.showSeconds&&this.form.get("second").disable()))}},{key:"hour",get:function(){var t=Number(this.form.controls.hour.value);return isNaN(t)?0:t}},{key:"minute",get:function(){var t=Number(this.form.controls.minute.value);return isNaN(t)?0:t}},{key:"second",get:function(){var t=Number(this.form.controls.second.value);return isNaN(t)?0:t}},{key:"valid",get:function(){return this.form.valid}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(lt,8),r.Ob(r.h),r.Ob(D.d))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-timepicker"]],hostAttrs:[1,"ngx-mat-timepicker"],inputs:{disabled:"disabled",showSpinners:"showSpinners",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",disableMinute:"disableMinute",enableMeridian:"enableMeridian",color:"color",defaultTime:"defaultTime"},exportAs:["ngxMatTimepicker"],features:[r.Bb([{provide:D.l,useExisting:Object(r.V)(function(){return t}),multi:!0}]),r.Ab],decls:18,vars:7,consts:[[3,"formGroup"],[1,"ngx-mat-timepicker-table"],[1,"ngx-mat-timepicker-tbody"],[4,"ngIf"],["appearance","legacy"],["type","text","matInput","","maxlength","2","formControlName","hour",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-spacer"],["type","text","matInput","","maxlength","2","formControlName","minute",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],["class","ngx-mat-timepicker-spacer",4,"ngIf"],["class","ngx-mat-timepicker-meridian",4,"ngIf"],["type","button","mat-icon-button","","aria-label","expand_less icon",3,"disabled","click"],["type","text","matInput","","maxlength","2","formControlName","second",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-meridian"],["mat-button","","mat-stroked-button","",3,"color","disabled","click"],["type","button","mat-icon-button","","aria-label","expand_more icon",3,"disabled","click"]],template:function(t,e){1&t&&(r.Ub(0,"form",0),r.Ub(1,"table",1),r.Ub(2,"tbody",2),r.Fc(3,X,14,5,"tr",3),r.Ub(4,"tr"),r.Ub(5,"td"),r.Ub(6,"mat-form-field",4),r.Ub(7,"input",5),r.bc("input",function(t){return e.formatInput(t.target)})("keydown.ArrowUp",function(t){return e.change("hour",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return e.change("hour",!1),t.preventDefault()})("blur",function(){return e.change("hour")}),r.Tb(),r.Tb(),r.Tb(),r.Ub(8,"td",6),r.Hc(9,":"),r.Tb(),r.Ub(10,"td"),r.Ub(11,"mat-form-field",4),r.Ub(12,"input",7),r.bc("input",function(t){return e.formatInput(t.target)})("keydown.ArrowUp",function(t){return e.change("minute",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return e.change("minute",!1),t.preventDefault()})("blur",function(){return e.change("minute")}),r.Tb(),r.Tb(),r.Tb(),r.Fc(13,Z,2,0,"td",8),r.Fc(14,K,3,0,"td",3),r.Fc(15,J,1,0,"td",8),r.Fc(16,Q,3,3,"td",9),r.Tb(),r.Fc(17,it,14,6,"tr",3),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.lc("formGroup",e.form),r.Cb(3),r.lc("ngIf",e.showSpinners),r.Cb(10),r.lc("ngIf",e.showSeconds),r.Cb(1),r.lc("ngIf",e.showSeconds),r.Cb(1),r.lc("ngIf",e.enableMeridian),r.Cb(1),r.lc("ngIf",e.enableMeridian),r.Cb(1),r.lc("ngIf",e.showSpinners))},directives:[D.v,D.o,D.g,S.n,P.b,O.b,D.c,D.i,D.n,D.f,T.a,L.a],styles:[".ngx-mat-timepicker{font-size:13px}.ngx-mat-timepicker form{min-width:90px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td{text-align:center}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-spacer{font-weight:700}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-meridian .mat-button{min-width:64px;line-height:36px;border-radius:4px;min-width:0;border-radius:50%;width:36px;height:36px;padding:0;flex-shrink:0}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button{height:24px;width:24px;line-height:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button .mat-icon{font-size:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-form-field{width:20px;max-width:20px;text-align:center}"],encapsulation:2}),t}(),Rt=0,Yt=Object(p.y)(function(){return function t(e){s(this,t),this._elementRef=e}}()),jt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).cd=i,a._viewContainerRef=r,a}return u(n,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell(),this.datepicker._customIcon&&(this._templateCustomIconPortal=new i.h(this.datepicker._customIcon,this._viewContainerRef),this.cd.detectChanges())}},{key:"valid",get:function(){return(this.datepicker.hideTime||this._timePicker&&this._timePicker.valid)&&this.datepicker.valid}},{key:"isViewMonth",get:function(){return!this._calendar||null==this._calendar.currentView||"month"==this._calendar.currentView}}]),n}(Yt);return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(r.R))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-datetime-content"]],viewQuery:function(t,e){var n;(1&t&&(r.Oc(Pt,!0),r.Oc(Et,!0)),2&t)&&(r.tc(n=r.cc())&&(e._calendar=n.first),r.tc(n=r.cc())&&(e._timePicker=n.first))},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){2&t&&(r.Ec("@transformPanel","enter"),r.Gb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["ngxMatDatetimeContent"],features:[r.zb],decls:2,vars:12,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected"],[4,"ngIf"],["class","time-container",3,"disable-seconds",4,"ngIf"],[1,"actions"],["mat-button","","mat-stroked-button","","cdkFocusInitial","",3,"color","disabled","click"],[3,"cdkPortalOutlet"],[1,"time-container"],[3,"showSpinners","showSeconds","disabled","stepHour","stepMinute","stepSecond","ngModel","color","enableMeridian","disableMinute","ngModelChange"]],template:function(t,e){1&t&&(r.Ub(0,"ngx-mat-calendar",0),r.bc("selectedChange",function(t){return e.datepicker.select(t)})("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)}),r.Tb(),r.Fc(1,st,6,5,"ng-container",1)),2&t&&(r.lc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._minDate)("maxDate",e.datepicker._maxDate)("dateFilter",e.datepicker._dateFilter)("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e.datepicker._selected)("dateClass",e.datepicker.dateClass)("@fadeInCalendar","enter"),r.Cb(1),r.lc("ngIf",e.isViewMonth))},directives:[Pt,S.l,S.n,T.a,i.c,Et,D.n,D.q,L.a],styles:['.mat-datepicker-content{display:block;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-datepicker-content .mat-calendar{width:296px}.mat-datepicker-content .time-container{display:flex;position:relative;padding-top:5px;justify-content:center}.mat-datepicker-content .time-container.disable-seconds .ngx-mat-timepicker .table{margin-left:9px}.mat-datepicker-content .time-container:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:rgba(0,0,0,.12)}.mat-datepicker-content .actions{display:flex;padding:5px 15px 10px;justify-content:flex-end}'],encapsulation:2,data:{animation:[a.m.transformPanel,a.m.fadeInCalendar]},changeDetection:0}),t}(),Nt=function(){var t=function(){function t(e,n,i,a,u,c,h,d){var f=this;if(s(this,t),this._dialog=e,this._overlay=n,this._ngZone=i,this._viewContainerRef=a,this._dateAdapter=c,this._dir=h,this._document=d,this.startView="month",this._defaultColor="primary",this._touchUi=!1,this._hideTime=!1,this.yearSelected=new r.o,this.monthSelected=new r.o,this.openedStream=new r.o,this.closedStream=new r.o,this._opened=!1,this._showSpinners=!0,this._showSeconds=!1,this._stepHour=1,this._stepMinute=1,this._stepSecond=1,this._enableMeridian=!1,this._hasBackdrop=!0,this.id="mat-datepicker-"+Rt++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=o.a.EMPTY,this.stateChanges=new l.a,this._selectedChanged=new l.a,this._minValidator=function(){return!f._minDate||!f._selected||f._dateAdapter.compareDateWithTime(f._minDate,f._selected,f.showSeconds)<=0?null:{matDatetimePickerMin:{min:f._minDate,actual:f._selected}}},this._maxValidator=function(){return!f._maxDate||!f._selected||f._dateAdapter.compareDateWithTime(f._maxDate,f._selected,f.showSeconds)>=0?null:{matDatetimePickerMax:{max:f._maxDate,actual:f._selected}}},!this._dateAdapter)throw Mt("NgxMatDateAdapter");this._scrollStrategy=u}return u(t,[{key:"ngOnDestroy",value:function(){this.close(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null),this._inputSubscription.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(t){this._dateAdapter.copyTime(t,this._selected),this._selected=t}},{key:"_selectYear",value:function(t){this.yearSelected.emit(t)}},{key:"_selectMonth",value:function(t){this.monthSelected.emit(t)}},{key:"ok",value:function(){var t=this._dateAdapter.clone(this._selected);this._selectedChanged.next(t),this.close()}},{key:"cancel",value:function(){this._selected=this._rawValue,this.close()}},{key:"_registerInput",value:function(t){var e=this;if(this.datepickerInput)throw Error("A NgxMatDatepicker can only be associated with a single input.");this.datepickerInput=t,this._inputSubscription=this.datepickerInput._valueChange.subscribe(function(t){return e._selected=t})}},{key:"open",value:function(){if(this._rawValue=null!=this._selected?this._dateAdapter.clone(this._selected):null,null==this._selected&&(this._selected=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._selected,this.defaultTime)),!this._opened&&!this.disabled){if(!this.datepickerInput)throw Error("Attempted to open an NgxMatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var t=this;if(this._opened){this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();var e=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}}},{key:"_openAsDialog",value:function(){var t=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(jt,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:this._hasBackdrop}),this._dialogRef.afterClosed().subscribe(function(){return t.close()}),this._dialogRef.componentInstance.datepicker=this,this._setColor()}},{key:"_openAsPopup",value:function(){var t=this;this._calendarPortal||(this._calendarPortal=new i.d(jt,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(Object(v.a)(1)).subscribe(function(){t._popupRef.updatePosition()}))}},{key:"_createPopup",value:function(){var t=this,e=new M.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:this._hasBackdrop,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(d.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(k.a)(function(e){return e.keyCode===g.g||t.datepickerInput&&e.altKey&&e.keyCode===g.p}))).subscribe(function(e){e&&e.preventDefault(),t._hasBackdrop&&e?t.cancel():t.close()})}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"_setColor",value:function(){var t=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=t),this._dialogRef&&(this._dialogRef.componentInstance.color=t)}},{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.value:null)},set:function(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}},{key:"defaultColor",get:function(){return this._defaultColor},set:function(t){this._defaultColor=t}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput._getThemePalette():"primary")},set:function(t){this._color=t}},{key:"touchUi",get:function(){return this._touchUi},set:function(t){this._touchUi=Object(x.c)(t)}},{key:"hideTime",get:function(){return this._hideTime},set:function(t){this._hideTime=Object(x.c)(t)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(t){var e=Object(x.c)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(e))}},{key:"opened",get:function(){return this._opened},set:function(t){t?this.open():this.close()}},{key:"showSpinners",get:function(){return this._showSpinners},set:function(t){this._showSpinners=t}},{key:"showSeconds",get:function(){return this._showSeconds},set:function(t){this._showSeconds=t}},{key:"stepHour",get:function(){return this._stepHour},set:function(t){this._stepHour=t}},{key:"stepMinute",get:function(){return this._stepMinute},set:function(t){this._stepMinute=t}},{key:"stepSecond",get:function(){return this._stepSecond},set:function(t){this._stepSecond=t}},{key:"enableMeridian",get:function(){return this._enableMeridian},set:function(t){this._enableMeridian=t}},{key:"disableMinute",get:function(){return this._disableMinute},set:function(t){this._disableMinute=t}},{key:"defaultTime",get:function(){return this._defaultTime},set:function(t){this._defaultTime=t}},{key:"_selected",get:function(){return this._validSelected},set:function(t){this._validSelected=t}},{key:"_minDate",get:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_maxDate",get:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"valid",get:function(){var t=this._minValidator(),e=this._maxValidator();return null==t&&null==e}},{key:"_dateFilter",get:function(){return this.datepickerInput&&this.datepickerInput._dateFilter}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(C.b),r.Ob(M.c),r.Ob(r.B),r.Ob(r.R),r.Ob(a.b),r.Ob(lt,8),r.Ob(I.b,8),r.Ob(S.d,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-datetime-picker"]],contentQueries:function(t,e,n){var i;(1&t&&r.Hb(n,r.N,!0),2&t)&&(r.tc(i=r.cc())&&(e._customIcon=i.first))},inputs:{startView:"startView",startAt:"startAt",defaultColor:"defaultColor",color:"color",touchUi:"touchUi",hideTime:"hideTime",disabled:"disabled",opened:"opened",showSpinners:"showSpinners",showSeconds:"showSeconds",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",enableMeridian:"enableMeridian",disableMinute:"disableMinute",defaultTime:"defaultTime",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["ngxMatDatetimePicker"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t}(),Ft={provide:D.l,useExisting:Object(r.V)(function(){return zt}),multi:!0},Vt={provide:D.k,useExisting:Object(r.V)(function(){return zt}),multi:!0},Ht=function t(e,n){s(this,t),this.target=e,this.targetElement=n,this.value=this.target.value},zt=function(){var t=function(){function t(e,n,i,a){var l=this;if(s(this,t),this._elementRef=e,this._dateAdapter=n,this._dateFormats=i,this._formField=a,this.dateChange=new r.o,this.dateInput=new r.o,this._valueChange=new r.o,this.stateChanges=new r.o,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=o.a.EMPTY,this._localeSubscription=o.a.EMPTY,this._parseValidator=function(){return l._lastValueValid?null:{matDatetimePickerParse:{text:l._elementRef.nativeElement.value}}},this._minValidator=function(t){var e=l._getValidDateOrNull(l._dateAdapter.deserialize(t.value));return!l.min||!e||l._dateAdapter.compareDateWithTime(l.min,e,l._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:l.min,actual:e}}},this._maxValidator=function(t){var e=l._getValidDateOrNull(l._dateAdapter.deserialize(t.value));return!l.max||!e||l._dateAdapter.compareDateWithTime(l.max,e,l._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:l.max,actual:e}}},this._filterValidator=function(t){var e=l._getValidDateOrNull(l._dateAdapter.deserialize(t.value));return l._dateFilter&&e&&!l._dateFilter(e)?{matDatetimePickerFilter:!0}:null},this._validator=D.u.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw Mt("NgxMatDateAdapter");if(!this._dateFormats)throw Mt("NGX_MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe(function(){l.value=l.value})}return u(t,[{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}},{key:"registerOnValidatorChange",value:function(t){this._validatorOnChange=t}},{key:"validate",value:function(t){return this._validator?this._validator(t):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._cvaOnChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_onKeydown",value:function(t){this._datepicker&&t.altKey&&t.keyCode===g.d&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}},{key:"_onInput",value:function(t){var e=this._lastValueValid,n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n);var i=this._dateAdapter.isSameTime(n,this._value);null!=n&&(!i||!this._dateAdapter.sameDate(n,this._value))||null==n&&null!=this._value?(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new Ht(this,this._elementRef.nativeElement))):e!==this._lastValueValid&&this._validatorOnChange()}},{key:"_onChange",value:function(){this.dateChange.emit(new Ht(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_onFocus",value:function(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}},{key:"_formatValue",value:function(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}},{key:"ngxMatDatetimePicker",set:function(t){var e=this;t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(function(t){e.value=t,e._cvaOnChange(t),e._onTouched(),e.dateInput.emit(new Ht(e,e._elementRef.nativeElement)),e.dateChange.emit(new Ht(e,e._elementRef.nativeElement))}))}},{key:"ngxMatDatetimePickerFilter",set:function(t){this._dateFilter=t,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);var e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}},{key:"min",get:function(){return this._min},set:function(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(t){var e=null!=t&&""+t!="false",n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.emit(void 0)),e&&n.blur&&n.blur()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(lt,8),r.Ob(ut,8),r.Ob(P.b,8))},t.\u0275dir=r.Jb({type:t,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(t,e){1&t&&r.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("focus",function(){return e._onFocus()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(r.Xb("disabled",e.disabled),r.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null))},inputs:{value:"value",ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[r.Bb([Ft,Vt,{provide:O.a,useExisting:t}])]}),t}(),Bt=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[S.c,O.c,D.s,D.h,L.b,T.b]]}),t}(),Wt=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[a.c,{provide:gt,useClass:vt}],imports:[[S.c,a.i,C.f,i.g,D.h,L.b,T.b,O.c,Bt]]}),t}();try{Lt="undefined"!=typeof Intl}catch(ne){Lt=!1}var Ut={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Gt=Zt(31,function(t){return String(t+1)}),qt={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Xt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Zt(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var Kt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){var r,a;return s(this,n),(a=e.call(this)).useUtcForDisplay=!0,c((r=m(a),b(n.prototype)),"setLocale",r).call(r,t),a.useUtcForDisplay=!i.TRIDENT,a._clampDate=i.TRIDENT||i.EDGE,a}return u(n,[{key:"getYear",value:function(t){return t.getFullYear()}},{key:"getMonth",value:function(t){return t.getMonth()}},{key:"getDate",value:function(t){return t.getDate()}},{key:"getDayOfWeek",value:function(t){return t.getDay()}},{key:"getMonthNames",value:function(t){var e=this;if(Lt){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Zt(12,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))})}return Ut[t]}},{key:"getDateNames",value:function(){var t=this;if(Lt){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Zt(31,function(n){return t._stripDirectionalityCharacters(t._format(e,new Date(2017,0,n+1)))})}return Gt}},{key:"getDayOfWeekNames",value:function(t){var e=this;if(Lt){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Zt(7,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return qt[t]}},{key:"getYearName",value:function(t){if(Lt){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}},{key:"clone",value:function(t){return new Date(t.getTime())}},{key:"createDate",value:function(t,e,n){if(e<0||e>11)throw Error('Invalid month index "'.concat(e,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(e,'".'));return i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}},{key:"format",value:function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Lt){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}},{key:"addCalendarYears",value:function(t,e){return this.addCalendarMonths(t,12*e)}},{key:"addCalendarMonths",value:function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}},{key:"toIso8601",value:function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}},{key:"deserialize",value:function(t){if("string"==typeof t){if(!t)return null;if(Xt.test(t)){var e=new Date(t);if(this.isValid(e))return e}}return c(b(n.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return t instanceof Date}},{key:"isValid",value:function(t){return!isNaN(t.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"getHour",value:function(t){return t.getHours()}},{key:"getMinute",value:function(t){return t.getMinutes()}},{key:"getSecond",value:function(t){return t.getSeconds()}},{key:"setHour",value:function(t,e){t.setHours(e)}},{key:"setMinute",value:function(t,e){t.setMinutes(e)}},{key:"setSecond",value:function(t,e){t.setSeconds(e)}},{key:"_createDateWithOverflow",value:function(t,e,n){var i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}},{key:"_2digit",value:function(t){return("00"+t).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(t){return t.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(t,e){var n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}]),n}(lt);return t.\u0275fac=function(e){return new(e||t)(r.Yb(p.f,8),r.Yb(A.a))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),Jt={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},Qt={parse:{dateInput:Jt},display:{dateInput:Jt,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},$t=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[{provide:lt,useClass:Kt}],imports:[[A.b]]}),t}(),te=Qt,ee=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[{provide:ut,useValue:te}],imports:[[$t]]}),t}()},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},nLfN:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return f}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return m}),n.d(e,"f",function(){return g}),n.d(e,"g",function(){return v});var i,r=n("fXoL"),a=n("ofXK");try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){i=!1}var o,l,u,c,h,d=function(){var t=function t(e){s(this,t),this._platformId=e,this.isBrowser=this._platformId?Object(a.x)(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&&!i)&&"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 t.\u0275fac=function(e){return new(e||t)(r.Yb(r.D))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(r.D))},token:t,providedIn:"root"}),t}(),f=function(){var t=function t(){s(this,t)};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t}(),p=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function m(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(p);var t=document.createElement("input");return o=new Set(p.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function g(t){return function(){if(null==l&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return l=!0}}))}finally{l=l||!1}return l}()?t:!!t.capture}function v(){if(null==c)if("object"==typeof document&&document||(c=!1),"scrollBehavior"in document.documentElement.style)c=!0;else{var t=Element.prototype.scrollTo;c=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}return c}function y(){if("object"!=typeof document||!document)return 0;if(null==u){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),u=0,0===t.scrollLeft&&(t.scrollLeft=1,u=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return u}function _(t){if(function(){if(null==h){var t="undefined"!=typeof document?document.head:null;h=!(!t||!t.createShadowRoot&&!t.attachShadow)}return h}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},nLtN:function(t,e,n){"use strict";var i=n("YHEm"),r=function(t,e){for(var n=t.length;n--;)if(Object(i.a)(t[n][0],e))return n;return-1},a=Array.prototype.splice;function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():a.call(e,n,1),--this.size,0))},o.prototype.get=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]},o.prototype.has=function(t){return r(this.__data__,t)>-1},o.prototype.set=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},e.a=o},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("quSY");function a(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){s(this,t),this.callback=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.callback))}}]),t}(),l=function(t){h(n,t);var e=f(n);function n(t,i){var a;return s(this,n),(a=e.call(this,t)).add(new r.a(i)),a}return n}(i.a)},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}}},nyYc:function(t,e,n){!function(t){"use strict";var e=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,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",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(i,r,a,o){var s=e(i),l=n[t][e(i)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oSzE:function(t,e,n){"use strict";var i=n("nLtN"),r=n("3cmB"),a=n("DlmY");function o(t){var e=this.__data__=new i.a(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.a,this.size=0},o.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var n=this.__data__;if(n instanceof i.a){var o=n.__data__;if(!r.a||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new a.a(o)}return n.set(t,e),this.size=n.size,this},e.a=o},oYcn:function(t,e,n){"use strict";var i=n("8M4i"),r=n("Js68"),a=n("EUcb"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=n("ovuK"),l=n("xutz"),u=l.a&&l.a.isTypedArray,c=u?Object(s.a)(u):function(t){return Object(a.a)(t)&&Object(r.a)(t.length)&&!!o[Object(i.a)(t)]};e.a=c},ofXK:function(t,e,i){"use strict";i.d(e,"a",function(){return D}),i.d(e,"b",function(){return At}),i.d(e,"c",function(){return jt}),i.d(e,"d",function(){return m}),i.d(e,"e",function(){return Et}),i.d(e,"f",function(){return T}),i.d(e,"g",function(){return Rt}),i.d(e,"h",function(){return y}),i.d(e,"i",function(){return L}),i.d(e,"j",function(){return S}),i.d(e,"k",function(){return It}),i.d(e,"l",function(){return pt}),i.d(e,"m",function(){return gt}),i.d(e,"n",function(){return yt}),i.d(e,"o",function(){return St}),i.d(e,"p",function(){return kt}),i.d(e,"q",function(){return xt}),i.d(e,"r",function(){return Mt}),i.d(e,"s",function(){return Ct}),i.d(e,"t",function(){return O}),i.d(e,"u",function(){return g}),i.d(e,"v",function(){return Pt}),i.d(e,"w",function(){return Vt}),i.d(e,"x",function(){return Ft}),i.d(e,"y",function(){return d}),i.d(e,"z",function(){return Nt}),i.d(e,"A",function(){return l}),i.d(e,"B",function(){return ft}),i.d(e,"C",function(){return c});var a=i("fXoL"),o=null;function l(){return o}function c(t){o||(o=t)}var d=function t(){s(this,t)},m=new a.s("DocumentToken"),g=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Kb)({factory:v,token:t,providedIn:"platform"}),t}();function v(){return Object(a.Yb)(_)}var y=new a.s("Location Initialized"),_=function(){var t=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this))._doc=t,i._init(),i}return u(n,[{key:"_init",value:function(){this.location=l().getLocation(),this._history=l().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return l().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){l().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}},{key:"onHashChange",value:function(t){l().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}},{key:"pushState",value:function(t,e,n){b()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){b()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(g);return t.\u0275fac=function(e){return new(e||t)(a.Yb(m))},t.\u0275prov=Object(a.Kb)({factory:w,token:t,providedIn:"platform"}),t}();function b(){return!!window.history.pushState}function w(){return new _(Object(a.Yb)(m))}function k(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function x(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function M(t){return t&&"?"!==t[0]?"?"+t:t}var S=function(){var t=function t(){s(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Kb)({factory:C,token:t,providedIn:"root"}),t}();function C(t){var e=Object(a.Yb)(m).location;return new O(Object(a.Yb)(g),e&&e.origin||"")}var D=new a.s("appBaseHref"),O=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){var r;if(s(this,n),(r=e.call(this))._platformLocation=t,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,p(r)}return u(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return k(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+M(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+M(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+M(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(S);return t.\u0275fac=function(e){return new(e||t)(a.Yb(g),a.Yb(D,8))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),T=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",null!=i&&(r._baseHref=i),r}return u(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=k(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+M(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+M(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(S);return t.\u0275fac=function(e){return new(e||t)(a.Yb(g),a.Yb(D,8))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),L=function(){var t=function(){function t(e,n){var i=this;s(this,t),this._subject=new a.o,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=x(I(r)),this._platformStrategy.onPopState(function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})})}return u(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+M(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,I(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+M(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+M(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(S),a.Yb(g))},t.normalizeQueryParams=M,t.joinWithSlash=k,t.stripTrailingSlash=x,t.\u0275prov=Object(a.Kb)({factory:A,token:t,providedIn:"root"}),t}();function A(){return new L(Object(a.Yb)(S),Object(a.Yb)(g))}function I(t){return t.replace(/\/index.html$/,"")}var P=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),E=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),R=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),Y=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),j=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function N(t,e){return W(Object(a.lb)(t)[a.cb.DateFormat],e)}function F(t,e){return W(Object(a.lb)(t)[a.cb.TimeFormat],e)}function V(t,e){return W(Object(a.lb)(t)[a.cb.DateTimeFormat],e)}function H(t,e){var n=Object(a.lb)(t),i=n[a.cb.NumberSymbols][e];if(void 0===i){if(e===j.CurrencyDecimal)return n[a.cb.NumberSymbols][j.Decimal];if(e===j.CurrencyGroup)return n[a.cb.NumberSymbols][j.Group]}return i}var z=a.pb;function B(t){if(!t[a.cb.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[a.cb.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function W(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function U(t){var e=r(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var G=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,q={},X=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Z=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),K=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),J=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function Q(t,e,n,i){var a=function(t){if(ct(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=r(t.split("-").map(function(t){return+t}),3),a=i[0],o=i[1],s=i[2];return new Date(a,o-1,s)}if(e=t.match(G))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),u=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,l,u),e}(e)}var l=new Date(t);if(!ct(l))throw new Error('Unable to convert "'.concat(t,'" into a date'));return l}(t);e=$(n,e)||e;for(var o,s=[];e;){if(!(o=X.exec(e))){s.push(e);break}var l=(s=s.concat(o.slice(1))).pop();if(!l)break;e=l}var u=a.getTimezoneOffset();i&&(u=ut(i,u),a=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(ut(e,i)-i))}(a,i));var c="";return s.forEach(function(t){var e=function(t){if(lt[t])return lt[t];var e;switch(t){case"G":case"GG":case"GGG":e=it(J.Eras,R.Abbreviated);break;case"GGGG":e=it(J.Eras,R.Wide);break;case"GGGGG":e=it(J.Eras,R.Narrow);break;case"y":e=nt(K.FullYear,1,0,!1,!0);break;case"yy":e=nt(K.FullYear,2,0,!0,!0);break;case"yyy":e=nt(K.FullYear,3,0,!1,!0);break;case"yyyy":e=nt(K.FullYear,4,0,!1,!0);break;case"Y":e=st(1);break;case"YY":e=st(2,!0);break;case"YYY":e=st(3);break;case"YYYY":e=st(4);break;case"M":case"L":e=nt(K.Month,1,1);break;case"MM":case"LL":e=nt(K.Month,2,1);break;case"MMM":e=it(J.Months,R.Abbreviated);break;case"MMMM":e=it(J.Months,R.Wide);break;case"MMMMM":e=it(J.Months,R.Narrow);break;case"LLL":e=it(J.Months,R.Abbreviated,E.Standalone);break;case"LLLL":e=it(J.Months,R.Wide,E.Standalone);break;case"LLLLL":e=it(J.Months,R.Narrow,E.Standalone);break;case"w":e=ot(1);break;case"ww":e=ot(2);break;case"W":e=ot(1,!0);break;case"d":e=nt(K.Date,1);break;case"dd":e=nt(K.Date,2);break;case"E":case"EE":case"EEE":e=it(J.Days,R.Abbreviated);break;case"EEEE":e=it(J.Days,R.Wide);break;case"EEEEE":e=it(J.Days,R.Narrow);break;case"EEEEEE":e=it(J.Days,R.Short);break;case"a":case"aa":case"aaa":e=it(J.DayPeriods,R.Abbreviated);break;case"aaaa":e=it(J.DayPeriods,R.Wide);break;case"aaaaa":e=it(J.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":e=it(J.DayPeriods,R.Abbreviated,E.Standalone,!0);break;case"bbbb":e=it(J.DayPeriods,R.Wide,E.Standalone,!0);break;case"bbbbb":e=it(J.DayPeriods,R.Narrow,E.Standalone,!0);break;case"B":case"BB":case"BBB":e=it(J.DayPeriods,R.Abbreviated,E.Format,!0);break;case"BBBB":e=it(J.DayPeriods,R.Wide,E.Format,!0);break;case"BBBBB":e=it(J.DayPeriods,R.Narrow,E.Format,!0);break;case"h":e=nt(K.Hours,1,-12);break;case"hh":e=nt(K.Hours,2,-12);break;case"H":e=nt(K.Hours,1);break;case"HH":e=nt(K.Hours,2);break;case"m":e=nt(K.Minutes,1);break;case"mm":e=nt(K.Minutes,2);break;case"s":e=nt(K.Seconds,1);break;case"ss":e=nt(K.Seconds,2);break;case"S":e=nt(K.FractionalSeconds,1);break;case"SS":e=nt(K.FractionalSeconds,2);break;case"SSS":e=nt(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=rt(Z.Short);break;case"ZZZZZ":e=rt(Z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=rt(Z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=rt(Z.Long);break;default:return null}return lt[t]=e,e}(t);c+=e?e(a,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function $(t,e){var n=function(t){return Object(a.lb)(t)[a.cb.LocaleId]}(t);if(q[n]=q[n]||{},q[n][e])return q[n][e];var i="";switch(e){case"shortDate":i=N(t,Y.Short);break;case"mediumDate":i=N(t,Y.Medium);break;case"longDate":i=N(t,Y.Long);break;case"fullDate":i=N(t,Y.Full);break;case"shortTime":i=F(t,Y.Short);break;case"mediumTime":i=F(t,Y.Medium);break;case"longTime":i=F(t,Y.Long);break;case"fullTime":i=F(t,Y.Full);break;case"short":var r=$(t,"shortTime"),o=$(t,"shortDate");i=tt(V(t,Y.Short),[r,o]);break;case"medium":var s=$(t,"mediumTime"),l=$(t,"mediumDate");i=tt(V(t,Y.Medium),[s,l]);break;case"long":var u=$(t,"longTime"),c=$(t,"longDate");i=tt(V(t,Y.Long),[u,c]);break;case"full":var h=$(t,"fullTime"),d=$(t,"fullDate");i=tt(V(t,Y.Full),[h,d])}return i&&(q[n][e]=i),i}function tt(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function et(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=n));for(var o=String(t);o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),a+o}function nt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s,l=function(t,e){switch(t){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}(t,a);if((n>0||l>-n)&&(l+=n),t===K.Hours)0===l&&-12===n&&(l=12);else if(t===K.FractionalSeconds)return s=e,et(l,3).substr(0,s);var u=H(o,j.MinusSign);return et(l,e,u,i,r)}}function it(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,s){return function(t,e,n,i,o,s){switch(n){case J.Months:return function(t,e,n){var i=Object(a.lb)(t),r=W([i[a.cb.MonthsFormat],i[a.cb.MonthsStandalone]],e);return W(r,n)}(e,o,i)[t.getMonth()];case J.Days:return function(t,e,n){var i=Object(a.lb)(t),r=W([i[a.cb.DaysFormat],i[a.cb.DaysStandalone]],e);return W(r,n)}(e,o,i)[t.getDay()];case J.DayPeriods:var l=t.getHours(),u=t.getMinutes();if(s){var c=function(t){var e=Object(a.lb)(t);return B(e),(e[a.cb.ExtraData][2]||[]).map(function(t){return"string"==typeof t?U(t):[U(t[0]),U(t[1])]})}(e),h=function(t,e,n){var i=Object(a.lb)(t);B(i);var r=W([i[a.cb.ExtraData][0],i[a.cb.ExtraData][1]],e)||[];return W(r,n)||[]}(e,o,i),d=c.findIndex(function(t){if(Array.isArray(t)){var e=r(t,2),n=e[0],i=e[1],a=l>=n.hours&&u>=n.minutes,o=l<i.hours||l===i.hours&&u<i.minutes;if(n.hours<i.hours){if(a&&o)return!0}else if(a||o)return!0}else if(t.hours===l&&t.minutes===u)return!0;return!1});if(-1!==d)return h[d]}return function(t,e,n){var i=Object(a.lb)(t),r=W([i[a.cb.DayPeriodsFormat],i[a.cb.DayPeriodsStandalone]],e);return W(r,n)}(e,o,i)[l<12?0:1];case J.Eras:return function(t,e){return W(Object(a.lb)(t)[a.cb.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,s,t,e,n,i)}}function rt(t){return function(e,n,i){var r=-1*i,a=H(n,j.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Z.Short:return(r>=0?"+":"")+et(o,2,a)+et(Math.abs(r%60),2,a);case Z.ShortGMT:return"GMT"+(r>=0?"+":"")+et(o,1,a);case Z.Long:return"GMT"+(r>=0?"+":"")+et(o,2,a)+":"+et(Math.abs(r%60),2,a);case Z.Extended:return 0===i?"Z":(r>=0?"+":"")+et(o,2,a)+":"+et(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function at(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,a,o;if(e){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();r=1+Math.floor((l+s)/7)}else{var u=at(n),c=(a=u.getFullYear(),o=new Date(a,0,1).getDay(),new Date(a,0,1+(o<=4?4:11)-o)),h=u.getTime()-c.getTime();r=1+Math.round(h/6048e5)}return et(r,t,H(i,j.MinusSign))}}function st(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return et(at(n).getFullYear(),t,H(i,j.MinusSign),e)}}var lt={};function ut(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ct(t){return t instanceof Date&&!isNaN(t.valueOf())}var ht=function t(){s(this,t)},dt=function(){var t=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this)).locale=t,i}return u(n,[{key:"getPluralCategory",value:function(t,e){switch(z(e||this.locale)(t)){case P.Zero:return"zero";case P.One:return"one";case P.Two:return"two";case P.Few:return"few";case P.Many:return"many";default:return"other"}}}]),n}(ht);return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.w))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}();function ft(t,e){e=encodeURIComponent(e);var i,a=n(t.split(";"));try{for(a.s();!(i=a.n()).done;){var o=i.value,s=o.indexOf("="),l=r(-1==s?[o,""]:[o.slice(0,s),o.slice(s+1)],2),u=l[0],c=l[1];if(u.trim()===e)return decodeURIComponent(c)}}catch(h){a.e(h)}finally{a.f()}return null}var pt=function(){var t=function(){function t(e,n,i,r){s(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return u(t,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(a.xb)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})}},{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(a.sb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.u),a.Ob(a.v),a.Ob(a.l),a.Ob(a.G))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),mt=function(){function t(e,n,i,r){s(this,t),this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}return u(t,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),t}(),gt=function(){var t=function(){function t(e,n,i){s(this,t),this._viewContainer=e,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return u(t,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'. NgFor only supports binding to Iterables such as Arrays."))}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var a=e._viewContainer.createEmbeddedView(e._template,new mt(null,e._ngForOf,-1,-1),null===r?void 0:r),o=new vt(t,a);n.push(o)}else if(null==r)e._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=e._viewContainer.get(i);e._viewContainer.move(s,r);var l=new vt(t,s);n.push(l)}});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,a=this._viewContainer.length;r<a;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=a,o.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})}},{key:"_perViewChange",value:function(t,e){t.context.$implicit=e.item}},{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(t){this._trackByFn=t},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.N),a.Ob(a.u))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t}(),vt=function t(e,n){s(this,t),this.record=e,this.view=n},yt=function(){var t=function(){function t(e,n){s(this,t),this._viewContainer=e,this._context=new _t,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return u(t,[{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}},{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){bt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){bt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.N))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),_t=function t(){s(this,t),this.$implicit=null,this.ngIf=null};function bt(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat(Object(a.xb)(e),"'."))}var wt=function(){function t(e,n){s(this,t),this._viewContainerRef=e,this._templateRef=n,this._created=!1}return u(t,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}]),t}(),kt=function(){var t=function(){function t(){s(this,t),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return u(t,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}},{key:"_matchCase",value:function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}},{key:"_updateDefaultCases",value:function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}},{key:"ngSwitch",set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),xt=function(){var t=function(){function t(e,n,i){s(this,t),this.ngSwitch=i,i._addCase(),this._view=new wt(e,n)}return u(t,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.N),a.Ob(kt,1))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),Mt=function(){var t=function t(e,n,i){s(this,t),i._addDefault(new wt(e,n))};return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.N),a.Ob(kt,1))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngSwitchDefault",""]]}),t}(),St=function(){var t=function(){function t(e,n,i){s(this,t),this._ngEl=e,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return u(t,[{key:"ngDoCheck",value:function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}},{key:"_setStyle",value:function(t,e){var n=r(t.split("."),2),i=n[0],a=n[1];null!=(e=null!=e&&a?"".concat(e).concat(a):e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{key:"_applyChanges",value:function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})}},{key:"ngStyle",set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(a.v),a.Ob(a.G))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t}(),Ct=function(){var t=function(){function t(e){s(this,t),this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return u(t,[{key:"ngOnChanges",value:function(t){if(this._shouldRecreateView(t)){var e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(t){var e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}},{key:"_hasContextShapeChanged",value:function(t){var e=Object.keys(t.previousValue||{}),i=Object.keys(t.currentValue||{});if(e.length===i.length){var r,a=n(i);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(-1===e.indexOf(o))return!0}}catch(s){a.e(s)}finally{a.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var i=n[e];this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R))},t.\u0275dir=a.Jb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[a.Ab]}),t}();function Dt(t,e){return Error("InvalidPipeArgument: '".concat(e,"' for pipe '").concat(Object(a.xb)(t),"'"))}var Ot=function(){function t(){s(this,t)}return u(t,[{key:"createSubscription",value:function(t,e){return t.subscribe({next:e,error:function(t){throw t}})}},{key:"dispose",value:function(t){t.unsubscribe()}},{key:"onDestroy",value:function(t){t.unsubscribe()}}]),t}(),Tt=new(function(){function t(){s(this,t)}return u(t,[{key:"createSubscription",value:function(t,e){return t.then(e,function(t){throw t})}},{key:"dispose",value:function(t){}},{key:"onDestroy",value:function(t){}}]),t}()),Lt=new Ot,At=function(){var t=function(){function t(e){s(this,t),this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return u(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}},{key:"_subscribe",value:function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})}},{key:"_selectStrategy",value:function(e){if(Object(a.ub)(e))return Tt;if(Object(a.tb)(e))return Lt;throw Dt(t,e)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.ac())},t.\u0275pipe=a.Nb({name:"async",type:t,pure:!1}),t}(),It=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"transform",value:function(e){if(null==e)return null;if("string"!=typeof e)throw Dt(t,e);return e.toLowerCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=a.Nb({name:"lowercase",type:t,pure:!0}),t}(),Pt=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"transform",value:function(e){if(null==e)return null;if("string"!=typeof e)throw Dt(t,e);return e.toUpperCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=a.Nb({name:"uppercase",type:t,pure:!0}),t}(),Et=function(){var t=function(){function t(e){s(this,t),this.locale=e}return u(t,[{key:"transform",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==e||""===e||e!=e)return null;try{return Q(e,n,r||this.locale,i)}catch(a){throw Dt(t,a.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.w))},t.\u0275pipe=a.Nb({name:"date",type:t,pure:!0}),t}(),Rt=function(){var t=function(){function t(e){s(this,t),this.differs=e,this.keyValues=[]}return u(t,[{key:"transform",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Yt;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var i=this.differ.diff(t);return i&&(this.keyValues=[],i.forEachItem(function(t){e.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(n)),this.keyValues}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.v))},t.\u0275pipe=a.Nb({name:"keyvalue",type:t,pure:!1}),t}();function Yt(t,e){var n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var r=String(n),a=String(i);return r==a?0:r<a?-1:1}var jt=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[{provide:ht,useClass:dt}]}),t}(),Nt="browser";function Ft(t){return t===Nt}var Vt=function(){var t=function t(){s(this,t)};return t.\u0275prov=Object(a.Kb)({token:t,providedIn:"root",factory:function(){return new Ht(Object(a.Yb)(m),window,Object(a.Yb)(a.n))}}),t}(),Ht=function(){function t(e,n,i){s(this,t),this.document=e,this.window=n,this.errorHandler=i,this.offset=function(){return[0,0]}}return u(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=zt(this.window.history)||zt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(e){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),t}();function zt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},ovuK:function(t,e,n){"use strict";e.a=function(t){return function(e){return t(e)}}},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){s(this,t),this.predicate=e,this.thisArg=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}]),t}(),o=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).predicate=i,a.thisArg=r,a.count=0,a}return u(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(i.a)},pVw1:function(t,e,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"Set");e.a=a},ppsF:function(e,n,r){"use strict";r.d(n,"b",function(){return y}),r.d(n,"a",function(){return _});var a=r("5+WD"),o=r("fXoL"),l=r("ofXK"),c=r("STbY"),d=r("NFeN"),p=r("bSwM"),m=r("3Pt+"),g=r("sYmb");function v(t,e){if(1&t&&(o.Ub(0,"button",2),o.Ub(1,"mat-icon",3),o.Hc(2,"more_vert"),o.Tb(),o.Ub(3,"mat-checkbox",4),o.bc("ngModelChange",function(t){return e.$implicit.display=t})("click",function(t){return t.stopPropagation()}),o.Hc(4),o.gc(5,"translate"),o.Tb(),o.Tb()),2&t){var n=e.$implicit;o.lc("cdkDragDisabled",n.sticky||!n.header),o.Cb(3),o.lc("ngModel",n.display),o.Cb(1),o.Ic(o.hc(5,3,n.header))}}var y=function(){var t=function(){function t(){var e=this;s(this,t),this.sticky=function(t){return!e._columns[t].sticky&&e._columns[t].header}}return u(t,[{key:"drop",value:function(t){Object(a.d)(this._columns,t.previousIndex,t.currentIndex)}},{key:"columns",set:function(t){var e;null===(e=this._columns=t)||void 0===e||e.forEach(function(t){var e;return null!==(e=t.display)&&void 0!==e?e:t.display=!0})},get:function(){return this._columns}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["table-column-pattern"]],inputs:{columns:"columns"},decls:2,vars:2,consts:[["cdkDropList","",3,"cdkDropListSortPredicate","cdkDropListDropped"],["mat-menu-item","","cdkDrag","",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["mat-menu-item","","cdkDrag","",3,"cdkDragDisabled"],[1,"app-foreground-secondary"],[3,"ngModel","ngModelChange","click"]],template:function(t,e){1&t&&(o.Ub(0,"div",0),o.bc("cdkDropListDropped",function(t){return e.drop(t)}),o.Fc(1,v,6,5,"button",1),o.Tb()),2&t&&(o.lc("cdkDropListSortPredicate",e.sticky),o.Cb(1),o.lc("ngForOf",e.columns))},directives:[a.b,l.m,c.c,a.a,d.a,p.b,m.n,m.q],pipes:[g.d],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .cdk-drop-list-dragging[_ngcontent-%COMP%] .mat-menu-item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-disabled[_ngcontent-%COMP%]{height:2px;margin-top:-1px;margin-bottom:-1px}.mat-icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:8px;cursor:move}"]}),t}(),_=function(t){h(n,t);var e=f(n);function n(t){var r;return s(this,n),(r=e.call.apply(e,[this].concat(i(t))))._display=[],r}return u(n,[{key:"display",get:function(){var t=this;return this._display.length=0,this.forEach(function(e){return 0!=e.display&&t._display.push(e.id)}),this._display}}]),n}(t(Array))},pyRK:function(t,e,n){"use strict";var i=Object.prototype;e.a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||i)}},qFsG:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return D});var i=n("nLfN"),r=n("fXoL"),a=n("8LU1"),o=n("EY2u"),l=n("XNiG");n("xgIS"),n("3UWI"),n("1G5W"),n("ofXK");var c,d,p,m,g=Object(i.f)({passive:!0}),v=((d=function(){function t(e,n){s(this,t),this._platform=e,this._ngZone=n,this._monitoredElements=new Map}return u(t,[{key:"monitor",value:function(t){var e=this;if(!this._platform.isBrowser)return o.a;var n=Object(a.e)(t),i=this._monitoredElements.get(n);if(i)return i.subject;var r=new l.a,s="cdk-text-field-autofilled",u=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(s)&&(n.classList.remove(s),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!1})})):(n.classList.add(s),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",u,g),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",u,g)}}),r}},{key:"stopMonitoring",value:function(t){var e=Object(a.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}},{key:"ngOnDestroy",value:function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})}}]),t}()).\u0275fac=function(t){return new(t||d)(r.Yb(i.a),r.Yb(r.B))},d.\u0275prov=Object(r.Kb)({factory:function(){return new d(Object(r.Yb)(i.a),Object(r.Yb)(r.B))},token:d,providedIn:"root"}),d),y=((c=function t(){s(this,t)}).\u0275mod=r.Mb({type:c}),c.\u0275inj=r.Lb({factory:function(t){return new(t||c)},imports:[[i.b]]}),c),_=n("FKr1"),b=n("kmnG"),w=n("3Pt+"),k=new r.s("MAT_INPUT_VALUE_ACCESSOR"),x=["button","checkbox","file","hidden","image","radio","range","reset","submit"],M=0,S=Object(_.B)(function t(e,n,i,r){s(this,t),this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),C=((m=function(t){h(n,t);var e=f(n);function n(t,r,a,o,u,c,h,d,f,p){var m;s(this,n),(m=e.call(this,c,o,u,a))._elementRef=t,m._platform=r,m.ngControl=a,m._autofillMonitor=d,m._formField=p,m._uid="mat-input-"+M++,m.focused=!1,m.stateChanges=new l.a,m.controlType="mat-input",m.autofilled=!1,m._disabled=!1,m._required=!1,m._type="text",m._readonly=!1,m._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return Object(i.e)().has(t)});var g=m._elementRef.nativeElement,v=g.nodeName.toLowerCase();return m._inputValueAccessor=h||g,m._previousNativeValue=m.value,m.id=m.id,r.IOS&&f.runOutsideAngular(function(){t.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),m._isServer=!m._platform.isBrowser,m._isNativeSelect="select"===v,m._isTextarea="textarea"===v,m._isNativeSelect&&(m.controlType=g.multiple?"mat-native-select-multiple":"mat-native-select"),m}return u(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_focusChanged",value:function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var t,e,n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){var i=this._elementRef.nativeElement;this._previousPlaceholder=n,n?i.setAttribute("placeholder",n):i.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}},{key:"_validateType",value:function(){x.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"setDescribedByIds",value:function(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(a.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=Object(a.c)(t)}},{key:"type",get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(t){this._readonly=Object(a.c)(t)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}}]),n}(S)).\u0275fac=function(t){return new(t||m)(r.Ob(r.l),r.Ob(i.a),r.Ob(w.m,10),r.Ob(w.p,8),r.Ob(w.g,8),r.Ob(_.d),r.Ob(k,10),r.Ob(v),r.Ob(r.B),r.Ob(b.a,8))},m.\u0275dir=r.Jb({type:m,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&r.bc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(r.Xb("disabled",e.disabled)("required",e.required),r.Db("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),r.Gb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r.Bb([{provide:b.c,useExisting:m}]),r.zb,r.Ab]}),m),D=((p=function t(){s(this,t)}).\u0275mod=r.Mb({type:p}),p.\u0275inj=r.Lb({factory:function(t){return new(t||p)},providers:[_.d],imports:[[y,b.d,_.j],y,b.d]}),p)},qUOr:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("Xa2L"),r=n("fXoL"),a=function(){var t=function(){function t(e,n,r,a){s(this,t),this._elementRef=e,this._componentFactoryResolver=n,this._viewContainerRef=r,this._renderer=a;var o=this._componentFactoryResolver.resolveComponentFactory(i.b);switch(this._spinner=this._viewContainerRef.createComponent(o).injector.get(i.b),this._elementRef.nativeElement.tagName){case"BUTTON":this._spinner.diameter=20}}return u(t,[{key:"ngAfterViewInit",value:function(){switch(this._elementRef.nativeElement.tagName){case"BUTTON":this._wrapper=this._elementRef.nativeElement.querySelector(".mat-button-wrapper"),this._value&&(this._renderer.setStyle(this._wrapper,"height","0"),this._renderer.setStyle(this._wrapper,"display","block"),this._renderer.setStyle(this._wrapper,"overflow","hidden")),this._overlay=this._renderer.createElement("span"),this._renderer.appendChild(this._elementRef.nativeElement,this._overlay),this._renderer.appendChild(this._overlay,this._spinner._elementRef.nativeElement),this._renderer.addClass(this._overlay,"mat-button-wrapper");break;default:this._overlay=this._renderer.createElement("div"),this._renderer.setStyle(this._overlay,"display",this._value?"flex":"none"),this._renderer.setStyle(this._overlay,"position","absolute"),this._renderer.setStyle(this._overlay,"top",0),this._renderer.setStyle(this._overlay,"left",0),this._renderer.setStyle(this._overlay,"bottom",0),this._renderer.setStyle(this._overlay,"right",0),this._renderer.setStyle(this._overlay,"z-index",110),this._renderer.setStyle(this._overlay,"align-items","center"),this._renderer.setStyle(this._overlay,"justify-content","center"),this._renderer.setStyle(this._overlay,"background-color","rgba(0, 0, 0, 0.15)"),this._renderer.appendChild(this._elementRef.nativeElement,this._overlay),this._renderer.appendChild(this._overlay,this._spinner._elementRef.nativeElement)}}},{key:"loading",set:function(t){switch(this._value=t,this._elementRef.nativeElement.tagName){case"BUTTON":t?(this._wrapper&&(this._renderer.setStyle(this._wrapper,"height","0"),this._renderer.setStyle(this._wrapper,"display","block"),this._renderer.setStyle(this._wrapper,"overflow","hidden")),this._renderer.setStyle(this._spinner._elementRef.nativeElement,"display","inline-block")):(this._renderer.setStyle(this._spinner._elementRef.nativeElement,"display","none"),this._wrapper&&(this._renderer.removeStyle(this._wrapper,"height"),this._renderer.removeStyle(this._wrapper,"display"),this._renderer.removeStyle(this._wrapper,"overflow")));break;default:t?this._overlay&&this._renderer.setStyle(this._overlay,"display","flex"):this._overlay&&this._renderer.setStyle(this._overlay,"display","none")}}},{key:"color",set:function(t){this._spinner.color=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.j),r.Ob(r.R),r.Ob(r.G))},t.\u0275dir=r.Jb({type:t,selectors:[["","loading",""]],inputs:{loading:"loading",color:"color"}}),t}()},qkWt:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,(function(e){return t[e]}).bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=8)}([function(t,e,n){var i,r;void 0===(r="function"==typeof(i={af:function(t,e){return e?"other":1==t?"one":"other"},ak:function(t,e){return e?"other":0==t||1==t?"one":"other"},am:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},ar:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},ars:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},as:function(t,e){return e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},asa:function(t,e){return e?"other":1==t?"one":"other"},ast:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},az:function(t,e){var n=String(t).split(".")[0],i=n.slice(-1),r=n.slice(-2),a=n.slice(-3);return e?1==i||2==i||5==i||7==i||8==i||20==r||50==r||70==r||80==r?"one":3==i||4==i||100==a||200==a||300==a||400==a||500==a||600==a||700==a||800==a||900==a?"few":0==n||6==i||40==r||60==r||90==r?"many":"other":1==t?"one":"other"},be:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return e?2!=r&&3!=r||12==a||13==a?"other":"few":1==r&&11!=a?"one":r>=2&&r<=4&&(a<12||a>14)?"few":i&&0==r||r>=5&&r<=9||a>=11&&a<=14?"many":"other"},bem:function(t,e){return e?"other":1==t?"one":"other"},bez:function(t,e){return e?"other":1==t?"one":"other"},bg:function(t,e){return e?"other":1==t?"one":"other"},bh:function(t,e){return e?"other":0==t||1==t?"one":"other"},bm:function(t,e){return"other"},bn:function(t,e){return e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},bo:function(t,e){return"other"},br:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2),o=i&&n[0].slice(-6);return e?"other":1==r&&11!=a&&71!=a&&91!=a?"one":2==r&&12!=a&&72!=a&&92!=a?"two":(3==r||4==r||9==r)&&(a<10||a>19)&&(a<70||a>79)&&(a<90||a>99)?"few":0!=t&&i&&0==o?"many":"other"},brx:function(t,e){return e?"other":1==t?"one":"other"},bs:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=u?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},ca:function(t,e){var n=String(t).split(".");return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1!=t||n[1]?"other":"one"},ce:function(t,e){return e?"other":1==t?"one":"other"},cgg:function(t,e){return e?"other":1==t?"one":"other"},chr:function(t,e){return e?"other":1==t?"one":"other"},ckb:function(t,e){return e?"other":1==t?"one":"other"},cs:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==t&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},cy:function(t,e){return e?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t,e){var n=String(t).split("."),i=n[0],r=Number(n[0])==t;return e||1!=t&&(r||0!=i&&1!=i)?"other":"one"},de:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},dsb:function(t,e){var n=String(t).split("."),i=n[1]||"",r=!n[1],a=n[0].slice(-2),o=i.slice(-2);return e?"other":r&&1==a||1==o?"one":r&&2==a||2==o?"two":r&&(3==a||4==a)||3==o||4==o?"few":"other"},dv:function(t,e){return e?"other":1==t?"one":"other"},dz:function(t,e){return"other"},ee:function(t,e){return e?"other":1==t?"one":"other"},el:function(t,e){return e?"other":1==t?"one":"other"},en:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==t&&i?"one":"other"},eo:function(t,e){return e?"other":1==t?"one":"other"},es:function(t,e){return e?"other":1==t?"one":"other"},et:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},eu:function(t,e){return e?"other":1==t?"one":"other"},fa:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},ff:function(t,e){return e?"other":t>=0&&t<2?"one":"other"},fi:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},fil:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=r.slice(-1);return e?1==t?"one":"other":a&&(1==i||2==i||3==i)||a&&4!=o&&6!=o&&9!=o||!a&&4!=s&&6!=s&&9!=s?"one":"other"},fo:function(t,e){return e?"other":1==t?"one":"other"},fr:function(t,e){return e?1==t?"one":"other":t>=0&&t<2?"one":"other"},fur:function(t,e){return e?"other":1==t?"one":"other"},fy:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},ga:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":i&&t>=3&&t<=6?"few":i&&t>=7&&t<=10?"many":"other"},gd:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":i&&t>=3&&t<=10||i&&t>=13&&t<=19?"few":"other"},gl:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},gsw:function(t,e){return e?"other":1==t?"one":"other"},gu:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},guw:function(t,e){return e?"other":0==t||1==t?"one":"other"},gv:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return e?"other":r&&1==a?"one":r&&2==a?"two":!r||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?r?"other":"many":"few"},ha:function(t,e){return e?"other":1==t?"one":"other"},haw:function(t,e){return e?"other":1==t?"one":"other"},he:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=Number(n[0])==t,o=a&&n[0].slice(-1);return e?"other":1==t&&r?"one":2==i&&r?"two":r&&(t<0||t>10)&&a&&0==o?"many":"other"},hi:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},hr:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=u?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},hsb:function(t,e){var n=String(t).split("."),i=n[1]||"",r=!n[1],a=n[0].slice(-2),o=i.slice(-2);return e?"other":r&&1==a||1==o?"one":r&&2==a||2==o?"two":r&&(3==a||4==a)||3==o||4==o?"few":"other"},hu:function(t,e){return e?1==t||5==t?"one":"other":1==t?"one":"other"},hy:function(t,e){return e?1==t?"one":"other":t>=0&&t<2?"one":"other"},ia:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},id:function(t,e){return"other"},ig:function(t,e){return"other"},ii:function(t,e){return"other"},in:function(t,e){return"other"},io:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},is:function(t,e){var n=String(t).split("."),i=n[0],r=Number(n[0])==t,a=i.slice(-1),o=i.slice(-2);return e?"other":r&&1==a&&11!=o||!r?"one":"other"},it:function(t,e){var n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},iu:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},iw:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=Number(n[0])==t,o=a&&n[0].slice(-1);return e?"other":1==t&&r?"one":2==i&&r?"two":r&&(t<0||t>10)&&a&&0==o?"many":"other"},ja:function(t,e){return"other"},jbo:function(t,e){return"other"},jgo:function(t,e){return e?"other":1==t?"one":"other"},ji:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},jmc:function(t,e){return e?"other":1==t?"one":"other"},jv:function(t,e){return"other"},jw:function(t,e){return"other"},ka:function(t,e){var n=String(t).split(".")[0],i=n.slice(-2);return e?1==n?"one":0==n||i>=2&&i<=20||40==i||60==i||80==i?"many":"other":1==t?"one":"other"},kab:function(t,e){return e?"other":t>=0&&t<2?"one":"other"},kaj:function(t,e){return e?"other":1==t?"one":"other"},kcg:function(t,e){return e?"other":1==t?"one":"other"},kde:function(t,e){return"other"},kea:function(t,e){return"other"},kk:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1);return e?6==r||9==r||i&&0==r&&0!=t?"many":"other":1==t?"one":"other"},kkj:function(t,e){return e?"other":1==t?"one":"other"},kl:function(t,e){return e?"other":1==t?"one":"other"},km:function(t,e){return"other"},kn:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},ko:function(t,e){return"other"},ks:function(t,e){return e?"other":1==t?"one":"other"},ksb:function(t,e){return e?"other":1==t?"one":"other"},ksh:function(t,e){return e?"other":0==t?"zero":1==t?"one":"other"},ku:function(t,e){return e?"other":1==t?"one":"other"},kw:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},ky:function(t,e){return e?"other":1==t?"one":"other"},lag:function(t,e){var n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},lb:function(t,e){return e?"other":1==t?"one":"other"},lg:function(t,e){return e?"other":1==t?"one":"other"},lkt:function(t,e){return"other"},ln:function(t,e){return e?"other":0==t||1==t?"one":"other"},lo:function(t,e){return e&&1==t?"one":"other"},lt:function(t,e){var n=String(t).split("."),i=n[1]||"",r=Number(n[0])==t,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?"other":1==a&&(o<11||o>19)?"one":a>=2&&a<=9&&(o<11||o>19)?"few":0!=i?"many":"other"},lv:function(t,e){var n=String(t).split("."),i=n[1]||"",r=i.length,a=Number(n[0])==t,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),l=i.slice(-2),u=i.slice(-1);return e?"other":a&&0==o||s>=11&&s<=19||2==r&&l>=11&&l<=19?"zero":1==o&&11!=s||2==r&&1==u&&11!=l||2!=r&&1==u?"one":"other"},mas:function(t,e){return e?"other":1==t?"one":"other"},mg:function(t,e){return e?"other":0==t||1==t?"one":"other"},mgo:function(t,e){return e?"other":1==t?"one":"other"},mk:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?1==o&&11!=s?"one":2==o&&12!=s?"two":7!=o&&8!=o||17==s||18==s?"other":"many":a&&1==o&&11!=s||1==l&&11!=u?"one":"other"},ml:function(t,e){return e?"other":1==t?"one":"other"},mn:function(t,e){return e?"other":1==t?"one":"other"},mo:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&i?"one":!i||0==t||1!=t&&r>=1&&r<=19?"few":"other"},mr:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":t>=0&&t<=1?"one":"other"},ms:function(t,e){return e&&1==t?"one":"other"},mt:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":0==t||i>=2&&i<=10?"few":i>=11&&i<=19?"many":"other"},my:function(t,e){return"other"},nah:function(t,e){return e?"other":1==t?"one":"other"},naq:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},nb:function(t,e){return e?"other":1==t?"one":"other"},nd:function(t,e){return e?"other":1==t?"one":"other"},ne:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?i&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},nl:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},nn:function(t,e){return e?"other":1==t?"one":"other"},nnh:function(t,e){return e?"other":1==t?"one":"other"},no:function(t,e){return e?"other":1==t?"one":"other"},nqo:function(t,e){return"other"},nr:function(t,e){return e?"other":1==t?"one":"other"},nso:function(t,e){return e?"other":0==t||1==t?"one":"other"},ny:function(t,e){return e?"other":1==t?"one":"other"},nyn:function(t,e){return e?"other":1==t?"one":"other"},om:function(t,e){return e?"other":1==t?"one":"other"},or:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?1==t||5==t||i&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"},os:function(t,e){return e?"other":1==t?"one":"other"},pa:function(t,e){return e?"other":0==t||1==t?"one":"other"},pap:function(t,e){return e?"other":1==t?"one":"other"},pl:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return e?"other":1==t&&r?"one":r&&a>=2&&a<=4&&(o<12||o>14)?"few":r&&1!=i&&(0==a||1==a)||r&&a>=5&&a<=9||r&&o>=12&&o<=14?"many":"other"},prg:function(t,e){var n=String(t).split("."),i=n[1]||"",r=i.length,a=Number(n[0])==t,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),l=i.slice(-2),u=i.slice(-1);return e?"other":a&&0==o||s>=11&&s<=19||2==r&&l>=11&&l<=19?"zero":1==o&&11!=s||2==r&&1==u&&11!=l||2!=r&&1==u?"one":"other"},ps:function(t,e){return e?"other":1==t?"one":"other"},pt:function(t,e){var n=String(t).split(".")[0];return e?"other":0==n||1==n?"one":"other"},"pt-PT":function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},rm:function(t,e){return e?"other":1==t?"one":"other"},ro:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&i?"one":!i||0==t||1!=t&&r>=1&&r<=19?"few":"other"},rof:function(t,e){return e?"other":1==t?"one":"other"},root:function(t,e){return"other"},ru:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return e?"other":r&&1==a&&11!=o?"one":r&&a>=2&&a<=4&&(o<12||o>14)?"few":r&&0==a||r&&a>=5&&a<=9||r&&o>=11&&o<=14?"many":"other"},rwk:function(t,e){return e?"other":1==t?"one":"other"},sah:function(t,e){return"other"},saq:function(t,e){return e?"other":1==t?"one":"other"},sc:function(t,e){var n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},scn:function(t,e){var n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},sd:function(t,e){return e?"other":1==t?"one":"other"},sdh:function(t,e){return e?"other":1==t?"one":"other"},se:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},seh:function(t,e){return e?"other":1==t?"one":"other"},ses:function(t,e){return"other"},sg:function(t,e){return"other"},sh:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=u?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},shi:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":i&&t>=2&&t<=10?"few":"other"},si:function(t,e){var n=String(t).split(".");return e?"other":0==t||1==t||0==n[0]&&1==(n[1]||"")?"one":"other"},sk:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==t&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},sl:function(t,e){var n=String(t).split("."),i=!n[1],r=n[0].slice(-2);return e?"other":i&&1==r?"one":i&&2==r?"two":i&&(3==r||4==r)||!i?"few":"other"},sma:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},smi:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},smj:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},smn:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},sms:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},sn:function(t,e){return e?"other":1==t?"one":"other"},so:function(t,e){return e?"other":1==t?"one":"other"},sq:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return e?1==t?"one":4==r&&14!=a?"many":"other":1==t?"one":"other"},sr:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),u=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=u?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},ss:function(t,e){return e?"other":1==t?"one":"other"},ssy:function(t,e){return e?"other":1==t?"one":"other"},st:function(t,e){return e?"other":1==t?"one":"other"},sv:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?1!=a&&2!=a||11==o||12==o?"other":"one":1==t&&i?"one":"other"},sw:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},syr:function(t,e){return e?"other":1==t?"one":"other"},ta:function(t,e){return e?"other":1==t?"one":"other"},te:function(t,e){return e?"other":1==t?"one":"other"},teo:function(t,e){return e?"other":1==t?"one":"other"},th:function(t,e){return"other"},ti:function(t,e){return e?"other":0==t||1==t?"one":"other"},tig:function(t,e){return e?"other":1==t?"one":"other"},tk:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-1);return e?6==i||9==i||10==t?"few":"other":1==t?"one":"other"},tl:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=r.slice(-1);return e?1==t?"one":"other":a&&(1==i||2==i||3==i)||a&&4!=o&&6!=o&&9!=o||!a&&4!=s&&6!=s&&9!=s?"one":"other"},tn:function(t,e){return e?"other":1==t?"one":"other"},to:function(t,e){return"other"},tr:function(t,e){return e?"other":1==t?"one":"other"},ts:function(t,e){return e?"other":1==t?"one":"other"},tzm:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?"other":0==t||1==t||i&&t>=11&&t<=99?"one":"other"},ug:function(t,e){return e?"other":1==t?"one":"other"},uk:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=Number(n[0])==t,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),l=i.slice(-1),u=i.slice(-2);return e?3==o&&13!=s?"few":"other":r&&1==l&&11!=u?"one":r&&l>=2&&l<=4&&(u<12||u>14)?"few":r&&0==l||r&&l>=5&&l<=9||r&&u>=11&&u<=14?"many":"other"},ur:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},uz:function(t,e){return e?"other":1==t?"one":"other"},ve:function(t,e){return e?"other":1==t?"one":"other"},vi:function(t,e){return e&&1==t?"one":"other"},vo:function(t,e){return e?"other":1==t?"one":"other"},vun:function(t,e){return e?"other":1==t?"one":"other"},wa:function(t,e){return e?"other":0==t||1==t?"one":"other"},wae:function(t,e){return e?"other":1==t?"one":"other"},wo:function(t,e){return"other"},xh:function(t,e){return e?"other":1==t?"one":"other"},xog:function(t,e){return e?"other":1==t?"one":"other"},yi:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},yo:function(t,e){return"other"},yue:function(t,e){return"other"},zh:function(t,e){return"other"},zu:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"}})?i.call(e,n,e,t):i)||(t.exports=r)},function(t,e,n){t.exports={date:n(4),duration:n(5),number:n(6),time:n(7)}},function(t,e,n){"use strict";function i(t,e,n,r){this.message=t,this.expected=e,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i)}!function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}(i,Error),i.buildMessage=function(t,e){var n={literal:function(t){return'"'+r(t.text)+'"'},class:function(t){var e,n="";for(e=0;e<t.parts.length;e++)n+=t.parts[e]instanceof Array?a(t.parts[e][0])+"-"+a(t.parts[e][1]):a(t.parts[e]);return"["+(t.inverted?"^":"")+n+"]"},any:function(t){return"any character"},end:function(t){return"end of input"},other:function(t){return t.description}};function i(t){return t.charCodeAt(0).toString(16).toUpperCase()}function r(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(t){return"\\x0"+i(t)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(t){return"\\x"+i(t)})}function a(t){return t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(t){return"\\x0"+i(t)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(t){return"\\x"+i(t)})}return"Expected "+function(t){var e,i,r,a=new Array(t.length);for(e=0;e<t.length;e++)a[e]=n[(r=t[e]).type](r);if(a.sort(),a.length>0){for(e=1,i=1;e<a.length;e++)a[e-1]!==a[e]&&(a[i]=a[e],i++);a.length=i}switch(a.length){case 1:return a[0];case 2:return a[0]+" or "+a[1];default:return a.slice(0,-1).join(", ")+", or "+a[a.length-1]}}(t)+" but "+function(t){return t?'"'+r(t)+'"':"end of input"}(e)+" found."},t.exports={SyntaxError:i,parse:function(t,e){e=void 0!==e?e:{};var n,r={},a={start:St},o=St,s=bt("#",!1),l=function(){return jt[0]},u=function(t){return t.join("")},c="{",h=bt("{",!1),d="}",f=bt("}",!1),p=",",m=bt(",",!1),g="select",v=bt("select",!1),y=function(t,n){return e.strict&&jt.unshift(!1),n},_=function(t,n){return e.strict&&jt.shift(),{type:"select",arg:t,cases:n}},b="plural",w=bt("plural",!1),k="selectordinal",x=bt("selectordinal",!1),M=function(t,n,i,r){var a=("selectordinal"===n?e.ordinal:e.cardinal)||["zero","one","two","few","many","other"];return a&&a.length&&r.forEach(function(e){if(isNaN(e.key)&&a.indexOf(e.key)<0)throw new Error("Invalid key `"+e.key+"` for argument `"+t+"`. Valid "+n+" keys for this locale are `"+a.join("`, `")+"`, and explicit keys like `=0`.")}),jt.shift(),{type:n,arg:t,offset:i||0,cases:r}},S=kt("identifier"),C=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,D=wt([["\t","\r"]," ","\x85","\u200e","\u200f","\u2028","\u2029",["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xa1","\xa7"],"\xa9","\xab","\xac","\xae","\xb0","\xb1","\xb6","\xbb","\xbf","\xd7","\xf7",["\u2010","\u2027"],["\u2030","\u203e"],["\u2041","\u2053"],["\u2055","\u205e"],["\u2190","\u245f"],["\u2500","\u2775"],["\u2794","\u2bff"],["\u2e00","\u2e7f"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\ufd3e","\ufd3f","\ufe45","\ufe46"],!0,!1),O=function(t,e){return{key:t,tokens:e}},T=kt("plural offset"),L="offset",A=bt("offset",!1),I=bt(":",!1),P=bt("=",!1),E="number",R=bt("number",!1),Y="date",j=bt("date",!1),N="time",F=bt("time",!1),V="spellout",H=bt("spellout",!1),z="ordinal",B=bt("ordinal",!1),W="duration",U=bt("duration",!1),G=function(t){if(e.strict||/^\d/.test(t))return!1;switch(t.toLowerCase()){case"select":case"plural":case"selectordinal":return!1;default:return!0}},q=function(t){return!e.strict},X=kt("a valid (strict) function parameter"),Z=/^[^'{}]/,K=wt(["'","{","}"],!0,!1),J=bt("'",!1),Q=kt("doubled apostrophe"),$=bt("''",!1),tt=/^[^']/,et=wt(["'"],!0,!1),nt=bt("'{",!1),it=bt("'}",!1),rt=kt("escaped string"),at=bt("'#",!1),ot=kt("plain char"),st=/^[^{}#\0-\x08\x0E-\x1F\x7F]/,lt=wt(["{","}","#",["\0","\b"],["\x0e","\x1f"],"\x7f"],!0,!1),ut=kt("integer"),ct=/^[0-9]/,ht=wt([["0","9"]],!1,!1),dt=kt("white space"),ft=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,pt=wt([["\t","\r"]," ","\x85","\u200e","\u200f","\u2028","\u2029"],!1,!1),mt=0,gt=[{line:1,column:1}],vt=0,yt=[],_t=0;if("startRule"in e){if(!(e.startRule in a))throw new Error("Can't start parsing from rule \""+e.startRule+'".');o=a[e.startRule]}function bt(t,e){return{type:"literal",text:t,ignoreCase:e}}function wt(t,e,n){return{type:"class",parts:t,inverted:e,ignoreCase:n}}function kt(t){return{type:"other",description:t}}function xt(e){var n,i=gt[e];if(i)return i;for(n=e-1;!gt[n];)n--;for(i={line:(i=gt[n]).line,column:i.column};n<e;)10===t.charCodeAt(n)?(i.line++,i.column=1):i.column++,n++;return gt[e]=i,i}function Mt(t){mt<vt||(mt>vt&&(vt=mt,yt=[]),yt.push(t))}function St(){var t,e;for(t=[],e=Ct();e!==r;)t.push(e),e=Ct();return t}function Ct(){var e,n,i;if((e=function(){var e,n,i,a;return e=mt,123===t.charCodeAt(mt)?(n=c,mt++):(n=r,0===_t&&Mt(h)),n!==r&&Yt()!==r&&(i=Dt())!==r&&Yt()!==r?(125===t.charCodeAt(mt)?(a=d,mt++):(a=r,0===_t&&Mt(f)),a!==r?e=n=function(t){return{type:"argument",arg:t}}(i):(mt=e,e=r)):(mt=e,e=r),e}())===r&&(e=function(){var e,n,i,a,o,s,l,u,b;if(e=mt,123===t.charCodeAt(mt)?(n=c,mt++):(n=r,0===_t&&Mt(h)),n!==r)if(Yt()!==r)if((i=Dt())!==r)if(Yt()!==r)if(44===t.charCodeAt(mt)?(a=p,mt++):(a=r,0===_t&&Mt(m)),a!==r)if(Yt()!==r)if(t.substr(mt,6)===g?(o=g,mt+=6):(o=r,0===_t&&Mt(v)),o!==r&&(o=y(0,o)),o!==r)if((o=Yt())!==r)if(44===t.charCodeAt(mt)?(s=p,mt++):(s=r,0===_t&&Mt(m)),s!==r)if(Yt()!==r){if(l=[],(u=Ot())!==r)for(;u!==r;)l.push(u),u=Ot();else l=r;l!==r&&(u=Yt())!==r?(125===t.charCodeAt(mt)?(b=d,mt++):(b=r,0===_t&&Mt(f)),b!==r?e=n=_(i,l):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;return e}())===r&&(e=function(){var e,n,i,a,o,s,l,u,g,v,y;if(e=mt,123===t.charCodeAt(mt)?(n=c,mt++):(n=r,0===_t&&Mt(h)),n!==r)if(Yt()!==r)if((i=Dt())!==r)if(Yt()!==r)if(44===t.charCodeAt(mt)?(a=p,mt++):(a=r,0===_t&&Mt(m)),a!==r)if(Yt()!==r)if(t.substr(mt,6)===b?(s=b,mt+=6):(s=r,0===_t&&Mt(w)),s===r&&(t.substr(mt,13)===k?(s=k,mt+=13):(s=r,0===_t&&Mt(x))),s!==r&&(s=function(t,e){return jt.unshift(!0),e}(0,s)),(o=s)!==r)if((s=Yt())!==r)if(44===t.charCodeAt(mt)?(l=p,mt++):(l=r,0===_t&&Mt(m)),l!==r)if(Yt()!==r)if((u=function(){var e,n,i,a;return _t++,e=mt,Yt()!==r?(t.substr(mt,6)===L?(n=L,mt+=6):(n=r,0===_t&&Mt(A)),n!==r&&Yt()!==r?(58===t.charCodeAt(mt)?(i=":",mt++):(i=r,0===_t&&Mt(I)),i!==r&&Yt()!==r&&(a=Rt())!==r&&Yt()!==r?e=a:(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r),_t--,e===r&&0===_t&&Mt(T),e}())===r&&(u=null),u!==r){if(g=[],(v=Tt())!==r)for(;v!==r;)g.push(v),v=Tt();else g=r;g!==r&&(v=Yt())!==r?(125===t.charCodeAt(mt)?(y=d,mt++):(y=r,0===_t&&Mt(f)),y!==r?e=n=M(i,o,u,g):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;return e}())===r&&(e=function(){var e,n,i,a,o,s,l;return e=mt,123===t.charCodeAt(mt)?(n=c,mt++):(n=r,0===_t&&Mt(h)),n!==r&&Yt()!==r&&(i=Dt())!==r&&Yt()!==r?(44===t.charCodeAt(mt)?(a=p,mt++):(a=r,0===_t&&Mt(m)),a!==r&&Yt()!==r&&(o=function(){var e,n,i,a,o;return t.substr(mt,6)===E?(e=E,mt+=6):(e=r,0===_t&&Mt(R)),e===r&&(t.substr(mt,4)===Y?(e=Y,mt+=4):(e=r,0===_t&&Mt(j)),e===r&&(t.substr(mt,4)===N?(e=N,mt+=4):(e=r,0===_t&&Mt(F)),e===r&&(t.substr(mt,8)===V?(e=V,mt+=8):(e=r,0===_t&&Mt(H)),e===r&&(t.substr(mt,7)===z?(e=z,mt+=7):(e=r,0===_t&&Mt(B)),e===r&&(t.substr(mt,8)===W?(e=W,mt+=8):(e=r,0===_t&&Mt(U)),e===r&&(e=mt,n=mt,_t++,t.substr(mt,6)===g?(i=g,mt+=6):(i=r,0===_t&&Mt(v)),_t--,i===r?n=void 0:(mt=n,n=r),n!==r?(i=mt,_t++,t.substr(mt,6)===b?(a=b,mt+=6):(a=r,0===_t&&Mt(w)),_t--,a===r?i=void 0:(mt=i,i=r),i!==r?(a=mt,_t++,t.substr(mt,13)===k?(o=k,mt+=13):(o=r,0===_t&&Mt(x)),_t--,o===r?a=void 0:(mt=a,a=r),a!==r&&(o=Dt())!==r&&(G(o)?void 0:r)!==r?e=n=o:(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r))))))),e}())!==r&&Yt()!==r?((s=function(){var e,n,i,a;if(e=mt,Yt()!==r)if(44===t.charCodeAt(mt)?(n=p,mt++):(n=r,0===_t&&Mt(m)),n!==r){for(i=[],a=Ct();a!==r;)i.push(a),a=Ct();i!==r&&(a=(a=q())?void 0:r)!==r?e=function(t){return{tokens:t}}(i):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;if(e===r)if(e=mt,Yt()!==r)if(44===t.charCodeAt(mt)?(n=p,mt++):(n=r,0===_t&&Mt(m)),n!==r){for(i=[],a=At();a!==r;)i.push(a),a=At();i!==r?e=function(t){return{tokens:[t.join("")]}}(i):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;return e}())===r&&(s=null),s!==r?(125===t.charCodeAt(mt)?(l=d,mt++):(l=r,0===_t&&Mt(f)),l!==r?e=n=function(t,e,n){return{type:"function",arg:t,key:e,param:n}}(i,o,s):(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r),e}())===r&&(e=mt,35===t.charCodeAt(mt)?(n="#",mt++):(n=r,0===_t&&Mt(s)),n!==r&&(i=(i=l())?void 0:r)!==r?e=n={type:"octothorpe"}:(mt=e,e=r),e===r)){if(e=mt,n=[],(i=Et())!==r)for(;i!==r;)n.push(i),i=Et();else n=r;n!==r&&(n=u(n)),e=n}return e}function Dt(){var e,n,i;if(_t++,e=mt,n=[],C.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(D)),i!==r)for(;i!==r;)n.push(i),C.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(D));else n=r;return e=n!==r?t.substring(e,mt):n,_t--,e===r&&(n=r,0===_t&&Mt(S)),e}function Ot(){var t,e,n;return t=mt,Yt()!==r&&(e=Dt())!==r&&Yt()!==r&&(n=Lt())!==r?t=O(e,n):(mt=t,t=r),t}function Tt(){var e,n,i;return e=mt,Yt()!==r&&(n=function(){var e,n,i;return(e=Dt())===r&&(e=mt,61===t.charCodeAt(mt)?(n="=",mt++):(n=r,0===_t&&Mt(P)),n!==r&&(i=Rt())!==r?e=n=i:(mt=e,e=r)),e}())!==r&&Yt()!==r&&(i=Lt())!==r?e=O(n,i):(mt=e,e=r),e}function Lt(){var e,n,i,a,o,s;if(e=mt,123===t.charCodeAt(mt)?(n=c,mt++):(n=r,0===_t&&Mt(h)),n!==r)if(i=mt,(a=Yt())!==r?(o=mt,_t++,123===t.charCodeAt(mt)?(s=c,mt++):(s=r,0===_t&&Mt(h)),_t--,s!==r?(mt=o,o=void 0):o=r,o!==r?i=a=[a,o]:(mt=i,i=r)):(mt=i,i=r),i===r&&(i=null),i!==r){for(a=[],o=Ct();o!==r;)a.push(o),o=Ct();a!==r&&(o=Yt())!==r?(125===t.charCodeAt(mt)?(s=d,mt++):(s=r,0===_t&&Mt(f)),s!==r?e=n=a:(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;return e}function At(){var e,n,i,a;if(_t++,e=mt,n=[],Z.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(K)),i!==r)for(;i!==r;)n.push(i),Z.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(K));else n=r;if(n!==r&&(n=function(t){return t.join("")}(n)),(e=n)===r&&(e=It())===r&&(e=mt,39===t.charCodeAt(mt)?(n="'",mt++):(n=r,0===_t&&Mt(J)),n!==r&&(i=Pt())!==r?(39===t.charCodeAt(mt)?(a="'",mt++):(a=r,0===_t&&Mt(J)),a!==r?e=n=i:(mt=e,e=r)):(mt=e,e=r),e===r))if(e=mt,123===t.charCodeAt(mt)?(n=c,mt++):(n=r,0===_t&&Mt(h)),n!==r){for(i=[],a=At();a!==r;)i.push(a),a=At();i!==r?(125===t.charCodeAt(mt)?(a=d,mt++):(a=r,0===_t&&Mt(f)),a!==r?e=n=function(t){return"{"+t.join("")+"}"}(i):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;return _t--,e===r&&(n=r,0===_t&&Mt(X)),e}function It(){var e,n;return _t++,"''"===t.substr(mt,2)?(n="''",mt+=2):(n=r,0===_t&&Mt($)),n!==r&&(n="'"),_t--,(e=n)===r&&(n=r,0===_t&&Mt(Q)),e}function Pt(){var e,n,i;if((e=It())===r){if(e=mt,n=[],tt.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(et)),i!==r)for(;i!==r;)n.push(i),tt.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(et));else n=r;n!==r&&(n=u(n)),e=n}return e}function Et(){var e,n;return(e=It())===r&&(e=function(){var e,n,i,a,o,s;if(_t++,(e=function(){var e,n,i,a;if(e=mt,"'{"===t.substr(mt,2)?(n="'{",mt+=2):(n=r,0===_t&&Mt(nt)),n!==r){for(i=[],a=Pt();a!==r;)i.push(a),a=Pt();i!==r?(39===t.charCodeAt(mt)?(a="'",mt++):(a=r,0===_t&&Mt(J)),a!==r?e=n=function(t){return"{"+t.join("")}(i):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;if(e===r)if(e=mt,"'}"===t.substr(mt,2)?(n="'}",mt+=2):(n=r,0===_t&&Mt(it)),n!==r){for(i=[],a=Pt();a!==r;)i.push(a),a=Pt();i!==r?(39===t.charCodeAt(mt)?(a="'",mt++):(a=r,0===_t&&Mt(J)),a!==r?e=n=function(t){return"}"+t.join("")}(i):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;return e}())===r){if(e=mt,n=mt,i=mt,"'#"===t.substr(mt,2)?(a="'#",mt+=2):(a=r,0===_t&&Mt(at)),a!==r){for(o=[],s=Pt();s!==r;)o.push(s),s=Pt();o!==r?(39===t.charCodeAt(mt)?(s="'",mt++):(s=r,0===_t&&Mt(J)),s!==r?i=a=function(t){return"#"+t.join("")}(o):(mt=i,i=r)):(mt=i,i=r)}else mt=i,i=r;i!==r&&(a=(a=l())?void 0:r)!==r?n=i=[i,a]:(mt=n,n=r),n!==r&&(n=function(t){return t[0]}(n)),(e=n)===r&&(39===t.charCodeAt(mt)?(e="'",mt++):(e=r,0===_t&&Mt(J)))}return _t--,e===r&&(n=r,0===_t&&Mt(rt)),e}())===r&&(e=mt,35===t.charCodeAt(mt)?(n="#",mt++):(n=r,0===_t&&Mt(s)),n!==r&&(jt[0]?r:void 0)!==r?e=n=n:(mt=e,e=r),e===r&&(e=function(){var e;return _t++,st.test(t.charAt(mt))?(e=t.charAt(mt),mt++):(e=r,0===_t&&Mt(lt)),_t--,e===r&&0===_t&&Mt(ot),e}())),e}function Rt(){var e,n,i;if(_t++,e=mt,n=[],ct.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(ht)),i!==r)for(;i!==r;)n.push(i),ct.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(ht));else n=r;return e=n!==r?t.substring(e,mt):n,_t--,e===r&&(n=r,0===_t&&Mt(ut)),e}function Yt(){var e,n,i;for(_t++,e=mt,n=[],ft.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(pt));i!==r;)n.push(i),ft.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===_t&&Mt(pt));return e=n!==r?t.substring(e,mt):n,_t--,e===r&&(n=r,0===_t&&Mt(dt)),e}var jt=[!1];if((n=o())!==r&&mt===t.length)return n;throw n!==r&&mt<t.length&&Mt({type:"end"}),function(t,e,n){return new i(i.buildMessage(t,e),t,e,n)}(yt,vt<t.length?t.charAt(vt):null,function(t,e){var n=xt(t),i=xt(e);return{start:{offset:t,line:n.line,column:n.column},end:{offset:e,line:i.line,column:i.column}}}(vt,vt<t.length?vt+1:vt))}}},function(t,e,n){var i,r,a=[{cardinal:["other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["one","other"]},{cardinal:["one","two","other"],ordinal:["other"]}];void 0===(r="function"==typeof(i={af:a[1],ak:a[1],am:a[1],ar:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},ars:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},as:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},asa:a[1],ast:a[1],az:{cardinal:["one","other"],ordinal:["one","few","many","other"]},be:{cardinal:["one","few","many","other"],ordinal:["few","other"]},bem:a[1],bez:a[1],bg:a[1],bh:a[1],bm:a[0],bn:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},bo:a[0],br:{cardinal:["one","two","few","many","other"],ordinal:["other"]},brx:a[1],bs:{cardinal:["one","few","other"],ordinal:["other"]},ca:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ce:a[1],cgg:a[1],chr:a[1],ckb:a[1],cs:{cardinal:["one","few","many","other"],ordinal:["other"]},cy:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},da:a[1],de:a[1],dsb:{cardinal:["one","two","few","other"],ordinal:["other"]},dv:a[1],dz:a[0],ee:a[1],el:a[1],en:{cardinal:["one","other"],ordinal:["one","two","few","other"]},eo:a[1],es:a[1],et:a[1],eu:a[1],fa:a[1],ff:a[1],fi:a[1],fil:a[2],fo:a[1],fr:a[2],fur:a[1],fy:a[1],ga:{cardinal:["one","two","few","many","other"],ordinal:["one","other"]},gd:{cardinal:["one","two","few","other"],ordinal:["one","two","few","other"]},gl:a[1],gsw:a[1],gu:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},guw:a[1],gv:{cardinal:["one","two","few","many","other"],ordinal:["other"]},ha:a[1],haw:a[1],he:{cardinal:["one","two","many","other"],ordinal:["other"]},hi:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},hr:{cardinal:["one","few","other"],ordinal:["other"]},hsb:{cardinal:["one","two","few","other"],ordinal:["other"]},hu:a[2],hy:a[2],ia:a[1],id:a[0],ig:a[0],ii:a[0],in:a[0],io:a[1],is:a[1],it:{cardinal:["one","other"],ordinal:["many","other"]},iu:a[3],iw:{cardinal:["one","two","many","other"],ordinal:["other"]},ja:a[0],jbo:a[0],jgo:a[1],ji:a[1],jmc:a[1],jv:a[0],jw:a[0],ka:{cardinal:["one","other"],ordinal:["one","many","other"]},kab:a[1],kaj:a[1],kcg:a[1],kde:a[0],kea:a[0],kk:{cardinal:["one","other"],ordinal:["many","other"]},kkj:a[1],kl:a[1],km:a[0],kn:a[1],ko:a[0],ks:a[1],ksb:a[1],ksh:{cardinal:["zero","one","other"],ordinal:["other"]},ku:a[1],kw:a[3],ky:a[1],lag:{cardinal:["zero","one","other"],ordinal:["other"]},lb:a[1],lg:a[1],lkt:a[0],ln:a[1],lo:{cardinal:["other"],ordinal:["one","other"]},lt:{cardinal:["one","few","many","other"],ordinal:["other"]},lv:{cardinal:["zero","one","other"],ordinal:["other"]},mas:a[1],mg:a[1],mgo:a[1],mk:{cardinal:["one","other"],ordinal:["one","two","many","other"]},ml:a[1],mn:a[1],mo:{cardinal:["one","few","other"],ordinal:["one","other"]},mr:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ms:{cardinal:["other"],ordinal:["one","other"]},mt:{cardinal:["one","few","many","other"],ordinal:["other"]},my:a[0],nah:a[1],naq:a[3],nb:a[1],nd:a[1],ne:a[2],nl:a[1],nn:a[1],nnh:a[1],no:a[1],nqo:a[0],nr:a[1],nso:a[1],ny:a[1],nyn:a[1],om:a[1],or:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},os:a[1],pa:a[1],pap:a[1],pl:{cardinal:["one","few","many","other"],ordinal:["other"]},prg:{cardinal:["zero","one","other"],ordinal:["other"]},ps:a[1],pt:a[1],"pt-PT":a[1],rm:a[1],ro:{cardinal:["one","few","other"],ordinal:["one","other"]},rof:a[1],root:a[0],ru:{cardinal:["one","few","many","other"],ordinal:["other"]},rwk:a[1],sah:a[0],saq:a[1],sc:{cardinal:["one","other"],ordinal:["many","other"]},scn:{cardinal:["one","other"],ordinal:["many","other"]},sd:a[1],sdh:a[1],se:a[3],seh:a[1],ses:a[0],sg:a[0],sh:{cardinal:["one","few","other"],ordinal:["other"]},shi:{cardinal:["one","few","other"],ordinal:["other"]},si:a[1],sk:{cardinal:["one","few","many","other"],ordinal:["other"]},sl:{cardinal:["one","two","few","other"],ordinal:["other"]},sma:a[3],smi:a[3],smj:a[3],smn:a[3],sms:a[3],sn:a[1],so:a[1],sq:{cardinal:["one","other"],ordinal:["one","many","other"]},sr:{cardinal:["one","few","other"],ordinal:["other"]},ss:a[1],ssy:a[1],st:a[1],sv:a[2],sw:a[1],syr:a[1],ta:a[1],te:a[1],teo:a[1],th:a[0],ti:a[1],tig:a[1],tk:{cardinal:["one","other"],ordinal:["few","other"]},tl:a[2],tn:a[1],to:a[0],tr:a[1],ts:a[1],tzm:a[1],ug:a[1],uk:{cardinal:["one","few","many","other"],ordinal:["few","other"]},ur:a[1],uz:a[1],ve:a[1],vi:{cardinal:["other"],ordinal:["one","other"]},vo:a[1],vun:a[1],wa:a[1],wae:a[1],wo:a[0],xh:a[1],xog:a[1],yi:a[1],yo:a[0],yue:a[0],zh:a[0],zu:a[1]})?i.call(e,n,e,t):i)||(t.exports=r)},function(t,e){function n(t,e,n){var i={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":i.weekday="long";case"long":i.month="long";break;case"short":i.month="numeric"}return new Date(t).toLocaleDateString(e,i)}t.exports=function(){return n}},function(t,e){function n(t){if(!isFinite(t))return String(t);var e="";t<0?(e="-",t=Math.abs(t)):t=Number(t);var n=t%60,i=[Math.round(n)===n?n:n.toFixed(3)];return t<60?i.unshift(0):(t=Math.round((t-i[0])/60),i.unshift(t%60),t>=60&&(t=Math.round((t-i[0])/60),i.unshift(t))),e+i.shift()+":"+i.map(function(t){return t<10?"0"+String(t):String(t)}).join(":")}t.exports=function(){return n}},function(t,e){t.exports=function(t){var e=(function(t,e,n){var i=n&&n.split(":")||[],r={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:i[1]&&i[1].trim()||CURRENCY,minimumFractionDigits:2,maximumFractionDigits:2}};return new Intl.NumberFormat(e,r[i[0]]||{}).format(t)}).toString().replace("CURRENCY",JSON.stringify(t.currency||"USD")).match(/\(([^)]*)\)[^{]*{([\s\S]*)}/);return new Function(e[1],e[2])}},function(t,e){function n(t,e,n){var i={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":i.timeZoneName="short";break;case"short":delete i.second}return new Date(t).toLocaleTimeString(e,i)}t.exports=function(){return n}},function(t,e,n){"use strict";n.r(e);var i=n(1),r=n.n(i),a=n(2),o={break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},s={debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0};function l(t,e){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!o[t])return e?"".concat(e,".").concat(t):t;var n=JSON.stringify(t);return e?e+"[".concat(n,"]"):n}function u(t){var e=t.trim().replace(/\W+/g,"_");return o[e]||s[e]||/^\d/.test(e)?"_"+e:e}var c=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.mf=e,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var e;return(e=[{key:"compile",value:function(t,e,n){var i=this;if("object"!=h(t)){this.lc=e;var r=n[e]||{cardinal:[],ordinal:[]};r.strict=!!this.mf.options.strictNumberSign;var o=Object(a.parse)(t,r).map(function(t){return i.token(t)});return"function(d) { return ".concat(o.join(" + ")||'""',"; }")}var s={};for(var l in t){var u=n.hasOwnProperty(l)?l:e;s[l]=this.compile(t[l],u,n)}return s}},{key:"cases",value:function(t,e){var n=this,i="select"===t.type||!this.mf.hasCustomPluralFuncs,r=t.cases.map(function(t){var r=t.key;"other"===r&&(i=!1);var a=t.tokens.map(function(t){return n.token(t,e)});return l(r)+": "+(a.join(" + ")||'""')});if(i)throw new Error("No 'other' form found in "+JSON.stringify(t));return"{ ".concat(r.join(", ")," }")}},{key:"token",value:function(t,e){var n,i=this;if("string"==typeof t)return JSON.stringify(t);var r,a,o,s=[l(t.arg,"d")];switch(t.type){case"argument":return this.mf.options.biDiSupport?(r=s[0],a=c.test(this.lc),o=JSON.stringify(a?"\u200f":"\u200e"),"".concat(o," + ").concat(r," + ").concat(o)):s[0];case"select":n="select",e&&this.mf.options.strictNumberSign&&(e=null),s.push(this.cases(t,e)),this.runtime.select=!0;break;case"selectordinal":n="plural",s.push(0,u(this.lc),this.cases(t,t),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":n="plural",s.push(t.offset||0,u(this.lc),this.cases(t,t)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(!(t.key in this.mf.fmt)&&t.key in this.mf.constructor.formatters&&(this.mf.fmt[t.key]=(0,this.mf.constructor.formatters[t.key])(this.mf)),!this.mf.fmt[t.key])throw new Error("Formatting function ".concat(JSON.stringify(t.key)," not found!"));if(s.push(JSON.stringify(this.lc)),t.param){e&&this.mf.options.strictNumberSign&&(e=null);var h=t.param.tokens.map(function(t){return i.token(t,e)});s.push("("+(h.join(" + ")||'""')+").trim()")}n=l(t.key,"fmt"),this.formatters[t.key]=!0;break;case"octothorpe":if(!e)return'"#"';n="number",s=[l(e.arg,"d"),JSON.stringify(e.arg)],e.offset&&s.push(e.offset),this.runtime.number=!0}if(!n)throw new Error("Parser error for token "+JSON.stringify(t));return"".concat(n,"(").concat(s.join(", "),")")}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}(),f=n(3),p=n.n(f),m=n(0),g=n.n(m);function v(t,e,n){var i=function(){return e.apply(this,arguments)};if(i.toString=function(){return e.toString()},n){var r=p.a[t]||{};i.cardinal=r.cardinal,i.ordinal=r.ordinal}else i.cardinal=[],i.ordinal=[];return i}function y(t,e){for(var n=e.pluralKeyChecks,i=String(t);i;i=i.replace(/[-_]?[^-_]*$/,"")){var r=g.a[i];if(r)return v(i,r,n)}throw new Error("Localisation function not found for locale "+JSON.stringify(t))}function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var b=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.plural=function(t,e,n,i,r){if({}.hasOwnProperty.call(i,t))return i[t];e&&(t-=e);var a=n(t,r);return a in i?i[a]:i.other},this.select=function(t,e){return{}.hasOwnProperty.call(e,t)?e[t]:e.other},this.mf=e,this.setStrictNumber(e.options.strictNumberSign)}var e;return(e=[{key:"setStrictNumber",value:function(e){this.number=e?t.strictNumber:t.defaultNumber}},{key:"toString",value:function(t,e){for(var n={},i=Object.keys(e.locales),r=0;r<i.length;++r){var a=i[r];n[u(a)]=t[a]}for(var o=Object.keys(e.runtime),s=0;s<o.length;++s){var c=o[s];n[c]=this[c]}var h=Object.keys(e.formatters);if(h.length>0){n.fmt={};for(var d=0;d<h.length;++d){var f=h[d];n.fmt[f]=this.mf.fmt[f]}}return function t(e,n){if("object"!=_(e)){var i=e.toString().replace(/^(function )\w*/,"$1"),r=/([ \t]*)\S.*$/.exec(i);return r?i.replace(new RegExp("^"+r[1],"mg"),""):i}var a=[];for(var o in e){var s=t(e[o],n+1);a.push(0===n?"var ".concat(o," = ").concat(s,";\n"):"".concat(l(o),": ").concat(s))}if(0===n)return a.join("");if(0===a.length)return"{}";for(var u=" ";--n;)u+=" ";var c=a.join(",\n").replace(/^/gm,u);return"{\n".concat(c,"\n}")}(n,0)}}])&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}();function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function x(t,e,n){return e&&k(t.prototype,e),n&&k(t,n),t}b.defaultNumber=function(t,e,n){if(!n)return t;if(isNaN(t))throw new Error("Can't apply offset:"+n+" to argument `"+e+"` with non-numerical value "+JSON.stringify(t)+".");return t-n},b.strictNumber=function(t,e,n){if(isNaN(t))throw new Error("Argument `"+e+"` has non-numerical value "+JSON.stringify(t)+".");return t-(n||0)},n.d(e,"default",function(){return M});var M=function(){function t(e,n){var i=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=Object.assign({biDiSupport:!1,customFormatters:null,pluralKeyChecks:!0,strictNumberSign:!1},n),this.pluralFuncs={},"string"==typeof e)this.pluralFuncs[e]=y(e,this.options),this.defaultLocale=e;else if(Array.isArray(e))e.forEach(function(t){i.pluralFuncs[t]=y(t,i.options)}),this.defaultLocale=e[0];else{if(e)for(var r=Object.keys(e),a=0;a<r.length;++a){var o=r[a];if("function"!=typeof e[o]){var s="Expected function value for locale "+String(o);throw new Error(s)}this.pluralFuncs[o]=e[o],this.defaultLocale||(this.defaultLocale=o)}this.defaultLocale?this.hasCustomPluralFuncs=!0:(this.defaultLocale=t.defaultLocale,this.hasCustomPluralFuncs=!1)}this.fmt=Object.assign({},this.options.customFormatters),this.runtime=new b(this)}return x(t,null,[{key:"escape",value:function(t,e){var n=e?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")}}]),x(t,[{key:"addFormatters",value:function(t){for(var e=Object.keys(t),n=0;n<e.length;++n){var i=e[n];this.fmt[i]=t[i]}return this}},{key:"disablePluralKeyChecks",value:function(){for(var t in this.options.pluralKeyChecks=!1,this.pluralFuncs){var e=this.pluralFuncs[t];e&&(e.cardinal=[],e.ordinal=[])}return this}},{key:"setBiDiSupport",value:function(t){return this.options.biDiSupport=!!t||void 0===t,this}},{key:"setStrictNumberSign",value:function(t){return this.options.strictNumberSign=!!t||void 0===t,this.runtime.setStrictNumber(this.options.strictNumberSign),this}},{key:"compile",value:function(t,e){var n={};if(0===Object.keys(this.pluralFuncs).length)if(e){var i=y(e,this.options);if(!i){var r=JSON.stringify(e);throw new Error("Locale ".concat(r," not found!"))}n[e]=i}else e=this.defaultLocale,n=function(t){for(var e=t.pluralKeyChecks,n={},i=Object.keys(g.a),r=0;r<i.length;++r){var a=i[r];n[a]=v(a,g.a[a],e)}return n}(this.options);else if(e){var a=this.pluralFuncs[e];if(!a){var o=JSON.stringify(e),s=JSON.stringify(this.pluralFuncs);throw new Error("Locale ".concat(o," not found in ").concat(s,"!"))}n[e]=a}else e=this.defaultLocale,n=this.pluralFuncs;var c=new d(this),h=c.compile(t,e,n);if("object"!=w(t)){var f=new Function("number, plural, select, fmt",u(e),"return "+h),p=this.runtime;return f(p.number,p.plural,p.select,this.fmt,n[e])}var m=this.runtime.toString(n,c)+"\n",_=function t(e,n){if(n||(n=0),"object"!=w(e))return e;for(var i="",r=0;r<n;++r)i+=" ";var a=[];for(var o in e){var s=t(e[o],n+1);a.push("\n".concat(i," ").concat(l(o),": ").concat(s))}return"{".concat(a.join(","),"\n").concat(i,"}")}(h),b=new Function(m+"return "+_)();if(b.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return b.toString=function(t){return t&&"export default"!==t?t.indexOf(".")>-1?m+t+" = "+_:m+["(function (root, G) {",' if (typeof define === "function" && define.amd) { define(G); }',' else if (typeof exports === "object") { module.exports = G; }'," else { "+l(t,"root")+" = G; }","})(this, "+_+");"].join("\n"):m+"export default "+_},b}}]),t}();M.defaultLocale="en",M.formatters=r.a}]).default},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i,r,a=n("DH7j"),o=n("XoHu"),l=n("n6bG"),c=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map(function(t,e){return"".concat(e+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),h=((r=function(){function t(e){s(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return u(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,r=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var u=0;u<n.length;++u)n[u].remove(this);if(Object(l.a)(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(m){e=m instanceof c?d(m.errors):[m]}}if(Object(a.a)(s))for(var h=-1,f=s.length;++h<f;){var p=s[h];if(Object(o.a)(p))try{p.unsubscribe()}catch(m){e=e||[],m instanceof c?e=e.concat(d(m.errors)):e.push(m)}}if(e)throw new c(e)}}},{key:"add",value:function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[n]:a.push(n),n}},{key:"remove",value:function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}]),t}()).EMPTY=((i=new r).closed=!0,i),r);function d(t){return t.reduce(function(t,e){return t.concat(e instanceof c?e.errors:e)},[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},rDax:function(t,e,i){"use strict";i.d(e,"a",function(){return ht}),i.d(e,"b",function(){return ct}),i.d(e,"c",function(){return st}),i.d(e,"d",function(){return F}),i.d(e,"e",function(){return G}),i.d(e,"f",function(){return ft});var a=i("vxfF"),o=i("fXoL"),l=i("nLfN"),d=i("cH1L"),p=i("ofXK"),m=i("8LU1"),g=i("+rOU"),v=i("XNiG"),y=i("quSY"),_=i("VRyK"),w=i("IzEk"),k=i("1G5W"),x=i("7o/Q"),M=function(){function t(e,n){s(this,t),this.predicate=e,this.inclusive=n}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new S(t,this.predicate,this.inclusive))}}]),t}(),S=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t)).predicate=i,a.inclusive=r,a.index=0,a}return u(n,[{key:"_next",value:function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(t,e)}},{key:"nextOrComplete",value:function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}]),n}(x.a),C=i("FtGj"),D=function(){function t(e,n){s(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return u(t,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(m.d)(-this._previousScrollPosition.left),t.style.top=Object(m.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}]),t}(),O=function(){function t(e,n,i,r){var a=this;s(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run(function(){return a._overlayRef.detach()})}}return u(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),T=function(){function t(){s(this,t)}return u(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function L(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function A(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var I,P,E,R,Y,j=function(){function t(e,n,i,r){s(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return u(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;L(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),N=((I=function t(e,n,i,r){var a=this;s(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new T},this.close=function(t){return new O(a._scrollDispatcher,a._ngZone,a._viewportRuler,t)},this.block=function(){return new D(a._viewportRuler,a._document)},this.reposition=function(t){return new j(a._scrollDispatcher,a._viewportRuler,a._ngZone,t)},this._document=r}).\u0275fac=function(t){return new(t||I)(o.Yb(a.c),o.Yb(a.e),o.Yb(o.B),o.Yb(p.d))},I.\u0275prov=Object(o.Kb)({factory:function(){return new I(Object(o.Yb)(a.c),Object(o.Yb)(a.e),Object(o.Yb)(o.B),Object(o.Yb)(p.d))},token:I,providedIn:"root"}),I),F=function t(e){if(s(this,t),this.scrollStrategy=new T,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e)for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];void 0!==e[r]&&(this[r]=e[r])}},V=function t(e,n,i,r,a){s(this,t),this.offsetX=i,this.offsetY=r,this.panelClass=a,this.originX=e.originX,this.originY=e.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},H=function t(e,n){s(this,t),this.connectionPair=e,this.scrollableViewProperties=n},z=((R=function(){function t(e){s(this,t),this._attachedOverlays=[],this._document=e}return u(t,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}()).\u0275fac=function(t){return new(t||R)(o.Yb(p.d))},R.\u0275prov=Object(o.Kb)({factory:function(){return new R(Object(o.Yb)(p.d))},token:R,providedIn:"root"}),R),B=((E=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return u(n,[{key:"add",value:function(t){c(b(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(z)).\u0275fac=function(t){return new(t||E)(o.Yb(p.d))},E.\u0275prov=Object(o.Kb)({factory:function(){return new E(Object(o.Yb)(p.d))},token:E,providedIn:"root"}),E),W=((P=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e))break;a._outsidePointerEvents.next(t)}}},r}return u(n,[{key:"add",value:function(t){c(b(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(z)).\u0275fac=function(t){return new(t||P)(o.Yb(p.d),o.Yb(l.a))},P.\u0275prov=Object(o.Kb)({factory:function(){return new P(Object(o.Yb)(p.d),Object(o.Yb)(l.a))},token:P,providedIn:"root"}),P),U=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),G=((Y=function(){function t(e,n){s(this,t),this._platform=n,this._document=e}return u(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||U)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e]);var n=this._document.createElement("div");n.classList.add("cdk-overlay-container"),U?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}]),t}()).\u0275fac=function(t){return new(t||Y)(o.Yb(p.d),o.Yb(l.a))},Y.\u0275prov=Object(o.Kb)({factory:function(){return new Y(Object(o.Yb)(p.d),Object(o.Yb)(l.a))},token:Y,providedIn:"root"}),Y),q=function(){function t(e,n,i,r,a,o,l,u,c){var h=this;s(this,t),this._portalOutlet=e,this._host=n,this._pane=i,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=l,this._location=u,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new v.a,this._attachments=new v.a,this._detachments=new v.a,this._locationChanges=y.a.EMPTY,this._backdropClickHandler=function(t){return h._backdropClick.next(t)},this._keydownEvents=new v.a,this._outsidePointerEvents=new v.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return u(t,[{key:"attach",value:function(t){var e=this,n=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(w.a)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),this._outsideClickDispatcher.add(this),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}}},{key:"dispose",value:function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}},{key:"setDirection",value:function(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}},{key:"addPanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!0)}},{key:"removePanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!1)}},{key:"getDirection",value:function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}},{key:"updateScrollStrategy",value:function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var t=this._pane.style;t.width=Object(m.d)(this._config.width),t.height=Object(m.d)(this._config.height),t.minWidth=Object(m.d)(this._config.minWidth),t.minHeight=Object(m.d)(this._config.minHeight),t.maxWidth=Object(m.d)(this._config.maxWidth),t.maxHeight=Object(m.d)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(t){this._pane.style.pointerEvents=t?"auto":"none"}},{key:"_attachBackdrop",value:function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var t,e=this,n=this._backdropElement;if(n){var i=function i(){n&&(n.removeEventListener("click",e._backdropClickHandler),n.removeEventListener("transitionend",i),n.parentNode&&n.parentNode.removeChild(n)),e._backdropElement==n&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(n,e._config.backdropClass,!1),clearTimeout(t)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){n.addEventListener("transitionend",i)}),n.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(t,e,n){var i=t.classList;Object(m.b)(e).forEach(function(t){t&&(n?i.add(t):i.remove(t))})}},{key:"_detachContentWhenStable",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.pipe(Object(k.a)(Object(_.a)(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}},{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}}]),t}(),X=/([A-Za-z%]+)$/,Z=function(){function t(e,n,i,r,a){s(this,t),this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new v.a,this._resizeSubscription=y.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}return u(t,[{key:"attach",value:function(t){var e=this;this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var t,e,i=this._originRect,r=this._overlayRect,a=this._viewportRect,o=[],s=n(this._preferredPositions);try{for(s.s();!(e=s.n()).done;){var l=e.value,u=this._getOriginPoint(i,l),c=this._getOverlayPoint(u,r,l),h=this._getOverlayFit(c,r,a,l);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,u);this._canFitWithFlexibleDimensions(h,c,a)?o.push({position:l,origin:u,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(u,l)}):(!t||t.overlayFit.visibleArea<h.visibleArea)&&(t={overlayFit:h,overlayPoint:c,originPoint:u,position:l,overlayRect:r})}}catch(y){s.e(y)}finally{s.f()}if(o.length){var d,f=null,p=-1,m=n(o);try{for(m.s();!(d=m.n()).done;){var g=d.value,v=g.boundingBoxRect.width*g.boundingBoxRect.height*(g.position.weight||1);v>p&&(p=v,f=g)}}catch(y){m.e(y)}finally{m.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&K(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=t.x,a=t.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);var l=0-a,u=a+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),h=this._subtractOverflows(e.height,l,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,a=J(this._overlayRef.getConfig().minHeight),o=J(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,a=this._viewportRect,o=Math.max(t.x+e.width-a.width,0),s=Math.max(t.y+e.height-a.height,0),l=Math.max(a.top-n.top-t.y,0),u=Math.max(a.left-n.left-t.x,0);return i=e.width<=a.width?u||-o:t.x<this._viewportMargin?a.left-n.left-t.x:0,r=e.height<=a.height?l||-s:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x:i,y:r},{x:t.x+i,y:t.y+r}}},{key:"_applyPosition",value:function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new H(t,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(e," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(t,e){var n,i,r,a,o,s,l=this._viewportRect,u=this._isRtl();if("top"===e.overlayY)i=t.y,n=l.height-i+this._viewportMargin;else if("bottom"===e.overlayY)r=l.height-t.y+2*this._viewportMargin,n=l.height-r+this._viewportMargin;else{var c=Math.min(l.bottom-t.y+l.top,t.y),h=this._lastBoundingBoxSize.height;n=2*c,i=t.y-c,n>h&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)o=t.x,a=l.right-t.x;else{var d=Math.min(l.right-t.x+l.left,t.x),f=this._lastBoundingBoxSize.width;a=2*d,o=t.x-d,a>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.x-f/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(m.d)(n.height),i.top=Object(m.d)(n.top),i.bottom=Object(m.d)(n.bottom),i.width=Object(m.d)(n.width),i.left=Object(m.d)(n.left),i.right=Object(m.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Object(m.d)(r)),a&&(i.maxWidth=Object(m.d)(a))}this._lastBoundingBoxSize=n,K(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){K(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){K(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();K(n,this._getExactOverlayY(e,t,o)),K(n,this._getExactOverlayX(e,t,o))}else n.position="static";var s="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=Object(m.d)(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Object(m.d)(a.maxWidth):r&&(n.maxWidth="")),K(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(m.d)(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=Object(m.d)(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:A(t,n),isOriginOutsideView:L(t,n),isOverlayClipped:A(e,n),isOverlayOutsideView:L(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.reduce(function(t,e){return t-Math.max(e,0)},t)}},{key:"_getNarrowedViewportRect",value:function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(t){var e=this;this._pane&&Object(m.b)(t).forEach(function(t){""!==t&&-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})}},{key:"_clearPanelClasses",value:function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){t._pane.classList.remove(e)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var t=this._origin;if(t instanceof o.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();var e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}},{key:"positions",get:function(){return this._preferredPositions}}]),t}();function K(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function J(t){if("number"!=typeof t&&null!=t){var e=r(t.split(X),2),n=e[0],i=e[1];return i&&"px"!==i?null:parseFloat(n)}return t||null}var Q,$,tt,et,nt,it=function(){function t(e,n,i,r,a,o,l){s(this,t),this._preferredPositions=[],this._positionStrategy=new Z(i,r,a,o,l).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,n),this.onPositionChange=this._positionStrategy.positionChanges}return u(t,[{key:"attach",value:function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(t){this._positionStrategy.withScrollableContainers(t)}},{key:"withFallbackPosition",value:function(t,e,n,i){var r=new V(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}},{key:"withOffsetX",value:function(t){return this._positionStrategy.withDefaultOffsetX(t),this}},{key:"withOffsetY",value:function(t){return this._positionStrategy.withDefaultOffsetY(t),this}},{key:"withLockedPosition",value:function(t){return this._positionStrategy.withLockedPosition(t),this}},{key:"withPositions",value:function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(t){return this._positionStrategy.setOrigin(t),this}},{key:"positions",get:function(){return this._preferredPositions}}]),t}(),rt=function(){function t(){s(this,t),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return u(t,[{key:"attach",value:function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),at=(($=function(){function t(e,n,i,r){s(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}return u(t,[{key:"global",value:function(){return new rt}},{key:"connectedTo",value:function(t,e,n){return new it(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new Z(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}()).\u0275fac=function(t){return new(t||$)(o.Yb(a.e),o.Yb(p.d),o.Yb(l.a),o.Yb(G))},$.\u0275prov=Object(o.Kb)({factory:function(){return new $(Object(o.Yb)(a.e),Object(o.Yb)(p.d),Object(o.Yb)(l.a),Object(o.Yb)(G))},token:$,providedIn:"root"}),$),ot=0,st=((Q=function(){function t(e,n,i,r,a,o,l,u,c,h,d){s(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=l,this._document=u,this._directionality=c,this._location=h,this._outsideClickDispatcher=d}return u(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new F(t);return r.direction=r.direction||this._directionality.value,new q(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+ot++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(o.g)),new g.e(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}()).\u0275fac=function(t){return new(t||Q)(o.Yb(N),o.Yb(G),o.Yb(o.j),o.Yb(at),o.Yb(B),o.Yb(o.t),o.Yb(o.B),o.Yb(p.d),o.Yb(d.b),o.Yb(p.i),o.Yb(W))},Q.\u0275prov=o.Kb({token:Q,factory:Q.\u0275fac}),Q),lt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ut=new o.s("cdk-connected-overlay-scroll-strategy"),ct=((et=function t(e){s(this,t),this.elementRef=e}).\u0275fac=function(t){return new(t||et)(o.Ob(o.l))},et.\u0275dir=o.Jb({type:et,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),et),ht=((tt=function(){function t(e,n,i,r,a){s(this,t),this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=y.a.EMPTY,this._attachSubscription=y.a.EMPTY,this._detachSubscription=y.a.EMPTY,this._positionSubscription=y.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new o.o,this.positionChange=new o.o,this.attach=new o.o,this.detach=new o.o,this.overlayKeydown=new o.o,this.overlayOutsideClick=new o.o,this._templatePortal=new g.h(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return u(t,[{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;this.positions&&this.positions.length||(this.positions=lt);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=e.detachments().subscribe(function(){return t.detach.emit()}),e.keydownEvents().subscribe(function(e){t.overlayKeydown.next(e),e.keyCode!==C.g||t.disableClose||Object(C.s)(e)||(e.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(e){t.overlayOutsideClick.next(e)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new F({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,n=this.positions.map(function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}});return t.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(e){t.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new M(t,e))}}(function(){return t.positionChange.observers.length>0})).subscribe(function(e){t.positionChange.emit(e),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(m.c)(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=Object(m.c)(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=Object(m.c)(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=Object(m.c)(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=Object(m.c)(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),t}()).\u0275fac=function(t){return new(t||tt)(o.Ob(st),o.Ob(o.N),o.Ob(o.R),o.Ob(ut),o.Ob(d.b,8))},tt.\u0275dir=o.Jb({type:tt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[o.Ab]}),tt),dt={provide:ut,deps:[st],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},ft=((nt=function t(){s(this,t)}).\u0275mod=o.Mb({type:nt}),nt.\u0275inj=o.Lb({factory:function(t){return new(t||nt)},providers:[st,dt],imports:[[d.a,g.g,a.d],a.d]}),nt)},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sYmb:function(t,e,i){"use strict";i.d(e,"a",function(){return I}),i.d(e,"b",function(){return b}),i.d(e,"c",function(){return z}),i.d(e,"d",function(){return H}),i.d(e,"e",function(){return V});var r=i("fXoL"),a=i("LRne"),o=i("7+OI"),l=i("cp0P"),c=i("GyhO"),d=i("NXyV"),p=i("IzEk"),m=i("UXun"),g=i("lJxs"),v=i("bOdf"),_=i("eIep"),b=function t(){s(this,t)},w=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"getTranslation",value:function(t){return Object(a.a)({})}}]),n}(b);return t.\u0275fac=function(e){return k(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),k=r.Wb(w),x=function t(){s(this,t)},M=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"handle",value:function(t){return t.key}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}();function S(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,i,r,a=typeof t;if(a==typeof e&&"object"==a){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in r=Object.create(null),t){if(!S(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i<n;i++)if(!S(t[i],e[i]))return!1;return!0}}return!1}function C(t){return null!=t}function D(t){return t&&"object"==typeof t&&!Array.isArray(t)}function O(t,e){var n=Object.assign({},t);return D(t)&&D(e)&&Object.keys(e).forEach(function(i){D(e[i])&&i in t?n[i]=O(t[i],e[i]):Object.assign(n,y({},i,e[i]))}),n}var T=function t(){s(this,t)},L=function(){var t=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,t}return u(n,[{key:"interpolate",value:function(t,e){return"string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t}},{key:"getValue",value:function(t,e){var n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!C(t)||!C(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}},{key:"interpolateFunction",value:function(t,e){return t(e)}},{key:"interpolateString",value:function(t,e){var n=this;return e?t.replace(this.templateMatcher,function(t,i){var r=n.getValue(e,i);return C(r)?r:t}):t}}]),n}(T);return t.\u0275fac=function(e){return A(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),A=r.Wb(L),I=function t(){s(this,t)},P=function(){var t=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"compile",value:function(t,e){return t}},{key:"compileTranslations",value:function(t,e){return t}}]),n}(I);return t.\u0275fac=function(e){return E(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),E=r.Wb(P),R=function t(){s(this,t),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.o,this.onLangChange=new r.o,this.onDefaultLangChange=new r.o},Y=new r.s("USE_STORE"),j=new r.s("USE_DEFAULT_LANG"),N=new r.s("DEFAULT_LANGUAGE"),F=new r.s("USE_EXTEND"),V=function(){var t=function(){function t(e,n,i,a,o){var l=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],h=arguments.length>8?arguments[8]:void 0;s(this,t),this.store=e,this.currentLoader=n,this.compiler=i,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=l,this.isolate=u,this.extend=c,this.pending=!1,this._onTranslationChange=new r.o,this._onLangChange=new r.o,this._onDefaultLangChange=new r.o,this._langs=[],this._translations={},this._translationRequests={},h&&this.setDefaultLang(h)}return u(t,[{key:"setDefaultLang",value:function(t){var e=this;if(t!==this.defaultLang){var n=this.retrieveTranslations(t);void 0!==n?(null==this.defaultLang&&(this.defaultLang=t),n.pipe(Object(p.a)(1)).subscribe(function(n){e.changeDefaultLang(t)})):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var e=this;if(t===this.currentLang)return Object(a.a)(this.translations[t]);var n=this.retrieveTranslations(t);return void 0!==n?(this.currentLang||(this.currentLang=t),n.pipe(Object(p.a)(1)).subscribe(function(n){e.changeLang(t)}),n):(this.changeLang(t),Object(a.a)(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}},{key:"getTranslation",value:function(t){var e=this;this.pending=!0;var n=this.currentLoader.getTranslation(t).pipe(Object(m.a)(1),Object(p.a)(1));return this.loadingTranslations=n.pipe(Object(g.a)(function(n){return e.compiler.compileTranslations(n,t)}),Object(m.a)(1),Object(p.a)(1)),this.loadingTranslations.subscribe({next:function(n){e.translations[t]=e.extend&&e.translations[t]?Object.assign(Object.assign({},n),e.translations[t]):n,e.updateLangs(),e.pending=!1},error:function(t){e.pending=!1}}),n}},{key:"setTranslation",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?O(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var e=this;t.forEach(function(t){-1===e.langs.indexOf(t)&&e.langs.push(t)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,e,i){var r;if(e instanceof Array){var s,u={},c=!1,h=n(e);try{for(h.s();!(s=h.n()).done;){var d=s.value;u[d]=this.getParsedResult(t,d,i),Object(o.a)(u[d])&&(c=!0)}}catch(m){h.e(m)}finally{h.f()}if(c){var f=e.map(function(t){return Object(o.a)(u[t])?u[t]:Object(a.a)(u[t])});return Object(l.a)(f).pipe(Object(g.a)(function(t){var n={};return t.forEach(function(t,i){n[e[i]]=t}),n}))}return u}if(t&&(r=this.parser.interpolate(this.parser.getValue(t,e),i)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),i)),void 0===r){var p={key:e,translateService:this};void 0!==i&&(p.interpolateParams=i),r=this.missingTranslationHandler.handle(p)}return void 0!==r?r:e}},{key:"get",value:function(t,e){var n=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(v.a)(function(i){return i=n.getParsedResult(i,t,e),Object(o.a)(i)?i:Object(a.a)(i)}));var i=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(o.a)(i)?i:Object(a.a)(i)}},{key:"getStreamOnTranslationChange",value:function(t,e){var n=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');return Object(c.a)(Object(d.a)(function(){return n.get(t,e)}),this.onTranslationChange.pipe(Object(_.a)(function(i){var r=n.getParsedResult(i.translations,t,e);return"function"==typeof r.subscribe?r:Object(a.a)(r)})))}},{key:"stream",value:function(t,e){var n=this;if(!C(t)||!t.length)throw new Error('Parameter "key" required');return Object(c.a)(Object(d.a)(function(){return n.get(t,e)}),this.onLangChange.pipe(Object(_.a)(function(i){var r=n.getParsedResult(i.translations,t,e);return Object(o.a)(r)?r:Object(a.a)(r)})))}},{key:"instant",value:function(t,e){if(!C(t)||!t.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(o.a)(n)){if(t instanceof Array){var i={};return t.forEach(function(e,n){i[t[n]]=t[n]}),i}return t}return n}},{key:"set",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}},{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Yb(R),r.Yb(b),r.Yb(I),r.Yb(T),r.Yb(x),r.Yb(j),r.Yb(Y),r.Yb(F),r.Yb(N))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),H=function(){var t=function(){function t(e,n){s(this,t),this.translate=e,this._ref=n,this.value=""}return u(t,[{key:"updateValue",value:function(t,e,n){var i=this,r=function(e){i.value=void 0!==e?e:t,i.lastKey=t,i._ref.markForCheck()};if(n){var a=this.translate.getParsedResult(n,t,e);Object(o.a)(a.subscribe)?a.subscribe(r):r(a)}this.translate.get(t,e).subscribe(r)}},{key:"transform",value:function(t){var e,n=this;if(!t||!t.length)return t;for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];if(S(t,this.lastKey)&&S(r,this.lastParams))return this.value;if(C(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){var o=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{e=JSON.parse(o)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+r[0])}}else"object"!=typeof r[0]||Array.isArray(r[0])||(e=r[0]);return this.lastKey=t,this.lastParams=r,this.updateValue(t,e),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(function(i){n.lastKey&&i.lang===n.translate.currentLang&&(n.lastKey=null,n.updateValue(t,e,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(function(i){n.lastKey&&(n.lastKey=null,n.updateValue(t,e,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(function(){n.lastKey&&(n.lastKey=null,n.updateValue(t,e))})),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(V),r.ac())},t.\u0275pipe=r.Nb({name:"translate",type:t,pure:!1}),t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),z=function(){var t=function(){function t(){s(this,t)}return u(t,null,[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:b,useClass:w},e.compiler||{provide:I,useClass:P},e.parser||{provide:T,useClass:L},e.missingTranslationHandler||{provide:x,useClass:M},R,{provide:Y,useValue:e.isolate},{provide:j,useValue:e.useDefaultLang},{provide:F,useValue:e.extend},{provide:N,useValue:e.defaultLanguage},V]}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:b,useClass:w},e.compiler||{provide:I,useClass:P},e.parser||{provide:T,useClass:L},e.missingTranslationHandler||{provide:x,useClass:M},{provide:Y,useValue:e.isolate},{provide:j,useValue:e.useDefaultLang},{provide:F,useValue:e.extend},{provide:N,useValue:e.defaultLanguage},V]}}}]),t}();return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t}()},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},"t+mt":function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tPH9:function(t,e,n){"use strict";e.a=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(t,e,n){!function(t){"use strict";var e="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;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},"tk/3":function(t,e,n){"use strict";n.d(e,"a",function(){return E}),n.d(e,"b",function(){return I}),n.d(e,"c",function(){return q}),n.d(e,"d",function(){return C}),n.d(e,"e",function(){return y}),n.d(e,"f",function(){return w});var a=n("fXoL"),o=n("LRne"),l=n("HDdC"),c=n("bOdf"),d=n("pLZG"),p=n("lJxs"),m=n("ofXK"),g=function t(){s(this,t)},v=function t(){s(this,t)},y=function(){function t(e){var n=this;s(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var i=t.slice(0,e),r=i.toLowerCase(),a=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))})}:this.headers=new Map}return u(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,i(n)),this.headers.set(e,r);break;case"d":var a=t.value;if(a){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===a.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}]),t}(),_=function(){function t(){s(this,t)}return u(t,[{key:"encodeKey",value:function(t){return b(t)}},{key:"encodeValue",value:function(t){return b(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function b(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var w=function(){function t(){var e,n,i,a=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(s(this,t),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new _,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=o.fromString,n=this.encoder,i=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),a=r(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=a[0],s=a[1],l=i.get(o)||[];l.push(s),i.set(o,l)}),i)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(function(t){var e=o.fromObject[t];a.map.set(t,Array.isArray(e)?e:[e])})):this.map=null}return u(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}();function k(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function x(t){return"undefined"!=typeof Blob&&t instanceof Blob}function M(t){return"undefined"!=typeof FormData&&t instanceof FormData}var S=function(){function t(e,n,i,r){var a;if(s(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new y),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var l=n.indexOf("?");this.urlWithParams=n+(-1===l?"?":l<n.length-1?"&":"")+o}}else this.params=new w,this.urlWithParams=n}return u(t,[{key:"serializeBody",value:function(){return null===this.body?null:k(this.body)||x(this.body)||M(this.body)||"string"==typeof this.body?this.body:this.body instanceof w?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||M(this.body)?null:x(this.body)?this.body.type||null:k(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof w?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,a=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},l)),e.setParams&&(u=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},u)),new t(n,i,a,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:o})}}]),t}(),C=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),D=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";s(this,t),this.headers=e.headers||new y,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},O=function(t){h(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,n),(t=e.call(this,i)).type=C.ResponseHeader,t}return u(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(D),T=function(t){h(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,n),(t=e.call(this,i)).type=C.Response,t.body=void 0!==i.body?i.body:null,t}return u(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(D),L=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),i.error=t.error||null,i}return n}(D);function A(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var I=function(){var t=function(){function t(e){s(this,t),this.handler=e}return u(t,[{key:"request",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof S)n=t;else{var a=void 0;a=r.headers instanceof y?r.headers:new y(r.headers);var s=void 0;r.params&&(s=r.params instanceof w?r.params:new w({fromObject:r.params})),n=new S(t,e,void 0!==r.body?r.body:null,{headers:a,params:s,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var l=Object(o.a)(n).pipe(Object(c.a)(function(t){return i.handler.handle(t)}));if(t instanceof S||"events"===r.observe)return l;var u=l.pipe(Object(d.a)(function(t){return t instanceof T}));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return u.pipe(Object(p.a)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return u.pipe(Object(p.a)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return u.pipe(Object(p.a)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return u.pipe(Object(p.a)(function(t){return t.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new w).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,A(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,A(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,A(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(g))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),P=function(){function t(e,n){s(this,t),this.next=e,this.interceptor=n}return u(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),E=new a.s("HTTP_INTERCEPTORS"),R=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),Y=/^\)\]\}',?\n/,j=function t(){s(this,t)},N=function(){var t=function(){function t(){s(this,t)}return u(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),F=function(){var t=function(){function t(e){s(this,t),this.xhrFactory=e}return u(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new l.a(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var a=t.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new y(i.getAllResponseHeaders()),a=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new O({headers:r,status:e,statusText:n,url:a})},u=function(){var e=l(),r=e.headers,a=e.status,o=e.statusText,s=e.url,u=null;204!==a&&(u=void 0===i.response?i.responseText:i.response),0===a&&(a=u?200:0);var c=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(Y,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,c&&(c=!1,u={error:d,text:u})}}c?(n.next(new T({body:u,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new L({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},c=function(t){var e=l().url,r=new L({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},h=!1,d=function(e){h||(n.next(l()),h=!0);var r={type:C.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(t){var e={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),n.next({type:C.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(j))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),V=new a.s("XSRF_COOKIE_NAME"),H=new a.s("XSRF_HEADER_NAME"),z=function t(){s(this,t)},B=function(){var t=function(){function t(e,n,i){s(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return u(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(m.B)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(m.d),a.Yb(a.D),a.Yb(V))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),W=function(){var t=function(){function t(e,n){s(this,t),this.tokenService=e,this.headerName=n}return u(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(z),a.Yb(H))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),U=function(){var t=function(){function t(e,n){s(this,t),this.backend=e,this.injector=n,this.chain=null}return u(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(E,[]);this.chain=e.reduceRight(function(t,e){return new P(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(v),a.Yb(a.t))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),G=function(){var t=function(){function t(){s(this,t)}return u(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:W,useClass:R}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:V,useValue:e.cookieName}:[],e.headerName?{provide:H,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[W,{provide:E,useExisting:W,multi:!0},{provide:z,useClass:B},{provide:V,useValue:"XSRF-TOKEN"},{provide:H,useValue:"X-XSRF-TOKEN"}]}),t}(),q=function(){var t=function t(){s(this,t)};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[I,{provide:g,useClass:U},F,{provide:v,useExisting:F},N,{provide:j,useExisting:N}],imports:[[G.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},"twO/":function(t,e,n){"use strict";e.a=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},tyNb:function(t,e,a){"use strict";a.d(e,"a",function(){return ee}),a.d(e,"b",function(){return $}),a.d(e,"c",function(){return Q}),a.d(e,"d",function(){return tt}),a.d(e,"e",function(){return J}),a.d(e,"f",function(){return xn}),a.d(e,"g",function(){return Mn}),a.d(e,"h",function(){return Vn}),a.d(e,"i",function(){return Tn});var o=a("ofXK"),l=a("fXoL"),c=a("LRne"),d=a("Cfvw"),p=a("2Vo4"),g=a("itXk"),v=a("HDdC"),y=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),_=a("NXyV"),b=a("EY2u"),w=a("XNiG"),k=a("lJxs"),x=a("0EUg"),M=a("pLZG"),S=a("7o/Q"),C=a("4I5i");function D(t){return function(e){return 0===t?Object(b.b)():e.lift(new O(t))}}var O=function(){function t(e){if(s(this,t),this.total=e,this.total<0)throw new C.a}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new T(t,this.total))}}]),t}(),T=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).total=i,r.ring=new Array,r.count=0,r}return u(n,[{key:"_next",value:function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}},{key:"_complete",value:function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var a=e++%n;t.next(i[a])}t.complete()}}]),n}(S.a);function L(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P;return function(e){return e.lift(new A(t))}}var A=function(){function t(e){s(this,t),this.errorFactory=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new I(t,this.errorFactory))}}]),t}(),I=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return u(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(S.a);function P(){return new y}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new R(t))}}var R=function(){function t(e){s(this,t),this.defaultValue=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new Y(t,this.defaultValue))}}]),t}(),Y=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return u(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(S.a),j=a("SpAZ"),N=a("eIep"),F=a("IzEk"),V=a("JX91"),H=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new z(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),z=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return u(n,[{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}},{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}}]),n}(S.a),B=a("JIr8"),W=a("bOdf");function U(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?Object(M.a)(function(e,n){return t(e,n,i)}):j.a,Object(F.a)(1),n?E(e):L(function(){return new y}))}}var G=a("5+tZ"),q=a("vkgz"),X=a("nYR2"),Z=a("bHdf"),K=function t(e,n){s(this,t),this.id=e,this.url=n},J=function(t){h(n,t);var e=f(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return s(this,n),(r=e.call(this,t,i)).navigationTrigger=a,r.restoredState=o,r}return u(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(K),Q=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a}return u(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(K),$=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i)).reason=r,a}return u(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(K),tt=function(t){h(n,t);var e=f(n);function n(t,i,r){var a;return s(this,n),(a=e.call(this,t,i)).error=r,a}return u(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(K),et=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return u(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(K),nt=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return u(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(K),it=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o){var l;return s(this,n),(l=e.call(this,t,i)).urlAfterRedirects=r,l.state=a,l.shouldActivate=o,l}return u(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(K),rt=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return u(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(K),at=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return u(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(K),ot=function(){function t(e){s(this,t),this.route=e}return u(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),st=function(){function t(e){s(this,t),this.route=e}return u(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),lt=function(){function t(e){s(this,t),this.snapshot=e}return u(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ut=function(){function t(e){s(this,t),this.snapshot=e}return u(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ct=function(){function t(e){s(this,t),this.snapshot=e}return u(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ht=function(){function t(e){s(this,t),this.snapshot=e}return u(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),dt=function(){function t(e,n,i){s(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return u(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),ft=function(){function t(e){s(this,t),this.params=e||{}}return u(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function pt(t){return new ft(t)}function mt(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function gt(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var r={},a=0;a<i.length;a++){var o=i[a],s=t[a];if(o.startsWith(":"))r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function vt(t,e){var n,i=Object.keys(t),r=Object.keys(e);if(!i||!r||i.length!=r.length)return!1;for(var a=0;a<i.length;a++)if(!yt(t[n=i[a]],e[n]))return!1;return!0}function yt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;var n=i(t).sort(),r=i(e).sort();return n.every(function(t,e){return r[e]===t})}return t===e}function _t(t){return Array.prototype.concat.apply([],t)}function bt(t){return t.length>0?t[t.length-1]:null}function wt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function kt(t){return Object(l.tb)(t)?t:Object(l.ub)(t)?Object(d.a)(Promise.resolve(t)):Object(c.a)(t)}function xt(t,e,n){return n?function(t,e){return vt(t,e)}(t.queryParams,e.queryParams)&&Mt(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return yt(t[n],e[n])})}(t.queryParams,e.queryParams)&&St(t.root,e.root)}function Mt(t,e){if(!Lt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(var n in e.children){if(!t.children[n])return!1;if(!Mt(t.children[n],e.children[n]))return!1}return!0}function St(t,e){return Ct(t,e,e.segments)}function Ct(t,e,n){if(t.segments.length>n.length)return!!Lt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!Lt(t.segments,n))return!1;for(var i in e.children){if(!t.children[i])return!1;if(!St(t.children[i],e.children[i]))return!1}return!0}var r=n.slice(0,t.segments.length),a=n.slice(t.segments.length);return!!Lt(t.segments,r)&&!!t.children.primary&&Ct(t.children.primary,e,a)}var Dt=function(){function t(e,n,i){s(this,t),this.root=e,this.queryParams=n,this.fragment=i}return u(t,[{key:"toString",value:function(){return Et.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=pt(this.queryParams)),this._queryParamMap}}]),t}(),Ot=function(){function t(e,n){var i=this;s(this,t),this.segments=e,this.children=n,this.parent=null,wt(n,function(t,e){return t.parent=i})}return u(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return Rt(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),t}(),Tt=function(){function t(e,n){s(this,t),this.path=e,this.parameters=n}return u(t,[{key:"toString",value:function(){return zt(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=pt(this.parameters)),this._parameterMap}}]),t}();function Lt(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function At(t,e){var n=[];return wt(t.children,function(t,i){"primary"===i&&(n=n.concat(e(t,i)))}),wt(t.children,function(t,i){"primary"!==i&&(n=n.concat(e(t,i)))}),n}var It=function t(){s(this,t)},Pt=function(){function t(){s(this,t)}return u(t,[{key:"parse",value:function(t){var e=new qt(t);return new Dt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){return"".concat("/"+Yt(t.root,!0)).concat((e=t.queryParams,n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return"".concat(Nt(t),"=").concat(Nt(e))}).join("&"):"".concat(Nt(t),"=").concat(Nt(n))}),n.length?"?"+n.join("&"):"")).concat("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"");var e,n}}]),t}(),Et=new Pt;function Rt(t){return t.segments.map(function(t){return zt(t)}).join("/")}function Yt(t,e){if(!t.hasChildren())return Rt(t);if(e){var n=t.children.primary?Yt(t.children.primary,!1):"",i=[];return wt(t.children,function(t,e){"primary"!==e&&i.push("".concat(e,":").concat(Yt(t,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=At(t,function(e,n){return"primary"===n?[Yt(t.children.primary,!1)]:["".concat(n,":").concat(Yt(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children.primary?"".concat(Rt(t),"/").concat(r[0]):"".concat(Rt(t),"/(").concat(r.join("//"),")")}function jt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(t){return jt(t).replace(/%3B/gi,";")}function Ft(t){return jt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vt(t){return decodeURIComponent(t)}function Ht(t){return Vt(t.replace(/\+/g,"%20"))}function zt(t){return"".concat(Ft(t.path)).concat((e=t.parameters,Object.keys(e).map(function(t){return";".concat(Ft(t),"=").concat(Ft(e[t]))}).join("")));var e}var Bt=/^[^\/()?;=#]+/;function Wt(t){var e=t.match(Bt);return e?e[0]:""}var Ut=/^[^=?&#]+/,Gt=/^[^?&#]+/,qt=function(){function t(e){s(this,t),this.url=e,this.remaining=e}return u(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ot([],{}):new Ot([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Ot(t,e)),n}},{key:"parseSegment",value:function(){var t=Wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Tt(Vt(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Wt(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Wt(this.remaining);i&&(n=i,this.capture(n))}t[Vt(e)]=Vt(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Ut);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(Gt);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=Ht(e),a=Ht(n);if(t.hasOwnProperty(r)){var o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(a)}else t[r]=a}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Wt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");var a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new Ot([],a),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),Xt=function(){function t(e){s(this,t),this._root=e}return u(t,[{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=Zt(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=Zt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=Kt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return Kt(t,this._root).map(function(t){return t.value})}},{key:"root",get:function(){return this._root.value}}]),t}();function Zt(t,e){if(t===e.value)return e;var i,r=n(e.children);try{for(r.s();!(i=r.n()).done;){var a=Zt(t,i.value);if(a)return a}}catch(o){r.e(o)}finally{r.f()}return null}function Kt(t,e){if(t===e.value)return[e];var i,r=n(e.children);try{for(r.s();!(i=r.n()).done;){var a=Kt(t,i.value);if(a.length)return a.unshift(e),a}}catch(o){r.e(o)}finally{r.f()}return[]}var Jt=function(){function t(e,n){s(this,t),this.value=e,this.children=n}return u(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function Qt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var $t=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).snapshot=i,ae(m(r),t),r}return u(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Xt);function te(t,e){var n=function(t,e){var n=new ie([],{},{},"",{},"primary",e,null,t.root,-1,{});return new re("",new Jt(n,[]))}(t,e),i=new p.a([new Tt("",{})]),r=new p.a({}),a=new p.a({}),o=new p.a({}),s=new p.a(""),l=new ee(i,r,o,s,a,"primary",e,n.root);return l.snapshot=n.root,new $t(new Jt(l,[]),n)}var ee=function(){function t(e,n,i,r,a,o,l,u){s(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=l,this._futureSnapshot=u}return u(t,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(k.a)(function(t){return pt(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(k.a)(function(t){return pt(t)}))),this._queryParamMap}}]),t}();function ne(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var ie=function(){function t(e,n,i,r,a,o,l,u,c,h,d){s(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=l,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=h,this._resolve=d}return u(t,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=pt(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=pt(this.queryParams)),this._queryParamMap}}]),t}(),re=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,i)).url=t,ae(m(r),i),r}return u(n,[{key:"toString",value:function(){return oe(this._root)}}]),n}(Xt);function ae(t,e){e.value._routerState=t,e.children.forEach(function(e){return ae(t,e)})}function oe(t){var e=t.children.length>0?" { ".concat(t.children.map(oe).join(", ")," } "):"";return"".concat(t.value).concat(e)}function se(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,vt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),vt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!vt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),vt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function le(t,e){var n,i;return vt(t.params,e.params)&&Lt(n=t.url,i=e.url)&&n.every(function(t,e){return vt(t.parameters,i[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||le(t.parent,e.parent))}function ue(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=e.value;var a=function(t,e,i){return e.children.map(function(e){var r,a=n(i.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(t.shouldReuseRoute(e.value,o.value.snapshot))return ue(t,e,o)}}catch(s){a.e(s)}finally{a.f()}return ue(t,e)})}(t,e,i);return new Jt(r,a)}var o=t.retrieve(e.value);if(o){var s=o.route;return ce(e,s),s}var l,u=new ee(new p.a((l=e.value).url),new p.a(l.params),new p.a(l.queryParams),new p.a(l.fragment),new p.a(l.data),l.outlet,l.component,l),c=e.children.map(function(e){return ue(t,e)});return new Jt(u,c)}function ce(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;n<t.children.length;++n)ce(t.children[n],e.children[n])}function he(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function de(t){return"object"==typeof t&&null!=t&&t.outlets}function fe(t,e,n,i,r){var a={};return i&&wt(i,function(t,e){a[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Dt(n.root===t?e:pe(n.root,t,e),a,r)}function pe(t,e,n){var i={};return wt(t.children,function(t,r){i[r]=t===e?n:pe(t,e,n)}),new Ot(t.segments,i)}var me=function(){function t(e,n,i){if(s(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&he(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(de);if(r&&r!==bt(i))throw new Error("{outlets:{}} has to be the last command")}return u(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),ge=function t(e,n,i){s(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i};function ve(t,e,n){if(t||(t=new Ot([],{})),0===t.segments.length&&t.hasChildren())return ye(t,e,n);var i=function(t,e,n){for(var i=0,r=e,a={match:!1,pathIndex:0,commandIndex:0};r<t.segments.length;){if(i>=n.length)return a;var o=t.segments[r],s=n[i];if(de(s))break;var l=""+s,u=i<n.length-1?n[i+1]:null;if(r>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!ke(l,u,o))return a;i+=2}else{if(!ke(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var a=new Ot(t.segments.slice(0,i.pathIndex),{});return a.children.primary=new Ot(t.segments.slice(i.pathIndex),t.children),ye(a,0,r)}return i.match&&0===r.length?new Ot(t.segments,{}):i.match&&!t.hasChildren()?_e(t,e,n):i.match?ye(t,0,r):_e(t,e,n)}function ye(t,e,n){if(0===n.length)return new Ot(t.segments,{});var i=function(t){return de(t[0])?t[0].outlets:{primary:t}}(n),r={};return wt(i,function(n,i){"string"==typeof n&&(n=[n]),null!==n&&(r[i]=ve(t.children[i],e,n))}),wt(t.children,function(t,e){void 0===i[e]&&(r[e]=t)}),new Ot(t.segments,r)}function _e(t,e,n){for(var i=t.segments.slice(0,e),r=0;r<n.length;){var a=n[r];if(de(a)){var o=be(a.outlets);return new Ot(i,o)}if(0===r&&he(n[0]))i.push(new Tt(t.segments[e].path,n[0])),r++;else{var s=de(a)?a.outlets.primary:""+a,l=r<n.length-1?n[r+1]:null;s&&l&&he(l)?(i.push(new Tt(s,we(l))),r+=2):(i.push(new Tt(s,{})),r++)}}return new Ot(i,{})}function be(t){var e={};return wt(t,function(t,n){"string"==typeof t&&(t=[t]),null!==t&&(e[n]=_e(new Ot([],{}),0,t))}),e}function we(t){var e={};return wt(t,function(t,n){return e[n]=""+t}),e}function ke(t,e,n){return t==n.path&&vt(e,n.parameters)}var xe=function(){function t(e,n,i,r){s(this,t),this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=r}return u(t,[{key:"activate",value:function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),se(this.futureState.root),this.activateChildRoutes(e,n,t)}},{key:"deactivateChildRoutes",value:function(t,e,n){var i=this,r=Qt(e);t.children.forEach(function(t){var e=t.value.outlet;i.deactivateRoutes(t,r[e],n),delete r[e]}),wt(r,function(t,e){i.deactivateRouteAndItsChildren(t,n)})}},{key:"deactivateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(i===r)if(i.component){var a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(t,e,a.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}},{key:"deactivateRouteAndItsChildren",value:function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}},{key:"detachAndStoreRouteSubtree",value:function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(t,e){var n=this,i=e.getContext(t.value.outlet);if(i){var r=Qt(t),a=t.value.component?i.children:e;wt(r,function(t,e){return n.deactivateRouteAndItsChildren(t,a)}),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(t,e,n){var i=this,r=Qt(e);t.children.forEach(function(t){i.activateRoutes(t,r[t.value.outlet],n),i.forwardEvent(new ht(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ut(t.value.snapshot))}},{key:"activateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(se(i),i===r)if(i.component){var a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,a.children)}else this.activateChildRoutes(t,e,n);else if(i.component){var o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),Me(s.route)}else{var l=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=l?l.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=u,o.outlet&&o.outlet.activateWith(i,u),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}}]),t}();function Me(t){se(t.value),t.children.forEach(Me)}var Se=function t(e,n){s(this,t),this.routes=e,this.module=n};function Ce(t){return"function"==typeof t}function De(t){return t instanceof Dt}var Oe=Symbol("INITIAL_VALUE");function Te(){return Object(N.a)(function(t){return Object(g.b).apply(void 0,i(t.map(function(t){return t.pipe(Object(F.a)(1),Object(V.a)(Oe))}))).pipe(function(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new H(t,e,n))}}(function(t,e){var n=!1;return e.reduce(function(t,i,r){if(t!==Oe)return t;if(i===Oe&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||De(i))return i}return t},t)},Oe),Object(M.a)(function(t){return t!==Oe}),Object(k.a)(function(t){return De(t)?t:!0===t}),Object(F.a)(1))})}var Le,Ae=((Le=function t(){s(this,t)}).\u0275fac=function(t){return new(t||Le)},Le.\u0275cmp=l.Ib({type:Le,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&l.Pb(0,"router-outlet")},directives:function(){return[Tn]},encapsulation:2}),Le);function Ie(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<t.length;n++){var i=t[n];Pe(i,Ee(e,i))}}function Pe(t,e){t.children&&Ie(t.children,e)}function Ee(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:"".concat(t,"/").concat(e.path):"":t}function Re(t){var e=t.children&&t.children.map(Re),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Ae),n}function Ye(t){return t.outlet||"primary"}var je=function t(e){s(this,t),this.segmentGroup=e||null},Ne=function t(e){s(this,t),this.urlTree=e};function Fe(t){return new v.a(function(e){return e.error(new je(t))})}function Ve(t){return new v.a(function(e){return e.error(new Ne(t))})}function He(t){return new v.a(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var ze=function(){function t(e,n,i,r,a){s(this,t),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=a,this.allowRedirects=!0,this.ngModule=e.get(l.z)}return u(t,[{key:"apply",value:function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(k.a)(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Object(B.a)(function(e){if(e instanceof Ne)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof je)throw t.noMatchError(e);throw e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(k.a)(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Object(B.a)(function(t){if(t instanceof je)throw e.noMatchError(t);throw t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,e,n){var i=t.segments.length>0?new Ot([],{primary:t}):t;return new Dt(i,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(k.a)(function(t){return new Ot([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Object(c.a)({});var a=[],o=[],s={};return wt(n,function(n,r){var l,u,c=(l=r,u=n,i.expandSegmentGroup(t,e,u,l)).pipe(Object(k.a)(function(t){return s[r]=t}));"primary"===r?a.push(c):o.push(c)}),c.a.apply(null,a.concat(o)).pipe(Object(x.a)(),function(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?Object(M.a)(function(e,n){return t(e,n,i)}):j.a,D(1),n?E(e):L(function(){return new y}))}}(),Object(k.a)(function(){return s}))}(n.children)}},{key:"expandSegment",value:function(t,e,n,i,a,o){var s=this,l=function(t){return t.reduce(function(t,e){var n=Ye(e);return t.has(n)?t.get(n).push(e):t.set(n,[e]),t},new Map)}(n);l.has(a)||l.set(a,[]);var u=Array.from(l.entries()).map(function(n){var l=r(n,2),u=l[0],h=function(n){return Object(d.a)(n).pipe(Object(W.a)(function(r){return s.expandSegmentAgainstRoute(t,e,n,r,i,a,o).pipe(Object(B.a)(function(t){if(t instanceof je)return Object(c.a)(null);throw t}))}),U(function(t){return null!==t}),Object(B.a)(function(t){if(t instanceof y||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,i,a))return Object(c.a)(new Ot([],{}));throw new je(e)}throw t}))}(l[1]);return u===a?h:h.pipe(Object(k.a)(function(){return null}),Object(B.a)(function(){return Object(c.a)(null)}))});return Object(d.a)(u).pipe(function(t){return t.lift(new g.a(void 0))},U(),Object(k.a)(function(t){return t.find(function(t){return null!==t})}))}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,a,o){return Ye(i)!==a&&""!==i.path?Fe(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a):Fe(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ve(a):this.lineralizeSegments(n,a).pipe(Object(G.a)(function(n){var a=new Ot(n,{});return r.expandSegment(t,a,e,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){var o=this,s=Be(e,i,r),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return Fe(e);var d=this.applyRedirectCommands(u,i.redirectTo,h);return i.redirectTo.startsWith("/")?Ve(d):this.lineralizeSegments(i,d).pipe(Object(G.a)(function(i){return o.expandSegment(t,e,n,i.concat(r.slice(c)),a,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,i,r){var a=this;if("**"===i.path)return i.loadChildren?this.configLoader.load(t.injector,i).pipe(Object(k.a)(function(t){return i._loadedConfig=t,new Ot(r,{})})):Object(c.a)(new Ot(r,{}));var o=Be(e,i,r),s=o.matched,l=o.consumedSegments,u=o.lastChild;if(!s)return Fe(e);var h=r.slice(u);return this.getChildConfig(t,i,r).pipe(Object(G.a)(function(t){var i=t.module,r=t.routes,o=function(t,e,i,r){return i.length>0&&function(t,e,n){return n.some(function(n){return Ue(t,e,n)&&"primary"!==Ye(n)})}(t,i,r)?{segmentGroup:We(new Ot(e,function(t,e){var i={};i.primary=e;var r,a=n(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;""===o.path&&"primary"!==Ye(o)&&(i[Ye(o)]=new Ot([],{}))}}catch(s){a.e(s)}finally{a.f()}return i}(r,new Ot(i,t.children)))),slicedSegments:[]}:0===i.length&&function(t,e,n){return n.some(function(n){return Ue(t,e,n)})}(t,i,r)?{segmentGroup:We(new Ot(t.segments,function(t,e,i,r){var a,o={},s=n(i);try{for(s.s();!(a=s.n()).done;){var l=a.value;Ue(t,e,l)&&!r[Ye(l)]&&(o[Ye(l)]=new Ot([],{}))}}catch(u){s.e(u)}finally{s.f()}return Object.assign(Object.assign({},r),o)}(t,i,r,t.children))),slicedSegments:i}:{segmentGroup:t,slicedSegments:i}}(e,l,h,r),s=o.segmentGroup,u=o.slicedSegments;return 0===u.length&&s.hasChildren()?a.expandChildren(i,r,s).pipe(Object(k.a)(function(t){return new Ot(l,t)})):0===r.length&&0===u.length?Object(c.a)(new Ot(l,{})):a.expandSegment(i,s,r,u,"primary",!0).pipe(Object(k.a)(function(t){return new Ot(l.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?Object(c.a)(new Se(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(c.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(G.a)(function(n){return n?i.configLoader.load(t.injector,e).pipe(Object(k.a)(function(t){return e._loadedConfig=t,t})):function(t){return new v.a(function(e){return e.error(mt("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))})}(e)})):Object(c.a)(new Se([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,r=e.canLoad;if(!r||0===r.length)return Object(c.a)(!0);var a=r.map(function(i){var r,a=t.get(i);if(function(t){return t&&Ce(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!Ce(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return kt(r)});return Object(c.a)(a).pipe(Te(),Object(q.a)(function(t){if(De(t)){var e=mt('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),Object(k.a)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(c.a)(n);if(i.numberOfChildren>1||!i.children.primary)return He(t.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new Dt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return wt(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,a=this.createSegments(t,e.segments,n,i),o={};return wt(e.children,function(e,a){o[a]=r.createSegmentGroup(t,e,n,i)}),new Ot(a,o)}},{key:"createSegments",value:function(t,e,n,i){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var i,r=0,a=n(e);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.path===t.path)return e.splice(r),o;r++}}catch(s){a.e(s)}finally{a.f()}return t}}]),t}();function Be(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||gt)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function We(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new Ot(t.segments.concat(e.segments),e.children)}return t}function Ue(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}var Ge=function t(e){s(this,t),this.path=e,this.route=this.path[this.path.length-1]},qe=function t(e,n){s(this,t),this.component=e,this.route=n};function Xe(t,e,n){var i=t._root;return Ke(i,e?e._root:null,n,[i.value])}function Ze(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Ke(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=Qt(e);return t.children.forEach(function(t){!function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Lt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Lt(t.url,e.url)||!vt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!le(t,e)||!vt(t.queryParams,e.queryParams);case"paramsChange":default:return!le(t,e)}}(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Ge(i)):(a.data=o.data,a._resolvedData=o._resolvedData),Ke(t,e,a.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new qe(s.outlet.component,o))}else o&&Je(e,s,r),r.canActivateChecks.push(new Ge(i)),Ke(t,null,a.component?s?s.children:null:n,i,r)}(t,a[t.value.outlet],n,i.concat([t.value]),r),delete a[t.value.outlet]}),wt(a,function(t,e){return Je(t,n.getContext(e),r)}),r}function Je(t,e,n){var i=Qt(t),r=t.value;wt(i,function(t,i){Je(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new qe(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Qe(t,e){return null!==t&&e&&e(new ct(t)),Object(c.a)(!0)}function $e(t,e){return null!==t&&e&&e(new lt(t)),Object(c.a)(!0)}function tn(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(c.a)(!0);var r=i.map(function(i){return Object(_.a)(function(){var r,a=Ze(i,e,n);if(function(t){return t&&Ce(t.canActivate)}(a))r=kt(a.canActivate(e,t));else{if(!Ce(a))throw new Error("Invalid CanActivate guard");r=kt(a(e,t))}return r.pipe(U())})});return Object(c.a)(r).pipe(Te())}function en(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return Object(_.a)(function(){var r=e.guards.map(function(r){var a,o=Ze(r,e.node,n);if(function(t){return t&&Ce(t.canActivateChild)}(o))a=kt(o.canActivateChild(i,t));else{if(!Ce(o))throw new Error("Invalid CanActivateChild guard");a=kt(o(i,t))}return a.pipe(U())});return Object(c.a)(r).pipe(Te())})});return Object(c.a)(r).pipe(Te())}var nn=function t(){s(this,t)},rn=function(){function t(e,n,i,r,a,o){s(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return u(t,[{key:"recognize",value:function(){try{var t=sn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new ie([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Jt(n,e),r=new re(this.url,i);return this.inheritParamsAndData(r._root),Object(c.a)(r)}catch(a){return new v.a(function(t){return t.error(a)})}}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=ne(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){var n,i=this,r=At(e,function(e,n){return i.processSegmentGroup(t,e,n)});return n={},r.forEach(function(t){var e=n[t.value.outlet];if(e){var i=e.url.map(function(t){return t.toString()}).join("/"),r=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(r,"'."))}n[t.value.outlet]=t.value}),r.sort(function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)}),r}},{key:"processSegment",value:function(t,e,i,r){var a,o=n(t);try{for(o.s();!(a=o.n()).done;){var s=a.value;try{return this.processSegmentAgainstRoute(s,e,i,r)}catch(l){if(!(l instanceof nn))throw l}}}catch(u){o.e(u)}finally{o.f()}if(this.noLeftoversInUrl(e,i,r))return[];throw new nn}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo)throw new nn;if((t.outlet||"primary")!==i)throw new nn;var r,a=[],o=[];if("**"===t.path){var s=n.length>0?bt(n).parameters:{};r=new ie(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,un(t),i,t.component,t,an(e),on(e)+n.length,cn(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new nn;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||gt)(n,t,e);if(!i)throw new nn;var r={};wt(i.posParams,function(t,e){r[e]=t.path});var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,o=n.slice(l.lastChild),r=new ie(a,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,un(t),i,t.component,t,an(e),on(e)+a.length,cn(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=sn(e,a,o,u,this.relativeLinkResolution),h=c.segmentGroup,d=c.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(u,h);return[new Jt(r,f)]}if(0===u.length&&0===d.length)return[new Jt(r,[])];var p=this.processSegment(u,h,d,"primary");return[new Jt(r,p)]}}]),t}();function an(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function on(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function sn(t,e,i,r,a){if(i.length>0&&function(t,e,n){return n.some(function(n){return ln(t,e,n)&&"primary"!==Ye(n)})}(t,i,r)){var o=new Ot(e,function(t,e,i,r){var a={};a.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;var o,s=n(i);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(""===l.path&&"primary"!==Ye(l)){var u=new Ot([],{});u._sourceSegment=t,u._segmentIndexShift=e.length,a[Ye(l)]=u}}}catch(c){s.e(c)}finally{s.f()}return a}(t,e,r,new Ot(i,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===i.length&&function(t,e,n){return n.some(function(n){return ln(t,e,n)})}(t,i,r)){var s=new Ot(t.segments,function(t,e,i,r,a,o){var s,l={},u=n(r);try{for(u.s();!(s=u.n()).done;){var c=s.value;if(ln(t,i,c)&&!a[Ye(c)]){var h=new Ot([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===o?t.segments.length:e.length,l[Ye(c)]=h}}}catch(d){u.e(d)}finally{u.f()}return Object.assign(Object.assign({},a),l)}(t,e,i,r,t.children,a));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:i}}var l=new Ot(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:i}}function ln(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function un(t){return t.data||{}}function cn(t){return t.resolve||{}}function hn(t){return function(e){return e.pipe(Object(N.a)(function(e){var n=t(e);return n?Object(d.a)(n).pipe(Object(k.a)(function(){return e})):Object(d.a)([e])}))}}var dn=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return n}(function(){function t(){s(this,t)}return u(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),fn=new l.s("ROUTES"),pn=function(){function t(e,n,i,r){s(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return u(t,[{key:"load",value:function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(k.a)(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new Se(_t(r.injector.get(fn)).map(Re),r)}))}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?Object(d.a)(this.loader.load(t)):kt(t()).pipe(Object(G.a)(function(t){return t instanceof l.x?Object(c.a)(t):Object(d.a)(e.compiler.compileModuleAsync(t))}))}}]),t}(),mn=function t(){s(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new gn,this.attachRef=null},gn=function(){function t(){s(this,t),this.contexts=new Map}return u(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new mn,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),vn=function(){function t(){s(this,t)}return u(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function yn(t){throw t}function _n(t,e,n){return e.parse("/")}function bn(t,e){return Object(c.a)(null)}var wn,kn,xn=((kn=function(){function t(e,n,i,r,a,o,u,c){var h=this;s(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new w.a,this.errorHandler=yn,this.malformedUriErrorHandler=_n,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:bn,afterPreactivation:bn},this.urlHandlingStrategy=new vn,this.routeReuseStrategy=new dn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=a.get(l.z),this.console=a.get(l.ab);var d=a.get(l.B);this.isNgZoneEnabled=d instanceof l.B,this.resetConfig(c),this.currentUrlTree=new Dt(new Ot([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new pn(o,u,function(t){return h.triggerEvent(new ot(t))},function(t){return h.triggerEvent(new st(t))}),this.routerState=te(this.currentUrlTree,this.rootComponentType),this.transitions=new p.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return u(t,[{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe(Object(M.a)(function(t){return 0!==t.id}),Object(k.a)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Object(N.a)(function(t){var i,r,a,o=!1,s=!1;return Object(c.a)(t).pipe(Object(q.a)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(N.a)(function(t){var i,r,a,o,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(c.a)(t).pipe(Object(N.a)(function(t){var i=e.transitions.getValue();return n.next(new J(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?b.a:[t]}),Object(N.a)(function(t){return Promise.resolve(t)}),(i=e.ngModule.injector,r=e.configLoader,a=e.urlSerializer,o=e.config,function(t){return t.pipe(Object(N.a)(function(t){return function(t,e,n,i,r){return new ze(t,e,n,i,r).apply()}(i,r,a,t.extractedUrl,o).pipe(Object(k.a)(function(e){return Object.assign(Object.assign({},t),{urlAfterRedirects:e})}))}))}),Object(q.a)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,i,r,a){return function(i){return i.pipe(Object(G.a)(function(i){return function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new rn(t,e,n,i,r,a).recognize()}(t,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,e.serializeUrl(o)),r,a).pipe(Object(k.a)(function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})}));var o}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(q.a)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),Object(q.a)(function(t){var i=new et(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.id,u=t.extractedUrl,h=t.source,d=t.restoredState,f=t.extras,p=new J(l,e.serializeUrl(u),h,d);n.next(p);var m=te(u,e.rootComponentType).snapshot;return Object(c.a)(Object.assign(Object.assign({},t),{targetSnapshot:m,urlAfterRedirects:u,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),b.a}),hn(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,l=o.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!l})}),Object(q.a)(function(t){var n=new nt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Object(k.a)(function(t){return Object.assign(Object.assign({},t),{guards:Xe(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return function(n){return n.pipe(Object(G.a)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?Object(c.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(d.a)(t).pipe(Object(G.a)(function(t){return function(t,e,n,i,r){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(c.a)(!0);var o=a.map(function(a){var o,s=Ze(a,e,r);if(function(t){return t&&Ce(t.canDeactivate)}(s))o=kt(s.canDeactivate(t,e,n,i));else{if(!Ce(s))throw new Error("Invalid CanDeactivate guard");o=kt(s(t,e,n,i))}return o.pipe(U())});return Object(c.a)(o).pipe(Te())}(t.component,t.route,n,e,i)}),U(function(t){return!0!==t},!0))}(s,i,r,t).pipe(Object(G.a)(function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return Object(d.a)(e).pipe(Object(W.a)(function(e){return Object(d.a)([$e(e.route.parent,i),Qe(e.route,i),en(t,e.path,n),tn(t,e.route,n)]).pipe(Object(x.a)(),U(function(t){return!0!==t},!0))}),U(function(t){return!0!==t},!0))}(i,o,t,e):Object(c.a)(n)}),Object(k.a)(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Object(q.a)(function(t){if(De(t.guardsResult)){var n=mt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}}),Object(q.a)(function(t){var n=new it(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),Object(M.a)(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new $(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0}),hn(function(t){if(t.guards.canActivateChecks.length)return Object(c.a)(t).pipe(Object(q.a)(function(t){var n=new rt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Object(N.a)(function(t){var i,r,a=!1;return Object(c.a)(t).pipe((i=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(Object(G.a)(function(t){var e=t.targetSnapshot,n=t.guards.canActivateChecks;if(!n.length)return Object(c.a)(t);var a=0;return Object(d.a)(n).pipe(Object(W.a)(function(t){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return Object(c.a)({});var a={};return Object(d.a)(r).pipe(Object(G.a)(function(r){return function(t,e,n,i){var r=Ze(t,e,i);return kt(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Object(q.a)(function(t){a[r]=t}))}),D(1),Object(G.a)(function(){return Object.keys(a).length===r.length?Object(c.a)(a):b.a}))}(t._resolve,t,e,i).pipe(Object(k.a)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ne(t,n).resolve),null}))}(t.route,e,i,r)}),Object(q.a)(function(){return a++}),D(1),Object(G.a)(function(e){return a===n.length?Object(c.a)(t):b.a}))}))}),Object(q.a)({next:function(){return a=!0},complete:function(){if(!a){var i=new $(t.id,e.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),t.resolve(!1)}}}))}),Object(q.a)(function(t){var n=new at(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),hn(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,l=o.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!l})}),Object(k.a)(function(t){var n=function(t,e,n){var i=ue(t,e._root,n?n._root:void 0);return new $t(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),Object(q.a)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),(i=e.rootContexts,r=e.routeReuseStrategy,a=function(t){return e.triggerEvent(t)},Object(k.a)(function(t){return new xe(r,t.targetRouterState,t.currentRouterState,a).activate(i),t})),Object(q.a)({next:function(){o=!0},complete:function(){o=!0}}),Object(X.a)(function(){if(!o&&!s){e.resetUrlToCurrentUrlTree();var i=new $(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId));n.next(i),t.resolve(!1)}e.currentNavigation=null}),Object(B.a)(function(i){if(s=!0,(l=i)&&l.ngNavigationCancelingError){var r=De(i.url);r||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var a=new $(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(a),r?setTimeout(function(){var n=e.urlHandlingStrategy.merge(i.url,e.rawUrlTree);return e.scheduleNavigation(n,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new tt(t.id,e.serializeUrl(t.extractedUrl),i);n.next(o);try{t.resolve(e.errorHandler(i))}catch(u){t.reject(u)}}var l;return b.a}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,i=n.state,r=n.urlTree,a={replaceUrl:!0};if(i){var o=Object.assign({},i);delete o.navigationId,0!==Object.keys(o).length&&(a.state=o)}t.scheduleNavigation(r,e,i,a)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){Ie(t),this.config=t.map(Re),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}},{key:"createUrlTree",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,r=e.queryParams,a=e.fragment,o=e.queryParamsHandling,s=e.preserveFragment,l=n||this.routerState.root,u=s?this.currentUrlTree.fragment:a,c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,a){if(0===n.length)return fe(e.root,e.root,e,r,a);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new me(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,a){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return wt(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),[].concat(i(t),[{outlets:o}])}if(r.segmentPath)return[].concat(i(t),[r.segmentPath])}return"string"!=typeof r?[].concat(i(t),[r]):0===a?(r.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[].concat(i(t),[r])},[]);return new me(n,e,r)}(n);if(o.toRoot())return fe(e.root,new Ot([],{}),e,r,a);var s=function(t,e,n){if(t.isAbsolute)return new ge(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new ge(i,i===e.root,0)}var r=he(t.commands[0])?0:1;return function(t,e,n){for(var i=t,r=e,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new ge(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),l=s.processChildren?ye(s.segmentGroup,s.index,o.commands):ve(s.segmentGroup,s.index,o.commands);return fe(s.segmentGroup,l,e,r,a)}(l,this.currentUrlTree,t,c,u)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=De(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(e))}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){if(De(t))return xt(this.currentUrlTree,t,e);var n=this.parseUrl(t);return xt(this.currentUrlTree,n,e)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(e,n){var i=t[n];return null!=i&&(e[n]=i),e},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Q(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})}},{key:"scheduleNavigation",value:function(t,e,n,i,r){var a,o,s,l=this.getTransition(),u="imperative"!==e&&"imperative"===(null==l?void 0:l.source),c=(this.lastSuccessfulId===l.id||this.currentNavigation?l.rawUrl:l.urlAfterRedirects).toString()===t.toString();if(u&&c)return Promise.resolve(!0);r?(a=r.resolve,o=r.reject,s=r.promise):s=new Promise(function(t,e){a=t,o=e});var h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:a,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})}},{key:"setBrowserUrl",value:function(t,e,n,i){var r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),t}()).\u0275fac=function(t){return new(t||kn)(l.Yb(l.P),l.Yb(It),l.Yb(gn),l.Yb(o.i),l.Yb(l.t),l.Yb(l.y),l.Yb(l.i),l.Yb(void 0))},kn.\u0275prov=l.Kb({token:kn,factory:kn.\u0275fac}),kn),Mn=((wn=function(){function t(e,n,i){var r=this;s(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new w.a,this.subscription=e.events.subscribe(function(t){t instanceof Q&&r.updateTargetUrlAndHref()})}return u(t,[{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var a={skipLocationChange:Sn(this.skipLocationChange),replaceUrl:Sn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Sn(this.preserveFragment)})}}]),t}()).\u0275fac=function(t){return new(t||wn)(l.Ob(xn),l.Ob(ee),l.Ob(o.j))},wn.\u0275dir=l.Jb({type:wn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&l.bc("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(l.Xb("href",e.href,l.yc),l.Db("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[l.Ab]}),wn);function Sn(t){return""===t||!!t}var Cn,Dn,On,Tn=((Cn=function(){function t(e,n,i,r,a){s(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new l.o,this.deactivateEvents=new l.o,this.name=r||"primary",e.onChildOutletCreated(this.name,this)}return u(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Ln(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),t}()).\u0275fac=function(t){return new(t||Cn)(l.Ob(gn),l.Ob(l.R),l.Ob(l.j),l.Zb("name"),l.Ob(l.h))},Cn.\u0275dir=l.Jb({type:Cn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),Cn),Ln=function(){function t(e,n,i){s(this,t),this.route=e,this.childContexts=n,this.parent=i}return u(t,[{key:"get",value:function(t,e){return t===ee?this.route:t===gn?this.childContexts:this.parent.get(t,e)}}]),t}(),An=function t(){s(this,t)},In=function(){function t(){s(this,t)}return u(t,[{key:"preload",value:function(t,e){return Object(c.a)(null)}}]),t}(),Pn=((On=function(){function t(e,n,i,r,a){s(this,t),this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=new pn(n,i,function(t){return e.triggerEvent(new ot(t))},function(t){return e.triggerEvent(new st(t))})}return u(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe(Object(M.a)(function(t){return t instanceof Q}),Object(W.a)(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(l.z);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var i,r=[],a=n(e);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var s=o._loadedConfig;r.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(t,o)):o.children&&r.push(this.processRoutes(t,o.children))}}catch(l){a.e(l)}finally{a.f()}return Object(d.a)(r).pipe(Object(Z.a)(),Object(k.a)(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(Object(G.a)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}()).\u0275fac=function(t){return new(t||On)(l.Yb(xn),l.Yb(l.y),l.Yb(l.i),l.Yb(l.t),l.Yb(An))},On.\u0275prov=l.Kb({token:On,factory:On.\u0275fac}),On),En=((Dn=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return u(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof J?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Q&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof dt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new dt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}()).\u0275fac=function(t){return new(t||Dn)(l.Yb(xn),l.Yb(o.w),l.Yb(void 0))},Dn.\u0275prov=l.Kb({token:Dn,factory:Dn.\u0275fac}),Dn),Rn=new l.s("ROUTER_CONFIGURATION"),Yn=new l.s("ROUTER_FORROOT_GUARD"),jn=[o.i,{provide:It,useClass:Pt},{provide:xn,useFactory:function(t,e,n,i,r,a,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,h=new xn(null,t,e,n,i,r,a,_t(s));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(l,h),l.enableTracing){var d=Object(o.A)();h.events.subscribe(function(t){d.logGroup("Router Event: "+t.constructor.name),d.log(t.toString()),d.log(t),d.logGroupEnd()})}return h},deps:[It,gn,o.i,l.t,l.y,l.i,fn,Rn,[function(){return function t(){s(this,t)}}(),new l.C],[function(){return function t(){s(this,t)}}(),new l.C]]},gn,{provide:ee,useFactory:function(t){return t.routerState.root},deps:[xn]},{provide:l.y,useClass:l.M},Pn,In,function(){function t(){s(this,t)}return u(t,[{key:"preload",value:function(t,e){return e().pipe(Object(B.a)(function(){return Object(c.a)(null)}))}}]),t}(),{provide:Rn,useValue:{enableTracing:!1}}];function Nn(){return new l.A("Router",xn)}var Fn,Vn=((Fn=function(){function t(e,n){s(this,t)}return u(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[jn,Wn(e),{provide:Yn,useFactory:Bn,deps:[[xn,new l.C,new l.L]]},{provide:Rn,useValue:n||{}},{provide:o.j,useFactory:zn,deps:[o.u,[new l.q(o.a),new l.C],Rn]},{provide:En,useFactory:Hn,deps:[xn,o.w,Rn]},{provide:An,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:In},{provide:l.A,multi:!0,useFactory:Nn},[Gn,{provide:l.d,multi:!0,useFactory:qn,deps:[Gn]},{provide:Zn,useFactory:Xn,deps:[Gn]},{provide:l.b,multi:!0,useExisting:Zn}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Wn(e)]}}}]),t}()).\u0275mod=l.Mb({type:Fn}),Fn.\u0275inj=l.Lb({factory:function(t){return new(t||Fn)(l.Yb(Yn,8),l.Yb(xn,8))}}),Fn);function Hn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new En(t,e,n)}function zn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new o.f(t,e):new o.t(t,e)}function Bn(t){return"guarded"}function Wn(t){return[{provide:l.a,multi:!0,useValue:t},{provide:fn,multi:!0,useValue:t}]}var Un,Gn=((Un=function(){function t(e){s(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new w.a}return u(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(o.h,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(xn),r=t.injector.get(Rn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return t.initNavigation?Object(c.a)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Rn),n=this.injector.get(Pn),i=this.injector.get(En),r=this.injector.get(xn),a=this.injector.get(l.g);t===a.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),t}()).\u0275fac=function(t){return new(t||Un)(l.Yb(l.t))},Un.\u0275prov=l.Kb({token:Un,factory:Un.\u0275fac}),Un);function qn(t){return t.appInitializer.bind(t)}function Xn(t){return t.bootstrapListener.bind(t)}var Zn=new l.s("Router Initializer")},tySk:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("0IaG"),r=n("fXoL"),a=n("bTqV"),o=n("sYmb"),l=n("ofXK"),c=function(){var t=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"content",get:function(){return this._data}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(i.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["app-dialog-confirm"]],decls:14,vars:16,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions","","align","end"],["mat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"],["mat-button","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(r.Ub(0,"h2",0),r.Hc(1),r.gc(2,"translate"),r.Tb(),r.Ub(3,"div",1),r.Pb(4,"p",2),r.Tb(),r.Ub(5,"div",3),r.Ub(6,"button",4),r.Hc(7),r.gc(8,"uppercase"),r.gc(9,"translate"),r.Tb(),r.Ub(10,"button",5),r.Hc(11),r.gc(12,"uppercase"),r.gc(13,"translate"),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,6,"shared.dialog.title")),r.Cb(3),r.lc("innerHTML",e.content,r.xc),r.Cb(2),r.lc("mat-dialog-close",!0),r.Cb(1),r.Ic(r.hc(8,8,r.hc(9,10,"shared.dialog.yes"))),r.Cb(3),r.lc("mat-dialog-close",!1),r.Cb(1),r.Ic(r.hc(12,12,r.hc(13,14,"shared.dialog.no"))))},directives:[i.h,i.e,i.c,a.a,i.d],pipes:[o.d,l.v],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t}()},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},u47x:function(t,e,n){"use strict";n.d(e,"a",function(){return Z}),n.d(e,"b",function(){return L}),n.d(e,"c",function(){return O}),n.d(e,"d",function(){return H}),n.d(e,"e",function(){return q}),n.d(e,"f",function(){return j}),n.d(e,"g",function(){return A}),n.d(e,"h",function(){return U}),n.d(e,"i",function(){return Y}),n.d(e,"j",function(){return X}),n.d(e,"k",function(){return V}),n.d(e,"l",function(){return z});var i=n("ofXK"),a=n("fXoL"),o=n("nLfN"),l=n("XNiG"),d=n("quSY"),p=n("LRne"),m=n("FtGj"),g=n("vkgz"),v=n("Kj3r"),y=n("pLZG"),_=n("lJxs"),w=n("IzEk"),k=n("8LU1"),x=n("GU7r");function M(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var S=0,C=new Map,D=null,O=function(){var t=function(){function t(e,n){s(this,t),this._platform=n,this._document=e}return u(t,[{key:"describe",value:function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),C.set(e,{messageElement:e,referenceCount:0})):C.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}},{key:"removeDescription",value:function(t,e){if(e&&this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var n=C.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e)}D&&0===D.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");D&&this._deleteMessagesContainer(),C.clear()}},{key:"_createMessageElement",value:function(t){var e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),D.appendChild(e),C.set(t,{messageElement:e,referenceCount:0})}},{key:"_setMessageId",value:function(t){t.id||(t.id="cdk-describedby-message-"+S++)}},{key:"_deleteMessageElement",value:function(t){var e=C.get(t),n=e&&e.messageElement;D&&n&&D.removeChild(n),C.delete(t)}},{key:"_createMessagesContainer",value:function(){if(!D){var t=!this._platform||!this._platform.EDGE&&!this._platform.TRIDENT,e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode&&e.parentNode.removeChild(e),(D=this._document.createElement("div")).id="cdk-describedby-message-container",D.classList.add("cdk-visually-hidden"),D.setAttribute("aria-hidden",t+""),this._document.body.appendChild(D)}}},{key:"_deleteMessagesContainer",value:function(){D&&D.parentNode&&(D.parentNode.removeChild(D),D=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(t){var e=M(t,"aria-describedby").filter(function(t){return 0!=t.indexOf("cdk-describedby-message")});t.setAttribute("aria-describedby",e.join(" "))}},{key:"_addMessageReference",value:function(t,e){var n,i,r,a,o=C.get(e);n=t,i="aria-describedby",r=o.messageElement.id,(a=M(n,i)).some(function(t){return t.trim()==r.trim()})||(a.push(r.trim()),n.setAttribute(i,a.join(" "))),t.setAttribute("cdk-describedby-host",""),o.referenceCount++}},{key:"_removeMessageReference",value:function(t,e){var n,i,r,a,o=C.get(e);o.referenceCount--,n=t,i="aria-describedby",r=o.messageElement.id,(a=M(n,i).filter(function(t){return t!=r.trim()})).length?n.setAttribute(i,a.join(" ")):n.removeAttribute(i),t.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(t,e){var n=M(t,"aria-describedby"),i=C.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}},{key:"_canBeDescribed",value:function(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;var n=null==e?"":(""+e).trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(t){return t.nodeType===this._document.ELEMENT_NODE}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(i.d),a.Yb(o.a))},t.\u0275prov=Object(a.Kb)({factory:function(){return new t(Object(a.Yb)(i.d),Object(a.Yb)(o.a))},token:t,providedIn:"root"}),t}(),T=function(){function t(e){var n=this;s(this,t),this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new l.a,this._typeaheadSubscription=d.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new l.a,this.change=new l.a,e instanceof a.F&&e.changes.subscribe(function(t){if(n._activeItem){var e=t.toArray().indexOf(n._activeItem);e>-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}})}return u(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(g.a)(function(e){return t._pressedLetters.push(e)}),Object(v.a)(e),Object(y.a)(function(){return t._pressedLetters.length>0}),Object(_.a)(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),i=1;i<n.length+1;i++){var r=(t._activeItemIndex+i)%n.length,a=n[r];if(!t._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(r);break}}t._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var e=this,n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!t[n]||e._allowedModifierKeys.indexOf(n)>-1});switch(n){case m.o:return void this.tabOut.next();case m.d:if(this._vertical&&i){this.setNextItemActive();break}return;case m.p:if(this._vertical&&i){this.setPreviousItemActive();break}return;case m.m:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.i:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.h:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case m.e:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||Object(m.s)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=m.a&&n<=m.q||n>=m.r&&n<=m.j)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof a.F?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),t}(),L=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),c(b(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(T),A=function(t){h(n,t);var e=f(n);function n(){var t;return s(this,n),(t=e.apply(this,arguments))._origin="program",t}return u(n,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){c(b(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(T),I=function(){var t=function(){function t(e){s(this,t),this._platform=e}return u(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){if(-1===E(n))return!1;if(!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),r=E(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||P(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(o.a))},t.\u0275prov=Object(a.Kb)({factory:function(){return new t(Object(a.Yb)(o.a))},token:t,providedIn:"root"}),t}();function P(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function E(t){if(!P(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var R=function(){function t(e,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];s(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return u(t,[{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})}},{key:"focusFirstTabbableElementWhenReady",value:function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})}},{key:"focusLastTabbableElementWhenReady",value:function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),!this._checker.isFocusable(t)){var e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var t=this._getRegionBoundary("start");return t&&t.focus(),!!t}},{key:"focusLastTabbableElement",value:function(){var t=this._getRegionBoundary("end");return t&&t.focus(),!!t}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(w.a)(1)).subscribe(t)}},{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}}]),t}(),Y=function(){var t=function(){function t(e,n,i){s(this,t),this._checker=e,this._ngZone=n,this._document=i}return u(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new R(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(I),a.Yb(a.B),a.Yb(i.d))},t.\u0275prov=Object(a.Kb)({factory:function(){return new t(Object(a.Yb)(I),Object(a.Yb)(a.B),Object(a.Yb)(i.d))},token:t,providedIn:"root"}),t}(),j=function(){var t=function(){function t(e,n,i){s(this,t),this._elementRef=e,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return u(t,[{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(t){var e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}},{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=Object(k.c)(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=Object(k.c)(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(Y),a.Ob(i.d))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[a.Ab]}),t}();"undefined"!=typeof Element&&Element;var N=new a.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),F=new a.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),V=function(){var t=function(){function t(e,n,i,r){s(this,t),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=e||this._createLiveElement()}return u(t,[{key:"announce",value:function(t){for(var e,n,i,a=this,o=this._defaultOptions,s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];return 1===l.length&&"number"==typeof l[0]?i=l[0]:(n=(e=r(l,2))[0],i=e[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=o&&o.politeness?o.politeness:"polite"),null==i&&o&&(i=o.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(a._previousTimeout),a._previousTimeout=setTimeout(function(){a._liveElement.textContent=t,e(),"number"==typeof i&&(a._previousTimeout=setTimeout(function(){return a.clear()},i))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(N,8),a.Yb(a.B),a.Yb(i.d),a.Yb(F,8))},t.\u0275prov=Object(a.Kb)({factory:function(){return new t(Object(a.Yb)(N,8),Object(a.Yb)(a.B),Object(a.Yb)(i.d),Object(a.Yb)(F,8))},token:t,providedIn:"root"}),t}(),H=function(){var t=function(){function t(e,n,i,r){s(this,t),this._elementRef=e,this._liveAnnouncer=n,this._contentObserver=i,this._ngZone=r,this._politeness="polite"}return u(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}},{key:"politeness",get:function(){return this._politeness},set:function(t){var e=this;this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(function(){return e._contentObserver.observe(e._elementRef).subscribe(function(){var t=e._elementRef.nativeElement.textContent;t!==e._previousAnnouncedText&&(e._liveAnnouncer.announce(t,e._politeness),e._previousAnnouncedText=t)})}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(V),a.Ob(x.b),a.Ob(a.B))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t}();function z(t){return 0===t.buttons}var B=new a.s("cdk-focus-monitor-default-options"),W=Object(o.f)({passive:!0,capture:!0}),U=function(){var t=function(){function t(e,n,i,r){var a=this;s(this,t),this._ngZone=e,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){a._lastTouchTarget=null,a._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(t){if(!a._lastTouchTarget){var e=z(t)?"keyboard":"mouse";a._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=function(t){null!=a._touchTimeoutId&&clearTimeout(a._touchTimeoutId),a._lastTouchTarget=G(t),a._touchTimeoutId=setTimeout(function(){return a._lastTouchTarget=null},650)},this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})},this._rootNodeFocusAndBlurListener=function(t){for(var e=G(t),n="focus"===t.type?a._onFocus:a._onBlur,i=e;i;i=i.parentElement)n.call(a,t,i)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return u(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(k.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(p.a)(null);var i=Object(o.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;var a={checkChildren:e,subject:new l.a,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(t){var e=Object(k.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=Object(k.e)(t);i===this._getDocument().activeElement&&this._elementInfo.has(i)?this._originChanged(i,e,this._elementInfo.get(i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOriginForCurrentEventQueue",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,0===e._detectionMode&&(e._originTimeoutId=setTimeout(function(){return e._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(t){var e=G(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e);n&&(n.checkChildren||e===G(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run(function(){return t.next(e)})}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,W),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,W)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var t=e._getDocument(),n=e._getWindow();t.addEventListener("keydown",e._documentKeydownListener,W),t.addEventListener("mousedown",e._documentMousedownListener,W),t.addEventListener("touchstart",e._documentTouchstartListener,W),n.addEventListener("focus",e._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,W),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,W),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,W),i.removeEventListener("mousedown",this._documentMousedownListener,W),i.removeEventListener("touchstart",this._documentTouchstartListener,W),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.B),a.Yb(o.a),a.Yb(i.d,8),a.Yb(B,8))},t.\u0275prov=Object(a.Kb)({factory:function(){return new t(Object(a.Yb)(a.B),Object(a.Yb)(o.a),Object(a.Yb)(i.d,8),Object(a.Yb)(B,8))},token:t,providedIn:"root"}),t}();function G(t){return t.composedPath?t.composedPath()[0]:t.target}var q=function(){var t=function(){function t(e,n){s(this,t),this._elementRef=e,this._focusMonitor=n,this.cdkFocusChange=new a.o}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this,e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(e){return t.cdkFocusChange.emit(e)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(U))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),X=function(){var t=function(){function t(e,n){s(this,t),this._platform=e,this._document=n}return u(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Yb(o.a),a.Yb(i.d))},t.\u0275prov=Object(a.Kb)({factory:function(){return new t(Object(a.Yb)(o.a),Object(a.Yb)(i.d))},token:t,providedIn:"root"}),t}(),Z=function(){var t=function t(e){s(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)(a.Yb(X))},imports:[[o.b,x.c]]}),t}()},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},urRO:function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){i(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function o(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,void 0):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l="undefined"!=typeof window&&void 0!==window.document,u=l?window:{},c=!(!l||!u.document.documentElement)&&"ontouchstart"in u.document.documentElement,h=!!l&&"PointerEvent"in u,d="".concat("cropper","-crop"),f="".concat("cropper","-disabled"),p="".concat("cropper","-hidden"),m="".concat("cropper","-hide"),g="".concat("cropper","-invisible"),v="".concat("cropper","-modal"),y="".concat("cropper","-move"),_="".concat("cropper","Action"),b="".concat("cropper","Preview"),w=h?"pointerdown":c?"touchstart":"mousedown",k=h?"pointermove":c?"touchmove":"mousemove",x=h?"pointerup pointercancel":c?"touchend touchcancel":"mouseup",M=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,S=/^data:/,C=/^data:image\/jpeg;base64,/,D=/^img|canvas$/i,O={viewMode:0,dragMode:"crop",initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},T=Number.isNaN||u.isNaN;function L(t){return"number"==typeof t&&!T(t)}var A=function(t){return t>0&&t<1/0};function I(t){return void 0===t}function P(e){return"object"===t(e)&&null!==e}var E=Object.prototype.hasOwnProperty;function R(t){if(!P(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&E.call(n,"isPrototypeOf")}catch(i){return!1}}function Y(t){return"function"==typeof t}var j=Array.prototype.slice;function N(t){return Array.from?Array.from(t):j.call(t)}function F(t,e){return t&&Y(e)&&(Array.isArray(t)||L(t.length)?N(t).forEach(function(n,i){e.call(t,n,i,t)}):P(t)&&Object.keys(t).forEach(function(n){e.call(t,t[n],n,t)})),t}var V=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return P(t)&&n.length>0&&n.forEach(function(e){P(e)&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t},H=/\.\d*(?:0|9){12}\d*$/;function z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return H.test(t)?Math.round(t*e)/e:t}var B=/^width|height|left|top|marginLeft|marginTop$/;function W(t,e){var n=t.style;F(e,function(t,e){B.test(e)&&L(t)&&(t="".concat(t,"px")),n[e]=t})}function U(t,e){if(e)if(L(t.length))F(t,function(t){U(t,e)});else if(t.classList)t.classList.add(e);else{var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function G(t,e){e&&(L(t.length)?F(t,function(t){G(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function q(t,e,n){e&&(L(t.length)?F(t,function(t){q(t,e,n)}):n?U(t,e):G(t,e))}var X=/([a-z\d])([A-Z])/g;function Z(t){return t.replace(X,"$1-$2").toLowerCase()}function K(t,e){return P(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(Z(e)))}function J(t,e,n){P(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(Z(e)),n)}var Q=/\s\s*/,$=function(){var t=!1;if(l){var e=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});u.addEventListener("test",n,i),u.removeEventListener("test",n,i)}return t}();function tt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split(Q).forEach(function(e){if(!$){var a=t.listeners;a&&a[e]&&a[e][n]&&(r=a[e][n],delete a[e][n],0===Object.keys(a[e]).length&&delete a[e],0===Object.keys(a).length&&delete t.listeners)}t.removeEventListener(e,r,i)})}function et(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split(Q).forEach(function(e){if(i.once&&!$){var a=t.listeners,o=void 0===a?{}:a;r=function(){delete o[e][n],t.removeEventListener(e,r,i);for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];n.apply(t,s)},o[e]||(o[e]={}),o[e][n]&&t.removeEventListener(e,o[e][n],i),o[e][n]=r,t.listeners=o}t.addEventListener(e,r,i)})}function nt(t,e,n){var i;return Y(Event)&&Y(CustomEvent)?i=new CustomEvent(e,{detail:n,bubbles:!0,cancelable:!0}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,n),t.dispatchEvent(i)}function it(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var rt=u.location,at=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function ot(t){var e=t.match(at);return null!==e&&(e[1]!==rt.protocol||e[2]!==rt.hostname||e[3]!==rt.port)}function st(t){var e="timestamp=".concat((new Date).getTime());return t+(-1===t.indexOf("?")?"?":"&")+e}function lt(t){var e=t.rotate,n=t.scaleX,i=t.scaleY,r=t.translateX,a=t.translateY,o=[];L(r)&&0!==r&&o.push("translateX(".concat(r,"px)")),L(a)&&0!==a&&o.push("translateY(".concat(a,"px)")),L(e)&&0!==e&&o.push("rotate(".concat(e,"deg)")),L(n)&&1!==n&&o.push("scaleX(".concat(n,")")),L(i)&&1!==i&&o.push("scaleY(".concat(i,")"));var s=o.length?o.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function ut(t,e){var n=t.pageX,i=t.pageY,r={endX:n,endY:i};return e?r:a({startX:n,startY:i},r)}function ct(t){var e=t.aspectRatio,n=t.height,i=t.width,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",a=A(i),o=A(n);if(a&&o){var s=n*e;"contain"===r&&s>i||"cover"===r&&s<i?n=i/e:i=n*e}else a?n=i/e:o&&(i=n*e);return{width:i,height:n}}function ht(t,e,n,i){var r=e.aspectRatio,a=e.naturalWidth,s=e.naturalHeight,l=e.rotate,u=void 0===l?0:l,c=e.scaleX,h=void 0===c?1:c,d=e.scaleY,f=void 0===d?1:d,p=n.aspectRatio,m=n.naturalWidth,g=n.naturalHeight,v=i.fillColor,y=void 0===v?"transparent":v,_=i.imageSmoothingEnabled,b=void 0===_||_,w=i.imageSmoothingQuality,k=void 0===w?"low":w,x=i.maxWidth,M=void 0===x?1/0:x,S=i.maxHeight,C=void 0===S?1/0:S,D=i.minWidth,O=void 0===D?0:D,T=i.minHeight,L=void 0===T?0:T,A=document.createElement("canvas"),I=A.getContext("2d"),P=ct({aspectRatio:p,width:M,height:C}),E=ct({aspectRatio:p,width:O,height:L},"cover"),R=Math.min(P.width,Math.max(E.width,m)),Y=Math.min(P.height,Math.max(E.height,g)),j=ct({aspectRatio:r,width:M,height:C}),N=ct({aspectRatio:r,width:O,height:L},"cover"),F=Math.min(j.width,Math.max(N.width,a)),V=Math.min(j.height,Math.max(N.height,s)),H=[-F/2,-V/2,F,V];return A.width=z(R),A.height=z(Y),I.fillStyle=y,I.fillRect(0,0,R,Y),I.save(),I.translate(R/2,Y/2),I.rotate(u*Math.PI/180),I.scale(h,f),I.imageSmoothingEnabled=b,I.imageSmoothingQuality=k,I.drawImage.apply(I,[t].concat(o(H.map(function(t){return Math.floor(z(t))})))),I.restore(),A}var dt=String.fromCharCode,ft=/^data:.*,/,pt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,n=this.container,i=this.cropper;U(i,p),G(t,p);var r={width:Math.max(n.offsetWidth,Number(e.minContainerWidth)||200),height:Math.max(n.offsetHeight,Number(e.minContainerHeight)||100)};this.containerData=r,W(i,{width:r.width,height:r.height}),U(t,p),G(i,p)},initCanvas:function(){var t=this.containerData,e=this.imageData,n=this.options.viewMode,i=Math.abs(e.rotate)%180==90,r=i?e.naturalHeight:e.naturalWidth,a=i?e.naturalWidth:e.naturalHeight,o=r/a,s=t.width,l=t.height;t.height*o>t.width?3===n?s=t.height*o:l=t.width/o:3===n?l=t.width/o:s=t.height*o;var u={aspectRatio:o,naturalWidth:r,naturalHeight:a,width:s,height:l};u.left=(t.width-s)/2,u.top=(t.height-l)/2,u.oldLeft=u.left,u.oldTop=u.top,this.canvasData=u,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=V({},e),this.initialCanvasData=V({},u)},limitCanvas:function(t,e){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=n.viewMode,s=r.aspectRatio,l=this.cropped&&a;if(t){var u=Number(n.minCanvasWidth)||0,c=Number(n.minCanvasHeight)||0;o>1?(u=Math.max(u,i.width),c=Math.max(c,i.height),3===o&&(c*s>u?u=c*s:c=u/s)):o>0&&(u?u=Math.max(u,l?a.width:0):c?c=Math.max(c,l?a.height:0):l&&((c=a.height)*s>(u=a.width)?u=c*s:c=u/s));var h=ct({aspectRatio:s,width:u,height:c});c=h.height,r.minWidth=u=h.width,r.minHeight=c,r.maxWidth=1/0,r.maxHeight=1/0}if(e)if(o>(l?0:1)){var d=i.width-r.width,f=i.height-r.height;r.minLeft=Math.min(0,d),r.minTop=Math.min(0,f),r.maxLeft=Math.max(0,d),r.maxTop=Math.max(0,f),l&&this.limited&&(r.minLeft=Math.min(a.left,a.left+(a.width-r.width)),r.minTop=Math.min(a.top,a.top+(a.height-r.height)),r.maxLeft=a.left,r.maxTop=a.top,2===o&&(r.width>=i.width&&(r.minLeft=Math.min(0,d),r.maxLeft=Math.max(0,d)),r.height>=i.height&&(r.minTop=Math.min(0,f),r.maxTop=Math.max(0,f))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=i.width,r.maxTop=i.height},renderCanvas:function(t,e){var n=this.canvasData,i=this.imageData;if(e){var r=function(t){var e=t.width,n=t.height,i=t.degree;if(90==(i=Math.abs(i)%180))return{width:n,height:e};var r=i%90*Math.PI/180,a=Math.sin(r),o=Math.cos(r),s=e*o+n*a,l=e*a+n*o;return i>90?{width:l,height:s}:{width:s,height:l}}({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),a=r.width,o=r.height,s=n.width*(a/n.naturalWidth),l=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=a/o,n.naturalWidth=a,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,W(this.canvas,V({width:n.width,height:n.height},lt({translateX:n.left,translateY:n.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,n=this.imageData,i=n.naturalWidth*(e.width/e.naturalWidth),r=n.naturalHeight*(e.height/e.naturalHeight);V(n,{width:i,height:r,left:(e.width-i)/2,top:(e.height-r)/2}),W(this.image,V({width:n.width,height:n.height},lt(V({translateX:n.left,translateY:n.top},n)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,n=t.aspectRatio||t.initialAspectRatio,i=Number(t.autoCropArea)||.8,r={width:e.width,height:e.height};n&&(e.height*n>e.width?r.height=r.width/n:r.width=r.height*n),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*i),r.height=Math.max(r.minHeight,r.height*i),r.left=e.left+(e.width-r.width)/2,r.top=e.top+(e.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=V({},r)},limitCropBox:function(t,e){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(t){var l=Number(n.minCropBoxWidth)||0,u=Number(n.minCropBoxHeight)||0,c=o?Math.min(i.width,r.width,r.width+r.left,i.width-r.left):i.width,h=o?Math.min(i.height,r.height,r.height+r.top,i.height-r.top):i.height;l=Math.min(l,i.width),u=Math.min(u,i.height),s&&(l&&u?u*s>l?u=l/s:l=u*s:l?u=l/s:u&&(l=u*s),h*s>c?h=c/s:c=h*s),a.minWidth=Math.min(l,c),a.minHeight=Math.min(u,h),a.maxWidth=c,a.maxHeight=h}e&&(o?(a.minLeft=Math.max(0,r.left),a.minTop=Math.max(0,r.top),a.maxLeft=Math.min(i.width,r.left+r.width)-a.width,a.maxTop=Math.min(i.height,r.top+r.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=i.width-a.width,a.maxTop=i.height-a.height))},renderCropBox:function(){var t=this.options,e=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,t.movable&&t.cropBoxMovable&&J(this.face,_,n.width>=e.width&&n.height>=e.height?"move":"all"),W(this.cropBox,V({width:n.width,height:n.height},lt({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),nt(this.element,"crop",this.getData())}},mt={initPreview:function(){var t=this.element,e=this.crossOrigin,n=this.options.preview,i=e?this.crossOriginUrl:this.url,r=t.alt||"The image to preview",a=document.createElement("img");if(e&&(a.crossOrigin=e),a.src=i,a.alt=r,this.viewBox.appendChild(a),this.viewBoxImage=a,n){var o=n;"string"==typeof n?o=t.ownerDocument.querySelectorAll(n):n.querySelector&&(o=[n]),this.previews=o,F(o,function(t){var n=document.createElement("img");J(t,b,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(n.crossOrigin=e),n.src=i,n.alt=r,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(n)})}},resetPreview:function(){F(this.previews,function(t){var e=K(t,b);W(t,{width:e.width,height:e.height}),t.innerHTML=e.html,function(t,e){if(P(t[e]))try{delete t[e]}catch(n){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(n){t.dataset[e]=void 0}else t.removeAttribute("data-".concat(Z(e)))}(t,b)})},preview:function(){var t=this.imageData,e=this.canvasData,n=this.cropBoxData,i=n.width,r=n.height,a=t.width,o=t.height,s=n.left-e.left-t.left,l=n.top-e.top-t.top;this.cropped&&!this.disabled&&(W(this.viewBoxImage,V({width:a,height:o},lt(V({translateX:-s,translateY:-l},t)))),F(this.previews,function(e){var n=K(e,b),u=n.width,c=n.height,h=u,d=c,f=1;i&&(d=r*(f=u/i)),r&&d>c&&(h=i*(f=c/r),d=c),W(e,{width:h,height:d}),W(e.getElementsByTagName("img")[0],V({width:a*f,height:o*f},lt(V({translateX:-s*f,translateY:-l*f},t))))}))}},gt={bind:function(){var t=this.element,e=this.options,n=this.cropper;Y(e.cropstart)&&et(t,"cropstart",e.cropstart),Y(e.cropmove)&&et(t,"cropmove",e.cropmove),Y(e.cropend)&&et(t,"cropend",e.cropend),Y(e.crop)&&et(t,"crop",e.crop),Y(e.zoom)&&et(t,"zoom",e.zoom),et(n,w,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&et(n,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&et(n,"dblclick",this.onDblclick=this.dblclick.bind(this)),et(t.ownerDocument,k,this.onCropMove=this.cropMove.bind(this)),et(t.ownerDocument,x,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&et(window,"resize",this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,n=this.cropper;Y(e.cropstart)&&tt(t,"cropstart",e.cropstart),Y(e.cropmove)&&tt(t,"cropmove",e.cropmove),Y(e.cropend)&&tt(t,"cropend",e.cropend),Y(e.crop)&&tt(t,"crop",e.crop),Y(e.zoom)&&tt(t,"zoom",e.zoom),tt(n,w,this.onCropStart),e.zoomable&&e.zoomOnWheel&&tt(n,"wheel",this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&tt(n,"dblclick",this.onDblclick),tt(t.ownerDocument,k,this.onCropMove),tt(t.ownerDocument,x,this.onCropEnd),e.responsive&&tt(window,"resize",this.onResize)}},vt={resize:function(){if(!this.disabled){var t,e,n=this.options,i=this.container,r=this.containerData,a=i.offsetWidth/r.width;1===a&&i.offsetHeight===r.height||(n.restore&&(t=this.getCanvasData(),e=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(F(t,function(e,n){t[n]=e*a})),this.setCropBoxData(F(e,function(t,n){e[n]=t*a}))))}},dblclick:function(){var t,e;this.disabled||"none"===this.options.dragMode||this.setDragMode((e=d,((t=this.dragBox).classList?t.classList.contains(e):t.className.indexOf(e)>-1)?"move":"crop"))},wheel:function(t){var e=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*n,t)))},cropStart:function(t){var e=t.buttons,n=t.button;if(!(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(L(e)&&1!==e||L(n)&&0!==n||t.ctrlKey))){var i,r=this.options,a=this.pointers;t.changedTouches?F(t.changedTouches,function(t){a[t.identifier]=ut(t)}):a[t.pointerId||0]=ut(t),i=Object.keys(a).length>1&&r.zoomable&&r.zoomOnTouch?"zoom":K(t.target,_),M.test(i)&&!1!==nt(this.element,"cropstart",{originalEvent:t,action:i})&&(t.preventDefault(),this.action=i,this.cropping=!1,"crop"===i&&(this.cropping=!0,U(this.dragBox,v)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var n=this.pointers;t.preventDefault(),!1!==nt(this.element,"cropmove",{originalEvent:t,action:e})&&(t.changedTouches?F(t.changedTouches,function(t){V(n[t.identifier]||{},ut(t,!0))}):V(n[t.pointerId||0]||{},ut(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,n=this.pointers;t.changedTouches?F(t.changedTouches,function(t){delete n[t.identifier]}):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,q(this.dragBox,v,this.cropped&&this.options.modal)),nt(this.element,"cropend",{originalEvent:t,action:e}))}}},yt={change:function(t){var e,n=this.canvasData,i=this.containerData,r=this.cropBoxData,o=this.pointers,s=this.action,l=this.options.aspectRatio,u=r.left,c=r.top,h=r.width,d=r.height,f=u+h,m=c+d,g=0,v=0,y=i.width,_=i.height,b=!0;!l&&t.shiftKey&&(l=h&&d?h/d:1),this.limited&&(v=r.minTop,y=(g=r.minLeft)+Math.min(i.width,n.width,n.left+n.width),_=v+Math.min(i.height,n.height,n.top+n.height));var w=o[Object.keys(o)[0]],k={x:w.endX-w.startX,y:w.endY-w.startY},x=function(t){switch(t){case"e":f+k.x>y&&(k.x=y-f);break;case"w":u+k.x<g&&(k.x=g-u);break;case"n":c+k.y<v&&(k.y=v-c);break;case"s":m+k.y>_&&(k.y=_-m)}};switch(s){case"all":u+=k.x,c+=k.y;break;case"e":if(k.x>=0&&(f>=y||l&&(c<=v||m>=_))){b=!1;break}x("e"),(h+=k.x)<0&&(s="w",u-=h=-h),l&&(c+=(r.height-(d=h/l))/2);break;case"n":if(k.y<=0&&(c<=v||l&&(u<=g||f>=y))){b=!1;break}x("n"),c+=k.y,(d-=k.y)<0&&(s="s",c-=d=-d),l&&(u+=(r.width-(h=d*l))/2);break;case"w":if(k.x<=0&&(u<=g||l&&(c<=v||m>=_))){b=!1;break}x("w"),u+=k.x,(h-=k.x)<0&&(s="e",u-=h=-h),l&&(c+=(r.height-(d=h/l))/2);break;case"s":if(k.y>=0&&(m>=_||l&&(u<=g||f>=y))){b=!1;break}x("s"),(d+=k.y)<0&&(s="n",c-=d=-d),l&&(u+=(r.width-(h=d*l))/2);break;case"ne":if(l){if(k.y<=0&&(c<=v||f>=y)){b=!1;break}x("n"),c+=k.y,h=(d-=k.y)*l}else x("n"),x("e"),k.x>=0?f<y?h+=k.x:k.y<=0&&c<=v&&(b=!1):h+=k.x,k.y<=0?c>v&&(d-=k.y,c+=k.y):(d-=k.y,c+=k.y);h<0&&d<0?(s="sw",c-=d=-d,u-=h=-h):h<0?(s="nw",u-=h=-h):d<0&&(s="se",c-=d=-d);break;case"nw":if(l){if(k.y<=0&&(c<=v||u<=g)){b=!1;break}x("n"),c+=k.y,u+=r.width-(h=(d-=k.y)*l)}else x("n"),x("w"),k.x<=0?u>g?(h-=k.x,u+=k.x):k.y<=0&&c<=v&&(b=!1):(h-=k.x,u+=k.x),k.y<=0?c>v&&(d-=k.y,c+=k.y):(d-=k.y,c+=k.y);h<0&&d<0?(s="se",c-=d=-d,u-=h=-h):h<0?(s="ne",u-=h=-h):d<0&&(s="sw",c-=d=-d);break;case"sw":if(l){if(k.x<=0&&(u<=g||m>=_)){b=!1;break}x("w"),u+=k.x,d=(h-=k.x)/l}else x("s"),x("w"),k.x<=0?u>g?(h-=k.x,u+=k.x):k.y>=0&&m>=_&&(b=!1):(h-=k.x,u+=k.x),k.y>=0?m<_&&(d+=k.y):d+=k.y;h<0&&d<0?(s="ne",c-=d=-d,u-=h=-h):h<0?(s="se",u-=h=-h):d<0&&(s="nw",c-=d=-d);break;case"se":if(l){if(k.x>=0&&(f>=y||m>=_)){b=!1;break}x("e"),d=(h+=k.x)/l}else x("s"),x("e"),k.x>=0?f<y?h+=k.x:k.y>=0&&m>=_&&(b=!1):h+=k.x,k.y>=0?m<_&&(d+=k.y):d+=k.y;h<0&&d<0?(s="nw",c-=d=-d,u-=h=-h):h<0?(s="sw",u-=h=-h):d<0&&(s="ne",c-=d=-d);break;case"move":this.move(k.x,k.y),b=!1;break;case"zoom":this.zoom(function(t){var e=a({},t),n=[];return F(t,function(t,i){delete e[i],F(e,function(e){var i=Math.abs(t.startX-e.startX),r=Math.abs(t.startY-e.startY),a=Math.abs(t.endX-e.endX),o=Math.abs(t.endY-e.endY),s=Math.sqrt(i*i+r*r),l=Math.sqrt(a*a+o*o);n.push((l-s)/s)})}),n.sort(function(t,e){return Math.abs(t)<Math.abs(e)}),n[0]}(o),t),b=!1;break;case"crop":if(!k.x||!k.y){b=!1;break}e=it(this.cropper),u=w.startX-e.left,c=w.startY-e.top,h=r.minWidth,d=r.minHeight,k.x>0?s=k.y>0?"se":"ne":k.x<0&&(u-=h,s=k.y>0?"sw":"nw"),k.y<0&&(c-=d),this.cropped||(G(this.cropBox,p),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}b&&(r.width=h,r.height=d,r.left=u,r.top=c,this.action=s,this.renderCropBox()),F(o,function(t){t.startX=t.endX,t.startY=t.endY})}},_t={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&U(this.dragBox,v),G(this.cropBox,p),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=V({},this.initialImageData),this.canvasData=V({},this.initialCanvasData),this.cropBoxData=V({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(V(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),G(this.dragBox,v),U(this.cropBox,p)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,F(this.previews,function(e){e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,G(this.cropper,f)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,U(this.cropper,f)),this},destroy:function(){var t=this.element;return t.cropper?(t.cropper=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=n.left,r=n.top;return this.moveTo(I(t)?t:i+Number(t),I(e)?e:r+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(L(t)&&(n.left=t,i=!0),L(e)&&(n.top=e,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(t,e){var n=this.canvasData;return t=Number(t),this.zoomTo(n.width*(t=t<0?1/(1-t):1+t)/n.naturalWidth,null,e)},zoomTo:function(t,e,n){var i=this.options,r=this.canvasData,a=r.width,o=r.height,s=r.naturalWidth,l=r.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&i.zoomable){var u=s*t,c=l*t;if(!1===nt(this.element,"zoom",{ratio:t,oldRatio:a/s,originalEvent:n}))return this;if(n){var h=this.pointers,d=it(this.cropper),f=h&&Object.keys(h).length?function(t){var e=0,n=0,i=0;return F(t,function(t){e+=t.startX,n+=t.startY,i+=1}),{pageX:e/=i,pageY:n/=i}}(h):{pageX:n.pageX,pageY:n.pageY};r.left-=(f.pageX-d.left-r.left)/a*(u-a),r.top-=(f.pageY-d.top-r.top)/o*(c-o)}else R(e)&&L(e.x)&&L(e.y)?(r.left-=(e.x-r.left)/a*(u-a),r.top-=(e.y-r.top)/o*(c-o)):(r.left-=(u-a)/2,r.top-=(c-o)/2);r.width=u,r.height=c,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return L(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,L(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(L(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData,i=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(L(t)&&(n.scaleX=t,i=!0),L(e)&&(n.scaleY=e,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,r=this.canvasData,a=this.cropBoxData;if(this.ready&&this.cropped){var o=i.width/i.naturalWidth;if(F(t={x:a.left-r.left,y:a.top-r.top,width:a.width,height:a.height},function(e,n){t[n]=e/o}),e){var s=Math.round(t.y+t.height),l=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=l-t.x,t.height=s-t.y}}else t={x:0,y:0,width:0,height:0};return n.rotatable&&(t.rotate=i.rotate||0),n.scalable&&(t.scaleX=i.scaleX||1,t.scaleY=i.scaleY||1),t},setData:function(t){var e=this.options,n=this.imageData,i=this.canvasData,r={};if(this.ready&&!this.disabled&&R(t)){var a=!1;e.rotatable&&L(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,a=!0),e.scalable&&(L(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,a=!0),L(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;L(t.x)&&(r.left=t.x*o+i.left),L(t.y)&&(r.top=t.y*o+i.top),L(t.width)&&(r.width=t.width*o),L(t.height)&&(r.height=t.height*o),this.setCropBoxData(r)}return this},getContainerData:function(){return this.ready?V({},this.containerData):{}},getImageData:function(){return this.sized?V({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&F(["left","top","width","height","naturalWidth","naturalHeight"],function(n){e[n]=t[n]}),e},setCanvasData:function(t){var e=this.canvasData,n=e.aspectRatio;return this.ready&&!this.disabled&&R(t)&&(L(t.left)&&(e.left=t.left),L(t.top)&&(e.top=t.top),L(t.width)?(e.width=t.width,e.height=t.width/n):L(t.height)&&(e.height=t.height,e.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(t){var e,n,i=this.cropBoxData,r=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&R(t)&&(L(t.left)&&(i.left=t.left),L(t.top)&&(i.top=t.top),L(t.width)&&t.width!==i.width&&(e=!0,i.width=t.width),L(t.height)&&t.height!==i.height&&(n=!0,i.height=t.height),r&&(e?i.height=i.width/r:n&&(i.width=i.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,n=ht(this.image,this.imageData,e,t);if(!this.cropped)return n;var i=this.getData(),r=i.x,a=i.y,s=i.width,l=i.height,u=n.width/Math.floor(e.naturalWidth);1!==u&&(r*=u,a*=u,s*=u,l*=u);var c=s/l,h=ct({aspectRatio:c,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),d=ct({aspectRatio:c,width:t.minWidth||0,height:t.minHeight||0},"cover"),f=ct({aspectRatio:c,width:t.width||(1!==u?n.width:s),height:t.height||(1!==u?n.height:l)}),p=f.width,m=f.height;p=Math.min(h.width,Math.max(d.width,p)),m=Math.min(h.height,Math.max(d.height,m));var g=document.createElement("canvas"),v=g.getContext("2d");g.width=z(p),g.height=z(m),v.fillStyle=t.fillColor||"transparent",v.fillRect(0,0,p,m);var y=t.imageSmoothingEnabled,_=t.imageSmoothingQuality;v.imageSmoothingEnabled=void 0===y||y,_&&(v.imageSmoothingQuality=_);var b,w,k,x,M,S,C=n.width,D=n.height,O=r,T=a;O<=-s||O>C?(O=0,b=0,k=0,M=0):O<=0?(k=-O,O=0,M=b=Math.min(C,s+O)):O<=C&&(k=0,M=b=Math.min(s,C-O)),b<=0||T<=-l||T>D?(T=0,w=0,x=0,S=0):T<=0?(x=-T,T=0,S=w=Math.min(D,l+T)):T<=D&&(x=0,S=w=Math.min(l,D-T));var L=[O,T,b,w];if(M>0&&S>0){var A=p/s;L.push(k*A,x*A,M*A,S*A)}return v.drawImage.apply(v,[n].concat(o(L.map(function(t){return Math.floor(z(t))})))),g},setAspectRatio:function(t){var e=this.options;return this.disabled||I(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var r="crop"===t,a=e.movable&&"move"===t;e.dragMode=t=r||a?t:"none",J(n,_,t),q(n,d,r),q(n,y,a),e.cropBoxMovable||(J(i,_,t),q(i,d,r),q(i,y,a))}return this}},bt=u.Cropper,wt=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e(this,t),!n||!D.test(n.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=n,this.options=V({},O,R(i)&&i),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return i=t,a=[{key:"noConflict",value:function(){return window.Cropper=bt,t}},{key:"setDefaults",value:function(t){V(O,R(t)&&t)}}],(r=[{key:"init",value:function(){var t,e=this.element,n=e.tagName.toLowerCase();if(!e.cropper){if(e.cropper=this,"img"===n){if(this.isImg=!0,t=e.getAttribute("src")||"",this.originalUrl=t,!t)return;t=e.src}else"canvas"===n&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e,n,i,r,a=this;if(t){this.url=t,this.imageData={};var o=this.element,s=this.options;if(s.rotatable||s.scalable||(s.checkOrientation=!1),s.checkOrientation&&window.ArrayBuffer)if(S.test(t))C.test(t)?this.read((e=t.replace(ft,""),n=atob(e),i=new ArrayBuffer(n.length),F(r=new Uint8Array(i),function(t,e){r[e]=n.charCodeAt(e)}),i)):this.clone();else{var l=new XMLHttpRequest,u=this.clone.bind(this);this.reloading=!0,this.xhr=l,l.onabort=u,l.onerror=u,l.ontimeout=u,l.onprogress=function(){"image/jpeg"!==l.getResponseHeader("content-type")&&l.abort()},l.onload=function(){a.read(l.response)},l.onloadend=function(){a.reloading=!1,a.xhr=null},s.checkCrossOrigin&&ot(t)&&o.crossOrigin&&(t=st(t)),l.open("GET",t),l.responseType="arraybuffer",l.withCredentials="use-credentials"===o.crossOrigin,l.send()}else this.clone()}}},{key:"read",value:function(t){var e=this.options,n=this.imageData,i=function(t){var e,n=new DataView(t);try{var i,r,a;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var o=n.byteLength,s=2;s+1<o;){if(255===n.getUint8(s)&&225===n.getUint8(s+1)){r=s;break}s+=1}if(r){var l=r+10;if("Exif"===function(t,e,n){var i="";n+=e;for(var r=e;r<n;r+=1)i+=dt(t.getUint8(r));return i}(n,r+4,4)){var u=n.getUint16(l);if(((i=18761===u)||19789===u)&&42===n.getUint16(l+2,i)){var c=n.getUint32(l+4,i);c>=8&&(a=l+c)}}}if(a){var h,d,f=n.getUint16(a,i);for(d=0;d<f;d+=1)if(274===n.getUint16(h=a+12*d+2,i)){e=n.getUint16(h+=8,i),n.setUint16(h,1,i);break}}}catch(p){e=1}return e}(t),r=0,a=1,o=1;if(i>1){this.url=function(t,e){for(var n=[],i=new Uint8Array(t);i.length>0;)n.push(dt.apply(null,N(i.subarray(0,8192)))),i=i.subarray(8192);return"data:".concat("image/jpeg",";base64,").concat(btoa(n.join("")))}(t);var s=function(t){var e=0,n=1,i=1;switch(t){case 2:n=-1;break;case 3:e=-180;break;case 4:i=-1;break;case 5:e=90,i=-1;break;case 6:e=90;break;case 7:e=90,n=-1;break;case 8:e=-90}return{rotate:e,scaleX:n,scaleY:i}}(i);r=s.rotate,a=s.scaleX,o=s.scaleY}e.rotatable&&(n.rotate=r),e.scalable&&(n.scaleX=a,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var t=this.element,e=this.url,n=t.crossOrigin,i=e;this.options.checkCrossOrigin&&ot(e)&&(n||(n="anonymous"),i=st(e)),this.crossOrigin=n,this.crossOriginUrl=i;var r=document.createElement("img");n&&(r.crossOrigin=n),r.src=i||e,r.alt=t.alt||"The image to crop",this.image=r,r.onload=this.start.bind(this),r.onerror=this.stop.bind(this),U(r,m),t.parentNode.insertBefore(r,t.nextSibling)}},{key:"start",value:function(){var t=this,e=this.image;e.onload=null,e.onerror=null,this.sizing=!0;var n=u.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(u.navigator.userAgent),i=function(e,n){V(t.imageData,{naturalWidth:e,naturalHeight:n,aspectRatio:e/n}),t.sizing=!1,t.sized=!0,t.build()};if(!e.naturalWidth||n){var r=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=r,r.onload=function(){i(r.width,r.height),n||a.removeChild(r)},r.src=e.src,n||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(r))}else i(e.naturalWidth,e.naturalHeight)}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,e=this.options,n=this.image,i=t.parentNode,r=document.createElement("div");r.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var a=r.querySelector(".".concat("cropper","-container")),o=a.querySelector(".".concat("cropper","-canvas")),s=a.querySelector(".".concat("cropper","-drag-box")),l=a.querySelector(".".concat("cropper","-crop-box")),u=l.querySelector(".".concat("cropper","-face"));this.container=i,this.cropper=a,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=a.querySelector(".".concat("cropper","-view-box")),this.face=u,o.appendChild(n),U(t,p),i.insertBefore(a,t.nextSibling),this.isImg||G(n,m),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,U(l,p),e.guides||U(l.getElementsByClassName("".concat("cropper","-dashed")),p),e.center||U(l.getElementsByClassName("".concat("cropper","-center")),p),e.background&&U(a,"".concat("cropper","-bg")),e.highlight||U(u,g),e.cropBoxMovable&&(U(u,y),J(u,_,"all")),e.cropBoxResizable||(U(l.getElementsByClassName("".concat("cropper","-line")),p),U(l.getElementsByClassName("".concat("cropper","-point")),p)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),Y(e.ready)&&et(t,"ready",e.ready,{once:!0}),nt(t,"ready")}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),G(this.element,p))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&n(i.prototype,r),a&&n(i,a),t;var i,r,a}();return V(wt.prototype,pt,mt,gt,vt,yt,_t),wt}()},vJtL:function(t,e,n){"use strict";var i=n("8M4i"),r=n("IzLi");e.a=function(t){if(!Object(r.a)(t))return!1;var e=Object(i.a)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},"vY+C":function(t,e,n){"use strict";var i=n("/1FC"),r=n("G8aS"),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.a=function(t,e){if(Object(i.a)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Object(r.a)(t))||o.test(t)||!a.test(t)||null!=e&&t in Object(e)}},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q");function r(){}var a=n("n6bG");function o(t,e,n){return function(i){return i.lift(new l(t,e,n))}}var l=function(){function t(e,n,i){s(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),c=function(t){h(n,t);var e=f(n);function n(t,i,o,l){var u;return s(this,n),(u=e.call(this,t))._tapNext=r,u._tapError=r,u._tapComplete=r,u._tapError=o||r,u._tapComplete=l||r,Object(a.a)(i)?(u._context=m(u),u._tapNext=i):i&&(u._context=i,u._tapNext=i.next||r,u._tapError=i.error||r,u._tapComplete=i.complete||r),u}return u(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(i.a)},vxfF:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return M}),n.d(e,"c",function(){return w}),n.d(e,"d",function(){return S}),n.d(e,"e",function(){return x}),n("8LU1");var i=n("fXoL"),r=n("XNiG"),a=n("LRne"),o=n("HDdC"),l=n("xgIS"),c=(n("eNwd"),n("7Hc7"),n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),h=n("pLZG"),d=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("UXun");var f=n("nLfN"),p=n("ofXK"),m=n("cH1L");n("0EQZ");var g,v,y,_,b,w=((b=function(){function t(e,n,i){s(this,t),this._ngZone=e,this._platform=n,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return u(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new o.a(function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(Object(c.a)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Object(a.a)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(h.a)(function(t){return!t||n.indexOf(t)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var e=t._getWindow();return Object(l.a)(e.document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}()).\u0275fac=function(t){return new(t||b)(i.Yb(i.B),i.Yb(f.a),i.Yb(p.d,8))},b.\u0275prov=Object(i.Kb)({factory:function(){return new b(Object(i.Yb)(i.B),Object(i.Yb)(f.a),Object(i.Yb)(p.d,8))},token:b,providedIn:"root"}),b),k=((_=function(){function t(e,n,i,a){var u=this;s(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=a,this._destroyed=new r.a,this._elementScrolled=new o.a(function(t){return u.ngZone.runOutsideAngular(function(){return Object(l.a)(u.elementRef.nativeElement,"scroll").pipe(Object(d.a)(u._destroyed)).subscribe(t)})})}return u(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(f.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(f.d)()?t.left=t.right:1==Object(f.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;Object(f.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Object(f.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(f.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}()).\u0275fac=function(t){return new(t||_)(i.Ob(i.l),i.Ob(w),i.Ob(i.B),i.Ob(m.b,8))},_.\u0275dir=i.Jb({type:_,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),_),x=((y=function(){function t(e,n,i){var a=this;s(this,t),this._platform=e,this._change=new r.a,this._changeListener=function(t){a._change.next(t)},this._document=i,n.runOutsideAngular(function(){if(e.isBrowser){var t=a._getWindow();t.addEventListener("resize",a._changeListener),t.addEventListener("orientationchange",a._changeListener)}a.change().subscribe(function(){return a._updateViewportSize()})})}return u(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(Object(c.a)(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}()).\u0275fac=function(t){return new(t||y)(i.Yb(f.a),i.Yb(i.B),i.Yb(p.d,8))},y.\u0275prov=Object(i.Kb)({factory:function(){return new y(Object(i.Yb)(f.a),Object(i.Yb)(i.B),Object(i.Yb)(p.d,8))},token:y,providedIn:"root"}),y),M=((v=function t(){s(this,t)}).\u0275mod=i.Mb({type:v}),v.\u0275inj=i.Lb({factory:function(t){return new(t||v)}}),v),S=((g=function t(){s(this,t)}).\u0275mod=i.Mb({type:g}),g.\u0275inj=i.Lb({factory:function(t){return new(t||g)},imports:[[m.a,f.b,M],m.a,M]}),g)},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return w});var i=n("XNiG"),r=n("HDdC"),a=n("7o/Q"),o=n("quSY");function l(){return function(t){return t.lift(new p(t))}}var d,p=function(){function t(e){s(this,t),this.connectable=e}return u(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new m(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),m=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).connectable=i,r}return u(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(a.a),g=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return u(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new o.a).add(this.source.subscribe(new y(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}},{key:"refCount",value:function(){return l()(this)}}]),n}(r.a),v={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(d=g.prototype)._subscribe},_isComplete:{value:d._isComplete,writable:!0},getSubject:{value:d.getSubject},connect:{value:d.connect},refCount:{value:d.refCount}},y=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).connectable=i,r}return u(n,[{key:"_error",value:function(t){this._unsubscribe(),c(b(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),c(b(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),n}(i.b);function _(){return new i.a}function w(){return function(t){return l()((e=_,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,v);return i.source=t,i.subjectFactory=n,i})(t));var e}}},wQk9:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wZkO:function(t,e,n){"use strict";n.d(e,"a",function(){return nt}),n.d(e,"b",function(){return dt}),n.d(e,"c",function(){return xt}),n.d(e,"d",function(){return bt}),n.d(e,"e",function(){return Mt});var r=n("u47x"),a=n("GU7r"),o=n("+rOU"),l=n("ofXK"),d=n("fXoL"),p=n("FKr1"),g=n("R1ws"),v=n("XNiG"),y=n("quSY"),_=n("VRyK"),w=n("xgIS"),k=n("LRne"),x=n("PqYM"),M=n("R0Ic"),S=n("JX91"),C=n("/uUt"),D=n("1G5W"),O=n("8LU1"),T=n("nLfN"),L=n("FtGj"),A=n("cH1L"),I=n("vxfF");function P(t,e){1&t&&d.jc(0)}var E=["*"];function R(t,e){}var Y=function(t){return{animationDuration:t}},j=function(t,e){return{value:t,params:e}},N=["tabBodyWrapper"],F=["tabHeader"];function V(t,e){}function H(t,e){if(1&t&&d.Fc(0,V,0,0,"ng-template",9),2&t){var n=d.fc().$implicit;d.lc("cdkPortalOutlet",n.templateLabel)}}function z(t,e){if(1&t&&d.Hc(0),2&t){var n=d.fc().$implicit;d.Ic(n.textLabel)}}function B(t,e){if(1&t){var n=d.Vb();d.Ub(0,"div",6),d.bc("click",function(){d.wc(n);var t=e.$implicit,i=e.index,r=d.fc(),a=d.uc(1);return r._handleClick(t,a,i)}),d.Ub(1,"div",7),d.Fc(2,H,1,1,"ng-template",8),d.Fc(3,z,1,1,"ng-template",8),d.Tb(),d.Tb()}if(2&t){var i=e.$implicit,r=e.index,a=d.fc();d.Gb("mat-tab-label-active",a.selectedIndex==r),d.lc("id",a._getTabLabelId(r))("disabled",i.disabled)("matRippleDisabled",i.disabled||a.disableRipple),d.Db("tabIndex",a._getTabIndex(i,r))("aria-posinset",r+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(r))("aria-selected",a.selectedIndex==r)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null),d.Cb(2),d.lc("ngIf",i.templateLabel),d.Cb(1),d.lc("ngIf",!i.templateLabel)}}function W(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-tab-body",10),d.bc("_onCentered",function(){return d.wc(n),d.fc()._removeTabBodyWrapperHeight()})("_onCentering",function(t){return d.wc(n),d.fc()._setTabBodyWrapperHeight(t)}),d.Tb()}if(2&t){var i=e.$implicit,r=e.index,a=d.fc();d.Gb("mat-tab-body-active",a.selectedIndex==r),d.lc("id",a._getTabContentId(r))("content",i.content)("position",i.position)("origin",i.origin)("animationDuration",a.animationDuration),d.Db("aria-labelledby",a._getTabLabelId(r))}}var U=["tabListContainer"],G=["tabList"],q=["nextPaginator"],X=["previousPaginator"],Z=["mat-tab-nav-bar",""],K=new d.s("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),J=function(){var t=function(){function t(e,n,i,r){s(this,t),this._elementRef=e,this._ngZone=n,this._inkBarPositioner=i,this._animationMode=r}return u(t,[{key:"alignToElement",value:function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.B),d.Ob(K),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&d.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t}(),Q=new d.s("MatTabContent"),$=new d.s("MatTabLabel"),tt=Object(p.A)(function t(){s(this,t)}),et=new d.s("MAT_TAB_GROUP"),nt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this))._viewContainerRef=t,r._closestTabGroup=i,r.textLabel="",r._contentPortal=null,r._stateChanges=new v.a,r.position=null,r.origin=null,r.isActive=!1,r}return u(n,[{key:"ngOnChanges",value:function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new o.h(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(t){t&&(this._templateLabel=t)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(t){this._setTemplateLabelInput(t)}},{key:"content",get:function(){return this._contentPortal}}]),n}(tt);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.R),d.Ob(et))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){var i;(1&t&&(d.Hb(n,$,!0),d.Ac(n,Q,!0,d.N)),2&t)&&(d.tc(i=d.cc())&&(e.templateLabel=i.first),d.tc(i=d.cc())&&(e._explicitContent=i.first))},viewQuery:function(t,e){var n;(1&t&&d.Bc(d.N,!0),2&t)&&(d.tc(n=d.cc())&&(e._implicitContent=n.first))},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[d.zb,d.Ab],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(d.kc(),d.Fc(0,P,1,0,"ng-template"))},encapsulation:2}),t}(),it={translateTab:Object(M.m)("translateTab",[Object(M.j)("center, void, left-origin-center, right-origin-center",Object(M.k)({transform:"none"})),Object(M.j)("left",Object(M.k)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(M.j)("right",Object(M.k)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(M.l)("* => left, * => right, left => center, right => center",Object(M.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(M.l)("void => left-origin-center",[Object(M.k)({transform:"translate3d(-100%, 0, 0)"}),Object(M.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(M.l)("void => right-origin-center",[Object(M.k)({transform:"translate3d(100%, 0, 0)"}),Object(M.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},rt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t,i,a))._host=r,o._centeringSub=y.a.EMPTY,o._leavingSub=y.a.EMPTY,o}return u(n,[{key:"ngOnInit",value:function(){var t=this;c(b(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(S.a)(this._host._isCenterPosition(this._host._position))).subscribe(function(e){e&&!t.hasAttached()&&t.attach(t._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){t.detach()})}},{key:"ngOnDestroy",value:function(){c(b(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(o.c);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.j),d.Ob(d.R),d.Ob(Object(d.V)(function(){return ot})),d.Ob(l.d))},t.\u0275dir=d.Jb({type:t,selectors:[["","matTabBodyHost",""]],features:[d.zb]}),t}(),at=function(){var t=function(){function t(e,n,i){var r=this;s(this,t),this._elementRef=e,this._dir=n,this._dirChangeSubscription=y.a.EMPTY,this._translateTabComplete=new v.a,this._onCentering=new d.o,this._beforeCentering=new d.o,this._afterLeavingCenter=new d.o,this._onCentered=new d.o(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe(function(t){r._computePositionAnimationState(t),i.markForCheck()})),this._translateTabComplete.pipe(Object(C.a)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return u(t,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(A.b,8),d.Ob(d.h))},t.\u0275dir=d.Jb({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t}(),ot=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r){return s(this,n),e.call(this,t,i,r)}return n}(at);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(A.b,8),d.Ob(d.h))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var n;(1&t&&d.Oc(o.f,!0),2&t)&&(d.tc(n=d.cc())&&(e._portalHost=n.first))},hostAttrs:[1,"mat-tab-body"],features:[d.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(d.Ub(0,"div",0,1),d.bc("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),d.Fc(2,R,0,0,"ng-template",2),d.Tb()),2&t&&d.lc("@translateTab",d.qc(3,j,e._position,d.pc(1,Y,e.animationDuration)))},directives:[rt],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[it.translateTab]}}),t}(),st=new d.s("MAT_TABS_CONFIG"),lt=0,ut=function t(){s(this,t)},ct=Object(p.y)(Object(p.z)(function t(e){s(this,t),this._elementRef=e}),"primary"),ht=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a){var o;return s(this,n),(o=e.call(this,t))._changeDetectorRef=i,o._animationMode=a,o._tabs=new d.F,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=y.a.EMPTY,o._tabLabelSubscription=y.a.EMPTY,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new d.o,o.focusChange=new d.o,o.animationDone=new d.o,o.selectedTabChange=new d.o(!0),o._groupId=lt++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,o}return u(n,[{key:"ngAfterContentChecked",value:function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){t._tabs.forEach(function(t,n){return t.isActive=n===e}),n||t.selectedIndexChange.emit(e)})}this._tabs.forEach(function(n,i){n.position=i-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._changeDetectorRef.markForCheck()})}},{key:"_subscribeToAllTabChanges",value:function(){var t=this;this._allTabs.changes.pipe(Object(S.a)(this._allTabs)).subscribe(function(e){t._tabs.reset(e.filter(function(e){return e._closestTabGroup===t})),t._tabs.notifyOnChanges()})}},{key:"ngOnDestroy",value:function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}},{key:"realignInkBar",value:function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}},{key:"_focusChanged",value:function(t){this.focusChange.emit(this._createChangeEvent(t))}},{key:"_createChangeEvent",value:function(t){var e=new ut;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}},{key:"_subscribeToTabLabels",value:function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(_.a).apply(void 0,i(this._tabs.map(function(t){return t._stateChanges}))).subscribe(function(){return t._changeDetectorRef.markForCheck()})}},{key:"_clampTabIndex",value:function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}},{key:"_getTabLabelId",value:function(t){return"mat-tab-label-".concat(this._groupId,"-").concat(t)}},{key:"_getTabContentId",value:function(t){return"mat-tab-content-".concat(this._groupId,"-").concat(t)}},{key:"_setTabBodyWrapperHeight",value:function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}}},{key:"_removeTabBodyWrapperHeight",value:function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}},{key:"_handleClick",value:function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}},{key:"_getTabIndex",value:function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}},{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=Object(O.c)(t)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=Object(O.f)(t,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t}}]),n}(ct);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.h),d.Ob(st,8),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[d.zb]}),t}(),dt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a){return s(this,n),e.call(this,t,i,r,a)}return n}(ht);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.h),d.Ob(st,8),d.Ob(g.a,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){var i;(1&t&&d.Hb(n,nt,!0),2&t)&&(d.tc(i=d.cc())&&(e._allTabs=i))},viewQuery:function(t,e){var n;(1&t&&(d.Oc(N,!0),d.Oc(F,!0)),2&t)&&(d.tc(n=d.cc())&&(e._tabBodyWrapper=n.first),d.tc(n=d.cc())&&(e._tabHeader=n.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&d.Gb("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[d.Bb([{provide:et,useExisting:t}]),d.zb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(d.Ub(0,"mat-tab-header",0,1),d.bc("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),d.Fc(2,B,4,14,"div",2),d.Tb(),d.Ub(3,"div",3,4),d.Fc(5,W,1,8,"mat-tab-body",5),d.Tb()),2&t&&(d.lc("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),d.Cb(2),d.lc("ngForOf",e._tabs),d.Cb(1),d.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode),d.Cb(2),d.lc("ngForOf",e._tabs))},directives:function(){return[yt,l.m,pt,p.t,r.e,l.n,o.c,ot]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t}(),ft=Object(p.A)(function t(){s(this,t)}),pt=function(){var t=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this)).elementRef=t,i}return u(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(ft);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l))},t.\u0275dir=d.Jb({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(d.Db("aria-disabled",!!e.disabled),d.Gb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[d.zb]}),t}(),mt=Object(T.f)({passive:!0}),gt=function(){var t=function(){function t(e,n,i,r,a,o,l){var u=this;s(this,t),this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=i,this._dir=r,this._ngZone=a,this._platform=o,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new d.o,this.indexFocused=new d.o,a.runOutsideAngular(function(){Object(w.a)(e.nativeElement,"mouseleave").pipe(Object(D.a)(u._destroyed)).subscribe(function(){u._stopInterval()})})}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this;Object(w.a)(this._previousPaginator.nativeElement,"touchstart",mt).pipe(Object(D.a)(this._destroyed)).subscribe(function(){t._handlePaginatorPress("before")}),Object(w.a)(this._nextPaginator.nativeElement,"touchstart",mt).pipe(Object(D.a)(this._destroyed)).subscribe(function(){t._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var t=this,e=this._dir?this._dir.change:Object(k.a)(null),n=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new r.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(_.a)(e,n,this._items.changes).pipe(Object(D.a)(this._destroyed)).subscribe(function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(Object(D.a)(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(t){if(!Object(L.s)(t))switch(t.keyCode){case L.f:case L.n:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(e),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var n,i,r=this._tabListContainer.nativeElement.offsetWidth,a=e.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=o)+s:n=(i=this._tabList.nativeElement.offsetWidth-o)-s;var l=this.scrollDistance,u=this.scrollDistance+r;n<l?this.scrollDistance-=l-n+60:i>u&&(this.scrollDistance+=i-u+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,e){var n=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),Object(x.a)(650,100).pipe(Object(D.a)(Object(_.a)(this._stopScrolling,this._destroyed))).subscribe(function(){var e=n._scrollHeader(t),i=e.maxScrollDistance,r=e.distance;(0===r||r>=i)&&n._stopInterval()}))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Object(O.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.h),d.Ob(I.e),d.Ob(A.b,8),d.Ob(d.B),d.Ob(T.a),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,inputs:{disablePagination:"disablePagination"}}),t}(),vt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u){var c;return s(this,n),(c=e.call(this,t,i,r,a,o,l,u))._disableRipple=!1,c}return u(n,[{key:"_itemSelected",value:function(t){t.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Object(O.c)(t)}}]),n}(gt);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.h),d.Ob(I.e),d.Ob(A.b,8),d.Ob(d.B),d.Ob(T.a),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,inputs:{disableRipple:"disableRipple"},features:[d.zb]}),t}(),yt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u){return s(this,n),e.call(this,t,i,r,a,o,l,u)}return n}(vt);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(d.h),d.Ob(I.e),d.Ob(A.b,8),d.Ob(d.B),d.Ob(T.a),d.Ob(g.a,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){var i;(1&t&&d.Hb(n,pt,!1),2&t)&&(d.tc(i=d.cc())&&(e._items=i))},viewQuery:function(t,e){var n;(1&t&&(d.Bc(J,!0),d.Bc(U,!0),d.Bc(G,!0),d.Oc(q,!0),d.Oc(X,!0)),2&t)&&(d.tc(n=d.cc())&&(e._inkBar=n.first),d.tc(n=d.cc())&&(e._tabListContainer=n.first),d.tc(n=d.cc())&&(e._tabList=n.first),d.tc(n=d.cc())&&(e._nextPaginator=n.first),d.tc(n=d.cc())&&(e._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&d.Gb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[d.zb],ngContentSelectors:E,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(d.kc(),d.Ub(0,"div",0,1),d.bc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),d.Pb(2,"div",2),d.Tb(),d.Ub(3,"div",3,4),d.bc("keydown",function(t){return e._handleKeydown(t)}),d.Ub(5,"div",5,6),d.bc("cdkObserveContent",function(){return e._onContentChanges()}),d.Ub(7,"div",7),d.jc(8),d.Tb(),d.Pb(9,"mat-ink-bar"),d.Tb(),d.Tb(),d.Ub(10,"div",8,9),d.bc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),d.Pb(12,"div",2),d.Tb()),2&t&&(d.Gb("mat-tab-header-pagination-disabled",e._disableScrollBefore),d.lc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),d.Cb(5),d.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode),d.Cb(5),d.Gb("mat-tab-header-pagination-disabled",e._disableScrollAfter),d.lc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[p.t,a.a,J],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t}(),_t=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u){var c;return s(this,n),(c=e.call(this,t,a,o,i,r,l,u))._disableRipple=!1,c.color="primary",c}return u(n,[{key:"_itemSelected",value:function(){}},{key:"ngAfterContentInit",value:function(){var t=this;this._items.changes.pipe(Object(S.a)(null),Object(D.a)(this._destroyed)).subscribe(function(){t.updateActiveLink()}),c(b(n.prototype),"ngAfterContentInit",this).call(this)}},{key:"updateActiveLink",value:function(){if(this._items){for(var t=this._items.toArray(),e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Object(O.c)(t)}}]),n}(gt);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(A.b,8),d.Ob(d.B),d.Ob(d.h),d.Ob(I.e),d.Ob(T.a),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,inputs:{color:"color",backgroundColor:"backgroundColor",disableRipple:"disableRipple"},features:[d.zb]}),t}(),bt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u){return s(this,n),e.call(this,t,i,r,a,o,l,u)}return n}(_t);return t.\u0275fac=function(e){return new(e||t)(d.Ob(d.l),d.Ob(A.b,8),d.Ob(d.B),d.Ob(d.h),d.Ob(I.e),d.Ob(T.a),d.Ob(g.a,8))},t.\u0275cmp=d.Ib({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,e,n){var i;(1&t&&d.Hb(n,xt,!0),2&t)&&(d.tc(i=d.cc())&&(e._items=i))},viewQuery:function(t,e){var n;(1&t&&(d.Bc(J,!0),d.Bc(U,!0),d.Bc(G,!0),d.Oc(q,!0),d.Oc(X,!0)),2&t)&&(d.tc(n=d.cc())&&(e._inkBar=n.first),d.tc(n=d.cc())&&(e._tabListContainer=n.first),d.tc(n=d.cc())&&(e._tabList=n.first),d.tc(n=d.cc())&&(e._nextPaginator=n.first),d.tc(n=d.cc())&&(e._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(t,e){2&t&&d.Gb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())("mat-primary","warn"!==e.color&&"accent"!==e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[d.zb],attrs:Z,ngContentSelectors:E,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(d.kc(),d.Ub(0,"div",0,1),d.bc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),d.Pb(2,"div",2),d.Tb(),d.Ub(3,"div",3,4),d.bc("keydown",function(t){return e._handleKeydown(t)}),d.Ub(5,"div",5,6),d.bc("cdkObserveContent",function(){return e._onContentChanges()}),d.Ub(7,"div",7),d.jc(8),d.Tb(),d.Pb(9,"mat-ink-bar"),d.Tb(),d.Tb(),d.Ub(10,"div",8,9),d.bc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),d.Pb(12,"div",2),d.Tb()),2&t&&(d.Gb("mat-tab-header-pagination-disabled",e._disableScrollBefore),d.lc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),d.Cb(5),d.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode),d.Cb(5),d.Gb("mat-tab-header-pagination-disabled",e._disableScrollAfter),d.lc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[p.t,a.a,J],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t}(),wt=Object(p.D)(Object(p.z)(Object(p.A)(function t(){s(this,t)}))),kt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l){var u;return s(this,n),(u=e.call(this))._tabNavBar=t,u.elementRef=i,u._focusMonitor=o,u._isActive=!1,u.rippleConfig=r||{},u.tabIndex=parseInt(a)||0,"NoopAnimations"===l&&(u.rippleConfig.animation={enterDuration:0,exitDuration:0}),u}return u(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this.elementRef)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this.elementRef)}},{key:"active",get:function(){return this._isActive},set:function(t){Object(O.c)(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}]),n}(wt);return t.\u0275fac=function(e){return new(e||t)(d.Ob(_t),d.Ob(d.l),d.Ob(p.i,8),d.Zb("tabindex"),d.Ob(r.h),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,inputs:{active:"active"},features:[d.zb]}),t}(),xt=function(){var t=function(t){h(n,t);var e=f(n);function n(t,i,r,a,o,l,u,c){var h;return s(this,n),(h=e.call(this,t,i,o,l,u,c))._tabLinkRipple=new p.v(m(h),r,i,a),h._tabLinkRipple.setupTriggerEvents(i.nativeElement),h}return u(n,[{key:"ngOnDestroy",value:function(){c(b(n.prototype),"ngOnDestroy",this).call(this),this._tabLinkRipple._removeTriggerEvents()}}]),n}(kt);return t.\u0275fac=function(e){return new(e||t)(d.Ob(bt),d.Ob(d.l),d.Ob(d.B),d.Ob(T.a),d.Ob(p.i,8),d.Zb("tabindex"),d.Ob(r.h),d.Ob(g.a,8))},t.\u0275dir=d.Jb({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(d.Db("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),d.Gb("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[d.zb]}),t}(),Mt=function(){var t=function t(){s(this,t)};return t.\u0275mod=d.Mb({type:t}),t.\u0275inj=d.Lb({factory:function(e){return new(e||t)},imports:[[l.c,p.j,o.g,p.u,a.c,r.a],p.j]}),t}()},"wd/R":function(t,e,n){(function(t){t.exports=function(){"use strict";var e,i;function r(){return e.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(s(t,e))return!1;return!0}function u(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function f(t,e){for(var n in e)s(e,n)&&(t[n]=e[n]);return s(e,"toString")&&(t.toString=e.toString),s(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,i){return Me(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=m(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=p(NaN);return null!=t?f(m(e),t):m(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var y=r.momentProperties=[],_=!1;function b(t,e){var n,i,r;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=m(e)),u(e._locale)||(t._locale=e._locale),y.length>0)for(n=0;n<y.length;n++)u(r=e[i=y[n]])||(t[i]=r);return t}function w(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,r.updateOffset(this),_=!1)}function k(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function x(t){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var n=!0;return f(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,t),n){var i,a,o,l=[];for(a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var S,C={};function D(t,e){null!=r.deprecationHandler&&r.deprecationHandler(t,e),C[t]||(x(e),C[t]=!0)}function O(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t,e){var n,i=f({},t);for(n in e)s(e,n)&&(o(t[n])&&o(e[n])?(i[n]={},f(i[n],t[n]),f(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)s(t,n)&&!s(e,n)&&o(t[n])&&(i[n]=f({},i[n]));return i}function L(t){null!=t&&this.set(t)}function A(t,e,n){var i=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},R={};function Y(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(R[t]=r),e&&(R[e[0]]=function(){return A(r.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function j(t,e){return t.isValid()?(e=N(e,t.localeData()),E[e]=E[e]||function(t){var e,n,i,r=t.match(I);for(e=0,n=r.length;e<n;e++)r[e]=R[r[e]]?R[r[e]]:(i=r[e]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(e){var i,a="";for(i=0;i<n;i++)a+=O(r[i])?r[i].call(e,t):r[i];return a}}(e),E[e](t)):t.localeData().invalidDate()}function N(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(P.lastIndex=0;n>=0&&P.test(t);)t=t.replace(P,i),P.lastIndex=0,n-=1;return t}var F={};function V(t,e){var n=t.toLowerCase();F[n]=F[n+"s"]=F[e]=t}function H(t){return"string"==typeof t?F[t]||F[t.toLowerCase()]:void 0}function z(t){var e,n,i={};for(n in t)s(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}var B={};function W(t,e){B[t]=e}function U(t){return t%4==0&&t%100!=0||t%400==0}function G(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function q(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=G(e)),n}function X(t,e){return function(n){return null!=n?(K(this,t,n),r.updateOffset(this,e),this):Z(this,t)}}function Z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&U(t.year())&&1===t.month()&&29===t.date()?(n=q(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),kt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var J,Q=/\d/,$=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,rt=/\d\d\d\d?/,at=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,st=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ut=/\d+/,ct=/[+-]?\d+/,ht=/Z|[+-]\d\d:?\d\d/gi,dt=/Z|[+-]\d\d(?::?\d\d)?/gi,ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){J[t]=O(e)?e:function(t,i){return t&&n?n:e}}function mt(t,e){return s(J,t)?J[t](e._strict,e._locale):new RegExp(gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var vt,yt={};function _t(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),c(e)&&(i=function(t,n){n[e]=q(t)}),n=0;n<t.length;n++)yt[t[n]]=i}function bt(t,e){_t(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function wt(t,e,n){null!=e&&s(yt,t)&&yt[t](e,n._a,n,t)}function kt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?U(t)?29:28:31-n%7%2}vt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),Y("MMMM",0,0,function(t){return this.localeData().months(this,t)}),V("month","M"),W("month",8),pt("M",it),pt("MM",it,$),pt("MMM",function(t,e){return e.monthsShortRegex(t)}),pt("MMMM",function(t,e){return e.monthsRegex(t)}),_t(["M","MM"],function(t,e){e[1]=q(t)-1}),_t(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[1]=r:m(n).invalidMonth=t});var xt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Mt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),St=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ct=ft,Dt=ft;function Ot(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,o))?r:null:-1!==(r=vt.call(this._longMonthsParse,o))?r:null:"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,o))||-1!==(r=vt.call(this._longMonthsParse,o))?r:null:-1!==(r=vt.call(this._longMonthsParse,o))||-1!==(r=vt.call(this._shortMonthsParse,o))?r:null}function Tt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=q(e);else if(!c(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),kt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Lt(t){return null!=t?(Tt(this,t),r.updateOffset(this,!0),this):Z(this,"Month")}function At(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],a=[];for(e=0;e<12;e++)n=p([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),a.sort(t),e=0;e<12;e++)i[e]=gt(i[e]),r[e]=gt(r[e]);for(e=0;e<24;e++)a[e]=gt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function It(t){return U(t)?366:365}Y("Y",0,0,function(){var t=this.year();return t<=9999?A(t,4):"+"+t}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),V("year","y"),W("year",1),pt("Y",ct),pt("YY",it,$),pt("YYYY",st,et),pt("YYYYY",lt,nt),pt("YYYYYY",lt,nt),_t(["YYYYY","YYYYYY"],0),_t("YYYY",function(t,e){e[0]=2===t.length?r.parseTwoDigitYear(t):q(t)}),_t("YY",function(t,e){e[0]=r.parseTwoDigitYear(t)}),_t("Y",function(t,e){e[0]=parseInt(t,10)}),r.parseTwoDigitYear=function(t){return q(t)+(q(t)>68?1900:2e3)};var Pt=X("FullYear",!0);function Et(t,e,n,i,r,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,a,o),s}function Rt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Yt(t,e,n){var i=7+e-n;return-(7+Rt(t,0,i).getUTCDay()-e)%7+i-1}function jt(t,e,n,i,r){var a,o,s=1+7*(e-1)+(7+n-i)%7+Yt(t,i,r);return s<=0?o=It(a=t-1)+s:s>It(t)?(a=t+1,o=s-It(t)):(a=t,o=s),{year:a,dayOfYear:o}}function Nt(t,e,n){var i,r,a=Yt(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?i=o+Ft(r=t.year()-1,e,n):o>Ft(t.year(),e,n)?(i=o-Ft(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ft(t,e,n){var i=Yt(t,e,n),r=Yt(t+1,e,n);return(It(t)-i+r)/7}function Vt(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),V("week","w"),V("isoWeek","W"),W("week",5),W("isoWeek",5),pt("w",it),pt("ww",it,$),pt("W",it),pt("WW",it,$),bt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=q(t)}),Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),V("day","d"),V("weekday","e"),V("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),pt("d",it),pt("e",it),pt("E",it),pt("dd",function(t,e){return e.weekdaysMinRegex(t)}),pt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),pt("dddd",function(t,e){return e.weekdaysRegex(t)}),bt(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t}),bt(["d","e","E"],function(t,e,n,i){e[i]=q(t)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=ft,Ut=ft,Gt=ft;function qt(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,o))||-1!==(r=vt.call(this._shortWeekdaysParse,o))||-1!==(r=vt.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,o))||-1!==(r=vt.call(this._weekdaysParse,o))||-1!==(r=vt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,o))||-1!==(r=vt.call(this._weekdaysParse,o))||-1!==(r=vt.call(this._shortWeekdaysParse,o))?r:null}function Xt(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),i=gt(this.weekdaysMin(n,"")),r=gt(this.weekdaysShort(n,"")),a=gt(this.weekdays(n,"")),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);o.sort(t),s.sort(t),l.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Kt(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Zt),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Zt.apply(this)+A(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Zt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),V("hour","h"),W("hour",13),pt("a",Jt),pt("A",Jt),pt("H",it),pt("h",it),pt("k",it),pt("HH",it,$),pt("hh",it,$),pt("kk",it,$),pt("hmm",rt),pt("hmmss",at),pt("Hmm",rt),pt("Hmmss",at),_t(["H","HH"],3),_t(["k","kk"],function(t,e,n){var i=q(t);e[3]=24===i?0:i}),_t(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),_t(["h","hh"],function(t,e,n){e[3]=q(t),m(n).bigHour=!0}),_t("hmm",function(t,e,n){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i)),m(n).bigHour=!0}),_t("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(r)),m(n).bigHour=!0}),_t("Hmm",function(t,e,n){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i))}),_t("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(r))});var Qt,$t=X("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xt,monthsShort:Mt,week:{dow:0,doy:6},weekdays:Ht,weekdaysMin:Bt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function ie(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function re(t){return t?t.toLowerCase().replace("_","-"):t}function ae(e){var i=null;if(void 0===ee[e]&&void 0!==t&&t&&t.exports)try{i=Qt._abbr,n("RnhZ")("./"+e),oe(i)}catch(r){ee[e]=null}return ee[e]}function oe(t,e){var n;return t&&((n=u(e)?le(t):se(t,e))?Qt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Qt._abbr}function se(t,e){if(null!==e){var n,i=te;if(e.abbr=t,null!=ee[t])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ee[t]._config;else if(null!=e.parentLocale)if(null!=ee[e.parentLocale])i=ee[e.parentLocale]._config;else{if(null==(n=ae(e.parentLocale)))return ne[e.parentLocale]||(ne[e.parentLocale]=[]),ne[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ee[t]=new L(T(i,e)),ne[t]&&ne[t].forEach(function(t){se(t.name,t.config)}),oe(t),ee[t]}return delete ee[t],null}function le(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Qt;if(!a(t)){if(e=ae(t))return e;t=[t]}return function(t){for(var e,n,i,r,a=0;a<t.length;){for(e=(r=re(t[a]).split("-")).length,n=(n=re(t[a+1]))?n.split("-"):null;e>0;){if(i=ae(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&ie(r,n)>=e-1)break;e--}a++}return Qt}(t)}function ue(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>kt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),m(t)._overflowWeeks&&-1===e&&(e=7),m(t)._overflowWeekday&&-1===e&&(e=8),m(t).overflow=e),t}var ce=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],me=/^\/?Date\((-?\d+)/i,ge=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ve={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ye(t){var e,n,i,r,a,o,s=t._i,l=ce.exec(s)||he.exec(s);if(l){for(m(t).iso=!0,e=0,n=fe.length;e<n;e++)if(fe[e][1].exec(l[1])){r=fe[e][0],i=!1!==fe[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=pe.length;e<n;e++)if(pe[e][1].exec(l[3])){a=(l[2]||" ")+pe[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!de.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(a||"")+(o||""),ke(t)}else t._isValid=!1}function _e(t){var e,n,i,r,a,o,s,l,u,c=ge.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],i=c[2],r=c[5],a=c[6],o=c[7],s=[(l=c[4],u=parseInt(l,10),u<=49?2e3+u:u<=999?1900+u:u),Mt.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(a,10)],o&&s.push(parseInt(o,10)),!function(t,e,n){return!t||zt.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],e=s,t))return;t._a=e,t._tzm=function(t,e,n){if(t)return ve[t];if(e)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(c[8],c[9],c[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function be(t,e,n){return null!=t?t:null!=e?e:n}function we(t){var e,n,i,a,o,s=[];if(!t._d){for(i=function(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,i,r,a,o,s,l,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(a=1,o=4,n=be(e.GG,t._a[0],Nt(Se(),1,4).year),i=be(e.W,1),((r=be(e.E,1))<1||r>7)&&(l=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,u=Nt(Se(),a,o),n=be(e.gg,t._a[0],u.year),i=be(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a),i<1||i>Ft(n,a,o)?m(t)._overflowWeeks=!0:null!=l?m(t)._overflowWeekday=!0:(s=jt(n,i,r,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=be(t._a[0],i[0]),(t._dayOfYear>It(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Rt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Et).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(m(t).weekdayMismatch=!0)}}function ke(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],m(t).empty=!0;var e,n,i,a,o,s,l=""+t._i,u=l.length,c=0;for(i=N(t._f,t._locale).match(I)||[],e=0;e<i.length;e++)(n=(l.match(mt(a=i[e],t))||[])[0])&&((o=l.substr(0,l.indexOf(n))).length>0&&m(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),c+=n.length),R[a]?(n?m(t).empty=!1:m(t).unusedTokens.push(a),wt(a,n,t)):t._strict&&!n&&m(t).unusedTokens.push(a);m(t).charsLeftOver=u-c,l.length>0&&m(t).unusedInput.push(l),t._a[3]<=12&&!0===m(t).bigHour&&t._a[3]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=m(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),we(t),ue(t)}else _e(t);else ye(t)}function xe(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),k(e)?new w(ue(e)):(h(e)?t._d=e:a(n)?function(t){var e,n,i,r,a,o,s=!1;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)a=0,o=!1,e=b({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],ke(e),g(e)&&(o=!0),a+=m(e).charsLeftOver,a+=10*m(e).unusedTokens.length,m(e).score=a,s?a<i&&(i=a,n=e):(null==i||a<i||o)&&(i=a,n=e,o&&(s=!0));f(t,n||e)}(t):n?ke(t):function(t){var e=t._i;u(e)?t._d=new Date(r.now()):h(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=me.exec(t._i);null===e?(ye(t),!1===t._isValid&&(delete t._isValid,_e(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:r.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):a(e)?(t._a=d(e.slice(0),function(t){return parseInt(t,10)}),we(t)):o(e)?function(t){if(!t._d){var e=z(t._i);t._a=d([e.year,e.month,void 0===e.day?e.date:e.day,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),we(t)}}(t):c(e)?t._d=new Date(e):r.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Me(t,e,n,i,r){var s,u={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=r,u._l=n,u._i=t,u._f=e,u._strict=i,(s=new w(ue(xe(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Se(t,e,n,i){return Me(t,e,n,i,!1)}r.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){};var Ce=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Se.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()}),De=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Se.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()});function Oe(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Se();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Te=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Le(t){var e=z(t),n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,o=e.day||0,l=e.hour||0,u=e.minute||0,c=e.second||0,h=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(s(t,e)&&(-1===vt.call(Te,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Te.length;++n)if(t[Te[n]]){if(i)return!1;parseFloat(t[Te[n]])!==q(t[Te[n]])&&(i=!0)}return!0}(e),this._milliseconds=+h+1e3*c+6e4*u+1e3*l*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=le(),this._bubble()}function Ae(t){return t instanceof Le}function Ie(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Pe(t,e){Y(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+A(~~(t/60),2)+e+A(~~t%60,2)})}Pe("Z",":"),Pe("ZZ",""),pt("Z",dt),pt("ZZ",dt),_t(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(dt,t)});var Ee=/([\+\-]|\d\d)/gi;function Re(t,e){var n,i,r=(e||"").match(t);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Ee)||["-",0,0])[1]+q(n[2]))?0:"+"===n[0]?i:-i}function Ye(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(k(t)||h(t)?t.valueOf():Se(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Se(t).local()}function je(t){return-Math.round(t._d.getTimezoneOffset())}function Ne(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Fe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ve=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function He(t,e){var n,i,r,a,o,l,u=t,h=null;return Ae(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:c(t)||!isNaN(+t)?(u={},e?u[e]=+t:u.milliseconds=+t):(h=Fe.exec(t))?(n="-"===h[1]?-1:1,u={y:0,d:q(h[2])*n,h:q(h[3])*n,m:q(h[4])*n,s:q(h[5])*n,ms:q(Ie(1e3*h[6]))*n}):(h=Ve.exec(t))?u={y:ze(h[2],n="-"===h[1]?-1:1),M:ze(h[3],n),w:ze(h[4],n),d:ze(h[5],n),h:ze(h[6],n),m:ze(h[7],n),s:ze(h[8],n)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(a=Se(u.from),o=Se(u.to),r=a.isValid()&&o.isValid()?(o=Ye(o,a),a.isBefore(o)?l=Be(a,o):((l=Be(o,a)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),i=new Le(u),Ae(t)&&s(t,"_locale")&&(i._locale=t._locale),Ae(t)&&s(t,"_isValid")&&(i._isValid=t._isValid),i}function ze(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Be(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){return function(n,i){var r;return null===i||isNaN(+i)||(D(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Ue(this,He(n,i),t),this}}function Ue(t,e,n,i){var a=e._milliseconds,o=Ie(e._days),s=Ie(e._months);t.isValid()&&(i=null==i||i,s&&Tt(t,Z(t,"Month")+s*n),o&&K(t,"Date",Z(t,"Date")+o*n),a&&t._d.setTime(t._d.valueOf()+a*n),i&&r.updateOffset(t,o||s))}He.fn=Le.prototype,He.invalid=function(){return He(NaN)};var Ge=We(1,"add"),qe=We(-1,"subtract");function Xe(t){return"string"==typeof t||t instanceof String}function Ze(t){return k(t)||h(t)||Xe(t)||c(t)||function(t){var e=a(t),n=!1;return e&&(n=0===t.filter(function(e){return!c(e)&&Xe(t)}).length),e&&n}(t)||function(t){var e,n=o(t)&&!l(t),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<r.length;e+=1)i=i||s(t,r[e]);return n&&i}(t)||null==t}function Ke(t){var e,n=o(t)&&!l(t),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<r.length;e+=1)i=i||s(t,r[e]);return n&&i}function Je(t,e){if(t.date()<e.date())return-Je(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function Qe(t){var e;return void 0===t?this._locale._abbr:(null!=(e=le(t))&&(this._locale=e),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $e=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function tn(){return this._locale}function en(t,e){return(t%e+e)%e}function nn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function rn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function an(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],i=[],r=[],a=[],o=this.eras();for(t=0,e=o.length;t<e;++t)i.push(gt(o[t].name)),n.push(gt(o[t].abbr)),r.push(gt(o[t].narrow)),a.push(gt(o[t].name)),a.push(gt(o[t].abbr)),a.push(gt(o[t].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sn(t,e){Y(0,[t,t.length],0,e)}function ln(t,e,n,i,r){var a;return null==t?Nt(this,i,r).year:(e>(a=Ft(t,i,r))&&(e=a),un.call(this,t,e,n,i,r))}function un(t,e,n,i,r){var a=jt(t,e,n,i,r),o=Rt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),pt("N",an),pt("NN",an),pt("NNN",an),pt("NNNN",function(t,e){return e.erasNameRegex(t)}),pt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),_t(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?m(n).era=r:m(n).invalidEra=t}),pt("y",ut),pt("yy",ut),pt("yyy",ut),pt("yyyy",ut),pt("yo",function(t,e){return e._eraYearOrdinalRegex||ut}),_t(["y","yy","yyy","yyyy"],0),_t(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,r):parseInt(t,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),V("weekYear","gg"),V("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),pt("G",ct),pt("g",ct),pt("GG",it,$),pt("gg",it,$),pt("GGGG",st,et),pt("gggg",st,et),pt("GGGGG",lt,nt),pt("ggggg",lt,nt),bt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=q(t)}),bt(["gg","GG"],function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),V("quarter","Q"),W("quarter",7),pt("Q",Q),_t("Q",function(t,e){e[1]=3*(q(t)-1)}),Y("D",["DD",2],"Do","date"),V("date","D"),W("date",9),pt("D",it),pt("DD",it,$),pt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),_t(["D","DD"],2),_t("Do",function(t,e){e[2]=q(t.match(it)[0])});var cn=X("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),V("dayOfYear","DDD"),W("dayOfYear",4),pt("DDD",ot),pt("DDDD",tt),_t(["DDD","DDDD"],function(t,e,n){n._dayOfYear=q(t)}),Y("m",["mm",2],0,"minute"),V("minute","m"),W("minute",14),pt("m",it),pt("mm",it,$),_t(["m","mm"],4);var hn=X("Minutes",!1);Y("s",["ss",2],0,"second"),V("second","s"),W("second",15),pt("s",it),pt("ss",it,$),_t(["s","ss"],5);var dn,fn,pn=X("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),V("millisecond","ms"),W("millisecond",16),pt("S",ot,Q),pt("SS",ot,$),pt("SSS",ot,tt),dn="SSSS";dn.length<=9;dn+="S")pt(dn,ut);function mn(t,e){e[6]=q(1e3*("0."+t))}for(dn="S";dn.length<=9;dn+="S")_t(dn,mn);fn=X("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var gn=w.prototype;function vn(t){return t}gn.add=Ge,gn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Ze(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Se(),i=Ye(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=e&&(O(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,Se(n)))},gn.clone=function(){return new w(this)},gn.diff=function(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ye(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":a=Je(this,i)/12;break;case"month":a=Je(this,i);break;case"quarter":a=Je(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:G(a)},gn.endOf=function(t){var e,n;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?rn:nn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-en(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-en(e,1e3)-1}return this._d.setTime(e),r.updateOffset(this,!0),this},gn.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=j(this,t);return this.localeData().postformat(e)},gn.from=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Se(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.fromNow=function(t){return this.from(Se(),t)},gn.to=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Se(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.toNow=function(t){return this.to(Se(),t)},gn.get=function(t){return O(this[t=H(t)])?this[t]():this},gn.invalidAt=function(){return m(this).overflow},gn.isAfter=function(t,e){var n=k(t)?t:Se(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},gn.isBefore=function(t,e){var n=k(t)?t:Se(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},gn.isBetween=function(t,e,n,i){var r=k(t)?t:Se(t),a=k(e)?e:Se(e);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n))},gn.isSame=function(t,e){var n,i=k(t)?t:Se(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},gn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},gn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},gn.isValid=function(){return g(this)},gn.lang=$e,gn.locale=Qe,gn.localeData=tn,gn.max=De,gn.min=Ce,gn.parsingFlags=function(){return f({},m(this))},gn.set=function(t,e){if("object"==typeof t){var n,i=function(t){var e,n=[];for(e in t)s(t,e)&&n.push({unit:e,priority:B[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=z(t));for(n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit])}else if(O(this[t=H(t)]))return this[t](e);return this},gn.startOf=function(t){var e,n;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?rn:nn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=en(e,6e4);break;case"second":e=this._d.valueOf(),e-=en(e,1e3)}return this._d.setTime(e),r.updateOffset(this,!0),this},gn.subtract=qe,gn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},gn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?j(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(n,"Z")):j(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""},gn.eraNarrow=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""},gn.eraAbbr=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""},gn.eraYear=function(){var t,e,n,i,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(n=a[t].since<=a[t].until?1:-1,i=this.clone().startOf("day").valueOf(),a[t].since<=i&&i<=a[t].until||a[t].until<=i&&i<=a[t].since)return(this.year()-r(a[t].since).year())*n+a[t].offset;return this.year()},gn.year=Pt,gn.isLeapYear=function(){return U(this.year())},gn.weekYear=function(t){return ln.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(t){return ln.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},gn.month=Lt,gn.daysInMonth=function(){return kt(this.year(),this.month())},gn.week=gn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},gn.isoWeek=gn.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},gn.weeksInYear=function(){var t=this.localeData()._week;return Ft(this.year(),t.dow,t.doy)},gn.weeksInWeekYear=function(){var t=this.localeData()._week;return Ft(this.weekYear(),t.dow,t.doy)},gn.isoWeeksInYear=function(){return Ft(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return Ft(this.isoWeekYear(),1,4)},gn.date=cn,gn.day=gn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},gn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},gn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},gn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},gn.hour=gn.hours=$t,gn.minute=gn.minutes=hn,gn.second=gn.seconds=pn,gn.millisecond=gn.milliseconds=fn,gn.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(dt,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=je(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?Ue(this,He(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:je(this)},gn.utc=function(t){return this.utcOffset(0,t)},gn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(je(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ht,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Se(t).utcOffset():0,(this.utcOffset()-t)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=Ne,gn.isUTC=Ne,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=M("dates accessor is deprecated. Use date instead.",cn),gn.months=M("months accessor is deprecated. Use month instead",Lt),gn.years=M("years accessor is deprecated. Use year instead",Pt),gn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),gn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return b(e,this),(e=xe(e))._a?(t=e._isUTC?p(e._a):Se(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(i=0;i<r;i++)q(t[i])!==q(e[i])&&o++;return o+a}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var yn=L.prototype;function _n(t,e,n,i){var r=le(),a=p().set(i,e);return r[n](a,t)}function bn(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return _n(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=_n(t,i,n,"month");return r}function wn(t,e,n,i){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var r,a=le(),o=t?a._week.dow:0,s=[];if(null!=n)return _n(e,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=_n(e,(r+o)%7,i,"day");return s}yn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return O(i)?i.call(e,n):i},yn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(I).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=vn,yn.postformat=vn,yn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return O(r)?r(t,e,n,i):r.replace(/%d/i,t)},yn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return O(n)?n(e):n.replace(/%s/i,e)},yn.set=function(t){var e,n;for(n in t)s(t,n)&&(O(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,e){var n,i,a,o=this._eras||le("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}}return o},yn.erasParse=function(t,e,n){var i,r,a,o,s,l=this.eras();for(t=t.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(o===t)return l[i];break;case"NNNN":if(a===t)return l[i];break;case"NNNNN":if(s===t)return l[i]}else if([a,o,s].indexOf(t)>=0)return l[i]},yn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?r(t.since).year():r(t.since).year()+(e-t.offset)*n},yn.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return s(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||St).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[St.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,e,n){var i,r,a;if(this._monthsParseExact)return Ot.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},yn.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Dt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ct),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Vt(n,this._week.dow):t?n[t.day()]:n},yn.weekdaysMin=function(t){return!0===t?Vt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?Vt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,e,n){var i,r,a;if(this._weekdaysParseExact)return qt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===q(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=M("moment.lang is deprecated. Use moment.locale instead.",oe),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",le);var kn=Math.abs;function xn(t,e,n,i){var r=He(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Mn(t){return t<0?Math.floor(t):Math.ceil(t)}function Sn(t){return 4800*t/146097}function Cn(t){return 146097*t/4800}function Dn(t){return function(){return this.as(t)}}var On=Dn("ms"),Tn=Dn("s"),Ln=Dn("m"),An=Dn("h"),In=Dn("d"),Pn=Dn("w"),En=Dn("M"),Rn=Dn("Q"),Yn=Dn("y");function jn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Nn=jn("milliseconds"),Fn=jn("seconds"),Vn=jn("minutes"),Hn=jn("hours"),zn=jn("days"),Bn=jn("months"),Wn=jn("years"),Un=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var Xn=Math.abs;function Zn(t){return(t>0)-(t<0)||+t}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,a,o,s,l=Xn(this._milliseconds)/1e3,u=Xn(this._days),c=Xn(this._months),h=this.asSeconds();return h?(t=G(l/60),e=G(t/60),l%=60,t%=60,n=G(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=Zn(this._months)!==Zn(h)?"-":"",o=Zn(this._days)!==Zn(h)?"-":"",s=Zn(this._milliseconds)!==Zn(h)?"-":"",r+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+i+"S":"")):"P0D"}var Jn=Le.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),t.milliseconds=kn(t.milliseconds),t.seconds=kn(t.seconds),t.minutes=kn(t.minutes),t.hours=kn(t.hours),t.months=kn(t.months),t.years=kn(t.years),this},Jn.add=function(t,e){return xn(this,t,e,1)},Jn.subtract=function(t,e){return xn(this,t,e,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(n=this._months+Sn(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Cn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=On,Jn.asSeconds=Tn,Jn.asMinutes=Ln,Jn.asHours=An,Jn.asDays=In,Jn.asWeeks=Pn,Jn.asMonths=En,Jn.asQuarters=Rn,Jn.asYears=Yn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Jn._bubble=function(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Mn(Cn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=G(a/1e3),l.seconds=t%60,e=G(t/60),l.minutes=e%60,n=G(e/60),l.hours=n%24,o+=G(n/24),s+=r=G(Sn(o)),o-=Mn(Cn(r)),i=G(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Jn.clone=function(){return He(this)},Jn.get=function(t){return t=H(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Nn,Jn.seconds=Fn,Jn.minutes=Vn,Jn.hours=Hn,Jn.days=zn,Jn.weeks=function(){return G(this.days()/7)},Jn.months=Bn,Jn.years=Wn,Jn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=Gn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(a=Object.assign({},Gn,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),i=function(t,e,n,i){var r=He(t).abs(),a=Un(r.as("s")),o=Un(r.as("m")),s=Un(r.as("h")),l=Un(r.as("d")),u=Un(r.as("M")),c=Un(r.as("w")),h=Un(r.as("y")),d=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),(d=d||u<=1&&["M"]||u<n.M&&["MM",u]||h<=1&&["y"]||["yy",h])[2]=e,d[3]=+t>0,d[4]=i,qn.apply(null,d)}(this,!r,a,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Jn.toISOString=Kn,Jn.toString=Kn,Jn.toJSON=Kn,Jn.locale=Qe,Jn.localeData=tn,Jn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Jn.lang=$e,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),pt("x",ct),pt("X",/[+-]?\d+(\.\d{1,3})?/),_t("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),_t("x",function(t,e,n){n._d=new Date(q(t))}),r.version="2.29.1",e=Se,r.fn=gn,r.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},r.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(t){return Se(1e3*t)},r.months=function(t,e){return bn(t,e,"months")},r.isDate=h,r.locale=oe,r.invalid=v,r.duration=He,r.isMoment=k,r.weekdays=function(t,e,n){return wn(t,e,n,"weekdays")},r.parseZone=function(){return Se.apply(null,arguments).parseZone()},r.localeData=le,r.isDuration=Ae,r.monthsShort=function(t,e){return bn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return wn(t,e,n,"weekdaysMin")},r.defineLocale=se,r.updateLocale=function(t,e){if(null!=e){var n,i,r=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(T(ee[t]._config,e)):(null!=(i=ae(t))&&(r=i._config),e=T(r,e),null==i&&(e.abbr=t),(n=new L(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},r.locales=function(){return S(ee)},r.weekdaysShort=function(t,e,n){return wn(t,e,n,"weekdaysShort")},r.normalizeUnits=H,r.relativeTimeRounding=function(t){return void 0===t?Un:"function"==typeof t&&(Un=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Gn[t]&&(void 0===e?Gn[t]:(Gn[t]=e,"s"===t&&(Gn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=gn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("YuTi")(t))},weu1:function(t,e,n){"use strict";var i=Array.prototype.join;e.a=function(t,e){return null==t?"":i.call(t,e)}},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xgIS:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("HDdC"),a=n("DH7j"),o=n("n6bG"),s=n("lJxs");function l(t,e,n,c){return Object(o.a)(n)&&(c=n,n=void 0),c?l(t,e,n).pipe(Object(s.a)(function(t){return Object(a.a)(t)?c.apply(void 0,i(t)):c(t)})):new r.a(function(i){u(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function u(t,e,n,i,r){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var o=t;t.addEventListener(e,n,r),a=function(){return o.removeEventListener(e,n,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),a=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var l=t;t.addListener(e,n),a=function(){return l.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,h=t.length;c<h;c++)u(t[c],e,n,i,r)}i.add(a)}},xutz:function(t,e,n){"use strict";(function(t){var i=n("XqMk"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,o=a&&a.exports===r&&i.a.process,s=function(){try{return a&&a.require&&a.require("util").types||o&&o.binding&&o.binding("util")}catch(t){}}();e.a=s}).call(this,n("3UD+")(t))},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("ngJS"),a=n("jZKg");function o(t,e){return e?Object(a.a)(t,e):new i.a(Object(r.a)(t))}},yPMs:function(t,e,n){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ylTp:function(t,e,n){"use strict";var i=n("Ju5/");e.a=i.a.Symbol},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return i})},z1FC:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?r[n][0]:r[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var a=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,a="";return n>0&&(a+=e[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+e[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+e[r]),""===a?"pagh":a}(t);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t,e){return new i.a(e?function(n){return e.schedule(a,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function a(t){var e=t.error;t.subscriber.error(e)}},zM63:function(t,e,n){"use strict";n.d(e,"a",function(){return V}),n.d(e,"b",function(){return H}),n.d(e,"c",function(){return z});var i=n("XNiG"),a=n("quSY"),o=n("2Vo4"),l=n("itXk"),d=n("PqYM"),p=n("EY2u"),m=n("LRne"),g=n("pLZG"),v=n("zx2A"),y=function(){function t(e){s(this,t),this.durationSelector=e}return u(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t,this.durationSelector))}}]),t}(),_=function(t){h(n,t);var e=f(n);function n(t,i){var r;return s(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return u(n,[{key:"_next",value:function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(n){this.destination.error(n)}}},{key:"_complete",value:function(){this.emitValue(),this.destination.complete()}},{key:"_tryNext",value:function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(v.c)(e,new v.a(this)))&&!n.closed&&this.add(this.durationSubscription=n)}},{key:"notifyNext",value:function(){this.emitValue()}},{key:"notifyComplete",value:function(){this.emitValue()}},{key:"emitValue",value:function(){if(this.hasValue){var t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,c(b(n.prototype),"_next",this).call(this,t)}}}]),n}(v.b),w=n("eIep"),k=n("vkgz"),x=n("3E0/"),M=n("nYR2"),S=n("1G5W"),C=n("lJxs"),D=n("mrSG"),O=n("fXoL"),T=n("ofXK");function L(t,e){if(1&t&&O.Pb(0,"div",6),2&t){var n=O.fc(2);O.Cc("box-shadow","0 0 10px "+n.color+", 0 0 5px "+n.color)}}function A(t,e){if(1&t&&(O.Ub(0,"div",7),O.Pb(1,"div",8),O.Tb()),2&t){var n=O.fc(2);O.Cb(1),O.Cc("border-top-color",n.color)("border-left-color",n.color)}}function I(t,e){if(1&t&&(O.Sb(0),O.Ub(1,"div",1),O.Ub(2,"div",2),O.Ub(3,"div",3),O.Fc(4,L,1,2,"div",4),O.Tb(),O.Tb(),O.Fc(5,A,2,4,"div",5),O.Tb(),O.Rb()),2&t){var n=e.$implicit,i=O.fc();O.Cb(1),O.Cc("transition","opacity "+i.speed+"ms "+i.ease),O.Db("active",n.active),O.Cb(2),O.Cc("transform",n.transform)("background-color",i.color)("transition",n.active?"all "+i.speed+"ms "+i.ease:"none"),O.Cb(1),O.lc("ngIf",i.meteor),O.Cb(1),O.lc("ngIf",i.spinner)}}var P,E,R,Y,j=function(){function t(e,n){var u,c=this;s(this,t),this._onDestroyCallback=n,this._started=new i.a,this.started=this._started.pipe(Object(g.a)(function(){return!c.isStarted})),this._completed=new i.a,this.completed=this._completed.pipe(Object(g.a)(function(){return c.isStarted})),this._trickling=new i.a,this._worker=a.a.EMPTY,this._state=new o.a({active:!1,value:0}),this._config=new o.a(e),this.state=this._state.asObservable(),this.config=this._state.asObservable(),this._worker=Object(l.b)(this._trickling,this._config).pipe((u=function(t){var e=r(t,2),n=e[0],i=e[1];return Object(d.a)(n?i.debounceTime:0)},function(t){return t.lift(new y(u))}),Object(w.a)(function(t){var e=r(t,2),n=e[0],i=e[1];return n?c.onTrickling(i):c.onComplete(i)})).subscribe()}return u(t,[{key:"start",value:function(){this._started.next(),this._trickling.next(!0)}},{key:"complete",value:function(){this._trickling.next(!1)}},{key:"inc",value:function(t){var e=this.currState.value;this.isStarted?("number"!=typeof t&&(t=this._config.value.trickleFunc(e)),this.set(e+t)):this.start()}},{key:"set",value:function(t){this.setState({value:this.clamp(t),active:!0})}},{key:"setConfig",value:function(t){this._config.next(Object.assign(Object.assign({},this._config.value),t))}},{key:"destroy",value:function(){this._worker.unsubscribe(),this._trickling.complete(),this._state.complete(),this._config.complete(),this._started.complete(),this._completed.complete(),this._onDestroyCallback()}},{key:"setState",value:function(t){this._state.next(Object.assign(Object.assign({},this.currState),t))}},{key:"clamp",value:function(t){return Math.max(this._config.value.min,Math.min(this._config.value.max,t))}},{key:"onTrickling",value:function(t){var e=this;return this.isStarted||this.set(this._config.value.min),Object(d.a)(0,t.trickleSpeed).pipe(Object(k.a)(function(){return e.inc()}))}},{key:"onComplete",value:function(t){var e=this;return this._completed.next(),this.isStarted?Object(m.a)({}).pipe(Object(k.a)(function(){return e.setState({value:100})}),Object(x.a)(1.7*t.speed),Object(k.a)(function(){return e.setState({active:!1})}),Object(x.a)(t.speed),Object(M.a)(function(){return e.setState({value:0})}),Object(S.a)(this._started)):p.a}},{key:"currState",get:function(){return this._state.value}},{key:"isStarted",get:function(){return this.currState.active}}]),t}(),N=new O.s("ngProgressConfig"),F={min:8,max:100,speed:200,debounceTime:0,trickleSpeed:300,fixed:!0,meteor:!0,thick:!1,spinner:!0,ease:"linear",color:"#1B95E0",direction:"ltr+",spinnerPosition:"right",trickleFunc:function(t){return t>=0&&t<20?10:t>=20&&t<50?4:t>=50&&t<80?2:t>=80&&t<99?.5:0}},V=((E=function(){function t(e){s(this,t),this._instances=new Map,this.config=e?Object.assign(Object.assign({},F),e):F}return u(t,[{key:"ref",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"root",e=arguments.length>1?arguments[1]:void 0;if(this._instances.has(t)){var n=this._instances.get(t);return e&&n.setConfig(Object.assign(Object.assign({},this.config),e)),n}var i=new j(Object.assign(Object.assign({},this.config),e),this.deleteInstance(t));return this._instances.set(t,i).get(t)}},{key:"destroyAll",value:function(){this._instances.forEach(function(t){return t.destroy()})}},{key:"deleteInstance",value:function(t){var e=this;return function(){e._instances.delete(t)}}}]),t}()).\u0275fac=function(t){return new(t||E)(O.Yb(N,8))},E.\u0275prov=Object(O.Kb)({factory:function(){return new E(Object(O.Yb)(N,8))},token:E,providedIn:"root"}),E=Object(D.b)([Object(D.c)(0,Object(O.C)()),Object(D.c)(0,Object(O.q)(N))],E)),H=((P=function(){function t(e){s(this,t),this._ngProgress=e,this._started=a.a.EMPTY,this._completed=a.a.EMPTY,this.id="root",this.min=this._ngProgress.config.min,this.max=this._ngProgress.config.max,this.ease=this._ngProgress.config.ease,this.color=this._ngProgress.config.color,this.speed=this._ngProgress.config.speed,this.thick=this._ngProgress.config.thick,this.fixed=this._ngProgress.config.fixed,this.meteor=this._ngProgress.config.meteor,this.spinner=this._ngProgress.config.spinner,this.trickleSpeed=this._ngProgress.config.trickleSpeed,this.debounceTime=this._ngProgress.config.debounceTime,this.trickleFunc=this._ngProgress.config.trickleFunc,this.spinnerPosition=this._ngProgress.config.spinnerPosition,this.direction=this._ngProgress.config.direction,this.started=new O.o,this.completed=new O.o}return u(t,[{key:"ngOnChanges",value:function(){this.progressRef instanceof j&&this.progressRef.setConfig({max:this.max>0&&this.max<=100?this.max:100,min:this.min<100&&this.min>=0?this.min:0,speed:this.speed,trickleSpeed:this.trickleSpeed,trickleFunc:this.trickleFunc,debounceTime:this.debounceTime})}},{key:"ngOnInit",value:function(){var t=this;this.progressRef=this._ngProgress.ref(this.id,{max:this.max,min:this.min,speed:this.speed,trickleSpeed:this.trickleSpeed,debounceTime:this.debounceTime}),this.state$=this.progressRef.state.pipe(Object(C.a)(function(t){return{active:t.active,transform:"translate3d(".concat(t.value,"%,0,0)")}})),this.started.observers.length&&(this._started=this.progressRef.started.subscribe(function(){return t.started.emit()})),this.completed.observers.length&&(this._completed=this.progressRef.completed.subscribe(function(){return t.completed.emit()}))}},{key:"ngOnDestroy",value:function(){this._started.unsubscribe(),this._completed.unsubscribe(),this.progressRef instanceof j&&this.progressRef.destroy()}},{key:"start",value:function(){this.progressRef.start()}},{key:"complete",value:function(){this.progressRef.complete()}},{key:"inc",value:function(t){this.progressRef.inc(t)}},{key:"set",value:function(t){this.progressRef.set(t)}},{key:"isStarted",get:function(){return this.progressRef.isStarted}}]),t}()).\u0275fac=function(t){return new(t||P)(O.Ob(V))},P.\u0275cmp=O.Ib({type:P,selectors:[["ng-progress"]],hostAttrs:["role","progressbar"],hostVars:4,hostBindings:function(t,e){2&t&&O.Db("spinnerPosition",e.spinnerPosition)("dir",e.direction)("thick",e.thick)("fixed",e.fixed)},inputs:{id:"id",min:"min",max:"max",ease:"ease",color:"color",speed:"speed",thick:"thick",fixed:"fixed",meteor:"meteor",spinner:"spinner",trickleSpeed:"trickleSpeed",debounceTime:"debounceTime",trickleFunc:"trickleFunc",spinnerPosition:"spinnerPosition",direction:"direction"},outputs:{started:"started",completed:"completed"},features:[O.Ab],decls:2,vars:3,consts:[[4,"ngIf"],[1,"ng-progress-bar"],[1,"ng-bar-placeholder"],[1,"ng-bar"],["class","ng-meteor",3,"boxShadow",4,"ngIf"],["class","ng-spinner",4,"ngIf"],[1,"ng-meteor"],[1,"ng-spinner"],[1,"ng-spinner-icon"]],template:function(t,e){1&t&&(O.Fc(0,I,6,11,"ng-container",0),O.gc(1,"async")),2&t&&O.lc("ngIf",O.hc(1,1,e.state$))},directives:[T.n],pipes:[T.b],styles:['[_nghost-%COMP%]{z-index:999999;pointer-events:none}[fixed=true][_nghost-%COMP%] .ng-progress-bar[_ngcontent-%COMP%], [fixed=true][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{top:15px}[fixed=true][spinnerPosition=left][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{left:15px}[fixed=true][spinnerPosition=right][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{right:15px}[thick=true][_nghost-%COMP%] .ng-spinner-icon[_ngcontent-%COMP%]{width:24px;height:24px;border-width:3px}[thick=true][_nghost-%COMP%] .ng-bar-placeholder[_ngcontent-%COMP%]{height:3px!important}[dir="ltr+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(3deg);transform:rotate(3deg)}[dir="ltr+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(4deg);transform:rotate(4deg)}[dir="ltr+"][_nghost-%COMP%] .ng-bar[_ngcontent-%COMP%], [dir="rtl+"][_nghost-%COMP%] .ng-bar[_ngcontent-%COMP%]{margin-left:-100%}[dir="ltr+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir="rtl+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{right:0}[dir="ltr+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{top:-3px}[dir="ltr+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{top:-4px}[dir="rtl+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{bottom:-3px}[dir="rtl+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{bottom:-4px}[dir="rtl+"][_nghost-%COMP%] .ng-bar-placeholder[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-bar-placeholder[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[dir="rtl+"][_nghost-%COMP%] .ng-spinner-icon[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-spinner-icon[_ngcontent-%COMP%]{animation-direction:reverse}[dir="rtl+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(-3deg);transform:rotate(-3deg)}[dir="rtl+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(-4deg);transform:rotate(-4deg)}[spinnerPosition=left][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{left:10px}[spinnerPosition=right][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{right:10px}.ng-progress-bar[_ngcontent-%COMP%]{position:relative;z-index:999999;top:0;left:0;width:100%;zoom:1;opacity:0}.ng-progress-bar[active=true][_ngcontent-%COMP%]{opacity:1;-webkit-transition:none;transition:none}.ng-bar-placeholder[_ngcontent-%COMP%]{position:absolute;height:2px;width:100%}.ng-bar[_ngcontent-%COMP%]{width:100%;height:100%;-webkit-transform:translate(-100%,0,0);transform:translate(-100%,0,0)}.ng-meteor[_ngcontent-%COMP%]{display:block;position:absolute;width:100px;height:100%;opacity:1}.ng-spinner[_ngcontent-%COMP%]{position:absolute;display:block;z-index:1031;top:10px}.ng-spinner-icon[_ngcontent-%COMP%]{width:18px;height:18px;box-sizing:border-box;-webkit-animation:250ms linear infinite spinner-animation;animation:250ms linear infinite spinner-animation;border:2px solid transparent;border-radius:50%}@-webkit-keyframes spinner-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'],changeDetection:0}),P),z=((Y=R=function(){function t(){s(this,t)}return u(t,null,[{key:"withConfig",value:function(t){return{ngModule:R,providers:[{provide:N,useValue:t}]}}}]),t}()).\u0275mod=O.Mb({type:Y}),Y.\u0275inj=O.Lb({factory:function(t){return new(t||Y)},imports:[[T.c]]}),Y)},zUnb:function(t,e,n){"use strict";n.r(e);var i,r,a,o,l,c,d=n("fXoL"),p=n("tk/3"),m=n("jhN1"),g=n("R1ws"),v=n("sYmb"),y=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";s(this,t),this.http=e,this.prefix=n,this.suffix=i}return u(t,[{key:"getTranslation",value:function(t){return this.http.get("".concat(this.prefix).concat(t).concat(this.suffix))}}]),t}(),_=n("ofXK"),b=((i=function t(e){if(s(this,t),e)throw new Error("CoreModule \u53ea\u5141\u8bb8\u5728 AppModule \u4e2d\u52a0\u8f7d\u3002")}).\u0275mod=d.Mb({type:i}),i.\u0275inj=d.Lb({factory:function(t){return new(t||i)(d.Yb(i,12))},imports:[[_.c]]}),i),w=n("PCNd"),k=n("tyNb"),x=n("mrSG"),M=n("R0Ic"),S=n("cp0P"),C=n("Xi3o"),D=n("bUwk"),O=n("HqcR"),T={},L=((r=function(){function t(e,n,i){var r=this;s(this,t),this._http=e,this._title=n,this._i18nService=i,this._i18nService.onchange.subscribe(function(){return T.htmlTitle&&r._title.setTitle(r._i18nService.translate(T.htmlTitle))})}return u(t,[{key:"startup",value:function(){var t=this;return new Promise(function(e){Object(S.a)([t._http.get("assets/settings/app.json?timestamp="+Date.now()),t._http.get("assets/settings/i18n.json?timestamp="+Date.now()),t._http.get("assets/settings/srv.json?timestamp="+Date.now())]).subscribe(function(n){Object.assign(T,n[0]),Object.assign(C.b,n[1]),Object.assign(D.b,n[2]),Object.assign(O.b,n[2]),T.htmlTitle&&t._title.setTitle(t._i18nService.translate(T.htmlTitle)),T.appLogoAssets=/\./.test(T.appLogo),e(null)})})}}]),t}()).\u0275fac=function(t){return new(t||r)(d.Yb(p.b),d.Yb(m.c),d.Yb(C.a))},r.\u0275prov=d.Kb({token:r,factory:r.\u0275fac,providedIn:"root"}),r),A=n("3Pt+"),I=n("S+vS"),P=((a=function(){function t(e){var n=this;s(this,t),this._router=e,this._root=[],this._items={},this._path={},this._active=[],e.events.subscribe(function(t){var e;t instanceof k.c&&(n._active.forEach(function(t){return n._items[t].active=!1}),n._active.length=0,null===(e=n._path[t.url])||void 0===e||e.forEach(function(t){n._items[t].active=!0,n._active.push(t)}))})}return u(t,[{key:"init",value:function(t){var e,n=this;t.forEach(function(t){n._items[t.id]=t,t.parent||n._root.push(t)});var i=[],r=function t(e,i){n._path[e].unshift(i.id),n._items[i.parent]&&t(e,n._items[i.parent])};t.forEach(function(t){if(0==t.parent)i.push(t);else{var e=n._items[t.parent];e&&(e.children||(e.children=[]),e.children.push(t))}t.url&&(n._path[t.url]=[],r(t.url,t))}),function t(e,n){null==e||e.forEach(function(e){e.level=n,e.children&&t(e.children,n+1)})}(i,0);var a=function t(e,n){var i;null===(i=n.children)||void 0===i||i.forEach(function(n){e.height+=48,t(e,n)})};return t.forEach(function(t){t.height=0,a(t,t)}),null===(e=this._path[this._router.url])||void 0===e||e.forEach(function(t){n._items[t].active=!0,n._active.push(t)}),i}},{key:"focus",value:function(t){t.focus?(t.focus=!1,t.children.forEach(function(t){return t.focus=!1})):(function t(e){e.forEach(function(e){e.focus=!1,e.children&&t(e.children)})}(this._items[t.parent]?this._items[t.parent].children:this._root),t.focus=!0)}},{key:"navigate",value:function(t,e){return this._router.navigate("string"==typeof t?[t]:t,e?{queryParams:e}:void 0)}}]),t}()).\u0275fac=function(t){return new(t||a)(d.Yb(k.f))},a.\u0275prov=d.Kb({token:a,factory:a.\u0275fac,providedIn:"root"}),a),E=n("Olgc"),R=n("0IaG"),Y=n("kmnG"),j=n("qFsG"),N=n("bTqV"),F=((o=function(){function t(e,n,i,r,a,o,l){s(this,t),this._formBuilder=e,this._dialogService=n,this._httpService=i,this._i18nService=r,this._routerService=a,this._toastService=o,this._dialogRef=l,this._form=this._formBuilder.group({current:["",[A.u.required]],replacement:["",[A.u.required]],confirm:["",[A.u.required]]},{validators:function(t){var e=t.controls.confirm,n=t.controls.replacement.value==e.value?null:{confirm:!0};return e.setErrors(n),n}})}return u(t,[{key:"change",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=void 0,t.next=3,this._httpService.put("users/current/password",{current:this._form.controls.current.value,replacement:this._form.controls.replacement.value}).catch(function(t){422==t.status&&e._toastService.show(e._i18nService.translate("layouts.admin.password.invalid."+t.error))});case 3:if(t.t1=t.sent,t.t2=t.t0!==t.t1,!t.t2){t.next=12;break}return this._dialogRef.close(),t.next=9,this._httpService.delete("sessions",{reason:"Modify Password"});case 9:return t.next=11,this._dialogService.alert(this._i18nService.translate("layouts.admin.password.success"));case 11:this._routerService.navigate("/auth/login");case 12:case"end":return t.stop()}},t,this)}))}},{key:"form",get:function(){return this._form}}]),t}()).\u0275fac=function(t){return new(t||o)(d.Ob(A.d),d.Ob(I.a),d.Ob(D.a),d.Ob(C.a),d.Ob(P),d.Ob(E.a),d.Ob(R.g))},o.\u0275cmp=d.Ib({type:o,selectors:[["app-password"]],decls:29,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["autocomplete","off",3,"formGroup"],["matInput","","type","password","formControlName","current","required",""],["matInput","","type","password","formControlName","replacement","required",""],["matInput","","type","password","formControlName","confirm","required",""],["mat-dialog-actions","","align","end"],["mat-button","","color","primary",3,"disabled","click"],["mat-button","","mat-dialog-close",""]],template:function(t,e){1&t&&(d.Ub(0,"h2",0),d.Hc(1),d.gc(2,"translate"),d.Tb(),d.Ub(3,"div",1),d.Ub(4,"form",2),d.Ub(5,"mat-form-field"),d.Ub(6,"mat-label"),d.Hc(7),d.gc(8,"translate"),d.Tb(),d.Pb(9,"input",3),d.Tb(),d.Ub(10,"mat-form-field"),d.Ub(11,"mat-label"),d.Hc(12),d.gc(13,"translate"),d.Tb(),d.Pb(14,"input",4),d.Tb(),d.Ub(15,"mat-form-field"),d.Ub(16,"mat-label"),d.Hc(17),d.gc(18,"translate"),d.Tb(),d.Pb(19,"input",5),d.Tb(),d.Tb(),d.Tb(),d.Ub(20,"div",6),d.Ub(21,"button",7),d.bc("click",function(){return e.change()}),d.Hc(22),d.gc(23,"uppercase"),d.gc(24,"translate"),d.Tb(),d.Ub(25,"button",8),d.Hc(26),d.gc(27,"uppercase"),d.gc(28,"translate"),d.Tb(),d.Tb()),2&t&&(d.Cb(1),d.Ic(d.hc(2,8,"layouts.admin.password.title")),d.Cb(3),d.lc("formGroup",e.form),d.Cb(3),d.Ic(d.hc(8,10,"layouts.admin.password.current")),d.Cb(5),d.Ic(d.hc(13,12,"layouts.admin.password.replacement")),d.Cb(5),d.Ic(d.hc(18,14,"layouts.admin.password.confirm")),d.Cb(4),d.lc("disabled",e.form.invalid),d.Cb(1),d.Ic(d.hc(23,16,d.hc(24,18,"shared.dialog.ok"))),d.Cb(4),d.Ic(d.hc(27,20,d.hc(28,22,"shared.dialog.cancel"))))},directives:[R.h,R.e,A.v,A.o,A.g,Y.b,Y.e,j.b,A.c,A.n,A.f,A.t,R.c,N.a,R.d],pipes:[v.d,_.v],styles:[".mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),o),V=n("urRO"),H=n.n(V),z=n("NFeN"),B=((l=function(){function t(e,n,i,r,a){s(this,t),this._data=e,this._renderer=n,this._element=i,this._dialog=r,this._httpService=a}return u(t,[{key:"ngOnInit",value:function(){var t=this,e=this._element.nativeElement.querySelector("img");this._renderer.setAttribute(e,"src",this._data),this._renderer.setStyle(this._element.nativeElement.parentElement,"background-color","transparent"),this._renderer.setStyle(this._element.nativeElement.parentElement,"box-shadow","none"),this._renderer.setStyle(this._element.nativeElement.parentElement,"padding","0"),new H.a(e,{aspectRatio:1,dragMode:"move",minContainerWidth:document.body.clientWidth,minContainerHeight:document.body.clientHeight,background:!1,center:!1,cropBoxMovable:!1,cropBoxResizable:!1,guides:!1,highlight:!1,toggleDragModeOnDblclick:!1,ready:function(){var e=t._element.nativeElement.querySelector(".crop");t._renderer.setStyle(e,"margin-top","10px"),t._renderer.appendChild(t._element.nativeElement.querySelector(".cropper-crop-box"),e)}})}},{key:"crop",value:function(){var t=this._element.nativeElement.querySelector("img").cropper.getCroppedCanvas("",{width:128,height:128}).toDataURL("image/jpeg");this._httpService.put("users/current/profile",{avatar:t}),this._dialog.close(t)}}]),t}()).\u0275fac=function(t){return new(t||l)(d.Ob(R.a),d.Ob(d.G),d.Ob(d.l),d.Ob(R.g),d.Ob(D.a))},l.\u0275cmp=d.Ib({type:l,selectors:[["app-profile"]],decls:8,vars:3,consts:[[1,"overlay"],["alt","."],["mat-raised-button","","color","primary",1,"crop",3,"click"],["mat-mini-fab","","color","default","mat-dialog-close","",1,"close"]],template:function(t,e){1&t&&(d.Ub(0,"div",0),d.Pb(1,"img",1),d.Ub(2,"button",2),d.bc("click",function(){return e.crop()}),d.Hc(3),d.gc(4,"translate"),d.Tb(),d.Ub(5,"button",3),d.Ub(6,"mat-icon"),d.Hc(7,"clear"),d.Tb(),d.Tb(),d.Tb()),2&t&&(d.Cb(3),d.Ic(d.hc(4,1,"shared.dialog.ok")))},directives:[N.a,R.d,z.a],pipes:[v.d],styles:['.overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");overflow:hidden}.overlay[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;max-width:100%;max-height:100%}.overlay[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}']}),l),W=n("k7+O"),U=n("+qE3"),G=((c=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.call(this)}return n}(U.EventEmitter)).\u0275fac=function(t){return new(t||c)},c.\u0275prov=d.Kb({token:c,factory:c.\u0275fac,providedIn:"root"}),c),q=n("blSl"),X=n("SvPF"),Z=n("XhcP"),K=n("/t3+"),J=n("zM63"),Q=n("Qu3c"),$=n("FKr1"),tt=n("QibW"),et=n("TU8p"),nt=n("STbY"),it=n("f0Cb"),rt=n("hZOD"),at=n("ZCbZ"),ot=["$progress"];function st(t,e){if(1&t&&d.Pb(0,"img",23),2&t){var n=d.fc();d.lc("src","assets/images/"+n.settings.appLogo,d.yc)}}function lt(t,e){if(1&t&&(d.Ub(0,"mat-icon"),d.Hc(1),d.Tb()),2&t){var n=d.fc();d.Cb(1),d.Ic(n.settings.appLogo)}}function ut(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",24),d.bc("click",function(){d.wc(n);var t=d.fc();return t.layout.sidenavfold=!t.layout.sidenavfold}),d.gc(1,"translate"),d.Ub(2,"mat-icon"),d.Hc(3,"menu"),d.Tb(),d.Tb()}2&t&&d.mc("matTooltip",d.hc(1,1,"layouts.admin.fixed"))}function ct(t,e){1&t&&d.Qb(0)}function ht(t,e){1&t&&d.Qb(0)}function dt(t,e){if(1&t&&(d.Ub(0,"mat-icon",35),d.Hc(1),d.Tb()),2&t){var n=d.fc(2).$implicit;d.Cb(1),d.Ic(n.icon)}}function ft(t,e){1&t&&(d.Ub(0,"mat-icon",36),d.Hc(1,"keyboard_arrow_right"),d.Tb())}function pt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"a",31),d.bc("click",function(){d.wc(n);var t=d.fc().$implicit;return d.fc(2).menu.toggle(t)}),d.Fc(1,dt,2,1,"mat-icon",32),d.Ub(2,"span",33),d.Hc(3),d.gc(4,"translate"),d.Tb(),d.Pb(5,"span",9),d.Fc(6,ft,2,0,"mat-icon",34),d.Tb()}if(2&t){var i=d.fc().$implicit;d.Cc("padding-left",i.level>0&&55+16*(i.level-1)+"px"),d.Cb(1),d.lc("ngIf",0==i.level),d.Cb(2),d.Ic(d.hc(4,5,i.header)),d.Cb(3),d.lc("ngIf",i.children)}}function mt(t,e){if(1&t&&(d.Ub(0,"mat-icon",35),d.Hc(1),d.Tb()),2&t){var n=d.fc(2).$implicit;d.Cb(1),d.Ic(n.icon)}}var gt=function(t){return[t]};function vt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"a",37),d.bc("click",function(){d.wc(n);var t=d.fc(3),e=d.uc(3);return"mobile"==t.layout.media&&e.toggle()}),d.Fc(1,mt,2,1,"mat-icon",32),d.Ub(2,"span",33),d.Hc(3),d.gc(4,"translate"),d.Tb(),d.Tb()}if(2&t){var i=d.fc().$implicit;d.Cc("padding-left",i.level>0&&55+16*(i.level-1)+"px"),d.lc("routerLink",d.pc(7,gt,i.url)),d.Cb(1),d.lc("ngIf",0==i.level),d.Cb(2),d.Ic(d.hc(4,5,i.header))}}function yt(t,e){1&t&&d.Qb(0)}var _t=function(t,e){return{parent:t,items:e}};function bt(t,e){if(1&t&&(d.Sb(0),d.Fc(1,yt,1,0,"ng-container",12),d.Rb()),2&t){var n=d.fc().$implicit;d.fc(2);var i=d.uc(19);d.Cb(1),d.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",d.qc(2,_t,n,n.children))}}var wt=function(t,e){return{focus:t,active:e}};function kt(t,e){if(1&t&&(d.Ub(0,"li",27),d.Fc(1,ht,1,0,"ng-container",18),d.Fc(2,pt,7,7,"ng-template",null,28,d.Gc),d.Fc(4,vt,5,9,"ng-template",null,29,d.Gc),d.Fc(6,bt,2,5,"ng-container",30),d.Tb()),2&t){var n=e.$implicit,i=d.uc(3),r=d.uc(5);d.lc("ngClass",d.qc(5,wt,n.focus,n.active)),d.Cb(1),d.lc("ngIf",n.children)("ngIfThen",i)("ngIfElse",r),d.Cb(5),d.lc("ngIf",n.children)}}function xt(t,e){if(1&t&&(d.Ub(0,"ul",25),d.Fc(1,kt,7,8,"li",26),d.Tb()),2&t){var n=e.parent,i=e.items;d.Cc("max-height",n&&(n.focus?n.height+"px":0)),d.Cb(1),d.lc("ngForOf",i)}}function Mt(t,e){if(1&t&&(d.Ub(0,"mat-radio-button",49),d.Hc(1),d.Tb()),2&t){var n=e.$implicit;d.lc("value",n.lang),d.Cb(1),d.Jc("",n.desc," ")}}var St=function(t,e){return{"background-color":t,"border-color":e}},Ct=function(t){return{"border-bottom-color":t}};function Dt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",50),d.bc("click",function(){d.wc(n);var t=e.$implicit;return d.fc(2).theme=t.theme}),d.Pb(1,"div",51),d.Tb()}if(2&t){var i=e.$implicit;d.lc("ngStyle",d.qc(2,St,i.c1st,i.c1st)),d.Cb(1),d.lc("ngStyle",d.pc(5,Ct,i.c2nd))}}function Ot(t,e){if(1&t){var n=d.Vb();d.Ub(0,"div",4),d.Ub(1,"div",11),d.Ub(2,"div"),d.Ub(3,"div",38),d.Ub(4,"input",39,40),d.bc("change",function(t){return d.wc(n),d.fc().profile(t)}),d.Tb(),d.Ub(6,"button",41),d.bc("click",function(){return d.wc(n),d.uc(5).click()}),d.Pb(7,"img",42),d.Tb(),d.Ub(8,"h3"),d.Hc(9),d.Tb(),d.Ub(10,"h4"),d.Hc(11),d.gc(12,"translate"),d.Tb(),d.Ub(13,"mat-radio-group",43),d.bc("ngModelChange",function(t){return d.wc(n),d.fc().language=t}),d.Fc(14,Mt,2,2,"mat-radio-button",44),d.Tb(),d.Ub(15,"h4"),d.Hc(16),d.gc(17,"translate"),d.Tb(),d.Ub(18,"div",45),d.Fc(19,Dt,2,7,"button",46),d.Tb(),d.Ub(20,"button",47),d.bc("click",function(){return d.wc(n),d.fc().password()}),d.Hc(21),d.gc(22,"translate"),d.Tb(),d.Ub(23,"button",48),d.bc("click",function(){return d.wc(n),d.fc().logout()}),d.Hc(24),d.gc(25,"translate"),d.Tb(),d.Tb(),d.Tb(),d.Tb(),d.Tb()}if(2&t){var i=d.fc();d.lc("hidden","start"==i.layout.sidenavpos),d.Cb(7),d.lc("src",i.account.avatar,d.yc),d.Cb(2),d.Ic(i.account.name),d.Cb(2),d.Ic(d.hc(12,10,"layouts.admin.language")),d.Cb(2),d.lc("ngModel",i.language),d.Cb(1),d.lc("ngForOf",i.languages),d.Cb(2),d.Ic(d.hc(17,12,"layouts.admin.theme")),d.Cb(3),d.lc("ngForOf",i.themes),d.Cb(2),d.Ic(d.hc(22,14,"layouts.admin.password.title")),d.Cb(3),d.Ic(d.hc(25,16,"layouts.admin.logout"))}}function Tt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",24),d.bc("click",function(){d.wc(n);var t=d.fc();return t.layout.sidenavfold=!t.layout.sidenavfold}),d.gc(1,"translate"),d.Ub(2,"mat-icon"),d.Hc(3,"menu"),d.Tb(),d.Tb()}2&t&&d.mc("matTooltip",d.hc(1,1,"layouts.admin.folded"))}function Lt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",52),d.bc("click",function(){d.wc(n);var t=d.fc(),e=d.uc(3);return t.layout.sidenavpos="start",e.toggle()}),d.Ub(1,"mat-icon"),d.Hc(2,"menu"),d.Tb(),d.Tb()}}function At(t,e){1&t&&d.Qb(0)}function It(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",52),d.bc("click",function(){return d.wc(n),d.fc().messages.open()}),d.Ub(1,"mat-icon",53),d.Hc(2,"mail "),d.Tb(),d.Tb(),d.Ub(3,"button",52),d.bc("click",function(){d.wc(n);var t=d.fc(),e=d.uc(3);return t.layout.sidenavpos="end",e.toggle()}),d.Ub(4,"mat-icon"),d.Hc(5,"settings"),d.Tb(),d.Tb()}if(2&t){var i=d.fc();d.Cb(1),d.lc("matBadge",i.messages.count)("matBadgeHidden",0==i.messages.count)}}var Pt=function(t){return{lang:t}};function Et(t,e){if(1&t&&(d.Ub(0,"span"),d.Hc(1),d.gc(2,"field"),d.gc(3,"find"),d.Tb()),2&t){var n=d.fc(2);d.Cb(1),d.Ic(d.ic(2,1,d.ic(3,4,n.languages,d.pc(7,Pt,n.language)),"desc"))}}function Rt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",65),d.bc("click",function(){d.wc(n);var t=e.$implicit;return d.fc(2).language=t.lang}),d.Pb(1,"span",66),d.Ub(2,"span"),d.Hc(3),d.Tb(),d.Tb()}if(2&t){var i=e.$implicit;d.Cb(1),d.Cc("background-image","url(assets/images/"+i.lang+".svg)"),d.Cb(2),d.Ic(i.desc)}}function Yt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",67),d.bc("click",function(){return d.wc(n),d.fc(2).layout.screenfull.toggle()}),d.gc(1,"translate"),d.Ub(2,"mat-icon"),d.Hc(3),d.Tb(),d.Tb()}if(2&t){var i=d.fc(2);d.mc("matTooltip",d.hc(1,2,i.layout.screenfull.isFullscreen?"layouts.admin.fullscreen_exit":"layouts.admin.fullscreen")),d.Cb(3),d.Jc("fullscreen",i.layout.screenfull.isFullscreen&&"_exit","")}}function jt(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",65),d.bc("click",function(){d.wc(n);var t=e.$implicit;return d.fc(2).theme=t.theme}),d.Ub(1,"div",68),d.Pb(2,"div",51),d.Tb(),d.Ub(3,"span"),d.Hc(4),d.gc(5,"translate"),d.Tb(),d.Tb()}if(2&t){var i=e.$implicit;d.Cb(1),d.lc("ngStyle",d.qc(5,St,i.c1st,i.c1st)),d.Cb(1),d.lc("ngStyle",d.pc(8,Ct,i.c2nd)),d.Cb(2),d.Ic(d.hc(5,3,i.desc))}}function Nt(t,e){if(1&t){var n=d.Vb();d.Sb(0),d.Ub(1,"button",69),d.bc("click",function(){d.wc(n);var t=e.$implicit;return d.fc(2).messages.open(t.id)}),d.Pb(2,"img",23),d.Ub(3,"div"),d.Ub(4,"p"),d.Hc(5),d.Tb(),d.Ub(6,"p",70),d.Hc(7),d.gc(8,"date"),d.Tb(),d.Tb(),d.Tb(),d.Pb(9,"mat-divider"),d.Rb()}if(2&t){var i=e.$implicit,r=d.fc(2);d.Cb(2),d.lc("src",i.source.avatar||r.avatar,d.yc),d.Cb(3),d.Ic(i.subject),d.Cb(2),d.Ic(d.ic(8,3,i.time,"M/d H:mm"))}}function Ft(t,e){1&t&&(d.Sb(0),d.Ub(1,"div",71),d.Hc(2),d.gc(3,"translate"),d.Tb(),d.Pb(4,"mat-divider"),d.Rb()),2&t&&(d.Cb(2),d.Jc("",d.hc(3,1,"layouts.admin.message.empty")," "))}function Vt(t,e){if(1&t&&(d.Ub(0,"span"),d.Hc(1),d.Tb()),2&t){var n=d.fc(2);d.Cb(1),d.Ic(n.account.name)}}function Ht(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",54),d.gc(1,"translate"),d.Ub(2,"mat-icon"),d.Hc(3,"language"),d.Tb(),d.Fc(4,Et,4,9,"span",30),d.Tb(),d.Ub(5,"mat-menu",null,55),d.Fc(7,Rt,4,3,"button",56),d.Tb(),d.Fc(8,Yt,4,4,"button",57),d.Ub(9,"button",54),d.gc(10,"translate"),d.Ub(11,"mat-icon"),d.Hc(12,"color_lens"),d.Tb(),d.Tb(),d.Ub(13,"mat-menu",null,58),d.Fc(15,jt,6,10,"button",56),d.Tb(),d.Ub(16,"button",54),d.gc(17,"translate"),d.Ub(18,"mat-icon",53),d.Hc(19,"mail "),d.Tb(),d.Tb(),d.Ub(20,"mat-menu",59,60),d.Ub(22,"div",61),d.Ub(23,"span"),d.Hc(24),d.gc(25,"translate"),d.Tb(),d.Tb(),d.Fc(26,Nt,10,6,"ng-container",62),d.Fc(27,Ft,5,3,"ng-container",30),d.Ub(28,"div",63),d.bc("click",function(){return d.wc(n),d.fc().messages.open()}),d.Hc(29),d.gc(30,"translate"),d.Tb(),d.Tb(),d.Ub(31,"button",54),d.Fc(32,Vt,2,1,"span",30),d.Pb(33,"img",42),d.Tb(),d.Ub(34,"mat-menu",null,64),d.Ub(36,"input",39,40),d.bc("change",function(t){return d.wc(n),d.fc().profile(t)}),d.Tb(),d.Ub(38,"button",65),d.bc("click",function(){return d.wc(n),d.uc(37).click()}),d.Ub(39,"mat-icon"),d.Hc(40,"account_circle"),d.Tb(),d.Ub(41,"span"),d.Hc(42),d.gc(43,"translate"),d.Tb(),d.Tb(),d.Ub(44,"button",65),d.bc("click",function(){return d.wc(n),d.fc().password()}),d.Ub(45,"mat-icon"),d.Hc(46,"lock"),d.Tb(),d.Ub(47,"span"),d.Hc(48),d.gc(49,"translate"),d.Tb(),d.Tb(),d.Ub(50,"button",65),d.bc("click",function(){return d.wc(n),d.fc().logout()}),d.Ub(51,"mat-icon"),d.Hc(52,"exit_to_app"),d.Tb(),d.Ub(53,"span"),d.Hc(54),d.gc(55,"translate"),d.Tb(),d.Tb(),d.Tb()}if(2&t){var i=d.uc(6),r=d.uc(14),a=d.uc(21),o=d.uc(35),s=d.fc();d.mc("matTooltip",d.hc(1,24,"layouts.admin.language")),d.lc("matMenuTriggerFor",i),d.Cb(4),d.lc("ngIf","monitor"==s.layout.media),d.Cb(3),d.lc("ngForOf",s.languages),d.Cb(1),d.lc("ngIf","monitor"==s.layout.media&&s.layout.screenfull.isEnabled),d.Cb(1),d.mc("matTooltip",d.hc(10,26,"layouts.admin.theme")),d.lc("matMenuTriggerFor",r),d.Cb(6),d.lc("ngForOf",s.themes),d.Cb(1),d.mc("matTooltip",d.hc(17,28,"layouts.admin.message.tag")),d.lc("matMenuTriggerFor",a),d.Cb(2),d.lc("matBadge",s.messages.count)("matBadgeHidden",0==s.messages.count),d.Cb(4),d.lc("disableRipple",!0),d.Cb(2),d.Ic(d.hc(25,30,"layouts.admin.message.title")),d.Cb(2),d.lc("ngForOf",s.messages.list),d.Cb(1),d.lc("ngIf",0==s.messages.count),d.Cb(2),d.Jc(" ",d.hc(30,32,"layouts.admin.message.more"),""),d.Cb(2),d.lc("matMenuTriggerFor",o)("matTooltip",s.account.name),d.Cb(1),d.lc("ngIf","monitor"==s.layout.media),d.Cb(1),d.lc("src",s.account.avatar,d.yc),d.Cb(9),d.Ic(d.hc(43,34,"layouts.admin.profile")),d.Cb(6),d.Ic(d.hc(49,36,"layouts.admin.password.title")),d.Cb(6),d.Ic(d.hc(55,38,"layouts.admin.logout"))}}var zt,Bt,Wt,Ut,Gt=((Ut=function(){function t(e,n,i,r,a,o,l,u,c){var h=this;s(this,t),this._dialogService=e,this._eventService=n,this._httpService=i,this._i18nService=r,this._mediaService=a,this._routerService=o,this._signalrService=l,this._themeService=u,this._toastService=c,this.layout={screenfull:W,react:function(t){switch(h.layout.sidenavpos="start",h.layout.media=t){case"mobile":h.layout.sidenavfold=!0,h.layout.sidenavopen=!1;break;case"tablet":h.layout.sidenavfold=!0,h.layout.sidenavopen=!0;break;case"monitor":h.layout.sidenavfold=!1,h.layout.sidenavopen=!0}}},this.avatar=T.defaultAvatar="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCABiAGIDASIAAhEBAxEB/8QAHAABAAMBAAMBAAAAAAAAAAAAAAcICQYCAwQF/8QANBAAAQMEAQIEBAQFBQAAAAAAAQACAwQFBhEHCCESIjFBE1FhcRQyQoEWUmKRkiMkk6Gi/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AI6REQEREBEUkYH07cw8jUrbhjWG1JoXgllVVObTxP0deV0hHi/bfogjdFNt46NufrRRyVv8JwVrYwCWUddFLIfs3YJI+ihy52u5WWultt3oKiiq4HFksE8Zjexw9i09wg+VERAREQEREBERAREQWk6OOna255NJyVm9C2pstBOYaCjkHkqqhui57x7sZ2GvQu9dgEG+McccMbYomNYxjQ1rWjQaB6AD2Cjzp1t9LbODcJp6RgaySzU9Q4D3fK34jz/k4qRkBQ71E9Plg5mxqeppqOGmymiiLrfXNAa6Qgb+DIf1Md6Df5T3HbYMxIgxsq6SpoKqahrIXw1FPI6KWN405j2khzSPmCCF6lKfVJb6W18/ZlS0kYZG6tZOQP55YY5H/wDp7lFiAiIgIiICIiAiIg0d6NOSaHNeI6LHHTNbdMWAoJ4ifMYR3hkA+Xh8v3Z9Qp7WSHG/JWVcVZRBleJV3wKmMeCWN3eKoiPrHI33adfcHRGiFeXj3re4myejjjy6afGbi1m5RPE6Wnc7+h7AT39dOA18ygsUvku91t1itdXebtVMpqKihfPPM86DGNGyf7BRPeOrrgK0UElczOWXBzB2p6OllfK/6AFoH9yAqi9QnVbkHMMb8ZsFPLZsYDwXwF+5qwg9jKR28O+4YO29b3oIIt5SzR/InId/zR0Rjbda180TCdlkQ8sYP2Y1oXLIiAiIgIiICIiAi99DQ1lzrIbfbqWWpqah4jihiaXPe4+gAHqrK8Z9Cue5PFBc88ucWNUcnmNMGfGrC0jY8u/Cw77HxHY16IKxotLMO6PeDMTib+Ixl1+qQG+Ke6ymXZA7n4Y0wAn28JUrW3EcUszfDaMZtVCPlT0cce/8QEGPqLYyqs9projBW2ukqI3DRZLA17SPlohcNlfTzwxmTHi88fWlsrozGJ6SH8NI0fMOj8Pcb99oMrEV1ORegGhkimruMMpkilA8TLfdfMx2h+VszRsbP8zT91VLPeNM24yuxs2aWCpt85G43ubuKYfNkg8rx2PofZBzCIiAiIgIiINCujvhCx4hglt5FuVHHUX+/U4qoZZGb/C0zxtgZv0c5p2XfI6Gtu3Y1Vg6PeoW05PjdBxZktVDSXmzU8dJbnPd4RWU7GhrGD28bQANe417gk2gQEREBERAXO53gOLckY7UYzltrirKScbaXNHjhf7SRkjyuB/b2IIJB6JclybyZi/FOL1OUZPWsjZG1wp6fxASVMuu0bB7knWz7eqDLrkzB6vjbPL1g9dL8WS01JiEutfEYQHMfr6sc0/uuZXS8k5zcuSs4u+cXZjGVN1mEhYz8rGta1jGj6BjWj3Pb1PquaQEREBERB7aWqqaKojq6Od8M0Lg+ORh05pHuCrdcH9cVRboYMb5gimq4mBscV5hHilA9P8AWZ+r224HfqSCVUBEGwGMZhi+aW1l3xS+0d0pHgO+JTyh3h2NgOHq0/QgFfsLHrHsnyLE69t0xm91trq2+k1LM6N376PdS9Yes3nux08VLJklJc2Rdt19EyR7h/U9vhcfvvaDSdeEssUEb5ppGxxxtLnPcdBoHqST6BZ31/XTzpWMDKd+P0JH6qe3Ek/8j3BRfmvNHKPIQkiy3NblXU8ri80vxPhwDfsI2abr6aQXl5g6xOOuO4qi2Y3PHk18a0tbFTSf7aJ+u3jlGwfUHTd7G+4KonyVynmnK9+ffswur6l/pBA3yw07PZjGjsB/2SSfcrkUQEREBERAREQEREBERAREQEREBERAREQf/9k=",this.account={name:"...",avatar:this.avatar},this.menu={},this.messages={open:function(t){h._routerService.navigate("/message",{id:t})}},this._alive=!0,this.init(),this.online(),this.message(),this.layout.react(this._mediaService.current),this._mediaService.onchange.subscribe(this.layout.react)}return u(t,[{key:"ngOnDestroy",value:function(){var t,e;this._alive=!1,null===(t=this._onlineHub)||void 0===t||t.stop(),null===(e=this._messageHub)||void 0===e||e.stop()}},{key:"init",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._httpService.join(this._httpService.get("users/current"),this._httpService.get("users/current/routes")).catch();case 2:(e=t.sent)&&(this.account.name=e[0].name,this.account.avatar=e[0].avatar||this.avatar,this.menu={items:this._routerService.init(e[1]),toggle:function(t){return n._routerService.focus(t)}});case 4:case"end":return t.stop()}},t,this)}))}},{key:"online",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=this._alive,!t.t0){t.next=5;break}return t.next=4,this._signalrService.connect("identity",{conflict:function(){return Object(x.a)(e,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._onlineHub.stop(),t.next=3,this._dialogService.alert(this._i18nService.translate("shared.notification.conflict"));case 3:this._routerService.navigate("/auth/login");case 4:case"end":return t.stop()}},t,this)}))}}).catch(function(t){t&&setTimeout(function(){return Object(x.a)(e,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.online();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)}))},5e3)});case 4:this._onlineHub=t.sent;case 5:case"end":return t.stop()}},t,this)}))}},{key:"message",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((e=function(){return Object(x.a)(n,void 0,void 0,regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._httpService.get("users/current/messages?flag=false&limit=5").catch();case 2:(e=t.sent)&&(this.messages.count=e.total,this.messages.list=e.items);case 4:case"end":return t.stop()}},t,this)}))})(),t.t0=this._alive,!t.t0){t.next=7;break}return t.next=6,this._signalrService.connect("message",{notify:function(){return Object(x.a)(n,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:this.messages.count>0&&this._toastService.show(this._i18nService.translate("layouts.admin.message.notify"));case 3:case"end":return t.stop()}},t,this)}))}}).catch(function(t){t&&setTimeout(function(){return Object(x.a)(n,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.message();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)}))},5e3)});case 6:this._messageHub=t.sent;case 7:this._eventService.on("openMessage",e);case 8:case"end":return t.stop()}},t,this)}))}},{key:"profile",value:function(t){var e=this,n=new FileReader;t.path[0].files.length&&(n.readAsDataURL(t.path[0].files[0]),n.onload=function(){e._dialogService.open(B,{width:"100vw",height:"100vh",maxWidth:"100vw",maxHeight:"100vh",restoreFocus:!1,data:n.result}).then(function(n){t.path[0].value=null,n&&(e.account.avatar=n)})})}},{key:"password",value:function(){this._dialogService.open(F,{autoFocus:!1})}},{key:"logout",value:function(){this._$progress.progressRef=null,this._httpService.delete("sessions",{reason:"Logout"}),this._routerService.navigate("/auth/login")}},{key:"settings",get:function(){return T}},{key:"languages",get:function(){return this._i18nService.items}},{key:"language",get:function(){return this._i18nService.current},set:function(t){this._i18nService.current=t}},{key:"themes",get:function(){return this._themeService.items}},{key:"theme",get:function(){return this._themeService.current},set:function(t){this._themeService.current=t}}]),t}()).\u0275fac=function(t){return new(t||Ut)(d.Ob(I.a),d.Ob(G),d.Ob(D.a),d.Ob(C.a),d.Ob(q.a),d.Ob(P),d.Ob(O.a),d.Ob(X.a),d.Ob(E.a))},Ut.\u0275cmp=d.Ib({type:Ut,selectors:[["app-admin"]],viewQuery:function(t,e){var n;1&t&&d.Oc(ot,!0),2&t&&d.tc(n=d.cc())&&(e._$progress=n.first)},decls:36,vars:24,consts:[[1,"app-layout"],[1,"app-sidenav-container",3,"hasBackdrop"],[1,"app-sidenav",3,"position","mode","disableClose","opened"],["$sidenav",""],[1,"app-sidenav-wrap",3,"hidden"],[1,"app-header"],[1,"branding"],[3,"src",4,"ngIf","ngIfElse"],["$logo",""],[1,"spacer"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],[1,"app-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["$menu",""],["class","app-sidenav-wrap",3,"hidden",4,"ngIf"],[1,"app-sidenav-content"],[1,"app-sidenav-wrap"],["mat-icon-button","",3,"click",4,"ngIf"],[4,"ngIf","ngIfThen","ngIfElse"],["$collapse",""],["$expand",""],[3,"fixed","meteor","spinner","color"],["$progress",""],[3,"src"],["mat-icon-button","",3,"matTooltip","click"],[1,"app-menu"],["class","app-menu-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"app-menu-item",3,"ngClass"],["$group",""],["$item",""],[4,"ngIf"],["matRipple","","href","javascript:void(0);",3,"click"],["class","app-menu-icon",4,"ngIf"],[1,"app-menu-name"],["class","app-menu-caret",4,"ngIf"],[1,"app-menu-icon"],[1,"app-menu-caret"],["matRipple","",3,"routerLink","click"],[1,"app-setting"],["type","file","accept",".jpg,.jpeg,.png,.gif,.bmp,.tiff","hidden","true",3,"change"],["$avatar",""],[1,"avatar",3,"click"],[1,"avatar",3,"src"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"theme"],[3,"ngStyle","click",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","warn",3,"click"],[3,"value"],[3,"ngStyle","click"],[3,"ngStyle"],["mat-icon-button","",3,"click"],["matBadgeColor","warn",3,"matBadge","matBadgeHidden"],["mat-button","",3,"matMenuTriggerFor","matTooltip"],["$language","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-button","",3,"matTooltip","click",4,"ngIf"],["$theme","matMenu"],[1,"unlimited"],["$message","matMenu"],["mat-menu-item","",1,"mat-menu-item-header","app-background-focus",3,"disableRipple"],[4,"ngFor","ngForOf"],["mat-menu-item","",1,"mat-menu-item-footer",3,"click"],["$profile","matMenu"],["mat-menu-item","",3,"click"],[1,"mat-icon","flag"],["mat-button","",3,"matTooltip","click"],[1,"mat-icon","theme",3,"ngStyle"],["mat-menu-item","",1,"mat-menu-item-content",3,"click"],[1,"app-foreground-secondary"],["mat-menu-item","","disabled","",1,"mat-menu-item-empty"]],template:function(t,e){if(1&t&&(d.Ub(0,"div",0),d.Ub(1,"mat-sidenav-container",1),d.Ub(2,"mat-sidenav",2,3),d.Ub(4,"div",4),d.Ub(5,"mat-toolbar",5),d.Ub(6,"div",6),d.Fc(7,st,1,1,"img",7),d.Fc(8,lt,2,1,"ng-template",null,8,d.Gc),d.Ub(10,"span"),d.Hc(11),d.gc(12,"translate"),d.Tb(),d.Tb(),d.Pb(13,"div",9),d.Fc(14,ut,4,3,"button",10),d.Tb(),d.Ub(15,"div",11),d.Ub(16,"div"),d.Fc(17,ct,1,0,"ng-container",12),d.Fc(18,xt,2,3,"ng-template",null,13,d.Gc),d.Tb(),d.Tb(),d.Tb(),d.Fc(20,Ot,26,18,"div",14),d.Tb(),d.Ub(21,"mat-sidenav-content",15),d.Ub(22,"div",16),d.Ub(23,"mat-toolbar",5),d.Fc(24,Tt,4,3,"button",10),d.Fc(25,Lt,3,0,"button",17),d.Pb(26,"div",9),d.Fc(27,At,1,0,"ng-container",18),d.Fc(28,It,6,2,"ng-template",null,19,d.Gc),d.Fc(30,Ht,56,40,"ng-template",null,20,d.Gc),d.Tb(),d.Ub(32,"div",11),d.Pb(33,"ng-progress",21,22),d.Pb(35,"router-outlet"),d.Tb(),d.Tb(),d.Tb(),d.Tb(),d.Tb()),2&t){var n=d.uc(9),i=d.uc(19),r=d.uc(29),a=d.uc(31);d.Cb(1),d.lc("hasBackdrop","mobile"==e.layout.media),d.Cb(1),d.lc("position",e.layout.sidenavpos)("mode",e.layout.sidenavfold?"over":"side")("disableClose","mobile"!=e.layout.media)("opened",e.layout.sidenavopen||"mobile"!=e.layout.media),d.Cb(2),d.lc("hidden","end"==e.layout.sidenavpos),d.Cb(3),d.lc("ngIf",e.settings.appLogoAssets)("ngIfElse",n),d.Cb(4),d.Ic(d.hc(12,22,e.settings.appName)),d.Cb(3),d.lc("ngIf","monitor"==e.layout.media&&e.layout.sidenavfold),d.Cb(3),d.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",e.menu),d.Cb(3),d.lc("ngIf","mobile"==e.layout.media),d.Cb(4),d.lc("ngIf",!e.layout.sidenavfold),d.Cb(1),d.lc("ngIf","mobile"==e.layout.media),d.Cb(2),d.lc("ngIf","mobile"==e.layout.media)("ngIfThen",r)("ngIfElse",a),d.Cb(6),d.lc("fixed",!1)("meteor",!1)("spinner",!1)("color",null)}},directives:[Z.b,Z.a,K.a,_.n,_.s,Z.c,J.b,k.i,z.a,N.a,Q.c,_.m,_.l,$.t,k.g,tt.c,A.n,A.q,tt.b,_.o,et.a,nt.e,nt.a,nt.c,it.a],pipes:[v.d,rt.a,at.a,_.e],styles:[".app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%]{position:relative;height:55px;border-bottom:1px solid}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%]{display:flex;flex-shrink:0;width:199px;height:55px;margin:0 -16px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] ~ .mat-icon-button[_ngcontent-%COMP%]{margin-right:-8px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:55px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{width:55px;height:55px;line-height:55px;text-align:center;font-size:24px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{line-height:55px;font-size:18px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{height:55px;margin:0;border-radius:0;min-width:55px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]:last-of-type{margin-right:-16px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] + .avatar[_ngcontent-%COMP%], .app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] + .mat-icon[_ngcontent-%COMP%]{margin-left:8px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{width:38.5px;height:38.5px;border-radius:50%}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{margin:0 4px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:first-of-type{margin-left:0}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:last-of-type{margin-right:0}.app-layout[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%]{position:relative;width:100%;height:calc(100% - 55px)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav-wrap[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%]{width:255px;box-shadow:0 55px 3px rgba(0,0,0,.2)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%]{overflow:hidden}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:272px;height:100%;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]::-webkit-scrollbar:vertical{width:17px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%]{width:255px;margin:0;padding:0;list-style:none}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%]{display:block;height:auto;padding:0}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:48px;padding:0 16px;line-height:18px;text-decoration:none;-webkit-box-align:center}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 0%}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-icon[_ngcontent-%COMP%]{width:18px;height:18px;margin-left:2px;margin-right:20px;font-size:18px;line-height:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-name[_ngcontent-%COMP%]{margin-right:5px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-caret[_ngcontent-%COMP%]{display:block;text-align:center;transition:transform .2s cubic-bezier(.4,0,.2,1)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%]{margin-left:-20px;overflow:hidden;opacity:0;transition:all .2s cubic-bezier(.4,0,.2,1)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item.focus[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-caret[_ngcontent-%COMP%]{transform:rotate(90deg)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%]{margin-left:0;opacity:1}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:8px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{width:102px;height:102px;padding:0;background:none;border:none;border-radius:50%;align-self:center}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;height:100%}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] + h3[_ngcontent-%COMP%]{align-self:center}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .mat-radio-group[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;margin-bottom:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .mat-radio-group[_ngcontent-%COMP%] .mat-radio-button[_ngcontent-%COMP%]{margin-bottom:8px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%]{margin-bottom:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:36px;height:36px;padding:0;border:1px solid;overflow:hidden;cursor:pointer}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:0;height:0;padding:0;border-bottom:35px solid;border-left:35px solid transparent}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav-content[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%]{box-shadow:0 0 3px rgba(0,0,0,.2)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav-content[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]{width:55px;transition:width .3s cubic-bezier(.25,.8,.25,1);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%]{display:none}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover, .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover{width:255px}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%]{display:block}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] ~ .app-sidenav-content[_ngcontent-%COMP%] .app-sidenav-wrap[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] ~ .app-sidenav-content[_ngcontent-%COMP%] .app-sidenav-wrap[_ngcontent-%COMP%]{width:calc(100% - 55px);margin-left:55px}.mat-icon.flag[_ngcontent-%COMP%]{background-position:0}.mat-icon.theme[_ngcontent-%COMP%]{width:24px;height:24px;padding:0;border:1px solid;overflow:hidden}.mat-icon.theme[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:0;height:0;padding:0;border-bottom:23px solid;border-left:23px solid transparent}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%]{display:flex;margin-top:-8px;min-width:360px;flex-direction:row;align-items:center;cursor:default}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%] [_ngcontent-%COMP%]:first-child{flex:auto}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{margin-right:-8px}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:0}.mat-menu-item.mat-menu-item-footer[_ngcontent-%COMP%]{margin-bottom:-8px}.mat-menu-item.mat-menu-item-empty[_ngcontent-%COMP%]{height:96px;text-align:center;line-height:96px}.mat-menu-item.mat-menu-item-content[_ngcontent-%COMP%]{display:flex;height:64px;align-items:center}.mat-menu-item.mat-menu-item-content[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:50%}.mat-menu-item.mat-menu-item-content[_ngcontent-%COMP%] > img[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:1.5}"],data:{animation:[Object(M.m)("expand",[Object(M.j)("collapsed",Object(M.k)({height:"0",maxHeight:"0"})),Object(M.j)("expanded",Object(M.k)({height:"*",maxHeight:"unset"})),Object(M.l)("expanded <=> collapsed",Object(M.e)("200ms cubic-bezier(.4, 0, .2, 1)"))])]}}),Ut),qt=((Wt=function(){function t(e){s(this,t),this._httpService=e}return u(t,[{key:"canActivate",value:function(t,e){var n=this;return t.component==Gt&&"/"!=e.url||new Promise(function(t){n._httpService.get("users/current/routes/"+encodeURIComponent(e.url).toLowerCase()).then(function(){return t(!0)},function(){return t(!1)})})}},{key:"canActivateChild",value:function(t,e){return!(t.component&&!t.data.anymouse)||this.canActivate(t,e)}}]),t}()).\u0275fac=function(t){return new(t||Wt)(d.Yb(D.a))},Wt.\u0275prov=d.Kb({token:Wt,factory:Wt.\u0275fac,providedIn:"root"}),Wt),Xt=((Bt=function t(){s(this,t)}).\u0275mod=d.Mb({type:Bt}),Bt.\u0275inj=d.Lb({factory:function(t){return new(t||Bt)},imports:[[w.a]]}),Bt),Zt=((zt=function(){function t(e){s(this,t),this._themeService=e}return u(t,[{key:"theme",get:function(){return this._themeService.current}}]),t}()).\u0275fac=function(t){return new(t||zt)(d.Ob(X.a))},zt.\u0275cmp=d.Ib({type:zt,selectors:[["app-auth"]],decls:2,vars:1,consts:[[1,"app-layout",3,"ngClass"]],template:function(t,e){1&t&&(d.Ub(0,"div",0),d.Pb(1,"router-outlet"),d.Tb()),2&t&&d.lc("ngClass","theme-"+e.theme)},directives:[_.l,k.i],styles:[".app-layout[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}"]}),zt),Kt=n("0EQZ"),Jt=n("iadO"),Qt=n("1dzw"),$t=n("d3UM"),te=n("qUOr"),ee=n("+0xr"),ne=n("M9IT"),ie=n("bSwM");function re(t,e){if(1&t){var n=d.Vb();d.Ub(0,"div",2),d.Ub(1,"div",3),d.Ub(2,"mat-toolbar",4),d.Ub(3,"button",5),d.bc("click",function(){return d.wc(n),d.fc().exit()}),d.gc(4,"translate"),d.Ub(5,"mat-icon"),d.Hc(6,"arrow_back"),d.Tb(),d.Tb(),d.Ub(7,"h2",6),d.Hc(8),d.Tb(),d.Ub(9,"button",5),d.bc("click",function(){d.wc(n);var t=d.fc();return t.mark(!1,t.detail.id)}),d.gc(10,"translate"),d.gc(11,"lowercase"),d.gc(12,"translate"),d.Ub(13,"mat-icon"),d.Hc(14,"mail"),d.Tb(),d.Tb(),d.Ub(15,"button",5),d.bc("click",function(){d.wc(n);var t=d.fc();return t.delete(t.detail.id)}),d.gc(16,"translate"),d.Ub(17,"mat-icon"),d.Hc(18,"delete"),d.Tb(),d.Tb(),d.Tb(),d.Pb(19,"mat-divider"),d.Ub(20,"div",7),d.Pb(21,"img",8),d.Ub(22,"div"),d.Ub(23,"p"),d.Hc(24),d.Tb(),d.Ub(25,"p",9),d.Hc(26),d.gc(27,"date"),d.Tb(),d.Tb(),d.Tb(),d.Tb(),d.Ub(28,"div",10),d.Ub(29,"p",11),d.Hc(30),d.Tb(),d.Tb(),d.Tb()}if(2&t){var i=d.fc();d.Cb(3),d.mc("matTooltip",d.hc(4,9,"shared.operation.back")),d.Cb(5),d.Ic(i.detail.subject),d.Cb(1),d.nc("matTooltip","",d.hc(10,11,"layouts.admin.message.markas"),"",d.hc(11,13,d.hc(12,15,"layouts.admin.message.unread")),""),d.Cb(6),d.mc("matTooltip",d.hc(16,17,"shared.operation.delete")),d.Cb(6),d.lc("src",i.detail.source.avatar,d.yc),d.Cb(3),d.Ic(i.detail.source.name),d.Cb(2),d.Ic(d.ic(27,19,i.detail.time,"yyyy-MM-dd HH:mm")),d.Cb(4),d.Ic(i.detail.content)}}function ae(t,e){if(1&t&&(d.Ub(0,"mat-option",43),d.Hc(1),d.gc(2,"translate"),d.Tb()),2&t){var n=e.$implicit;d.lc("value",n.id),d.Cb(1),d.Ic(d.hc(2,2,n.name))}}var oe=function(t){return{len:t}};function se(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-toolbar",44),d.Ub(1,"span",45),d.Hc(2),d.gc(3,"translate"),d.Tb(),d.Ub(4,"button",5),d.bc("click",function(){return d.wc(n),d.fc(2).mark(!0)}),d.gc(5,"translate"),d.gc(6,"lowercase"),d.gc(7,"translate"),d.Ub(8,"mat-icon"),d.Hc(9,"drafts"),d.Tb(),d.Tb(),d.Ub(10,"button",5),d.bc("click",function(){return d.wc(n),d.fc(2).mark(!1)}),d.gc(11,"translate"),d.gc(12,"lowercase"),d.gc(13,"translate"),d.Ub(14,"mat-icon"),d.Hc(15,"mail"),d.Tb(),d.Tb(),d.Ub(16,"button",5),d.bc("click",function(){return d.wc(n),d.fc(2).delete()}),d.gc(17,"translate"),d.Ub(18,"mat-icon"),d.Hc(19,"delete"),d.Tb(),d.Tb(),d.Tb()}if(2&t){var i=d.fc(2);d.Cb(2),d.Ic(d.ic(3,6,"shared.data.selected",d.pc(23,oe,i.list.selection.selected.length))),d.Cb(2),d.nc("matTooltip","",d.hc(5,9,"layouts.admin.message.markas"),"",d.hc(6,11,d.hc(7,13,"layouts.admin.message.read")),""),d.Cb(6),d.nc("matTooltip","",d.hc(11,15,"layouts.admin.message.markas"),"",d.hc(12,17,d.hc(13,19,"layouts.admin.message.unread")),""),d.Cb(6),d.mc("matTooltip",d.hc(17,21,"shared.operation.deletes"))}}var le=function(t){return{"app-foreground-primary":t}};function ue(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-toolbar",4),d.Ub(1,"button",46),d.bc("click",function(){return d.wc(n),d.fc(2).refresh()}),d.Hc(2),d.gc(3,"uppercase"),d.gc(4,"translate"),d.Tb(),d.Pb(5,"span",47),d.Ub(6,"button",48),d.bc("click",function(){d.wc(n);var t=d.fc(2);return t.list.colorful=!t.list.colorful}),d.gc(7,"translate"),d.Ub(8,"mat-icon"),d.Hc(9,"brush"),d.Tb(),d.Tb(),d.Ub(10,"button",5),d.bc("click",function(){return d.wc(n),d.fc(),d.uc(2).toggle()}),d.gc(11,"translate"),d.Ub(12,"mat-icon"),d.Hc(13,"filter_list"),d.Tb(),d.Tb(),d.Tb(),d.Pb(14,"mat-divider")}if(2&t){var i=d.fc(2);d.Cb(2),d.Ic(d.hc(3,4,d.hc(4,6,"layouts.admin.message.receive"))),d.Cb(4),d.mc("matTooltip",d.hc(7,8,"shared.operation.dyeing")),d.lc("ngClass",d.pc(12,le,i.list.colorful)),d.Cb(4),d.mc("matTooltip",d.hc(11,10,"shared.operation.filter"))}}function ce(t,e){if(1&t){var n=d.Vb();d.Ub(0,"th",49),d.Ub(1,"mat-checkbox",50),d.bc("change",function(t){return d.wc(n),d.fc(2).select(t)}),d.Tb(),d.Tb()}if(2&t){var i=d.fc(2);d.Cb(1),d.lc("checked",i.list.selection.hasValue()&&i.list.selection.selected.length==i.list.rows.length)("indeterminate",i.list.selection.hasValue()&&i.list.selection.selected.length!=i.list.rows.length)}}function he(t,e){if(1&t){var n=d.Vb();d.Ub(0,"td",51),d.Ub(1,"mat-checkbox",52),d.bc("change",function(t){d.wc(n);var i=e.$implicit,r=d.fc(2);return t?r.list.selection.toggle(i):null}),d.Tb(),d.Tb()}if(2&t){var i=e.$implicit,r=d.fc(2);d.Cb(1),d.lc("checked",r.list.selection.isSelected(i))}}function de(t,e){1&t&&(d.Ub(0,"th",49),d.Hc(1),d.gc(2,"translate"),d.Tb()),2&t&&(d.Cb(1),d.Ic(d.hc(2,1,"layouts.admin.message.subject")))}function fe(t,e){if(1&t){var n=d.Vb();d.Ub(0,"td",51),d.Ub(1,"a",53),d.bc("click",function(){d.wc(n);var t=e.$implicit;return d.fc(2).read(t.id)}),d.Hc(2),d.Tb(),d.Tb()}if(2&t){var i=e.$implicit;d.Gb("bold",!i.flag),d.Cb(2),d.Ic(i.subject)}}function pe(t,e){1&t&&(d.Ub(0,"th",49),d.Hc(1),d.gc(2,"translate"),d.Tb()),2&t&&(d.Cb(1),d.Ic(d.hc(2,1,"layouts.admin.message.time")))}function me(t,e){if(1&t&&(d.Ub(0,"td",51),d.Hc(1),d.gc(2,"date"),d.Tb()),2&t){var n=e.$implicit;d.Cb(1),d.Jc(" ",d.ic(2,1,n.time,"yyyy-MM-dd HH:mm")," ")}}function ge(t,e){1&t&&(d.Ub(0,"th",49),d.Hc(1),d.gc(2,"translate"),d.Tb()),2&t&&(d.Cb(1),d.Ic(d.hc(2,1,"layouts.admin.message.source")))}function ve(t,e){if(1&t&&(d.Ub(0,"td",51),d.Hc(1),d.Tb()),2&t){var n=e.$implicit;d.Cb(1),d.Jc(" ",n.source.name," ")}}function ye(t,e){1&t&&d.Pb(0,"tr",54)}var _e=function(t){return{"app-background-accent-lighter":t}};function be(t,e){if(1&t&&d.Pb(0,"tr",55),2&t){var n=e.$implicit,i=d.fc(2);d.lc("ngClass",d.pc(1,_e,i.list.colorful&&!n.flag))}}function we(t,e){if(1&t&&(d.Ub(0,"tr",56),d.Ub(1,"td",57),d.Hc(2),d.gc(3,"translate"),d.Tb(),d.Tb()),2&t){var n=d.fc(2);d.lc("hidden",n.list.loading),d.Cb(1),d.Db("colspan",n.list.columns.length),d.Cb(1),d.Jc("",d.hc(3,3,"shared.data.empty")," ")}}var ke=function(){return{id:!1,name:"layouts.admin.message.unread"}},xe=function(){return{id:!0,name:"layouts.admin.message.read"}},Me=function(t,e){return[t,e]};function Se(t,e){if(1&t){var n=d.Vb();d.Ub(0,"mat-sidenav-container",12),d.Ub(1,"mat-sidenav",13,14),d.Ub(3,"form",15),d.Ub(4,"mat-form-field"),d.Ub(5,"mat-label"),d.Hc(6),d.gc(7,"translate"),d.Tb(),d.Pb(8,"input",16),d.Tb(),d.Ub(9,"mat-form-field"),d.Ub(10,"mat-label"),d.Hc(11),d.gc(12,"translate"),d.Tb(),d.Pb(13,"input",17),d.Tb(),d.Ub(14,"mat-form-field"),d.Ub(15,"mat-label"),d.Hc(16),d.gc(17,"translate"),d.Tb(),d.Ub(18,"mat-date-range-input",18),d.Ub(19,"input",19),d.bc("focus",function(){return d.wc(n),d.uc(23).open()}),d.Tb(),d.Ub(20,"input",20),d.bc("focus",function(){return d.wc(n),d.uc(23).open()}),d.Tb(),d.Tb(),d.Pb(21,"mat-datepicker-toggle",21),d.Pb(22,"mat-date-range-picker",null,22),d.Tb(),d.Ub(24,"mat-form-field"),d.Ub(25,"mat-label"),d.Hc(26),d.gc(27,"translate"),d.Tb(),d.Ub(28,"mat-select",23),d.Fc(29,ae,3,4,"mat-option",24),d.Tb(),d.Tb(),d.Tb(),d.Ub(30,"button",25),d.bc("click",function(){d.wc(n);var t=d.uc(2);return d.fc().search(),t.toggle()}),d.Hc(31),d.gc(32,"uppercase"),d.gc(33,"translate"),d.Tb(),d.Ub(34,"button",26),d.bc("click",function(){d.wc(n);var t=d.uc(2);return d.fc().reset(),t.toggle()}),d.Hc(35),d.gc(36,"uppercase"),d.gc(37,"translate"),d.Tb(),d.Tb(),d.Ub(38,"mat-sidenav-content",27),d.Ub(39,"div",3),d.Fc(40,se,20,25,"mat-toolbar",28),d.Fc(41,ue,15,14,"ng-template",null,29,d.Gc),d.Tb(),d.Ub(43,"div",30),d.Ub(44,"table",31),d.Sb(45,32),d.Fc(46,ce,2,2,"th",33),d.Fc(47,he,2,1,"td",34),d.Rb(),d.Sb(48,35),d.Fc(49,de,3,3,"th",33),d.Fc(50,fe,3,3,"td",36),d.Rb(),d.Sb(51,37),d.Fc(52,pe,3,3,"th",33),d.Fc(53,me,3,4,"td",34),d.Rb(),d.Sb(54,38),d.Fc(55,ge,3,3,"th",33),d.Fc(56,ve,2,1,"td",34),d.Rb(),d.Fc(57,ye,1,0,"tr",39),d.Fc(58,be,1,3,"tr",40),d.Fc(59,we,4,5,"tr",41),d.Tb(),d.Tb(),d.Ub(60,"div",3),d.Pb(61,"mat-divider"),d.Ub(62,"mat-paginator",42),d.bc("page",function(t){return d.wc(n),d.fc().refresh(t)}),d.Tb(),d.Tb(),d.Tb(),d.Tb()}if(2&t){var i=d.uc(23),r=d.uc(42),a=d.fc();d.Cb(3),d.lc("formGroup",a.list.filter.form),d.Cb(3),d.Ic(d.hc(7,20,"layouts.admin.message.subject")),d.Cb(5),d.Ic(d.hc(12,22,"layouts.admin.message.source")),d.Cb(5),d.Ic(d.hc(17,24,"layouts.admin.message.time")),d.Cb(2),d.lc("rangePicker",i),d.Cb(3),d.lc("for",i),d.Cb(5),d.Ic(d.hc(27,26,"layouts.admin.message.flag")),d.Cb(3),d.lc("ngForOf",d.qc(38,Me,d.oc(36,ke),d.oc(37,xe))),d.Cb(2),d.Ic(d.hc(32,28,d.hc(33,30,"shared.operation.filter"))),d.Cb(4),d.Ic(d.hc(36,32,d.hc(37,34,"shared.operation.reset"))),d.Cb(3),d.lc("loading",a.list.loading),d.Cb(2),d.lc("ngIf",a.list.selection.hasValue())("ngIfElse",r),d.Cb(4),d.lc("dataSource",a.list.rows),d.Cb(13),d.lc("matHeaderRowDef",a.list.columns)("matHeaderRowDefSticky",!0),d.Cb(1),d.lc("matRowDefColumns",a.list.columns),d.Cb(4),d.lc("length",a.list.total)("pageIndex",a.list.pageIndex)("pageSize",a.list.pageSize)}}var Ce,De=((Ce=function(){function t(e,n,i,r,a,o,l,u){var c=this;s(this,t),this._activatedRoute=e,this._formBuilder=n,this._eventService=i,this._dialogService=r,this._httpService=a,this._i18nService=o,this._routerService=l,this._toastService=u,this.detail={id:null,subject:null,time:null,content:null,source:{name:null,avatar:null}},this.list={loading:!0,colorful:!1,columns:["select","subject","time","source"],rows:[],total:0,selection:new Kt.c(!0,[]),pageIndex:0,pageSize:30,filter:{query:"",form:this._formBuilder.group({subject:"",source:"",start:"",end:"",flag:""})}},this._activatedRoute.queryParams.subscribe(function(t){return Object(x.a)(c,void 0,void 0,regeneratorRuntime.mark(function e(){var n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.view=null,e.t0=t.id,!e.t0){e.next=18;break}return e.next=5,this._httpService.get("users/current/messages/"+t.id);case 5:if(this.detail=e.sent,!this.detail){e.next=15;break}if(this.view="detail",null!==(n=(i=this.detail.source).avatar)&&void 0!==n||(i.avatar=T.defaultAvatar),e.t1=0==this.detail.flag,!e.t1){e.next=13;break}return e.next=13,this._httpService.post("users/current/messages/batch",{method:"update",data:[{id:t.id,flag:!0}]});case 13:e.next=18;break;case 15:return e.next=17,this._dialogService.alert(this._i18nService.translate("layouts.admin.message.exception"));case 17:this._routerService.navigate("/message");case 18:null==this.view&&(this.view="list",this.refresh()),this._eventService.emit("openMessage");case 20:case"end":return e.stop()}},e,this)}))})}return u(t,[{key:"select",value:function(t){var e=this;t&&(this.list.selection.selected.length==this.list.rows.length?this.list.selection.clear():this.list.rows.forEach(function(t){return e.list.selection.select(t)}))}},{key:"refresh",value:function(t){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var n,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t&&void 0!==t.pageIndex&&(this.list.pageIndex=t.pageIndex,this.list.pageSize=t.pageSize),n=null,i=-1;case 2:if(!(this.list.pageIndex>i)){e.next=10;break}return i>-1&&(this.list.pageIndex=i),e.next=6,this._httpService.get("users/current/messages?".concat(this.list.filter.query,"offset=").concat(this.list.pageSize*this.list.pageIndex,"&limit=").concat(this.list.pageSize));case 6:n=e.sent,i=n?Math.max(0,Math.ceil(n.total/this.list.pageSize)-1):Number.MAX_VALUE;case 8:e.next=2;break;case 10:this.list.loading=!1,n&&(this.list.total=n.total,this.list.rows=n.items,this.list.selection.clear());case 11:case"end":return e.stop()}},e,this)}))}},{key:"search",value:function(){var t="";for(var e in this.list.filter.form.controls){var n=this.list.filter.form.controls[e].value;(null==n?void 0:n.format)?t+="".concat(e,"=").concat(n.format("yyyy-MM-DD"),"&"):(null==n?void 0:n.toString().length)&&(t+="".concat(e,"=").concat(n,"&"))}this.list.filter.query=t,this.list.pageIndex=0,this.refresh(),this._eventService.emit("openMessage")}},{key:"reset",value:function(){for(var t in this.list.filter.form.controls)this.list.filter.form.controls[t].reset("");this.list.filter.query="",this.list.pageIndex=0,this.refresh()}},{key:"mark",value:function(t,e){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=void 0,n.next=3,this._httpService.post("users/current/messages/batch",{method:"update",data:e?[{id:e,flag:t}]:this.list.selection.selected.map(function(e){return{id:e.id,flag:t}})});case 3:if(n.t1=n.sent,n.t2=n.t0!==n.t1,!n.t2){n.next=7;break}this._toastService.show(this._i18nService.translate("shared.notification.success")),this.refresh(),this._eventService.emit("openMessage");case 7:case"end":return n.stop()}},n,this)}))}},{key:"delete",value:function(t){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._dialogService.confirm(this._i18nService.translate("shared.notification.confirm"));case 2:if(e.t0=e.sent,!e.t0){e.next=9;break}return e.t1=void 0,e.next=7,this._httpService.post("users/current/messages/batch",{method:"delete",data:t?[{id:t}]:this.list.selection.selected.map(function(t){return{id:t.id}})});case 7:e.t2=e.sent,e.t0=e.t1!==e.t2;case 9:if(e.t3=e.t0,!e.t3){e.next=12;break}this._toastService.show(this._i18nService.translate("shared.notification.success")),t?this._routerService.navigate("/message"):this.refresh();case 12:case"end":return e.stop()}},e,this)}))}},{key:"read",value:function(t){this._routerService.navigate("/message",{id:t})}},{key:"exit",value:function(){this._routerService.navigate("/message")}}]),t}()).\u0275fac=function(t){return new(t||Ce)(d.Ob(k.a),d.Ob(A.d),d.Ob(G),d.Ob(I.a),d.Ob(D.a),d.Ob(C.a),d.Ob(P),d.Ob(E.a))},Ce.\u0275cmp=d.Ib({type:Ce,selectors:[["app-message"]],decls:2,vars:2,consts:[["class","grid",4,"ngIf"],["hasBackdrop","true",4,"ngIf"],[1,"grid"],[1,"row-auto"],[1,"app-background-card"],["mat-icon-button","",3,"matTooltip","click"],[1,"spacer","header"],[1,"source"],[3,"src"],[1,"app-foreground-secondary"],[1,"row-fill","app-background-card"],[2,"margin","24px"],["hasBackdrop","true"],["mode","over","position","end","autoFocus","false"],["$filter",""],["autocomplete","off",3,"formGroup"],["matInput","","formControlName","subject"],["matInput","","formControlName","source"],[3,"rangePicker"],["matStartDate","","readonly","","formControlName","start",3,"focus"],["matEndDate","","readonly","","formControlName","end",3,"focus"],["matSuffix","",3,"for"],["$picker",""],["formControlName","flag"],[3,"value",4,"ngFor","ngForOf"],["mat-flat-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],[1,"grid",3,"loading"],["class","app-background-primary-lighter",4,"ngIf","ngIfElse"],["$toolbar",""],[1,"row-fill"],["mat-table","",3,"dataSource"],["matColumnDef","select","sticky",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","subject"],["mat-cell","",3,"bold",4,"matCellDef"],["matColumnDef","time"],["matColumnDef","source"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["class","mat-row",3,"hidden",4,"matNoDataRow"],[3,"length","pageIndex","pageSize","page"],[3,"value"],[1,"app-background-primary-lighter"],[1,"spacer","app-foreground-primary"],["mat-button","","color","primary",3,"click"],[1,"spacer"],["mat-icon-button","",3,"matTooltip","ngClass","click"],["mat-header-cell",""],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"checked","change"],[3,"click"],["mat-header-row",""],["mat-row","",3,"ngClass"],[1,"mat-row",3,"hidden"],[1,"mat-cell","no-data"]],template:function(t,e){1&t&&(d.Fc(0,re,31,22,"div",0),d.Fc(1,Se,63,41,"mat-sidenav-container",1)),2&t&&(d.lc("ngIf","detail"==e.view),d.Cb(1),d.lc("ngIf","list"==e.view))},directives:[_.n,K.a,N.a,Q.c,z.a,it.a,Z.b,Z.a,A.v,A.o,A.g,Y.b,Y.e,j.b,A.c,A.n,A.f,Jt.d,Jt.l,Qt.a,Jt.k,Jt.j,Y.f,Jt.e,$t.a,_.m,Z.c,te.a,ee.k,ee.c,ee.e,ee.b,ee.g,ee.j,ee.h,ne.b,$.o,_.l,ee.d,ie.b,ee.a,ee.f,ee.i],pipes:[v.d,_.k,_.e,_.v],styles:[".mat-sidenav-container[_ngcontent-%COMP%]{height:100%}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%]{padding:20px;width:280px}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]:last-child{margin-bottom:8px}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{margin-top:8px;width:100%}.grid[_ngcontent-%COMP%]{display:flex;position:relative;height:100%;flex-direction:column}.grid[_ngcontent-%COMP%] > .row-fill[_ngcontent-%COMP%]{flex:1 1 auto;overflow:auto}.grid[_ngcontent-%COMP%] > .row-auto[_ngcontent-%COMP%]{flex:0 0 auto}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] + .mat-divider[_ngcontent-%COMP%]{margin-top:-1px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:8px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{margin-left:0}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child.mat-button{margin-left:-8px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-left:8px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%]{width:100%}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-right:56px;white-space:nowrap}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-right:24px;width:16px}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2), .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2){width:100%}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2):not(th), .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2):not(th){opacity:.7}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2).bold, .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2).bold{font-weight:700;opacity:1}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding-right:24px}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td.no-data[_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th.no-data[_ngcontent-%COMP%]{position:absolute;width:100%;height:48px;padding:0;text-align:center;line-height:48px}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}.grid[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-left:24px;margin-right:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.grid[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]:first-child{margin-left:8px}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{display:flex;margin:16px 24px;flex-direction:row;align-items:center}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:40px;width:40px;border-radius:50%;flex-shrink:0;-o-object-fit:cover;object-fit:cover}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 16px}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{box-shadow:none}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%]{align-items:center}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex:1 0 auto;text-align:right}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text{overflow:hidden}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text>*{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text>.mat-card-subtitle{margin-bottom:0}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text>.mat-card-subtitle span{margin-right:10px}"]}),Ce),Oe=n("Wp6s"),Te=["$form"];function Le(t,e){if(1&t){var n=d.Vb();d.Ub(0,"button",9),d.bc("click",function(){d.wc(n);var t=e.$implicit;return d.fc().language=t.lang}),d.Pb(1,"span",10),d.Ub(2,"span"),d.Hc(3),d.Tb(),d.Tb()}if(2&t){var i=e.$implicit;d.Cb(1),d.Cc("background-image","url(assets/images/"+i.lang+".svg)"),d.Cb(2),d.Ic(i.desc)}}var Ae,Ie,Pe,Ee,Re,Ye,je,Ne=["$form"],Fe=["$form"],Ve=[{path:"",component:Gt,canActivate:[qt],canActivateChild:[qt],children:[{path:"message",component:De,data:{anymouse:!0}},{path:"basic",loadChildren:function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"AVcX")).then(function(t){return t.BasicModule})}},{path:"visual",loadChildren:function(){return Promise.all([n.e(1),n.e(8)]).then(n.bind(null,"xiNy")).then(function(t){return t.VisualModule})}},{path:"material",loadChildren:function(){return Promise.all([n.e(0),n.e(1),n.e(11)]).then(n.bind(null,"Yqpq")).then(function(t){return t.MaterialModule})}},{path:"stock",loadChildren:function(){return Promise.all([n.e(0),n.e(1),n.e(13)]).then(n.bind(null,"f6D1")).then(function(t){return t.StockModule})}},{path:"task",loadChildren:function(){return Promise.all([n.e(0),n.e(1),n.e(14)]).then(n.bind(null,"nEup")).then(function(t){return t.TaskModule})}},{path:"order",loadChildren:function(){return Promise.all([n.e(0),n.e(1),n.e(9)]).then(n.bind(null,"oMdE")).then(function(t){return t.OrderModule})}},{path:"query",loadChildren:function(){return Promise.all([n.e(0),n.e(1),n.e(12)]).then(n.bind(null,"QfSI")).then(function(t){return t.QueryModule})}},{path:"wcs",loadChildren:function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"POZe")).then(function(t){return t.WcsModule})}}]},{path:"auth",component:Zt,children:[{path:"login",component:(Pe=function(){function t(e,n,i,r,a,o){s(this,t),this._renderer=e,this._formBuilder=n,this._dialogService=i,this._httpService=r,this._i18nService=a,this._routerService=o,this._form=this._formBuilder.group({account:["",[A.u.required]],password:["",[A.u.required]]})}return u(t,[{key:"ngOnInit",value:function(){localStorage.removeItem("token")}},{key:"ngAfterViewInit",value:function(){var t=this;this._$form.nativeElement.querySelectorAll(".mat-form-field-outline").forEach(function(e){t._renderer.addClass(e,"app-background-card"),t._renderer.setStyle(e,"border-radius","5px")})}},{key:"login",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._loading=!0,t.next=3,this._httpService.post("sessions",{account:this._form.controls.account.value,password:this._form.controls.password.value}).catch(function(t){switch(n._loading=!1,t.status){case 401:n._dialogService.alert(n._i18nService.translate("layouts.auth.login.fail"));break;case 423:n._dialogService.alert(n._i18nService.translate("layouts.auth.login.frozen"))}});case 3:(e=t.sent)&&(this._loading=!1,localStorage.setItem("token",e.token),this._routerService.navigate("/"));case 5:case"end":return t.stop()}},t,this)}))}},{key:"settings",get:function(){return T}},{key:"languages",get:function(){return this._i18nService.items}},{key:"loading",get:function(){return this._loading}},{key:"form",get:function(){return this._form}},{key:"language",get:function(){return this._i18nService.current},set:function(t){this._i18nService.current=t}}]),t}(),Pe.\u0275fac=function(t){return new(t||Pe)(d.Ob(d.G),d.Ob(A.d),d.Ob(I.a),d.Ob(D.a),d.Ob(C.a),d.Ob(P))},Pe.\u0275cmp=d.Ib({type:Pe,selectors:[["app-login"]],viewQuery:function(t,e){var n;1&t&&d.Oc(Te,!0),2&t&&d.tc(n=d.cc())&&(e._$form=n.first)},decls:36,vars:28,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["$language","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["autocomplete","off",3,"formGroup"],["$form",""],["appearance","outline","hideRequiredMarker","true"],["matInput","","formControlName","account","required",""],["matInput","","type","password","formControlName","password","required",""],["mat-raised-button","","color","primary",3,"loading","disabled","click"],["mat-menu-item","",3,"click"],[1,"mat-icon","flag"]],template:function(t,e){if(1&t&&(d.Ub(0,"mat-toolbar"),d.Ub(1,"button",0),d.gc(2,"translate"),d.Ub(3,"mat-icon"),d.Hc(4,"language"),d.Tb(),d.Tb(),d.Ub(5,"mat-menu",null,1),d.Fc(7,Le,4,3,"button",2),d.Tb(),d.Tb(),d.Ub(8,"div"),d.Ub(9,"mat-card"),d.Ub(10,"mat-card-title"),d.Hc(11),d.gc(12,"translate"),d.Tb(),d.Ub(13,"mat-card-subtitle"),d.Hc(14),d.gc(15,"translate"),d.Tb(),d.Ub(16,"mat-card-content"),d.Ub(17,"form",3,4),d.Ub(19,"mat-form-field",5),d.Ub(20,"mat-label"),d.Hc(21),d.gc(22,"translate"),d.Tb(),d.Pb(23,"input",6),d.Tb(),d.Ub(24,"mat-form-field",5),d.Ub(25,"mat-label"),d.Hc(26),d.gc(27,"translate"),d.Tb(),d.Pb(28,"input",7),d.Tb(),d.Ub(29,"button",8),d.bc("click",function(){return e.login()}),d.Hc(30),d.gc(31,"uppercase"),d.gc(32,"translate"),d.Tb(),d.Tb(),d.Tb(),d.Ub(33,"mat-card-footer"),d.Hc(34),d.gc(35,"translate"),d.Tb(),d.Tb(),d.Tb()),2&t){var n=d.uc(6);d.Cb(1),d.mc("matTooltip",d.hc(2,12,"layouts.auth.login.language")),d.lc("matMenuTriggerFor",n),d.Cb(6),d.lc("ngForOf",e.languages),d.Cb(4),d.Ic(d.hc(12,14,e.settings.appFullName)),d.Cb(3),d.Ic(d.hc(15,16,e.settings.appDescription)),d.Cb(3),d.lc("formGroup",e.form),d.Cb(4),d.Ic(d.hc(22,18,"layouts.auth.login.account")),d.Cb(5),d.Ic(d.hc(27,20,"layouts.auth.login.password")),d.Cb(3),d.lc("loading",e.loading)("disabled",e.loading||e.form.invalid),d.Cb(1),d.Ic(d.hc(31,22,d.hc(32,24,"layouts.auth.login.submit"))),d.Cb(4),d.Ic(d.hc(35,26,e.settings.appCopyright))}},directives:[K.a,N.a,nt.e,Q.c,z.a,nt.a,_.m,Oe.a,Oe.f,Oe.e,Oe.b,A.v,A.o,A.g,Y.b,Y.e,j.b,A.c,A.n,A.f,A.t,te.a,Oe.c,nt.c],pipes:[v.d,_.v],styles:[".mat-toolbar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;flex-direction:row-reverse;background-color:transparent}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-flow:row wrap;align-items:center;place-content:center}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{max-width:480px;background-color:transparent;box-shadow:none}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-footer[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{text-align:center}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:28px}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{margin-top:24px}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{width:100%;padding-top:.25em;padding-bottom:.25em}"]}),Pe)},{path:"expire",component:(Ie=function(){function t(e,n,i,r,a,o){s(this,t),this._renderer=e,this._formBuilder=n,this._dialogService=i,this._httpService=r,this._i18nService=a,this._routerService=o,this._form=this._formBuilder.group({current:["",[A.u.required]],replacement:["",[A.u.required]],confirm:["",[A.u.required]]},{validators:function(t){var e=t.controls.confirm,n=t.controls.replacement.value==e.value?null:{confirm:!0};return e.setErrors(n),n}})}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._$form.nativeElement.querySelectorAll(".mat-form-field-outline").forEach(function(e){t._renderer.addClass(e,"app-background-card"),t._renderer.setStyle(e,"border-radius","5px")})}},{key:"continue",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._loading=!0,t.t0=void 0,t.next=4,this._httpService.put("users/current/password",{current:this._form.controls.current.value,replacement:this._form.controls.replacement.value}).catch(function(t){e._loading=!1,422==t.status&&e._dialogService.alert(e._i18nService.translate("layouts.auth.expire.invalid."+t.error))});case 4:if(t.t1=t.sent,t.t2=t.t0!==t.t1,!t.t2){t.next=13;break}return t.next=9,this._httpService.delete("sessions",{reason:"Modify Password"});case 9:return this._loading=!1,t.next=12,this._dialogService.alert(this._i18nService.translate("layouts.auth.expire.success"));case 12:this._routerService.navigate("/auth/login");case 13:case"end":return t.stop()}},t,this)}))}},{key:"loading",get:function(){return this._loading}},{key:"form",get:function(){return this._form}}]),t}(),Ie.\u0275fac=function(t){return new(t||Ie)(d.Ob(d.G),d.Ob(A.d),d.Ob(I.a),d.Ob(D.a),d.Ob(C.a),d.Ob(P))},Ie.\u0275cmp=d.Ib({type:Ie,selectors:[["app-expire"]],viewQuery:function(t,e){var n;1&t&&d.Oc(Ne,!0),2&t&&d.tc(n=d.cc())&&(e._$form=n.first)},decls:30,vars:23,consts:[[1,"background"],["autocomplete","off",3,"formGroup"],["$form",""],["appearance","outline","hideRequiredMarker","true"],["matInput","","type","password","formControlName","current","required",""],["matInput","","type","password","formControlName","replacement","required",""],["matInput","","type","password","formControlName","confirm","required",""],["mat-raised-button","","color","primary",3,"loading","disabled","click"]],template:function(t,e){1&t&&(d.Ub(0,"div",0),d.Ub(1,"mat-card"),d.Ub(2,"mat-card-title"),d.Hc(3),d.gc(4,"translate"),d.Tb(),d.Ub(5,"mat-card-subtitle"),d.Hc(6),d.gc(7,"translate"),d.Tb(),d.Ub(8,"mat-card-content"),d.Ub(9,"form",1,2),d.Ub(11,"mat-form-field",3),d.Ub(12,"mat-label"),d.Hc(13),d.gc(14,"translate"),d.Tb(),d.Pb(15,"input",4),d.Tb(),d.Ub(16,"mat-form-field",3),d.Ub(17,"mat-label"),d.Hc(18),d.gc(19,"translate"),d.Tb(),d.Pb(20,"input",5),d.Tb(),d.Ub(21,"mat-form-field",3),d.Ub(22,"mat-label"),d.Hc(23),d.gc(24,"translate"),d.Tb(),d.Pb(25,"input",6),d.Tb(),d.Ub(26,"button",7),d.bc("click",function(){return e.continue()}),d.Hc(27),d.gc(28,"uppercase"),d.gc(29,"translate"),d.Tb(),d.Tb(),d.Tb(),d.Tb(),d.Tb()),2&t&&(d.Cb(3),d.Ic(d.hc(4,9,"layouts.auth.expire.title")),d.Cb(3),d.Ic(d.hc(7,11,"layouts.auth.expire.subtitle")),d.Cb(3),d.lc("formGroup",e.form),d.Cb(4),d.Ic(d.hc(14,13,"layouts.auth.expire.current")),d.Cb(5),d.Ic(d.hc(19,15,"layouts.auth.expire.replacement")),d.Cb(5),d.Ic(d.hc(24,17,"layouts.auth.expire.confirm")),d.Cb(3),d.lc("loading",e.loading)("disabled",e.loading||e.form.invalid),d.Cb(1),d.Ic(d.hc(28,19,d.hc(29,21,"layouts.auth.expire.continue"))))},directives:[Oe.a,Oe.f,Oe.e,Oe.b,A.v,A.o,A.g,Y.b,Y.e,j.b,A.c,A.n,A.f,A.t,N.a,te.a],pipes:[v.d,_.v],styles:[".background[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-flow:row wrap;align-items:center;place-content:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{max-width:480px;background-color:transparent;box-shadow:none}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%], .background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{text-align:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:28px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{margin-top:24px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{width:100%;padding-top:.25em;padding-bottom:.25em}"]}),Ie)},{path:"initial",component:(Ae=function(){function t(e,n,i,r,a,o){s(this,t),this._renderer=e,this._formBuilder=n,this._dialogService=i,this._httpService=r,this._i18nService=a,this._routerService=o,this._form=this._formBuilder.group({replacement:["",[A.u.required]],confirm:["",[A.u.required]]},{validators:function(t){var e=t.controls.confirm,n=t.controls.replacement.value==e.value?null:{confirm:!0};return e.setErrors(n),n}})}return u(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._$form.nativeElement.querySelectorAll(".mat-form-field-outline").forEach(function(e){t._renderer.addClass(e,"app-background-card"),t._renderer.setStyle(e,"border-radius","5px")})}},{key:"continue",value:function(){return Object(x.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._loading=!0,t.t0=void 0,t.next=4,this._httpService.post("users/current/password",{replacement:this._form.controls.replacement.value}).catch(function(t){switch(e._loading=!1,t.status){case 405:e._dialogService.alert(e._i18nService.translate("layouts.auth.initial.invalid.operation"));break;case 422:e._dialogService.alert(e._i18nService.translate("layouts.auth.initial.invalid.content"))}});case 4:if(t.t1=t.sent,t.t2=t.t0!==t.t1,!t.t2){t.next=13;break}return t.next=9,this._httpService.delete("sessions",{reason:"Modify Password"});case 9:return this._loading=!1,t.next=12,this._dialogService.alert(this._i18nService.translate("layouts.auth.initial.success"));case 12:this._routerService.navigate("/auth/login");case 13:case"end":return t.stop()}},t,this)}))}},{key:"loading",get:function(){return this._loading}},{key:"form",get:function(){return this._form}}]),t}(),Ae.\u0275fac=function(t){return new(t||Ae)(d.Ob(d.G),d.Ob(A.d),d.Ob(I.a),d.Ob(D.a),d.Ob(C.a),d.Ob(P))},Ae.\u0275cmp=d.Ib({type:Ae,selectors:[["app-initial"]],viewQuery:function(t,e){var n;1&t&&d.Oc(Fe,!0),2&t&&d.tc(n=d.cc())&&(e._$form=n.first)},decls:25,vars:20,consts:[[1,"background"],["autocomplete","off",3,"formGroup"],["$form",""],["appearance","outline","hideRequiredMarker","true"],["matInput","","type","password","formControlName","replacement","required",""],["matInput","","type","password","formControlName","confirm","required",""],["mat-raised-button","","color","primary",3,"loading","disabled","click"]],template:function(t,e){1&t&&(d.Ub(0,"div",0),d.Ub(1,"mat-card"),d.Ub(2,"mat-card-title"),d.Hc(3),d.gc(4,"translate"),d.Tb(),d.Ub(5,"mat-card-subtitle"),d.Hc(6),d.gc(7,"translate"),d.Tb(),d.Ub(8,"mat-card-content"),d.Ub(9,"form",1,2),d.Ub(11,"mat-form-field",3),d.Ub(12,"mat-label"),d.Hc(13),d.gc(14,"translate"),d.Tb(),d.Pb(15,"input",4),d.Tb(),d.Ub(16,"mat-form-field",3),d.Ub(17,"mat-label"),d.Hc(18),d.gc(19,"translate"),d.Tb(),d.Pb(20,"input",5),d.Tb(),d.Ub(21,"button",6),d.bc("click",function(){return e.continue()}),d.Hc(22),d.gc(23,"uppercase"),d.gc(24,"translate"),d.Tb(),d.Tb(),d.Tb(),d.Tb(),d.Tb()),2&t&&(d.Cb(3),d.Ic(d.hc(4,8,"layouts.auth.initial.title")),d.Cb(3),d.Ic(d.hc(7,10,"layouts.auth.initial.subtitle")),d.Cb(3),d.lc("formGroup",e.form),d.Cb(4),d.Ic(d.hc(14,12,"layouts.auth.initial.replacement")),d.Cb(5),d.Ic(d.hc(19,14,"layouts.auth.initial.confirm")),d.Cb(3),d.lc("loading",e.loading)("disabled",e.loading||e.form.invalid),d.Cb(1),d.Ic(d.hc(23,16,d.hc(24,18,"layouts.auth.initial.continue"))))},directives:[Oe.a,Oe.f,Oe.e,Oe.b,A.v,A.o,A.g,Y.b,Y.e,j.b,A.c,A.n,A.f,A.t,N.a,te.a],pipes:[v.d,_.v],styles:[".background[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-flow:row wrap;align-items:center;place-content:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{max-width:480px;background-color:transparent;box-shadow:none}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%], .background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{text-align:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:28px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{margin-top:24px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{width:100%;padding-top:.25em;padding-bottom:.25em}"]}),Ae)}]}],He=((Ee=function t(){s(this,t)}).\u0275mod=d.Mb({type:Ee}),Ee.\u0275inj=d.Lb({factory:function(t){return new(t||Ee)},imports:[[Xt,k.h.forRoot(Ve,{relativeLinkResolution:"legacy"})],k.h]}),Ee),ze=n("95ze"),Be=((Re=function t(){s(this,t)}).\u0275mod=d.Mb({type:Re}),Re.\u0275inj=d.Lb({factory:function(t){return new(t||Re)},imports:[[w.a,He,ze.a]]}),Re),We=n("z6cu"),Ue=n("JIr8"),Ge=((je=function(){function t(e,n,i){s(this,t),this._injector=e,this._translateService=n,this._dialogService=i,this._status={}}return u(t,[{key:"intercept",value:function(t,e){var n=this;return e.handle(t).pipe(Object(Ue.a)(function(t){if(!n._status[t.status])switch(n._status[t.status]=!0,t.status){case 0:n._dialogService.alert(n._translateService.instant("shared.notification.disconnected")).then(function(){delete n._status[0]});break;case 401:var e=n._injector.get(k.f);"/auth/login"!=e.url&&n._dialogService.alert(n._translateService.instant("shared.notification.timeout")).then(function(){delete n._status[401],n._dialogService.close(),e.navigateByUrl("/auth/login")});break;case 403:n._dialogService.alert(n._translateService.instant("shared.notification.unauthorized")).then(function(){delete n._status[403]});break;case 419:n._injector.get(k.f).navigateByUrl("/auth/expire"),delete n._status[419];break;case 428:n._injector.get(k.f).navigateByUrl("/auth/initial"),delete n._status[428];break;case 500:n._dialogService.alert(n._translateService.instant("shared.notification.server")).then(function(){delete n._status[500]})}return Object(We.a)(t)}))}}]),t}()).\u0275fac=function(t){return new(t||je)(d.Yb(d.t),d.Yb(v.e),d.Yb(I.a))},je.\u0275prov=d.Kb({token:je,factory:je.\u0275fac}),je),qe=((Ye=function(){function t(){s(this,t)}return u(t,[{key:"intercept",value:function(t,e){var n=localStorage.getItem("token");return n&&(t=t.clone({headers:t.headers.append("Token",n)})),e.handle(t)}}]),t}()).\u0275fac=function(t){return new(t||Ye)},Ye.\u0275prov=d.Kb({token:Ye,factory:Ye.\u0275fac}),Ye);function Xe(t,e){return function(n,i){e(n,i,t)}}var Ze,Ke,Je,Qe=n("qkWt"),$e=new d.s("MESSAGE_FORMAT_CONFIG"),tn={biDiSupport:!1,formatters:void 0,locales:void 0,strictNumberSign:!1,disablePluralKeyChecks:!1},en=((Je=function(t){h(n,t);var e=f(n);function n(t){var i;s(this,n),i=e.call(this);var r=Object.assign(Object.assign({},tn),t),a=r.locales,o=r.formatters,l=r.biDiSupport,u=r.strictNumberSign,c=r.disablePluralKeyChecks;return i.messageFormat=new Qe(a),o&&i.messageFormat.addFormatters(o),l&&i.messageFormat.setBiDiSupport(l),u&&i.messageFormat.setStrictNumberSign(u),c&&i.messageFormat.disablePluralKeyChecks(),i}return u(n,[{key:"compile",value:function(t,e){return this.messageFormat.compile(t,e)}},{key:"compileTranslations",value:function(t,e){return this.messageFormat.compile(t,e)}}]),n}(v.a)).\u0275fac=function(t){return new(t||Je)(d.Yb($e,8))},Je.\u0275prov=d.Kb({token:Je,factory:function(t){return Je.\u0275fac(t)}}),Je=function(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([Xe(0,Object(d.C)()),Xe(0,Object(d.q)($e))],Je)),nn=((Ke=function t(e,n,i){var r=this;s(this,t),this._i18nService=e,this._mediaService=n,this._themeService=i,this._class="media-".concat(this._mediaService.current," theme-").concat(this._themeService.current),this._media=this._mediaService.current,this._theme=this._themeService.current,this._mediaService.onchange.subscribe(function(t){return r._class="media-".concat(r._media=t," theme-").concat(r._theme)}),this._themeService.onchange.subscribe(function(t){return r._class="theme-".concat(r._theme=t," media-").concat(r._media)})}).\u0275fac=function(t){return new(t||Ke)(d.Ob(C.a),d.Ob(q.a),d.Ob(X.a))},Ke.\u0275cmp=d.Ib({type:Ke,selectors:[["body"]],hostVars:2,hostBindings:function(t,e){2&t&&d.Eb(e._class)},decls:1,vars:0,template:function(t,e){1&t&&d.Pb(0,"router-outlet")},directives:[k.i],encapsulation:2}),Ke),rn=((Ze=function t(){s(this,t)}).\u0275mod=d.Mb({type:Ze,bootstrap:[nn]}),Ze.\u0275inj=d.Lb({factory:function(t){return new(t||Ze)},providers:[{provide:d.d,useFactory:function(t){return function(){return t.startup()}},deps:[L],multi:!0},{provide:p.a,useClass:qe,multi:!0},{provide:p.a,useClass:Ge,multi:!0}],imports:[[m.a,g.b,b,w.a,Be,v.c.forRoot({loader:{provide:v.b,useFactory:function(t){return new y(t,"./assets/i18n/",".json?")},deps:[p.b]},compiler:{provide:v.a,useClass:en}})]]}),Ze);Object(d.U)(),m.d().bootstrapModule(rn).catch(function(t){return console.error(t)})},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return c});var i=n("7o/Q"),r=n("HDdC"),a=n("SeVD"),o=function(t){h(n,t);var e=f(n);function n(t){var i;return s(this,n),(i=e.call(this)).parent=t,i}return u(n,[{key:"_next",value:function(t){this.parent.notifyNext(t)}},{key:"_error",value:function(t){this.parent.notifyError(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(i.a),l=function(t){h(n,t);var e=f(n);function n(){return s(this,n),e.apply(this,arguments)}return u(n,[{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(i.a);function c(t,e){if(!e.closed)return t instanceof r.a?t.subscribe(e):Object(a.a)(t)(e)}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,2]]])}();